diff --git a/.idea/.idea.EpicOnlineTransport.dir/.idea/.gitignore b/.idea/.idea.EpicOnlineTransport.dir/.idea/.gitignore new file mode 100644 index 00000000..d064bd79 --- /dev/null +++ b/.idea/.idea.EpicOnlineTransport.dir/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/modules.xml +/contentModel.xml +/projectSettingsUpdater.xml +/.idea.EpicOnlineTransport.iml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.idea.EpicOnlineTransport.dir/.idea/encodings.xml b/.idea/.idea.EpicOnlineTransport.dir/.idea/encodings.xml new file mode 100644 index 00000000..df87cf95 --- /dev/null +++ b/.idea/.idea.EpicOnlineTransport.dir/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/.idea.EpicOnlineTransport.dir/.idea/indexLayout.xml b/.idea/.idea.EpicOnlineTransport.dir/.idea/indexLayout.xml new file mode 100644 index 00000000..7b08163c --- /dev/null +++ b/.idea/.idea.EpicOnlineTransport.dir/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.EpicOnlineTransport.dir/.idea/vcs.xml b/.idea/.idea.EpicOnlineTransport.dir/.idea/vcs.xml new file mode 100644 index 00000000..94a25f7f --- /dev/null +++ b/.idea/.idea.EpicOnlineTransport.dir/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Mirror.meta b/Mirror.meta index 84708744..0c6debea 100644 --- a/Mirror.meta +++ b/Mirror.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 4a643c965f93f8e468a43317de73e4d5 +guid: 539e7f41699ea4342897774ba43118c4 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Mirror/Runtime.meta b/Mirror/Runtime.meta index 85ee3eb8..df10f1f6 100644 --- a/Mirror/Runtime.meta +++ b/Mirror/Runtime.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 9f4328ccc5f724e45afe2215d275b5d5 +guid: 4a7650ce5e2ba468993c2acf0bbf4dca folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Mirror/Runtime/Transport.meta b/Mirror/Runtime/Transport.meta index fc29442a..f8c98dbb 100644 --- a/Mirror/Runtime/Transport.meta +++ b/Mirror/Runtime/Transport.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 7825d46cd73fe47938869eb5427b40fa +guid: 52b3492a14b35479eb1128bcadad352f folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport.meta b/Mirror/Runtime/Transport/EpicOnlineTransport.meta index 3c87a4a7..c13183ca 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport.meta +++ b/Mirror/Runtime/Transport/EpicOnlineTransport.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: fb097379647003348b59f3423899888c +guid: 9ba796c68c5d8473ba450771b67109de folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/Client.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/Client.cs index 8d5e5dd9..96f8f4f3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/Client.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/Client.cs @@ -113,23 +113,24 @@ protected override void OnReceiveData(byte[] data, ProductUserId clientUserId, i OnReceivedData.Invoke(data, channel); } - protected override void OnNewConnection(OnIncomingConnectionRequestInfo result) { + protected override void OnNewConnection(ref OnIncomingConnectionRequestInfo result) { if (ignoreAllMessages) { return; } - if (deadSockets.Contains(result.SocketId.SocketName)) { + if (deadSockets.Contains(result.SocketId?.SocketName)) { Debug.LogError("Received incoming connection request from dead socket"); return; } if (hostProductId == result.RemoteUserId) { + var acceptConnectionOptions = new AcceptConnectionOptions() { + LocalUserId = EOSSDKComponent.LocalUserProductId, + RemoteUserId = result.RemoteUserId, + SocketId = result.SocketId + }; EOSSDKComponent.GetP2PInterface().AcceptConnection( - new AcceptConnectionOptions() { - LocalUserId = EOSSDKComponent.LocalUserProductId, - RemoteUserId = result.RemoteUserId, - SocketId = result.SocketId - }); + ref acceptConnectionOptions); } else { Debug.LogError("P2P Acceptance Request from unknown host ID."); } diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/Common.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/Common.cs index 57abf3da..a97a16fd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/Common.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/Common.cs @@ -48,14 +48,14 @@ protected Common(EosTransport transport) { OnIncomingConnectionRequest += OnNewConnection; OnRemoteConnectionClosed += OnConnectFail; - incomingNotificationId = EOSSDKComponent.GetP2PInterface().AddNotifyPeerConnectionRequest(addNotifyPeerConnectionRequestOptions, + incomingNotificationId = EOSSDKComponent.GetP2PInterface().AddNotifyPeerConnectionRequest(ref addNotifyPeerConnectionRequestOptions, null, OnIncomingConnectionRequest); AddNotifyPeerConnectionClosedOptions addNotifyPeerConnectionClosedOptions = new AddNotifyPeerConnectionClosedOptions(); addNotifyPeerConnectionClosedOptions.LocalUserId = EOSSDKComponent.LocalUserProductId; addNotifyPeerConnectionClosedOptions.SocketId = null; - outgoingNotificationId = EOSSDKComponent.GetP2PInterface().AddNotifyPeerConnectionClosed(addNotifyPeerConnectionClosedOptions, + outgoingNotificationId = EOSSDKComponent.GetP2PInterface().AddNotifyPeerConnectionClosed(ref addNotifyPeerConnectionClosedOptions, null, OnRemoteConnectionClosed); if (outgoingNotificationId == 0 || incomingNotificationId == 0) { @@ -75,9 +75,9 @@ protected void Dispose() { transport.ResetIgnoreMessagesAtStartUpTimer(); } - protected abstract void OnNewConnection(OnIncomingConnectionRequestInfo result); + protected abstract void OnNewConnection(ref OnIncomingConnectionRequestInfo result); - private void OnConnectFail(OnRemoteConnectionClosedInfo result) { + private void OnConnectFail(ref OnRemoteConnectionClosedInfo result) { if (ignoreAllMessages) { return; } @@ -86,54 +86,67 @@ private void OnConnectFail(OnRemoteConnectionClosedInfo result) { switch (result.Reason) { case ConnectionClosedReason.ClosedByLocalUser: - throw new Exception("Connection cLosed: The Connection was gracecfully closed by the local user."); + Debug.Log("Connection closed: The Connection was gracefully closed by the local user."); + break; case ConnectionClosedReason.ClosedByPeer: - throw new Exception("Connection closed: The connection was gracefully closed by remote user."); + Debug.Log("Connection closed: The connection was gracefully closed by remote user."); + break; case ConnectionClosedReason.ConnectionClosed: - throw new Exception("Connection closed: The connection was unexpectedly closed."); + Debug.LogWarning("Connection closed: The connection was unexpectedly closed."); + break; case ConnectionClosedReason.ConnectionFailed: - throw new Exception("Connection failed: Failled to establish connection."); + Debug.LogError("Connection failed: Failed to establish connection."); + break; case ConnectionClosedReason.InvalidData: - throw new Exception("Connection failed: The remote user sent us invalid data.."); + Debug.LogError("Connection failed: The remote user sent us invalid data.."); + break; case ConnectionClosedReason.InvalidMessage: - throw new Exception("Connection failed: The remote user sent us an invalid message."); + Debug.LogError("Connection failed: The remote user sent us an invalid message."); + break; case ConnectionClosedReason.NegotiationFailed: - throw new Exception("Connection failed: Negotiation failed."); + Debug.LogError("Connection failed: Negotiation failed."); + break; case ConnectionClosedReason.TimedOut: - throw new Exception("Connection failed: Timeout."); + Debug.LogError("Connection failed: Timeout."); + break; case ConnectionClosedReason.TooManyConnections: - throw new Exception("Connection failed: Too many connections."); + Debug.LogError("Connection failed: Too many connections."); + break; case ConnectionClosedReason.UnexpectedError: - throw new Exception("Unexpected Error, connection will be closed"); + Debug.LogError("Unexpected Error, connection will be closed"); + break; case ConnectionClosedReason.Unknown: default: - throw new Exception("Unknown Error, connection has been closed."); + Debug.LogError("Unknown Error, connection has been closed."); + break; } } protected void SendInternal(ProductUserId target, SocketId socketId, InternalMessages type) { - EOSSDKComponent.GetP2PInterface().SendPacket(new SendPacketOptions() { + var sendPacketOptions = new SendPacketOptions() { AllowDelayedDelivery = true, - Channel = (byte) internal_ch, - Data = new byte[] { (byte) type }, + Channel = (byte)internal_ch, + Data = new ArraySegment(new byte[] { (byte)type }), LocalUserId = EOSSDKComponent.LocalUserProductId, Reliability = PacketReliability.ReliableOrdered, RemoteUserId = target, SocketId = socketId - }); + }; + EOSSDKComponent.GetP2PInterface().SendPacket(ref sendPacketOptions); } protected void Send(ProductUserId host, SocketId socketId, byte[] msgBuffer, byte channel) { - Result result = EOSSDKComponent.GetP2PInterface().SendPacket(new SendPacketOptions() { + var sendPacketOptions = new SendPacketOptions() { AllowDelayedDelivery = true, Channel = channel, - Data = msgBuffer, + Data = new ArraySegment(msgBuffer), LocalUserId = EOSSDKComponent.LocalUserProductId, Reliability = channels[channel], RemoteUserId = host, SocketId = socketId - }); + }; + Result result = EOSSDKComponent.GetP2PInterface().SendPacket(ref sendPacketOptions); if(result != Result.Success) { Debug.LogError("Send failed " + result); @@ -141,11 +154,35 @@ protected void Send(ProductUserId host, SocketId socketId, byte[] msgBuffer, byt } private bool Receive(out ProductUserId clientProductUserId, out SocketId socketId, out byte[] receiveBuffer, byte channel) { - Result result = EOSSDKComponent.GetP2PInterface().ReceivePacket(new ReceivePacketOptions() { + var receivePacketOptions = new ReceivePacketOptions() { LocalUserId = EOSSDKComponent.LocalUserProductId, MaxDataSizeBytes = P2PInterface.MaxPacketSize, RequestedChannel = channel - }, out clientProductUserId, out socketId, out channel, out receiveBuffer); + }; + + var getNextReceivedPacketSizeOptions = new GetNextReceivedPacketSizeOptions() { + LocalUserId = EOSSDKComponent.LocalUserProductId, + RequestedChannel = channel + }; + Result getPacketSizeResult = EOSSDKComponent.GetP2PInterface() + .GetNextReceivedPacketSize(ref getNextReceivedPacketSizeOptions, out var packetSize); + + if (getPacketSizeResult != Result.Success) { + receiveBuffer = null; + clientProductUserId = null; + socketId = default; + return false; + } + + uint bytesWritten = 0; + receiveBuffer = new byte[packetSize]; + Result result = EOSSDKComponent.GetP2PInterface().ReceivePacket( + ref receivePacketOptions, + out clientProductUserId, + out socketId, + out channel, + new ArraySegment(receiveBuffer), + out bytesWritten); if (result == Result.Success) { return true; @@ -157,7 +194,7 @@ private bool Receive(out ProductUserId clientProductUserId, out SocketId socketI } protected virtual void CloseP2PSessionWithUser(ProductUserId clientUserID, SocketId socketId) { - if (socketId == null) { + if (socketId.Equals(default(SocketId))) { Debug.LogWarning("Socket ID == null | " + ignoreAllMessages); return; } diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool.meta index d760ecca..12385913 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool.meta +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 49a600a9a9638fb4e88fff9af13c2d3d +guid: 11f02eef4598849709162bd309355005 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool/EOS Developer Authentication Tool.pdf b/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool/EOS Developer Authentication Tool.pdf new file mode 100644 index 00000000..c630c5a1 Binary files /dev/null and b/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool/EOS Developer Authentication Tool.pdf differ diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool/EOS_DevAuthTool-darwin-x64-1.0.1.zip b/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool/EOS_DevAuthTool-darwin-x64-1.0.1.zip deleted file mode 100644 index 33d9bc45..00000000 Binary files a/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool/EOS_DevAuthTool-darwin-x64-1.0.1.zip and /dev/null differ diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool/EOS_DevAuthTool-win32-x64-1.0.1.zip b/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool/EOS_DevAuthTool-win32-x64-1.1.0.zip similarity index 76% rename from Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool/EOS_DevAuthTool-win32-x64-1.0.1.zip rename to Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool/EOS_DevAuthTool-win32-x64-1.1.0.zip index 89050507..8205097f 100644 Binary files a/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool/EOS_DevAuthTool-win32-x64-1.0.1.zip and b/Mirror/Runtime/Transport/EpicOnlineTransport/DevAuthTool/EOS_DevAuthTool-win32-x64-1.1.0.zip differ diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/BoxedData.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/BoxedData.cs deleted file mode 100644 index 9fcdf1ab..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/BoxedData.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -using System.Runtime.InteropServices; - -namespace Epic.OnlineServices -{ - internal sealed class BoxedData - { - public object Data { get; private set; } - - public BoxedData(object data) - { - Data = data; - } - } -} diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/BoxedData.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/BoxedData.cs.meta deleted file mode 100644 index 445d0846..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/BoxedData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9cf28f76f76ab5b4191ed789dec5ea5c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/CallbackHelper.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/CallbackHelper.cs new file mode 100644 index 00000000..c492567a --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/CallbackHelper.cs @@ -0,0 +1,245 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using System; +using System.Linq; + +namespace Epic.OnlineServices +{ + public sealed partial class Helper + { + /// + /// Adds a callback to the wrapper. + /// + /// The generated client data address. + /// The client data of the callback. + /// The public delegate of the callback. + /// The private delegate of the callback. + /// Any delegates passed in with input structs. + internal static void AddCallback(out IntPtr clientDataAddress, object clientData, Delegate publicDelegate, Delegate privateDelegate, params Delegate[] structDelegates) + { + lock (s_Callbacks) + { + clientDataAddress = AddClientData(clientData); + s_Callbacks.Add(clientDataAddress, new DelegateHolder(publicDelegate, privateDelegate, structDelegates)); + } + } + + /// + /// Removes a callback from the wrapper. + /// + /// The client data address of the callback. + private static void RemoveCallback(IntPtr clientDataAddress) + { + lock (s_Callbacks) + { + s_Callbacks.Remove(clientDataAddress); + RemoveClientData(clientDataAddress); + } + } + + /// + /// Tries to get the callback associated with the given internal callback info, and then removes it from the wrapper if applicable. + /// Single-use callbacks will be cleaned up by this function. + /// + /// The internal callback info type. + /// The callback type. + /// The callback info type. + /// The internal callback info. + /// The callback associated with the internal callback info. + /// The callback info. + /// Whether the callback was successfully retrieved. + internal static bool TryGetAndRemoveCallback(ref TCallbackInfoInternal callbackInfoInternal, out TCallback callback, out TCallbackInfo callbackInfo) + where TCallbackInfoInternal : struct, ICallbackInfoInternal, IGettable + where TCallback : class + where TCallbackInfo : struct, ICallbackInfo + { + IntPtr clientDataAddress; + Get(ref callbackInfoInternal, out callbackInfo, out clientDataAddress); + + callback = null; + + lock (s_Callbacks) + { + DelegateHolder delegateHolder; + if (s_Callbacks.TryGetValue(clientDataAddress, out delegateHolder)) + { + callback = delegateHolder.Public as TCallback; + if (callback != null) + { + // If this delegate was added with an AddNotify, we should only ever remove it on RemoveNotify. + if (delegateHolder.NotificationId.HasValue) + { + } + + // If the operation is complete, it's safe to remove. + else if (callbackInfo.GetResultCode().HasValue && Common.IsOperationComplete(callbackInfo.GetResultCode().Value)) + { + RemoveCallback(clientDataAddress); + } + + return true; + } + } + } + + return false; + } + + /// + /// Tries to get the struct callback associated with the given internal callback info. + /// + /// The internal callback info type. + /// The callback type. + /// The callback info type. + /// The internal callback info. + /// The callback associated with the internal callback info. + /// The callback info. + /// Whether the callback was successfully retrieved. + internal static bool TryGetStructCallback(ref TCallbackInfoInternal callbackInfoInternal, out TCallback callback, out TCallbackInfo callbackInfo) + where TCallbackInfoInternal : struct, ICallbackInfoInternal, IGettable + where TCallback : class + where TCallbackInfo : struct + { + IntPtr clientDataAddress; + Get(ref callbackInfoInternal, out callbackInfo, out clientDataAddress); + + callback = null; + lock (s_Callbacks) + { + DelegateHolder delegateHolder; + if (s_Callbacks.TryGetValue(clientDataAddress, out delegateHolder)) + { + callback = delegateHolder.StructDelegates.FirstOrDefault(structDelegate => structDelegate.GetType() == typeof(TCallback)) as TCallback; + if (callback != null) + { + return true; + } + } + } + + return false; + } + + /// + /// Removes a callback from the wrapper by an associated notification id. + /// + /// The notification id associated with the callback. + internal static void RemoveCallbackByNotificationId(ulong notificationId) + { + lock (s_Callbacks) + { + var clientDataAddress = s_Callbacks.SingleOrDefault(pair => pair.Value.NotificationId.HasValue && pair.Value.NotificationId == notificationId); + RemoveCallback(clientDataAddress.Key); + } + } + + /// + /// Adds a static callback to the wrapper. + /// + /// The key of the callback. + /// The public delegate of the callback. + /// The private delegate of the callback + internal static void AddStaticCallback(string key, Delegate publicDelegate, Delegate privateDelegate) + { + lock (s_StaticCallbacks) + { + s_StaticCallbacks.Remove(key); + s_StaticCallbacks.Add(key, new DelegateHolder(publicDelegate, privateDelegate)); + } + } + + /// + /// Tries to get the static callback associated with the given key. + /// + /// The callback type. + /// The key of the callback. + /// The callback associated with the key. + /// Whether the callback was successfully retrieved. + internal static bool TryGetStaticCallback(string key, out TCallback callback) + where TCallback : class + { + callback = null; + + lock (s_StaticCallbacks) + { + DelegateHolder delegateHolder; + if (s_StaticCallbacks.TryGetValue(key, out delegateHolder)) + { + callback = delegateHolder.Public as TCallback; + if (callback != null) + { + return true; + } + } + } + + return false; + } + + /// + /// Assigns a notification id to a callback by client data address associated with the callback. + /// + /// The client data address associated with the callback. + /// The notification id to assign. + internal static void AssignNotificationIdToCallback(IntPtr clientDataAddress, ulong notificationId) + { + if (notificationId == 0) + { + RemoveCallback(clientDataAddress); + return; + } + + lock (s_Callbacks) + { + DelegateHolder delegateHolder; + if (s_Callbacks.TryGetValue(clientDataAddress, out delegateHolder)) + { + delegateHolder.NotificationId = notificationId; + } + } + } + + /// + /// Adds client data to the wrapper. + /// + /// The client data to add. + /// The address of the added client data. + private static IntPtr AddClientData(object clientData) + { + lock (s_ClientDatas) + { + long clientDataId = ++s_LastClientDataId; + IntPtr clientDataAddress = new IntPtr(clientDataId); + s_ClientDatas.Add(clientDataAddress, clientData); + return clientDataAddress; + } + } + + /// + /// Removes a client data from the wrapper. + /// + /// The address of the client data to remove. + private static void RemoveClientData(IntPtr clientDataAddress) + { + lock (s_ClientDatas) + { + s_ClientDatas.Remove(clientDataAddress); + } + } + + /// + /// Gets client data by its address. + /// + /// The address of the client data. + /// Th client data associated with the address. + private static object GetClientData(IntPtr clientDataAddress) + { + lock (s_ClientDatas) + { + object clientData; + s_ClientDatas.TryGetValue(clientDataAddress, out clientData); + return clientData; + } + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Config.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Config.cs index 8bd20ad2..16ab16cb 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Config.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Config.cs @@ -1,97 +1,95 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -#if DEBUG - #define EOS_DEBUG -#endif - -#if UNITY_EDITOR - #define EOS_EDITOR -#endif - -#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_PS4 || UNITY_XBOXONE || UNITY_SWITCH || UNITY_IOS || UNITY_ANDROID - #define EOS_UNITY -#endif - -#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN || PLATFORM_64BITS || PLATFORM_32BITS - #if UNITY_EDITOR_WIN || UNITY_64 || PLATFORM_64BITS - #define EOS_PLATFORM_WINDOWS_64 - #else - #define EOS_PLATFORM_WINDOWS_32 - #endif - -#elif UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX - #define EOS_PLATFORM_OSX - -#elif UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX - #define EOS_PLATFORM_LINUX - -#elif UNITY_PS4 - #define EOS_PLATFORM_PS4 - -#elif UNITY_XBOXONE - #define EOS_PLATFORM_XBOXONE - -#elif UNITY_SWITCH - #define EOS_PLATFORM_SWITCH - -#elif UNITY_IOS || __IOS__ - #define EOS_PLATFORM_IOS - -#elif UNITY_ANDROID || __ANDROID__ - #define EOS_PLATFORM_ANDROID - -#endif - -using System.Runtime.InteropServices; - -namespace Epic.OnlineServices -{ - public static class Config - { - public const string LibraryName = - #if EOS_PLATFORM_WINDOWS_32 && EOS_UNITY - "EOSSDK-Win32-Shipping" - #elif EOS_PLATFORM_WINDOWS_32 - "EOSSDK-Win32-Shipping.dll" - - #elif EOS_PLATFORM_WINDOWS_64 && EOS_UNITY - "EOSSDK-Win64-Shipping" - #elif EOS_PLATFORM_WINDOWS_64 - "EOSSDK-Win64-Shipping.dll" - - #elif EOS_PLATFORM_OSX && EOS_UNITY - "libEOSSDK-Mac-Shipping" - #elif EOS_PLATFORM_OSX - "libEOSSDK-Mac-Shipping.dylib" - - #elif EOS_PLATFORM_LINUX && EOS_UNITY - "libEOSSDK-Linux-Shipping.so" - #elif EOS_PLATFORM_LINUX - "libEOSSDK-Linux-Shipping.so" - - #elif EOS_PLATFORM_IOS && EOS_UNITY && !EOS_EDITOR - "__Internal" - #elif EOS_PLATFORM_IOS && EOS_UNITY - "EOSSDK" - #elif EOS_PLATFORM_IOS - "EOSSDK.framework/EOSSDK" - - #elif EOS_PLATFORM_ANDROID - "EOSSDK" - - #else - #error Unable to determine the name of the EOSSDK library. Ensure you have set the correct EOS compilation symbol for the current platform, such as EOS_PLATFORM_WINDOWS_32 or EOS_PLATFORM_WINDOWS_64, so that the correct EOSSDK library can be targeted. - "EOSSDK-UnknownPlatform-Shipping" - - #endif - ; - - public const CallingConvention LibraryCallingConvention = - #if EOS_PLATFORM_WINDOWS_32 - CallingConvention.StdCall - #else - CallingConvention.Cdecl - #endif - ; - } +// Copyright Epic Games, Inc. All Rights Reserved. + +#if DEBUG + #define EOS_DEBUG +#endif + +#if UNITY_EDITOR + #define EOS_EDITOR +#endif + +#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_PS4 || UNITY_XBOXONE || UNITY_SWITCH || UNITY_IOS || UNITY_ANDROID + #define EOS_UNITY +#endif + +#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN || PLATFORM_64BITS || PLATFORM_32BITS + #if UNITY_EDITOR_WIN || UNITY_64 || PLATFORM_64BITS + #define EOS_PLATFORM_WINDOWS_64 + #else + #define EOS_PLATFORM_WINDOWS_32 + #endif + +#elif UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX + #define EOS_PLATFORM_OSX + +#elif UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX + #define EOS_PLATFORM_LINUX + +#elif UNITY_PS4 + #define EOS_PLATFORM_PS4 + +#elif UNITY_XBOXONE + #define EOS_PLATFORM_XBOXONE + +#elif UNITY_SWITCH + #define EOS_PLATFORM_SWITCH + +#elif UNITY_IOS || __IOS__ + #define EOS_PLATFORM_IOS + +#elif UNITY_ANDROID || __ANDROID__ + #define EOS_PLATFORM_ANDROID + +#endif + +using System.Runtime.InteropServices; + +namespace Epic.OnlineServices +{ + public static class Config + { + public const string LibraryName = + #if EOS_PLATFORM_WINDOWS_32 && EOS_UNITY + "EOSSDK-Win32-Shipping" + #elif EOS_PLATFORM_WINDOWS_32 + "EOSSDK-Win32-Shipping.dll" + + #elif EOS_PLATFORM_WINDOWS_64 && EOS_UNITY + "EOSSDK-Win64-Shipping" + #elif EOS_PLATFORM_WINDOWS_64 + "EOSSDK-Win64-Shipping.dll" + + #elif UNITY_EDITOR_OSX + "libEOSSDK-Mac-Shipping" + #elif EOS_PLATFORM_OSX + "libEOSSDK-Mac-Shipping.dylib" + + #elif EOS_PLATFORM_LINUX && EOS_UNITY + "EOSSDK-Linux-Shipping" + #elif EOS_PLATFORM_LINUX + "EOSSDK-Linux-Shipping.so" + + #elif EOS_PLATFORM_IOS && EOS_UNITY && EOS_EDITOR + "EOSSDK" + #elif EOS_PLATFORM_IOS + "EOSSDK.framework/EOSSDK" + + #elif EOS_PLATFORM_ANDROID + "EOSSDK" + + #else + #error Unable to determine the name of the EOSSDK library. Ensure you have set the correct EOS compilation symbol for the current platform, such as EOS_PLATFORM_WINDOWS_32 or EOS_PLATFORM_WINDOWS_64, so that the correct EOSSDK library can be targeted. + "EOSSDK-UnknownPlatform-Shipping" + + #endif + ; + + public const CallingConvention LibraryCallingConvention = + #if EOS_PLATFORM_WINDOWS_32 + CallingConvention.StdCall + #else + CallingConvention.Cdecl + #endif + ; + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Config.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Config.cs.meta deleted file mode 100644 index 099eff51..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Config.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 98992bf0f67075d4fa670ad6baa3bc04 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ConvertHelper.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ConvertHelper.cs new file mode 100644 index 00000000..5d9b23bb --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ConvertHelper.cs @@ -0,0 +1,192 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using System; +using System.Linq; +using System.Text; + +namespace Epic.OnlineServices +{ + public sealed partial class Helper + { + /// + /// Converts an to a of the specified . + /// + /// The type of to convert to. + /// The value to convert from. + /// The converted value. + private static void Convert(IntPtr from, out THandle to) + where THandle : Handle, new() + { + to = null; + + if (from != IntPtr.Zero) + { + to = new THandle(); + to.InnerHandle = from; + } + } + + /// + /// Converts a to an . + /// + /// The value to convert from. + /// The converted value. + private static void Convert(Handle from, out IntPtr to) + { + to = IntPtr.Zero; + + if (from != null) + { + to = from.InnerHandle; + } + } + + /// + /// Converts from a [] to a . + /// + /// The value to convert from. + /// The converted value. + private static void Convert(byte[] from, out string to) + { + to = null; + + if (from == null) + { + return; + } + + to = Encoding.ASCII.GetString(from.Take(GetAnsiStringLength(from)).ToArray()); + } + + /// + /// Converts from a of the specified length to a []. + /// + /// The value to convert from. + /// The length to convert from. + /// The converted value. + private static void Convert(string from, out byte[] to, int fromLength) + { + if (from == null) + { + from = ""; + } + + to = Encoding.ASCII.GetBytes(new string(from.Take(fromLength).ToArray()).PadRight(fromLength, '\0')); + } + + /// + /// Converts from a [] to an . + /// Outputs the length of the []. + /// + /// The type of to convert from. + /// The value to convert from. + /// The converted value; the length of the []. + private static void Convert(TArray[] from, out int to) + { + to = 0; + + if (from != null) + { + to = from.Length; + } + } + + /// + /// Converts from a [] to an . + /// Outputs the length of the []. + /// + /// The type of to convert from. + /// The value to convert from. + /// The converted value; the length of the []. + private static void Convert(TArray[] from, out uint to) + { + to = 0; + + if (from != null) + { + to = (uint)from.Length; + } + } + + /// + /// Converts from an to an . + /// Outputs the length of the . + /// + /// The type of the . + /// The value to convert from. + /// The converted value; the length of the . + private static void Convert(ArraySegment from, out int to) + { + to = from.Count; + } + + /// + /// Converts from an to an . + /// Outputs the length of the . + /// + /// The type of the . + /// The value to convert from. + /// The converted value; the length of the . + private static void Convert(ArraySegment from, out uint to) + { + to = (uint)from.Count; + } + + /// + /// Converts from an to a . + /// + /// The value to convert from. + /// The converted value. + private static void Convert(int from, out bool to) + { + to = from != 0; + } + + /// + /// Converts from an to an . + /// + /// The value to convert from. + /// The converted value. + private static void Convert(bool from, out int to) + { + to = from ? 1 : 0; + } + + /// + /// Converts from a ? to a . + /// Outputs the number of seconds represented by the ? as a unix timestamp. + /// A ? equates to a value of -1, which means unset in the SDK. + /// + /// The value to convert from. + /// The converted value. + private static void Convert(DateTimeOffset? from, out long to) + { + to = -1; + + if (from.HasValue) + { + DateTime unixStart = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); + long unixTimestampTicks = (from.Value.UtcDateTime - unixStart).Ticks; + long unixTimestampSeconds = unixTimestampTicks / TimeSpan.TicksPerSecond; + to = unixTimestampSeconds; + } + } + + /// + /// Converts from a to a ?. + /// + /// The value to convert from. + /// The converted value. + private static void Convert(long from, out DateTimeOffset? to) + { + to = null; + + if (from >= 0) + { + DateTime unixStart = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); + long unixTimeStampTicks = from * TimeSpan.TicksPerSecond; + to = new DateTimeOffset(unixStart.Ticks + unixTimeStampTicks, TimeSpan.Zero); + } + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/HelperExtensions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Extensions.cs similarity index 84% rename from Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/HelperExtensions.cs rename to Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Extensions.cs index b7e79cfa..26dede25 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/HelperExtensions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Extensions.cs @@ -1,27 +1,28 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -namespace Epic.OnlineServices -{ - public static class HelperExtensions - { - /// - /// Checks whether the given result indicates that the operation has completed. Some operations may callback with a result indicating that they will callback again. - /// - /// The result to check. - /// Whether the operation has completed or not. - public static bool IsOperationComplete(this Result result) - { - return Common.IsOperationComplete(result); - } - - /// - /// Converts a byte array into a hex string, e.g. "A56904FF". - /// - /// The byte array to convert. - /// A hex string, e.g. "A56904FF". - public static string ToHexString(this byte[] byteArray) - { - return Common.ToString(byteArray); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. + +namespace Epic.OnlineServices +{ + public static class Extensions + { + /// + /// Checks whether the given result indicates that the operation has completed. Some operations may callback with a result indicating that they will callback again. + /// + /// The result to check. + /// Whether the operation has completed or not. + public static bool IsOperationComplete(this Result result) + { + return Common.IsOperationComplete(result); + } + + /// + /// Converts a byte array into a hex string, e.g. "A56904FF". + /// + /// The byte array to convert. + /// A hex string, e.g. "A56904FF". + public static string ToHexString(this byte[] byteArray) + { + var segment = new System.ArraySegment(byteArray); + return Common.ToString(segment); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/GetHelper.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/GetHelper.cs new file mode 100644 index 00000000..a6dd9eb8 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/GetHelper.cs @@ -0,0 +1,261 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using System; +using System.Runtime.InteropServices; + +namespace Epic.OnlineServices +{ + public sealed partial class Helper + { + internal static void Get(TArray[] from, out int to) + { + Convert(from, out to); + } + + internal static void Get(TArray[] from, out uint to) + { + Convert(from, out to); + } + + internal static void Get(ArraySegment from, out uint to) + { + Convert(from, out to); + } + + internal static void Get(IntPtr from, out TTo to) + where TTo : Handle, new() + { + Convert(from, out to); + } + + internal static void Get(ref TFrom from, out TTo to) + where TFrom : struct, IGettable + where TTo : struct + { + from.Get(out to); + } + + internal static void Get(int from, out bool to) + { + Convert(from, out to); + } + + internal static void Get(bool from, out int to) + { + Convert(from, out to); + } + + internal static void Get(long from, out DateTimeOffset? to) + { + Convert(from, out to); + } + + internal static void Get(IntPtr from, out TTo[] to, int arrayLength, bool isArrayItemAllocated) + { + GetAllocation(from, out to, arrayLength, isArrayItemAllocated); + } + + internal static void Get(IntPtr from, out TTo[] to, uint arrayLength, bool isArrayItemAllocated) + { + GetAllocation(from, out to, (int)arrayLength, isArrayItemAllocated); + } + + internal static void Get(IntPtr from, out TTo[] to, int arrayLength) + { + GetAllocation(from, out to, arrayLength, !typeof(TTo).IsValueType); + } + + internal static void Get(IntPtr from, out TTo[] to, uint arrayLength) + { + GetAllocation(from, out to, (int)arrayLength, !typeof(TTo).IsValueType); + } + + internal static void Get(IntPtr from, out ArraySegment to, uint arrayLength) + { + to = new ArraySegment(); + if (arrayLength != 0) + { + byte[] bytes = new byte[arrayLength]; + Marshal.Copy(from, bytes, 0, (int)arrayLength); + to = new ArraySegment(bytes); + } + } + + internal static void GetHandle(IntPtr from, out THandle[] to, uint arrayLength) + where THandle : Handle, new() + { + GetAllocation(from, out to, (int)arrayLength); + } + + internal static void Get(TFrom[] from, out TTo[] to) + where TFrom : struct, IGettable + where TTo : struct + { + to = GetDefault(); + + if (from != null) + { + to = new TTo[from.Length]; + + for (int index = 0; index < from.Length; ++index) + { + from[index].Get(out to[index]); + } + } + } + + internal static void Get(IntPtr from, out TTo[] to, int arrayLength) + where TFrom : struct, IGettable + where TTo : struct + { + TFrom[] fromIntermediate; + Get(from, out fromIntermediate, arrayLength); + Get(fromIntermediate, out to); + } + + internal static void Get(IntPtr from, out TTo[] to, uint arrayLength) + where TFrom : struct, IGettable + where TTo : struct + { + Get(from, out to, (int)arrayLength); + } + + internal static void Get(IntPtr from, out TTo? to) + where TTo : struct + { + GetAllocation(from, out to); + } + + internal static void Get(byte[] from, out string to) + { + Convert(from, out to); + } + + internal static void Get(IntPtr from, out object to) + { + to = GetClientData(from); + } + + internal static void Get(IntPtr from, out Utf8String to) + { + GetAllocation(from, out to); + } + + internal static void Get(T from, out T to, TEnum currentEnum, TEnum expectedEnum) + { + to = GetDefault(); + + if ((int)(object)currentEnum == (int)(object)expectedEnum) + { + to = from; + } + } + + internal static void Get(ref TFrom from, out TTo to, TEnum currentEnum, TEnum expectedEnum) + where TFrom : struct, IGettable + where TTo : struct + { + to = GetDefault(); + + if ((int)(object)currentEnum == (int)(object)expectedEnum) + { + Get(ref from, out to); + } + } + + internal static void Get(int from, out bool? to, TEnum currentEnum, TEnum expectedEnum) + { + to = GetDefault(); + + if ((int)(object)currentEnum == (int)(object)expectedEnum) + { + bool fromIntermediate; + Convert(from, out fromIntermediate); + to = fromIntermediate; + } + } + + internal static void Get(TFrom from, out TFrom? to, TEnum currentEnum, TEnum expectedEnum) + where TFrom : struct + { + to = GetDefault(); + + if ((int)(object)currentEnum == (int)(object)expectedEnum) + { + to = from; + } + } + + internal static void Get(IntPtr from, out TFrom to, TEnum currentEnum, TEnum expectedEnum) + where TFrom : Handle, new() + { + to = GetDefault(); + + if ((int)(object)currentEnum == (int)(object)expectedEnum) + { + Get(from, out to); + } + } + + internal static void Get(IntPtr from, out IntPtr? to, TEnum currentEnum, TEnum expectedEnum) + { + to = GetDefault(); + + if ((int)(object)currentEnum == (int)(object)expectedEnum) + { + Get(from, out to); + } + } + + internal static void Get(IntPtr from, out Utf8String to, TEnum currentEnum, TEnum expectedEnum) + { + to = GetDefault(); + + if ((int)(object)currentEnum == (int)(object)expectedEnum) + { + Get(from, out to); + } + } + + internal static void Get(IntPtr from, out TTo to) + where TFrom : struct, IGettable + where TTo : struct + { + to = GetDefault(); + + TFrom? fromIntermediate; + Get(from, out fromIntermediate); + + if (fromIntermediate.HasValue) + { + fromIntermediate.Value.Get(out to); + } + } + + internal static void Get(IntPtr from, out TTo? to) + where TFrom : struct, IGettable + where TTo : struct + { + to = GetDefault(); + + TFrom? fromIntermediate; + Get(from, out fromIntermediate); + + if (fromIntermediate.HasValue) + { + TTo toIntermediate; + fromIntermediate.Value.Get(out toIntermediate); + + to = toIntermediate; + } + } + + internal static void Get(ref TFrom from, out TTo to, out IntPtr clientDataAddress) + where TFrom : struct, ICallbackInfoInternal, IGettable + where TTo : struct + { + from.Get(out to); + clientDataAddress = from.ClientDataAddress; + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Handle.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Handle.cs index cd0ec762..62c59358 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Handle.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Handle.cs @@ -1,70 +1,94 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -using System; - -namespace Epic.OnlineServices -{ - public abstract class Handle : IEquatable - { - public IntPtr InnerHandle { get; internal set; } - - public Handle() - { - } - - public Handle(IntPtr innerHandle) - { - InnerHandle = innerHandle; - } - - public override bool Equals(object obj) - { - return Equals(obj as Handle); - } - - public override int GetHashCode() - { - return (int)(0x00010000 + InnerHandle.ToInt64()); - } - - public bool Equals(Handle other) - { - if (ReferenceEquals(other, null)) - { - return false; - } - - if (ReferenceEquals(this, other)) - { - return true; - } - - if (GetType() != other.GetType()) - { - return false; - } - - return InnerHandle == other.InnerHandle; - } - - public static bool operator ==(Handle lhs, Handle rhs) - { - if (ReferenceEquals(lhs, null)) - { - if (ReferenceEquals(rhs, null)) - { - return true; - } - - return false; - } - - return lhs.Equals(rhs); - } - - public static bool operator !=(Handle lhs, Handle rhs) - { - return !(lhs == rhs); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. + +using System; + +namespace Epic.OnlineServices +{ + /// + /// Represents an SDK handle. + /// + public abstract class Handle : IEquatable, IFormattable + { + public IntPtr InnerHandle { get; internal set; } + + /// + /// Initializes a new instance of the class. + /// + public Handle() + { + } + + /// + /// Initializes a new instance of the class with the given inner handle. + /// + public Handle(IntPtr innerHandle) + { + InnerHandle = innerHandle; + } + + public static bool operator ==(Handle left, Handle right) + { + if (ReferenceEquals(left, null)) + { + if (ReferenceEquals(right, null)) + { + return true; + } + + return false; + } + + return left.Equals(right); + } + + public static bool operator !=(Handle left, Handle right) + { + return !(left == right); + } + + public override bool Equals(object obj) + { + return Equals(obj as Handle); + } + + public override int GetHashCode() + { + return (int)(0x00010000 + InnerHandle.ToInt64()); + } + + public bool Equals(Handle other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (GetType() != other.GetType()) + { + return false; + } + + return InnerHandle == other.InnerHandle; + } + + public override string ToString() + { + return InnerHandle.ToString(); + } + + public virtual string ToString(string format, IFormatProvider formatProvider) + { + if (format != null) + { + return InnerHandle.ToString(format); + } + + return InnerHandle.ToString(); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Handle.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Handle.cs.meta deleted file mode 100644 index 8d588ab5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Handle.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 891c2d4ec1d130049ba03dfbec6aefa6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Helper.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Helper.cs index 4023211b..8a44dd63 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Helper.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Helper.cs @@ -1,1441 +1,659 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.InteropServices; -using System.Text; - -namespace Epic.OnlineServices -{ - internal class AllocationException : Exception - { - public AllocationException(string message) - : base(message) - { - } - } - - internal class ExternalAllocationException : AllocationException - { - public ExternalAllocationException(IntPtr address, Type type) - : base(string.Format("Attempting to allocate '{0}' over externally allocated memory at {1}", type, address.ToString("X"))) - { - } - } - - internal class CachedTypeAllocationException : AllocationException - { - public CachedTypeAllocationException(IntPtr address, Type foundType, Type expectedType) - : base(string.Format("Cached allocation is '{0}' but expected '{1}' at {2}", foundType, expectedType, address.ToString("X"))) - { - } - } - - internal class CachedArrayAllocationException : AllocationException - { - public CachedArrayAllocationException(IntPtr address, int foundLength, int expectedLength) - : base(string.Format("Cached array allocation has length {0} but expected {1} at {2}", foundLength, expectedLength, address.ToString("X"))) - { - } - } - - internal class DynamicBindingException : Exception - { - public DynamicBindingException(string bindingName) - : base(string.Format("Failed to hook dynamic binding for '{0}'", bindingName)) - { - } - } - - public static class Helper - { - internal class Allocation - { - public int Size { get; private set; } - - public object CachedData { get; private set; } - - public bool? IsCachedArrayElementAllocated { get; private set; } - - public Allocation(int size) - { - Size = size; - } - - public void SetCachedData(object data, bool? isCachedArrayElementAllocated = null) - { - CachedData = data; - IsCachedArrayElementAllocated = isCachedArrayElementAllocated; - } - } - - private class DelegateHolder - { - public Delegate Public { get; private set; } - public Delegate Private { get; private set; } - public Delegate[] StructDelegates { get; private set; } - public ulong? NotificationId { get; set; } - - public DelegateHolder(Delegate publicDelegate, Delegate privateDelegate, params Delegate[] structDelegates) - { - Public = publicDelegate; - Private = privateDelegate; - StructDelegates = structDelegates; - } - } - - private static Dictionary s_Allocations = new Dictionary(); - private static Dictionary s_Callbacks = new Dictionary(); - private static Dictionary s_StaticCallbacks = new Dictionary(); - - /// - /// Gets the number of unmanaged allocations currently active within the wrapper. Use this to find leaks related to the usage of wrapper code. - /// - /// The number of unmanaged allocations currently active within the wrapper. - public static int GetAllocationCount() - { - return s_Allocations.Count; - } - - // These functions are the front end when changing SDK values into wrapper values. - // They will either fetch or convert; whichever is most appropriate for the source and target types. -#region Marshal Getters - internal static bool TryMarshalGet(T[] source, out uint target) - { - return TryConvert(source, out target); - } - - internal static bool TryMarshalGet(IntPtr source, out T target) - where T : Handle, new() - { - return TryConvert(source, out target); - } - - internal static bool TryMarshalGet(TSource source, out TTarget target) - where TTarget : ISettable, new() - { - return TryConvert(source, out target); - } - - internal static bool TryMarshalGet(int source, out bool target) - { - return TryConvert(source, out target); - } - - internal static bool TryMarshalGet(bool source, out int target) - { - return TryConvert(source, out target); - } - - internal static bool TryMarshalGet(long source, out DateTimeOffset? target) - { - return TryConvert(source, out target); - } - - internal static bool TryMarshalGet(IntPtr source, out T[] target, int arrayLength, bool isElementAllocated) - { - return TryFetch(source, out target, arrayLength, isElementAllocated); - } - - internal static bool TryMarshalGet(IntPtr source, out T[] target, uint arrayLength, bool isElementAllocated) - { - return TryFetch(source, out target, (int)arrayLength, isElementAllocated); - } - - internal static bool TryMarshalGet(IntPtr source, out T[] target, int arrayLength) - { - return TryMarshalGet(source, out target, arrayLength, !typeof(T).IsValueType); - } - - internal static bool TryMarshalGet(IntPtr source, out T[] target, uint arrayLength) - { - return TryMarshalGet(source, out target, arrayLength, !typeof(T).IsValueType); - } - - internal static bool TryMarshalGet(TSource[] source, out TTarget[] target) - where TSource : struct - where TTarget : class, ISettable, new() - { - return TryConvert(source, out target); - } - - internal static bool TryMarshalGet(IntPtr source, out TTarget[] target, int arrayLength) - where TSource : struct - where TTarget : class, ISettable, new() - { - target = GetDefault(); - - TSource[] intermediateSource; - if (TryMarshalGet(source, out intermediateSource, arrayLength)) - { - return TryMarshalGet(intermediateSource, out target); - } - - return false; - } - - internal static bool TryMarshalGet(IntPtr source, out TTarget[] target, uint arrayLength) - where TSource : struct - where TTarget : class, ISettable, new() - { - int arrayLengthInt = (int)arrayLength; - return TryMarshalGet(source, out target, arrayLengthInt); - } - - internal static bool TryMarshalGet(IntPtr source, out T? target) - where T : struct - { - return TryFetch(source, out target); - } - - internal static bool TryMarshalGet(byte[] source, out string target) - { - return TryConvert(source, out target); - } - - internal static bool TryMarshalGet(IntPtr source, out object target) - { - target = null; - - BoxedData boxedData; - if (TryFetch(source, out boxedData)) - { - target = boxedData.Data; - return true; - } - - return false; - } - - internal static bool TryMarshalGet(IntPtr source, out string target) - { - return TryFetch(source, out target); - } - - internal static bool TryMarshalGet(T source, out T target, TEnum currentEnum, TEnum comparisonEnum) - { - target = GetDefault(); - - if ((int)(object)currentEnum == (int)(object)comparisonEnum) - { - target = source; - return true; - } - - return false; - } - - internal static bool TryMarshalGet(ISettable source, out TTarget target, TEnum currentEnum, TEnum comparisonEnum) - where TTarget : ISettable, new() - { - target = GetDefault(); - - if ((int)(object)currentEnum == (int)(object)comparisonEnum) - { - return TryConvert(source, out target); - } - - return false; - } - - internal static bool TryMarshalGet(int source, out bool? target, TEnum currentEnum, TEnum comparisonEnum) - { - target = GetDefault(); - - if ((int)(object)currentEnum == (int)(object)comparisonEnum) - { - bool targetConvert; - if (TryConvert(source, out targetConvert)) - { - target = targetConvert; - return true; - } - } - - return false; - } - - internal static bool TryMarshalGet(T source, out T? target, TEnum currentEnum, TEnum comparisonEnum) - where T : struct - { - target = GetDefault(); - - if ((int)(object)currentEnum == (int)(object)comparisonEnum) - { - target = source; - return true; - } - - return false; - } - - internal static bool TryMarshalGet(IntPtr source, out T target, TEnum currentEnum, TEnum comparisonEnum) - where T : Handle, new() - { - target = GetDefault(); - - if ((int)(object)currentEnum == (int)(object)comparisonEnum) - { - return TryMarshalGet(source, out target); - } - - return false; - } - - internal static bool TryMarshalGet(IntPtr source, out IntPtr? target, TEnum currentEnum, TEnum comparisonEnum) - { - target = GetDefault(); - - if ((int)(object)currentEnum == (int)(object)comparisonEnum) - { - return TryMarshalGet(source, out target); - } - - return false; - } - - internal static bool TryMarshalGet(IntPtr source, out string target, TEnum currentEnum, TEnum comparisonEnum) - { - target = GetDefault(); - - if ((int)(object)currentEnum == (int)(object)comparisonEnum) - { - return TryMarshalGet(source, out target); - } - - return false; - } - - internal static bool TryMarshalGet(IntPtr source, out TPublic target) - where TInternal : struct - where TPublic : class, ISettable, new() - { - target = GetDefault(); - - TInternal? targetInternal; - if (TryMarshalGet(source, out targetInternal)) - { - if (targetInternal.HasValue) - { - target = new TPublic(); - target.Set(targetInternal); - - return true; - } - } - - return false; - } - - internal static bool TryMarshalGet(IntPtr callbackInfoAddress, out TCallbackInfo callbackInfo, out IntPtr clientDataAddress) - where TCallbackInfoInternal : struct, ICallbackInfoInternal - where TCallbackInfo : class, ISettable, new() - { - callbackInfo = null; - clientDataAddress = IntPtr.Zero; - - TCallbackInfoInternal callbackInfoInternal; - if (TryFetch(callbackInfoAddress, out callbackInfoInternal)) - { - callbackInfo = new TCallbackInfo(); - callbackInfo.Set(callbackInfoInternal); - clientDataAddress = callbackInfoInternal.ClientDataAddress; - - return true; - } - - return false; - } -#endregion - - // These functions are the front end for changing wrapper values into SDK values. - // They will either allocate or convert; whichever is most appropriate for the source and target types. -#region Marshal Setters - internal static bool TryMarshalSet(ref T target, T source) - { - target = source; - - return true; - } - - internal static bool TryMarshalSet(ref TTarget target, object source) - where TTarget : ISettable, new() - { - return TryConvert(source, out target); - } - - internal static bool TryMarshalSet(ref IntPtr target, Handle source) - { - return TryConvert(source, out target); - } - - internal static bool TryMarshalSet(ref IntPtr target, T? source) - where T : struct - { - return TryAllocate(ref target, source); - } - - internal static bool TryMarshalSet(ref IntPtr target, T[] source, bool isElementAllocated) - { - return TryAllocate(ref target, source, isElementAllocated); - } - - internal static bool TryMarshalSet(ref IntPtr target, T[] source) - { - return TryMarshalSet(ref target, source, !typeof(T).IsValueType); - } - - internal static bool TryMarshalSet(ref IntPtr target, T[] source, out int arrayLength, bool isElementAllocated) - { - arrayLength = 0; - - if (TryMarshalSet(ref target, source, isElementAllocated)) - { - arrayLength = source.Length; - return true; - } - - return false; - } - - internal static bool TryMarshalSet(ref IntPtr target, T[] source, out uint arrayLength, bool isElementAllocated) - { - arrayLength = 0; - - int arrayLengthInternal = 0; - if (TryMarshalSet(ref target, source, out arrayLengthInternal, isElementAllocated)) - { - arrayLength = (uint)arrayLengthInternal; - return true; - } - - return false; - } - - internal static bool TryMarshalSet(ref IntPtr target, T[] source, out uint arrayLength) - { - return TryMarshalSet(ref target, source, out arrayLength, !typeof(T).IsValueType); - } - - internal static bool TryMarshalSet(ref long target, DateTimeOffset? source) - { - return TryConvert(source, out target); - } - - internal static bool TryMarshalSet(ref int target, bool source) - { - return TryConvert(source, out target); - } - - internal static bool TryMarshalSet(ref byte[] target, string source, int length) - { - return TryConvert(source, out target, length); - } - - internal static bool TryMarshalSet(ref IntPtr target, string source) - { - return TryAllocate(ref target, source); - } - - internal static bool TryMarshalSet(ref T target, T source, ref TEnum currentEnum, TEnum comparisonEnum, IDisposable disposable = null) - { - if (source != null) - { - TryMarshalDispose(ref disposable); - - if (TryMarshalSet(ref target, source)) - { - currentEnum = comparisonEnum; - return true; - } - } - - return false; - } - - internal static bool TryMarshalSet(ref TTarget target, ISettable source, ref TEnum currentEnum, TEnum comparisonEnum, IDisposable disposable = null) - where TTarget : ISettable, new() - { - if (source != null) - { - TryMarshalDispose(ref disposable); - - if (TryConvert(source, out target)) - { - currentEnum = comparisonEnum; - return true; - } - } - - return false; - } - - internal static bool TryMarshalSet(ref T target, T? source, ref TEnum currentEnum, TEnum comparisonEnum, IDisposable disposable = null) - where T : struct - { - if (source != null) - { - TryMarshalDispose(ref disposable); - - if (TryMarshalSet(ref target, source.Value)) - { - currentEnum = comparisonEnum; - return true; - } - } - - return true; - } - - internal static bool TryMarshalSet(ref IntPtr target, Handle source, ref TEnum currentEnum, TEnum comparisonEnum, IDisposable disposable = null) - { - if (source != null) - { - TryMarshalDispose(ref disposable); - - if (TryMarshalSet(ref target, source)) - { - currentEnum = comparisonEnum; - return true; - } - } - - return true; - } - - internal static bool TryMarshalSet(ref IntPtr target, string source, ref TEnum currentEnum, TEnum comparisonEnum, IDisposable disposable = null) - { - if (source != null) - { - TryMarshalDispose(ref target); - target = IntPtr.Zero; - - TryMarshalDispose(ref disposable); - - if (TryMarshalSet(ref target, source)) - { - currentEnum = comparisonEnum; - return true; - } - } - - return true; - } - - internal static bool TryMarshalSet(ref int target, bool? source, ref TEnum currentEnum, TEnum comparisonEnum, IDisposable disposable = null) - { - if (source != null) - { - TryMarshalDispose(ref disposable); - - if (TryMarshalSet(ref target, source.Value)) - { - currentEnum = comparisonEnum; - return true; - } - } - - return true; - } - - internal static bool TryMarshalSet(ref IntPtr target, TPublic source) - where TInternal : struct, ISettable - where TPublic : class - { - if (source != null) - { - TInternal targetInternal = new TInternal(); - targetInternal.Set(source); - - if (TryAllocate(ref target, targetInternal)) - { - return true; - } - } - - return false; - } - - internal static bool TryMarshalSet(ref IntPtr target, TPublic[] source, out int arrayLength) - where TInternal : struct, ISettable - where TPublic : class - { - arrayLength = 0; - - if (source != null) - { - TInternal[] targetInternal = new TInternal[source.Length]; - for (int index = 0; index < source.Length; ++index) - { - targetInternal[index].Set(source[index]); - } - - if (TryMarshalSet(ref target, targetInternal)) - { - arrayLength = source.Length; - return true; - } - - } - - return false; - } - - internal static bool TryMarshalSet(ref IntPtr target, TPublic[] source, out uint arrayLength) - where TInternal : struct, ISettable - where TPublic : class - { - arrayLength = 0; - - int arrayLengthInt; - if (TryMarshalSet(ref target, source, out arrayLengthInt)) - { - arrayLength = (uint)arrayLengthInt; - return true; - } - - return false; - } - - internal static bool TryMarshalSet(ref IntPtr target, TPublic[] source, out int arrayLength, bool isElementAllocated) - where TInternal : struct, ISettable - where TPublic : class - { - arrayLength = 0; - - if (source != null) - { - TInternal[] targetInternal = new TInternal[source.Length]; - for (int index = 0; index < source.Length; ++index) - { - targetInternal[index].Set(source[index]); - } - - if (TryMarshalSet(ref target, targetInternal, isElementAllocated)) - { - arrayLength = source.Length; - return true; - } - - } - - return false; - } - - internal static bool TryMarshalSet(ref IntPtr target, TPublic[] source, out uint arrayLength, bool isElementAllocated) - where TInternal : struct, ISettable - where TPublic : class - { - arrayLength = 0; - - int arrayLengthInt; - if (TryMarshalSet(ref target, source, out arrayLengthInt, isElementAllocated)) - { - arrayLength = (uint)arrayLengthInt; - return true; - } - - return false; - } - - internal static bool TryMarshalCopy(IntPtr target, byte[] source) - { - if (target != IntPtr.Zero && source != null) - { - Marshal.Copy(source, 0, target, source.Length); - return true; - } - - return false; - } - - internal static bool TryMarshalAllocate(ref IntPtr target, int size, out Allocation allocation) - { - TryMarshalDispose(ref target); - - target = Marshal.AllocHGlobal(size); - Marshal.WriteByte(target, 0, 0); - - allocation = new Allocation(size); - s_Allocations.Add(target, allocation); - - return true; - } - - internal static bool TryMarshalAllocate(ref IntPtr target, uint size, out Allocation allocation) - { - return TryMarshalAllocate(ref target, (int)size, out allocation); - } -#endregion - - // These functions are the front end for disposing of unmanaged memory that this wrapper has allocated. -#region Marshal Disposers - internal static bool TryMarshalDispose(ref TDisposable disposable) - where TDisposable : IDisposable - { - if (disposable != null) - { - disposable.Dispose(); - return true; - } - - return false; - } - - internal static bool TryMarshalDispose(ref IntPtr value) - { - return TryRelease(ref value); - } - - internal static bool TryMarshalDispose(ref IntPtr member, TEnum currentEnum, TEnum comparisonEnum) - { - if ((int)(object)currentEnum == (int)(object)comparisonEnum) - { - return TryRelease(ref member); - } - - return false; - } -#endregion - - // These functions are exposed to the wrapper to generally streamline blocks of generated code. -#region Helpers - internal static T GetDefault() - { - return default(T); - } - - internal static void AddCallback(ref IntPtr clientDataAddress, object clientData, Delegate publicDelegate, Delegate privateDelegate, params Delegate[] structDelegates) - { - TryAllocateCacheOnly(ref clientDataAddress, new BoxedData(clientData)); - s_Callbacks.Add(clientDataAddress, new DelegateHolder(publicDelegate, privateDelegate, structDelegates)); - } - - internal static void AddStaticCallback(string key, Delegate publicDelegate, Delegate privateDelegate) - { - s_StaticCallbacks[key] = new DelegateHolder(publicDelegate, privateDelegate); - } - - internal static bool TryAssignNotificationIdToCallback(IntPtr clientDataAddress, ulong notificationId) - { - if (notificationId != 0) - { - DelegateHolder delegateHolder = null; - if (s_Callbacks.TryGetValue(clientDataAddress, out delegateHolder)) - { - delegateHolder.NotificationId = notificationId; - return true; - } - } - // We can safely release if the notification id came back invalid - else - { - s_Callbacks.Remove(clientDataAddress); - TryRelease(ref clientDataAddress); - } - - return false; - } - - internal static bool TryRemoveCallbackByNotificationId(ulong notificationId) - { - var delegateHolderPairs = s_Callbacks.Where(pair => pair.Value.NotificationId.HasValue && pair.Value.NotificationId == notificationId); - if (delegateHolderPairs.Any()) - { - IntPtr clientDataAddress = delegateHolderPairs.First().Key; - - s_Callbacks.Remove(clientDataAddress); - TryRelease(ref clientDataAddress); - - return true; - } - - return false; - } - - internal static bool TryGetAndRemoveCallback(IntPtr callbackInfoAddress, out TCallback callback, out TCallbackInfo callbackInfo) - where TCallback : class - where TCallbackInfoInternal : struct, ICallbackInfoInternal - where TCallbackInfo : class, ICallbackInfo, ISettable, new() - { - callback = null; - callbackInfo = null; - - IntPtr clientDataAddress = IntPtr.Zero; - if (TryMarshalGet(callbackInfoAddress, out callbackInfo, out clientDataAddress) - && TryGetAndRemoveCallback(clientDataAddress, callbackInfo, out callback)) - { - return true; - } - - return false; - } - - internal static bool TryGetStructCallback(IntPtr callbackInfoAddress, out TDelegate callback, out TCallbackInfo callbackInfo) - where TDelegate : class - where TCallbackInfoInternal : struct, ICallbackInfoInternal - where TCallbackInfo : class, ISettable, new() - { - callback = null; - callbackInfo = null; - - IntPtr clientDataAddress = IntPtr.Zero; - if (TryMarshalGet(callbackInfoAddress, out callbackInfo, out clientDataAddress) - && TryGetStructCallback(clientDataAddress, out callback)) - { - return true; - } - - return false; - } -#endregion - - // These functions are used for allocating unmanaged memory. - // They should not be exposed outside of this helper. -#region Private Allocators - private static bool TryAllocate(ref IntPtr target, T source) - { - TryRelease(ref target); - - if (target != IntPtr.Zero) - { - throw new ExternalAllocationException(target, source.GetType()); - } - - if (source == null) - { - return false; - } - - Allocation allocation; - if (!TryMarshalAllocate(ref target, Marshal.SizeOf(typeof(T)), out allocation)) - { - return false; - } - - allocation.SetCachedData(source); - Marshal.StructureToPtr(source, target, false); - - return true; - } - - private static bool TryAllocate(ref IntPtr target, T? source) - where T : struct - { - TryRelease(ref target); - - if (target != IntPtr.Zero) - { - throw new ExternalAllocationException(target, source.GetType()); - } - - if (source == null) - { - return false; - } - - return TryAllocate(ref target, source.Value); - } - - private static bool TryAllocate(ref IntPtr target, string source) - { - TryRelease(ref target); - - if (target != IntPtr.Zero) - { - throw new ExternalAllocationException(target, source.GetType()); - } - - if (source == null) - { - return false; - } - - byte[] bytes; - if (TryConvert(source, out bytes)) - { - return TryAllocate(ref target, bytes, false); - } - - return false; - } - - private static bool TryAllocate(ref IntPtr target, T[] source, bool isElementAllocated) - { - TryRelease(ref target); - - if (target != IntPtr.Zero) - { - throw new ExternalAllocationException(target, source.GetType()); - } - - if (source == null) - { - return false; - } - - var itemSize = 0; - if (isElementAllocated) - { - itemSize = Marshal.SizeOf(typeof(IntPtr)); - } - else - { - itemSize = Marshal.SizeOf(typeof(T)); - } - - // Allocate the array - Allocation allocation; - if (!TryMarshalAllocate(ref target, source.Length * itemSize, out allocation)) - { - return false; - } - - allocation.SetCachedData(source, isElementAllocated); - - for (int itemIndex = 0; itemIndex < source.Length; ++itemIndex) - { - var item = (T)source.GetValue(itemIndex); - - if (isElementAllocated) - { - // Allocate the item - IntPtr newItemAddress = IntPtr.Zero; - - if (typeof(T) == typeof(string)) - { - TryAllocate(ref newItemAddress, (string)(object)item); - } - else if (typeof(T).BaseType == typeof(Handle)) - { - TryConvert((Handle)(object)item, out newItemAddress); - } - else - { - TryAllocate(ref newItemAddress, item); - } - - // Copy the item's address into the array - IntPtr itemAddress = new IntPtr(target.ToInt64() + itemIndex * itemSize); - Marshal.StructureToPtr(newItemAddress, itemAddress, false); - } - else - { - // Copy the data straight into memory - IntPtr itemAddress = new IntPtr(target.ToInt64() + itemIndex * itemSize); - Marshal.StructureToPtr(item, itemAddress, false); - } - } - - return true; - } - - private static bool TryAllocateCacheOnly(ref IntPtr target, T source) - { - TryRelease(ref target); - - if (target != IntPtr.Zero) - { - throw new ExternalAllocationException(target, source.GetType()); - } - - if (source == null) - { - return false; - } - - // The source should always be fetched directly from our cache, so the allocation is arbitrary. - Allocation allocation; - if (!TryMarshalAllocate(ref target, 1, out allocation)) - { - return false; - } - - allocation.SetCachedData(source); - - return true; - } -#endregion - - // These functions are used for releasing unmanaged memory. - // They should not be exposed outside of this helper. -#region Private Releasers - private static bool TryRelease(ref IntPtr target) - { - if (target == IntPtr.Zero) - { - return false; - } - - Allocation allocation = null; - if (!s_Allocations.TryGetValue(target, out allocation)) - { - return false; - } - - if (allocation.IsCachedArrayElementAllocated.HasValue) - { - var itemSize = 0; - if (allocation.IsCachedArrayElementAllocated.Value) - { - itemSize = Marshal.SizeOf(typeof(IntPtr)); - } - else - { - itemSize = Marshal.SizeOf(allocation.CachedData.GetType().GetElementType()); - } - - var array = allocation.CachedData as Array; - - for (int itemIndex = 0; itemIndex < array.Length; ++itemIndex) - { - if (allocation.IsCachedArrayElementAllocated.Value) - { - var itemAddress = new IntPtr(target.ToInt64() + itemIndex * itemSize); - itemAddress = Marshal.ReadIntPtr(itemAddress); - TryRelease(ref itemAddress); - } - else - { - var item = array.GetValue(itemIndex); - if (item is IDisposable) - { - var disposable = item as IDisposable; - if (disposable != null) - { - disposable.Dispose(); - } - } - } - } - } - - if (allocation.CachedData is IDisposable) - { - var disposable = allocation.CachedData as IDisposable; - if (disposable != null) - { - disposable.Dispose(); - } - } - - Marshal.FreeHGlobal(target); - s_Allocations.Remove(target); - target = IntPtr.Zero; - - return true; - } -#endregion - - // These functions are used for fetching unmanaged memory. - // They should not be exposed outside of this helper. -#region Private Fetchers - private static bool TryFetch(IntPtr source, out T target) - { - target = GetDefault(); - - if (source == IntPtr.Zero) - { - return false; - } - - // If this is an allocation containing cached data, we should be able to fetch it from the cache - if (s_Allocations.ContainsKey(source)) - { - Allocation allocation = s_Allocations[source]; - if (allocation.CachedData != null) - { - if (allocation.CachedData.GetType() == typeof(T)) - { - target = (T)allocation.CachedData; - return true; - } - else - { - throw new CachedTypeAllocationException(source, allocation.CachedData.GetType(), typeof(T)); - } - } - } - - target = (T)Marshal.PtrToStructure(source, typeof(T)); - return true; - } - - private static bool TryFetch(IntPtr source, out T? target) - where T : struct - { - target = GetDefault(); - - if (source == IntPtr.Zero) - { - return false; - } - - // If this is an allocation containing cached data, we should be able to fetch it from the cache - if (s_Allocations.ContainsKey(source)) - { - Allocation allocation = s_Allocations[source]; - if (allocation.CachedData != null) - { - if (allocation.CachedData.GetType() == typeof(T)) - { - target = (T?)allocation.CachedData; - return true; - } - else - { - throw new CachedTypeAllocationException(source, allocation.CachedData.GetType(), typeof(T)); - } - } - } - - target = (T?)Marshal.PtrToStructure(source, typeof(T)); - return true; - } - - private static bool TryFetch(IntPtr source, out T[] target, int arrayLength, bool isElementAllocated) - { - target = null; - - if (source == IntPtr.Zero) - { - return false; - } - - // If this is an allocation containing cached data, we should be able to fetch it from the cache - if (s_Allocations.ContainsKey(source)) - { - Allocation allocation = s_Allocations[source]; - if (allocation.CachedData != null) - { - if (allocation.CachedData.GetType() == typeof(T[])) - { - var cachedArray = (Array)allocation.CachedData; - if (cachedArray.Length == arrayLength) - { - target = cachedArray as T[]; - return true; - } - else - { - throw new CachedArrayAllocationException(source, cachedArray.Length, arrayLength); - } - } - else - { - throw new CachedTypeAllocationException(source, allocation.CachedData.GetType(), typeof(T[])); - } - } - } - - var itemSize = 0; - if (isElementAllocated) - { - itemSize = Marshal.SizeOf(typeof(IntPtr)); - } - else - { - itemSize = Marshal.SizeOf(typeof(T)); - } - - List items = new List(); - for (int itemIndex = 0; itemIndex < arrayLength; ++itemIndex) - { - IntPtr itemAddress = new IntPtr(source.ToInt64() + itemIndex * itemSize); - - if (isElementAllocated) - { - itemAddress = Marshal.ReadIntPtr(itemAddress); - } - - T item; - TryFetch(itemAddress, out item); - items.Add(item); - } - - target = items.ToArray(); - return true; - } - - private static bool TryFetch(IntPtr source, out string target) - { - target = null; - - if (source == IntPtr.Zero) - { - return false; - } - - // Find the null terminator - int length = 0; - while (Marshal.ReadByte(source, length) != 0) - { - ++length; - } - - byte[] bytes = new byte[length]; - Marshal.Copy(source, bytes, 0, length); - - target = Encoding.UTF8.GetString(bytes); - - return true; - } -#endregion - - // These functions are used for converting managed memory. - // They should not be exposed outside of this helper. -#region Private Converters - private static bool TryConvert(IntPtr source, out THandle target) - where THandle : Handle, new() - { - target = null; - - if (source != IntPtr.Zero) - { - target = new THandle(); - target.InnerHandle = source; - } - - return true; - } - - internal static bool TryConvert(TSource source, out TTarget target) - where TTarget : ISettable, new() - { - target = GetDefault(); - - if (source != null) - { - target = new TTarget(); - target.Set(source); - } - - return true; - } - - private static bool TryConvert(Handle source, out IntPtr target) - { - target = IntPtr.Zero; - - if (source != null) - { - target = source.InnerHandle; - } - - return true; - } - - private static bool TryConvert(byte[] source, out string target) - { - target = null; - - if (source == null) - { - return false; - } - - int length = 0; - foreach (byte currentByte in source) - { - if (currentByte == 0) - { - break; - } - - ++length; - } - - target = Encoding.UTF8.GetString(source.Take(length).ToArray()); - - return true; - } - - private static bool TryConvert(string source, out byte[] target, int length) - { - if (source == null) - { - source = ""; - } - - target = Encoding.UTF8.GetBytes(new string(source.Take(length).ToArray()).PadRight(length, '\0')); - - return true; - } - - private static bool TryConvert(string source, out byte[] target) - { - return TryConvert(source, out target, source.Length + 1); - } - - private static bool TryConvert(T[] source, out int target) - { - target = 0; - - if (source != null) - { - target = source.Length; - } - - return true; - } - - private static bool TryConvert(T[] source, out uint target) - { - target = 0; - - int targetInt; - if (TryConvert(source, out targetInt)) - { - target = (uint)targetInt; - return true; - } - - return false; - } - - internal static bool TryConvert(TSource[] source, out TTarget[] target) - where TTarget : ISettable, new() - { - target = GetDefault(); - - if (source != null) - { - target = new TTarget[source.Length]; - - for (int index = 0; index < source.Length; ++index) - { - target[index] = new TTarget(); - target[index].Set(source[index]); - } - } - - return true; - } - - private static bool TryConvert(int source, out bool target) - { - target = source != 0; - - return true; - } - - private static bool TryConvert(bool source, out int target) - { - target = source ? 1 : 0; - - return true; - } - - private static bool TryConvert(DateTimeOffset? source, out long target) - { - target = -1; - - if (source.HasValue) - { - DateTime unixStart = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); - long unixTimestampTicks = (source.Value.UtcDateTime - unixStart).Ticks; - long unixTimestampSeconds = unixTimestampTicks / TimeSpan.TicksPerSecond; - target = unixTimestampSeconds; - } - - return true; - } - - private static bool TryConvert(long source, out DateTimeOffset? target) - { - target = null; - - if (source >= 0) - { - DateTime unixStart = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); - long unixTimeStampTicks = source * TimeSpan.TicksPerSecond; - target = new DateTimeOffset(unixStart.Ticks + unixTimeStampTicks, TimeSpan.Zero); - } - - return true; - } -#endregion - - // These functions exist to further streamline blocks of generated code. -#region Private Helpers - private static bool CanRemoveCallback(IntPtr clientDataAddress, TCallbackInfo callbackInfo) - where TCallbackInfo : ICallbackInfo - { - DelegateHolder delegateHolder = null; - if (s_Callbacks.TryGetValue(clientDataAddress, out delegateHolder)) - { - if (delegateHolder.NotificationId.HasValue) - { - return false; - } - } - - if (callbackInfo.GetResultCode().HasValue) - { - return Common.IsOperationComplete(callbackInfo.GetResultCode().Value); - } - - return true; - } - - private static bool TryGetAndRemoveCallback(IntPtr clientDataAddress, TCallbackInfo callbackInfo, out TCallback callback) - where TCallback : class - where TCallbackInfo : ICallbackInfo - { - callback = null; - - if (clientDataAddress != IntPtr.Zero && s_Callbacks.ContainsKey(clientDataAddress)) - { - callback = s_Callbacks[clientDataAddress].Public as TCallback; - if (callback != null) - { - if (CanRemoveCallback(clientDataAddress, callbackInfo)) - { - s_Callbacks.Remove(clientDataAddress); - TryRelease(ref clientDataAddress); - } - - return true; - } - } - - return false; - } - - internal static bool TryGetStaticCallback(string key, out TCallback callback) - where TCallback : class - { - callback = null; - - if (s_StaticCallbacks.ContainsKey(key)) - { - callback = s_StaticCallbacks[key].Public as TCallback; - if (callback != null) - { - return true; - } - } - - return false; - } - - private static bool TryGetStructCallback(IntPtr clientDataAddress, out TCallback structCallback) - where TCallback : class - { - structCallback = null; - - if (clientDataAddress != IntPtr.Zero && s_Callbacks.ContainsKey(clientDataAddress)) - { - structCallback = s_Callbacks[clientDataAddress].StructDelegates.FirstOrDefault(delegat => delegat.GetType() == typeof(TCallback)) as TCallback; - if (structCallback != null) - { - return true; - } - } - - return false; - } -#endregion - } +// Copyright Epic Games, Inc. All Rights Reserved. + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; + +namespace Epic.OnlineServices +{ + internal class AllocationException : Exception + { + public AllocationException(string message) + : base(message) + { + } + } + + internal class ExternalAllocationException : AllocationException + { + public ExternalAllocationException(IntPtr address, Type type) + : base(string.Format("Attempting to allocate '{0}' over externally allocated memory at {1}", type, address.ToString("X"))) + { + } + } + + internal class CachedTypeAllocationException : AllocationException + { + public CachedTypeAllocationException(IntPtr address, Type foundType, Type expectedType) + : base(string.Format("Cached allocation is '{0}' but expected '{1}' at {2}", foundType, expectedType, address.ToString("X"))) + { + } + } + + internal class CachedArrayAllocationException : AllocationException + { + public CachedArrayAllocationException(IntPtr address, int foundLength, int expectedLength) + : base(string.Format("Cached array allocation has length {0} but expected {1} at {2}", foundLength, expectedLength, address.ToString("X"))) + { + } + } + + internal class DynamicBindingException : Exception + { + public DynamicBindingException(string bindingName) + : base(string.Format("Failed to hook dynamic binding for '{0}'", bindingName)) + { + } + } + + /// + /// A helper class that manages memory in the wrapper. + /// + public sealed partial class Helper + { + private struct Allocation + { + public int Size { get; private set; } + + public object Cache { get; private set; } + + public bool? IsArrayItemAllocated { get; private set; } + + public Allocation(int size, object cache, bool? isArrayItemAllocated = null) + { + Size = size; + Cache = cache; + IsArrayItemAllocated = isArrayItemAllocated; + } + } + private struct PinnedBuffer + { + public GCHandle Handle { get; private set; } + + public int RefCount { get; set; } + + public PinnedBuffer(GCHandle handle) + { + Handle = handle; + RefCount = 1; + } + } + + private class DelegateHolder + { + public Delegate Public { get; private set; } + public Delegate Private { get; private set; } + public Delegate[] StructDelegates { get; private set; } + public ulong? NotificationId { get; set; } + + public DelegateHolder(Delegate publicDelegate, Delegate privateDelegate, params Delegate[] structDelegates) + { + Public = publicDelegate; + Private = privateDelegate; + StructDelegates = structDelegates; + } + } + + private static Dictionary s_Allocations = new Dictionary(); + private static Dictionary s_PinnedBuffers = new Dictionary(); + private static Dictionary s_Callbacks = new Dictionary(); + private static Dictionary s_StaticCallbacks = new Dictionary(); + private static long s_LastClientDataId = 0; + private static Dictionary s_ClientDatas = new Dictionary(); + + /// + /// Gets the number of unmanaged allocations and other stored values in the wrapper. Use this to find leaks related to the usage of wrapper code. + /// + /// The number of unmanaged allocations currently active within the wrapper. + public static int GetAllocationCount() + { + return s_Allocations.Count + s_PinnedBuffers.Aggregate(0, (acc, x) => acc + x.Value.RefCount) + s_Callbacks.Count + s_ClientDatas.Count; + } + + internal static void Copy(byte[] from, IntPtr to) + { + if (from != null && to != IntPtr.Zero) + { + Marshal.Copy(from, 0, to, from.Length); + } + } + + internal static void Copy(ArraySegment from, IntPtr to) + { + if (from.Count != 0 && to != IntPtr.Zero) + { + Marshal.Copy(from.Array, from.Offset, to, from.Count); + } + } + + internal static void Dispose(ref IntPtr value) + { + RemoveAllocation(ref value); + RemovePinnedBuffer(ref value); + } + + internal static void Dispose(ref TDisposable disposable) + where TDisposable : IDisposable + { + if (disposable != null) + { + disposable.Dispose(); + } + } + + internal static void Dispose(ref IntPtr value, TEnum currentEnum, TEnum expectedEnum) + { + if ((int)(object)currentEnum == (int)(object)expectedEnum) + { + Dispose(ref value); + } + } + + private static int GetAnsiStringLength(byte[] bytes) + { + int length = 0; + foreach (byte currentByte in bytes) + { + if (currentByte == 0) + { + break; + } + + ++length; + } + + return length; + } + + private static int GetAnsiStringLength(IntPtr address) + { + int length = 0; + while (Marshal.ReadByte(address, length) != 0) + { + ++length; + } + + return length; + } + + internal static T GetDefault() + { + return default(T); + } + + private static void GetAllocation(IntPtr source, out T target) + { + target = GetDefault(); + + if (source == IntPtr.Zero) + { + return; + } + + object allocationCache; + if (TryGetAllocationCache(source, out allocationCache)) + { + if (allocationCache != null) + { + if (allocationCache.GetType() == typeof(T)) + { + target = (T)allocationCache; + return; + } + else + { + throw new CachedTypeAllocationException(source, allocationCache.GetType(), typeof(T)); + } + } + } + + target = (T)Marshal.PtrToStructure(source, typeof(T)); + } + + private static void GetAllocation(IntPtr source, out T? target) + where T : struct + { + target = GetDefault(); + + if (source == IntPtr.Zero) + { + return; + } + + // If this is an allocation containing cached data, we should be able to fetch it from the cache + object allocationCache; + if (TryGetAllocationCache(source, out allocationCache)) + { + if (allocationCache != null) + { + if (allocationCache.GetType() == typeof(T)) + { + target = (T?)allocationCache; + return; + } + else + { + throw new CachedTypeAllocationException(source, allocationCache.GetType(), typeof(T)); + } + } + } + + target = (T?)Marshal.PtrToStructure(source, typeof(T)); + } + + private static void GetAllocation(IntPtr source, out THandle[] target, int arrayLength) + where THandle : Handle, new() + { + target = null; + + if (source == IntPtr.Zero) + { + return; + } + + // If this is an allocation containing cached data, we should be able to fetch it from the cache + object allocationCache; + + if (TryGetAllocationCache(source, out allocationCache)) + { + if (allocationCache != null) + { + if (allocationCache.GetType() == typeof(THandle[])) + { + var cachedArray = (Array)allocationCache; + if (cachedArray.Length == arrayLength) + { + target = cachedArray as THandle[]; + return; + } + else + { + throw new CachedArrayAllocationException(source, cachedArray.Length, arrayLength); + } + } + else + { + throw new CachedTypeAllocationException(source, allocationCache.GetType(), typeof(THandle[])); + } + } + } + + var itemSize = Marshal.SizeOf(typeof(IntPtr)); + + List items = new List(); + for (int itemIndex = 0; itemIndex < arrayLength; ++itemIndex) + { + IntPtr itemAddress = new IntPtr(source.ToInt64() + itemIndex * itemSize); + itemAddress = Marshal.ReadIntPtr(itemAddress); + THandle item; + Convert(itemAddress, out item); + items.Add(item); + } + + target = items.ToArray(); + } + + private static void GetAllocation(IntPtr from, out T[] to, int arrayLength, bool isArrayItemAllocated) + { + to = null; + + if (from == IntPtr.Zero) + { + return; + } + + // If this is an allocation containing cached data, we should be able to fetch it from the cache + object allocationCache; + if (TryGetAllocationCache(from, out allocationCache)) + { + if (allocationCache != null) + { + if (allocationCache.GetType() == typeof(T[])) + { + var cachedArray = (Array)allocationCache; + if (cachedArray.Length == arrayLength) + { + to = cachedArray as T[]; + return; + } + else + { + throw new CachedArrayAllocationException(from, cachedArray.Length, arrayLength); + } + } + else + { + throw new CachedTypeAllocationException(from, allocationCache.GetType(), typeof(T[])); + } + } + } + + int itemSize; + if (isArrayItemAllocated) + { + itemSize = Marshal.SizeOf(typeof(IntPtr)); + } + else + { + itemSize = Marshal.SizeOf(typeof(T)); + } + + List items = new List(); + for (int itemIndex = 0; itemIndex < arrayLength; ++itemIndex) + { + IntPtr itemAddress = new IntPtr(from.ToInt64() + itemIndex * itemSize); + + if (isArrayItemAllocated) + { + itemAddress = Marshal.ReadIntPtr(itemAddress); + } + + T item; + GetAllocation(itemAddress, out item); + items.Add(item); + } + + to = items.ToArray(); + } + + private static void GetAllocation(IntPtr source, out Utf8String target) + { + target = null; + + if (source == IntPtr.Zero) + { + return; + } + + // C style strlen + int length = GetAnsiStringLength(source); + + // +1 byte for the null terminator. + byte[] bytes = new byte[length + 1]; + Marshal.Copy(source, bytes, 0, length + 1); + + target = new Utf8String(bytes); + } + + internal static IntPtr AddAllocation(int size) + { + if (size == 0) + { + return IntPtr.Zero; + } + + IntPtr address = Marshal.AllocHGlobal(size); + Marshal.WriteByte(address, 0, 0); + + lock (s_Allocations) + { + s_Allocations.Add(address, new Allocation(size, null)); + } + + return address; + } + + internal static IntPtr AddAllocation(uint size) + { + return AddAllocation((int)size); + } + + private static IntPtr AddAllocation(int size, T cache) + { + if (size == 0 || cache == null) + { + return IntPtr.Zero; + } + + IntPtr address = Marshal.AllocHGlobal(size); + Marshal.StructureToPtr(cache, address, false); + + lock (s_Allocations) + { + s_Allocations.Add(address, new Allocation(size, cache)); + } + + return address; + } + + private static IntPtr AddAllocation(int size, T[] cache, bool? isArrayItemAllocated) + { + if (size == 0 || cache == null) + { + return IntPtr.Zero; + } + + IntPtr address = Marshal.AllocHGlobal(size); + Marshal.WriteByte(address, 0, 0); + + lock (s_Allocations) + { + s_Allocations.Add(address, new Allocation(size, cache, isArrayItemAllocated)); + } + + return address; + } + + private static IntPtr AddAllocation(T[] array, bool isArrayItemAllocated) + { + if (array == null) + { + return IntPtr.Zero; + } + + int itemSize; + if (isArrayItemAllocated) + { + itemSize = Marshal.SizeOf(typeof(IntPtr)); + } + else + { + itemSize = Marshal.SizeOf(typeof(T)); + } + + IntPtr newArrayAddress = AddAllocation(array.Length * itemSize, array, isArrayItemAllocated); + + for (int itemIndex = 0; itemIndex < array.Length; ++itemIndex) + { + var item = (T)array.GetValue(itemIndex); + + if (isArrayItemAllocated) + { + IntPtr newItemAddress; + if (typeof(T) == typeof(Utf8String)) + { + newItemAddress = AddPinnedBuffer((Utf8String)(object)item); + } + else if (typeof(T).BaseType == typeof(Handle)) + { + Convert((Handle)(object)item, out newItemAddress); + } + else + { + newItemAddress = AddAllocation(Marshal.SizeOf(typeof(T)), item); + } + + // Copy the item's address into the array + IntPtr itemAddress = new IntPtr(newArrayAddress.ToInt64() + itemIndex * itemSize); + Marshal.StructureToPtr(newItemAddress, itemAddress, false); + } + else + { + // Copy the data straight into memory + IntPtr itemAddress = new IntPtr(newArrayAddress.ToInt64() + itemIndex * itemSize); + Marshal.StructureToPtr(item, itemAddress, false); + } + } + + return newArrayAddress; + } + + private static void RemoveAllocation(ref IntPtr address) + { + if (address == IntPtr.Zero) + { + return; + } + + Allocation allocation; + lock (s_Allocations) + { + if (!s_Allocations.TryGetValue(address, out allocation)) + { + return; + } + + s_Allocations.Remove(address); + } + + // If the allocation is an array, dispose and release its items as needbe. + if (allocation.IsArrayItemAllocated.HasValue) + { + int itemSize; + if (allocation.IsArrayItemAllocated.Value) + { + itemSize = Marshal.SizeOf(typeof(IntPtr)); + } + else + { + itemSize = Marshal.SizeOf(allocation.Cache.GetType().GetElementType()); + } + + var array = allocation.Cache as Array; + for (int itemIndex = 0; itemIndex < array.Length; ++itemIndex) + { + if (allocation.IsArrayItemAllocated.Value) + { + var itemAddress = new IntPtr(address.ToInt64() + itemIndex * itemSize); + itemAddress = Marshal.ReadIntPtr(itemAddress); + Dispose(ref itemAddress); + } + else + { + var item = array.GetValue(itemIndex); + if (item is IDisposable) + { + var disposable = item as IDisposable; + if (disposable != null) + { + disposable.Dispose(); + } + } + } + } + } + + if (allocation.Cache is IDisposable) + { + var disposable = allocation.Cache as IDisposable; + if (disposable != null) + { + disposable.Dispose(); + } + } + + Marshal.FreeHGlobal(address); + address = IntPtr.Zero; + } + + private static bool TryGetAllocationCache(IntPtr address, out object cache) + { + cache = null; + + lock (s_Allocations) + { + Allocation allocation; + if (s_Allocations.TryGetValue(address, out allocation)) + { + cache = allocation.Cache; + return true; + } + } + + return false; + } + + private static IntPtr AddPinnedBuffer(byte[] buffer, int offset) + { + if (buffer == null) + { + return IntPtr.Zero; + } + + GCHandle handle = GCHandle.Alloc(buffer, GCHandleType.Pinned); + IntPtr address = Marshal.UnsafeAddrOfPinnedArrayElement(buffer, offset); + + lock (s_PinnedBuffers) + { + // If the item is already pinned, increase the reference count. + if (s_PinnedBuffers.ContainsKey(address)) + { + // Since this is a structure, need to copy to modify the element. + PinnedBuffer pinned = s_PinnedBuffers[address]; + pinned.RefCount++; + s_PinnedBuffers[address] = pinned; + } + else + { + s_PinnedBuffers.Add(address, new PinnedBuffer(handle)); + } + + return address; + } + } + + private static IntPtr AddPinnedBuffer(Utf8String str) + { + if (str == null || str.Bytes == null) + { + return IntPtr.Zero; + } + + return AddPinnedBuffer(str.Bytes, 0); + } + + internal static IntPtr AddPinnedBuffer(ArraySegment array) + { + if (array == null) + { + return IntPtr.Zero; + } + + return AddPinnedBuffer(array.Array, array.Offset); + } + + private static void RemovePinnedBuffer(ref IntPtr address) + { + if (address == IntPtr.Zero) + { + return; + } + + lock (s_PinnedBuffers) + { + PinnedBuffer pinnedBuffer; + if (s_PinnedBuffers.TryGetValue(address, out pinnedBuffer)) + { + // Deref the allocation. + pinnedBuffer.Handle.Free(); + pinnedBuffer.RefCount--; + + // If the reference count is zero, remove the allocation from the list of tracked allocations. + if (pinnedBuffer.RefCount == 0) + { + s_PinnedBuffers.Remove(address); + } + else + { + // Copy back the structure with the decreased reference count. + s_PinnedBuffers[address] = pinnedBuffer; + } + } + } + + address = IntPtr.Zero; + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Helper.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Helper.cs.meta deleted file mode 100644 index 50bc47a8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Helper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3079a103fb51b45419a94bf57a63fc8c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/HelperExtensions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/HelperExtensions.cs.meta deleted file mode 100644 index c35e5d81..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/HelperExtensions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b66a27433592be448af038ba9cb57d96 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ICallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ICallbackInfo.cs index 57f50eb9..64470a23 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ICallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ICallbackInfo.cs @@ -1,18 +1,18 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -using System; - -namespace Epic.OnlineServices -{ - internal interface ICallbackInfo - { - object ClientData { get; } - - Result? GetResultCode(); - } - - internal interface ICallbackInfoInternal - { - IntPtr ClientDataAddress { get; } - } -} +// Copyright Epic Games, Inc. All Rights Reserved. + +using System; + +namespace Epic.OnlineServices +{ + internal interface ICallbackInfo + { + object ClientData { get; } + + Result? GetResultCode(); + } + + internal interface ICallbackInfoInternal + { + IntPtr ClientDataAddress { get; } + } +} diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ICallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ICallbackInfo.cs.meta deleted file mode 100644 index df99b080..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ICallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4aa748c37587f3248933d66e7e093816 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/IGettable.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/IGettable.cs new file mode 100644 index 00000000..92a40cff --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/IGettable.cs @@ -0,0 +1,9 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +namespace Epic.OnlineServices +{ + internal interface IGettable where T : struct + { + void Get(out T other); + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ISettable.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ISettable.cs index 810dde2b..e1ae6af7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ISettable.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ISettable.cs @@ -1,9 +1,10 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -namespace Epic.OnlineServices -{ - public interface ISettable - { - void Set(object other); - } +// Copyright Epic Games, Inc. All Rights Reserved. + +namespace Epic.OnlineServices +{ + internal interface ISettable where T : struct + { + void Set(ref T other); + void Set(ref T? other); + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ISettable.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ISettable.cs.meta deleted file mode 100644 index 1d804ed4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/ISettable.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bbcedd8572e5c1f4899c4237e53f97ca -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/MonoPInvokeCallbackAttribute.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/MonoPInvokeCallbackAttribute.cs index c58daf79..91e6c5f1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/MonoPInvokeCallbackAttribute.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/MonoPInvokeCallbackAttribute.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -using System; - -namespace Epic.OnlineServices -{ - [AttributeUsage(AttributeTargets.Method)] - internal sealed class MonoPInvokeCallbackAttribute : Attribute - { - public MonoPInvokeCallbackAttribute(Type type) - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. + +using System; + +namespace Epic.OnlineServices +{ + [AttributeUsage(AttributeTargets.Method)] + internal sealed class MonoPInvokeCallbackAttribute : Attribute + { + public MonoPInvokeCallbackAttribute(Type type) + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/MonoPInvokeCallbackAttribute.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/MonoPInvokeCallbackAttribute.cs.meta deleted file mode 100644 index a88522fb..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/MonoPInvokeCallbackAttribute.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: be91cddb4263e1b42ad685c6bd0e8b19 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/SetHelper.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/SetHelper.cs new file mode 100644 index 00000000..659174d8 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/SetHelper.cs @@ -0,0 +1,227 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using System; +using System.Runtime.InteropServices; + +namespace Epic.OnlineServices +{ + public sealed partial class Helper + { + internal static void Set(ref T from, ref T to) + where T : struct + { + to = from; + } + + internal static void Set(object from, ref IntPtr to) + { + RemoveClientData(to); + to = AddClientData(from); + } + + internal static void Set(Utf8String from, ref IntPtr to) + { + Dispose(ref to); + to = AddPinnedBuffer(from); + } + + internal static void Set(Handle from, ref IntPtr to) + { + Convert(from, out to); + } + + internal static void Set(T? from, ref IntPtr to) + where T : struct + { + Dispose(ref to); + to = AddAllocation(Marshal.SizeOf(typeof(T)), from); + } + + internal static void Set(T[] from, ref IntPtr to, bool isArrayItemAllocated) + { + Dispose(ref to); + to = AddAllocation(from, isArrayItemAllocated); + } + + internal static void Set(ArraySegment from, ref IntPtr to, out uint arrayLength) + { + to = AddPinnedBuffer(from); + Get(from, out arrayLength); + } + + internal static void Set(T[] from, ref IntPtr to) + { + Set(from, ref to, !typeof(T).IsValueType); + } + + internal static void Set(T[] from, ref IntPtr to, bool isArrayItemAllocated, out int arrayLength) + { + Set(from, ref to, isArrayItemAllocated); + Get(from, out arrayLength); + } + + internal static void Set(T[] from, ref IntPtr to, bool isArrayItemAllocated, out uint arrayLength) + { + Set(from, ref to, isArrayItemAllocated); + Get(from, out arrayLength); + } + + internal static void Set(T[] from, ref IntPtr to, out int arrayLength) + { + Set(from, ref to, !typeof(T).IsValueType, out arrayLength); + } + + internal static void Set(T[] from, ref IntPtr to, out uint arrayLength) + { + Set(from, ref to, !typeof(T).IsValueType, out arrayLength); + } + + internal static void Set(DateTimeOffset? from, ref long to) + { + Convert(from, out to); + } + + internal static void Set(bool from, ref int to) + { + Convert(from, out to); + } + + internal static void Set(string from, ref byte[] to, int stringLength) + { + Convert(from, out to, stringLength); + } + + internal static void Set(T from, ref T to, TEnum fromEnum, ref TEnum toEnum, IDisposable disposable = null) + { + if (from != null) + { + Dispose(ref disposable); + + to = from; + toEnum = fromEnum; + } + } + + internal static void Set(ref TFrom from, ref TTo to, TEnum fromEnum, ref TEnum toEnum, IDisposable disposable = null) + where TFrom : struct + where TTo : struct, ISettable + { + Dispose(ref disposable); + + Set(ref from, ref to); + toEnum = fromEnum; + } + + internal static void Set(T? from, ref T to, TEnum fromEnum, ref TEnum toEnum, IDisposable disposable = null) + where T : struct + { + if (from != null) + { + Dispose(ref disposable); + + T value = from.Value; + Set(ref value, ref to); + toEnum = fromEnum; + } + } + + internal static void Set(Handle from, ref IntPtr to, TEnum fromEnum, ref TEnum toEnum, IDisposable disposable = null) + { + if (from != null) + { + Dispose(ref to); + Dispose(ref disposable); + + Set(from, ref to); + toEnum = fromEnum; + } + } + + internal static void Set(Utf8String from, ref IntPtr to, TEnum fromEnum, ref TEnum toEnum, IDisposable disposable = null) + { + if (from != null) + { + Dispose(ref to); + Dispose(ref disposable); + + Set(from, ref to); + toEnum = fromEnum; + } + } + + internal static void Set(bool? from, ref int to, TEnum fromEnum, ref TEnum toEnum, IDisposable disposable = null) + { + if (from != null) + { + Dispose(ref disposable); + + Set(from.Value, ref to); + toEnum = fromEnum; + } + } + + internal static void Set(ref TFrom from, ref IntPtr to) + where TFrom : struct + where TIntermediate : struct, ISettable + { + TIntermediate intermediate = new TIntermediate(); + intermediate.Set(ref from); + + Dispose(ref to); + to = AddAllocation(Marshal.SizeOf(typeof(TIntermediate)), intermediate); + } + + internal static void Set(ref TFrom? from, ref IntPtr to) + where TIntermediate : struct, ISettable + where TFrom : struct + { + Dispose(ref to); + + if (!from.HasValue) + { + return; + } + + TIntermediate intermediate = new TIntermediate(); + var sourceValue = from.Value; + intermediate.Set(ref sourceValue); + + to = AddAllocation(Marshal.SizeOf(typeof(TIntermediate)), intermediate); + } + + internal static void Set(ref TFrom from, ref TTo to) + where TFrom : struct + where TTo : struct, ISettable + { + to.Set(ref from); + } + + internal static void Set(ref TFrom[] from, ref IntPtr to, out int arrayLength) + where TFrom : struct + where TIntermediate : struct, ISettable + { + arrayLength = 0; + + if (from != null) + { + TIntermediate[] intermediate = new TIntermediate[from.Length]; + for (int index = 0; index < from.Length; ++index) + { + intermediate[index].Set(ref from[index]); + } + + Set(intermediate, ref to); + Get(from, out arrayLength); + } + } + + internal static void Set(ref TFrom[] from, ref IntPtr to, out uint arrayLength) + where TFrom : struct + where TIntermediate : struct, ISettable + { + int arrayLengthIntermediate; + Set(ref from, ref to, out arrayLengthIntermediate); + arrayLength = (uint)arrayLengthIntermediate; + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Utf8String.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Utf8String.cs new file mode 100644 index 00000000..05b2619a --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Core/Utf8String.cs @@ -0,0 +1,197 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using System; +using System.Text; + +namespace Epic.OnlineServices +{ + /// + /// Represents text as a series of UTF-8 code units. + /// + [System.Diagnostics.DebuggerDisplay("{ToString()}")] + public sealed class Utf8String + { + /// + /// The length of the . + /// + public int Length { get; private set; } + + /// + /// The UTF-8 bytes of the . + /// + public byte[] Bytes { get; private set; } + + /// + /// The as a . + /// + private string Utf16 + { + get + { + if (Length > 0) + { + return Encoding.UTF8.GetString(Bytes, 0, Length); + } + + if (Bytes == null) + { + throw new Exception("Bytes array is null."); + } + else if (Bytes.Length == 0 || Bytes[Bytes.Length - 1] != 0) + { + throw new Exception("Bytes array is not null terminated."); + } + + return ""; + } + set + { + if (value != null) + { + // Null terminate the bytes + Bytes = new byte[Encoding.UTF8.GetMaxByteCount(value.Length) + 1]; + Length = Encoding.UTF8.GetBytes(value, 0, value.Length, Bytes, 0); + } + else + { + Length = 0; + } + } + } + + /// + /// Initializes a new instance of the class. + /// + public Utf8String() + { + Length = 0; + } + + /// + /// Initializes a new instance of the class with the given UTF-8 bytes. + /// + /// The UTF-8 bytes. + public Utf8String(byte[] bytes) + { + if (bytes == null) + { + throw new ArgumentNullException("bytes"); + } + else if (bytes.Length == 0 || bytes[bytes.Length - 1] != 0) + { + throw new ArgumentException("Argument is not null terminated.", "bytes"); + } + + Bytes = bytes; + Length = Bytes.Length - 1; + } + + /// + /// Initializes a new instance of the class by converting from the given . + /// + /// The string to convert to UTF-8. + public Utf8String(string value) + { + Utf16 = value; + } + + public byte this[int index] + { + get { return Bytes[index]; } + set { Bytes[index] = value; } + } + + public static explicit operator Utf8String(byte[] bytes) + { + return new Utf8String(bytes); + } + + public static explicit operator byte[](Utf8String u8str) + { + return u8str.Bytes; + } + + public static implicit operator Utf8String(string str) + { + return new Utf8String(str); + } + + public static implicit operator string(Utf8String u8str) + { + if (u8str != null) + { + return u8str.ToString(); + } + + return null; + } + + public static Utf8String operator +(Utf8String left, Utf8String right) + { + byte[] Result = new byte[left.Length + right.Length + 1]; + Buffer.BlockCopy(left.Bytes, 0, Result, 0, left.Length); + Buffer.BlockCopy(right.Bytes, 0, Result, left.Length, right.Length + 1); + return new Utf8String(Result); + } + + public static bool operator ==(Utf8String left, Utf8String right) + { + if (ReferenceEquals(left, null)) + { + if (ReferenceEquals(right, null)) + { + return true; + } + + return false; + } + + return left.Equals(right); + } + + public static bool operator !=(Utf8String left, Utf8String right) + { + return !(left == right); + } + + public override bool Equals(object obj) + { + Utf8String other = obj as Utf8String; + + if (ReferenceEquals(other, null)) + { + return false; + } + + if (ReferenceEquals(this, other)) + { + return true; + } + + if (Length != other.Length) + { + return false; + } + + for (int index = 0; index < Length; index++) + { + if (this[index] != other[index]) + { + return false; + } + } + + return true; + } + + public override string ToString() + { + return Utf16; + } + + public override int GetHashCode() + { + return ToString().GetHashCode(); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win32-Shipping.dll b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win32-Shipping.dll index 449eaf0f..77544990 100644 Binary files a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win32-Shipping.dll and b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win32-Shipping.dll differ diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win32-Shipping.dll.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win32-Shipping.dll.meta index 806feb83..cefd2b04 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win32-Shipping.dll.meta +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win32-Shipping.dll.meta @@ -11,17 +11,63 @@ PluginImporter: isExplicitlyReferenced: 0 validateReferences: 1 platformData: + - first: + : Any + second: + enabled: 0 + settings: + Exclude Editor: 0 + Exclude Linux64: 0 + Exclude OSXUniversal: 0 + Exclude Win: 0 + Exclude Win64: 1 + Exclude iOS: 1 - first: Any: second: - enabled: 1 + enabled: 0 settings: {} - first: Editor: Editor second: - enabled: 0 + enabled: 1 settings: + CPU: AnyCPU DefaultValueInitialized: true + OS: Windows + - first: + Standalone: Linux64 + second: + enabled: 1 + settings: + CPU: AnyCPU + - first: + Standalone: OSXUniversal + second: + enabled: 1 + settings: + CPU: None + - first: + Standalone: Win + second: + enabled: 1 + settings: + CPU: x86 + - first: + Standalone: Win64 + second: + enabled: 0 + settings: + CPU: None + - first: + iPhone: iOS + second: + enabled: 0 + settings: + AddToEmbeddedBinaries: false + CPU: AnyCPU + CompileFlags: + FrameworkDependencies: userData: assetBundleName: assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win64-Shipping.dll b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win64-Shipping.dll index 9073f8ba..8dab1d79 100644 Binary files a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win64-Shipping.dll and b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win64-Shipping.dll differ diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win64-Shipping.dll.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win64-Shipping.dll.meta index b59dedff..25b62e04 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win64-Shipping.dll.meta +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/EOSSDK-Win64-Shipping.dll.meta @@ -11,17 +11,63 @@ PluginImporter: isExplicitlyReferenced: 0 validateReferences: 1 platformData: + - first: + : Any + second: + enabled: 0 + settings: + Exclude Editor: 0 + Exclude Linux64: 0 + Exclude OSXUniversal: 0 + Exclude Win: 1 + Exclude Win64: 0 + Exclude iOS: 1 - first: Any: second: - enabled: 1 + enabled: 0 settings: {} - first: Editor: Editor second: - enabled: 0 + enabled: 1 settings: + CPU: x86_64 DefaultValueInitialized: true + OS: Windows + - first: + Standalone: Linux64 + second: + enabled: 1 + settings: + CPU: AnyCPU + - first: + Standalone: OSXUniversal + second: + enabled: 1 + settings: + CPU: None + - first: + Standalone: Win + second: + enabled: 0 + settings: + CPU: None + - first: + Standalone: Win64 + second: + enabled: 1 + settings: + CPU: x86_64 + - first: + iPhone: iOS + second: + enabled: 0 + settings: + AddToEmbeddedBinaries: false + CPU: AnyCPU + CompileFlags: + FrameworkDependencies: userData: assetBundleName: assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AchievementsInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AchievementsInterface.cs index 5e2bb747..f755859d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AchievementsInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AchievementsInterface.cs @@ -1,668 +1,674 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - public sealed partial class AchievementsInterface : Handle - { - public AchievementsInterface() - { - } - - public AchievementsInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// Timestamp value representing an undefined UnlockTime for and - /// - public const int AchievementUnlocktimeUndefined = -1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifyachievementsunlockedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int Addnotifyachievementsunlockedv2ApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int Copyachievementdefinitionv2ByachievementidApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int Copyachievementdefinitionv2ByindexApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int CopydefinitionbyachievementidApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int CopydefinitionbyindexApiLatest = 1; - - /// - /// DEPRECATED! Use instead. - /// - public const int Copydefinitionv2ByachievementidApiLatest = Copyachievementdefinitionv2ByachievementidApiLatest; - - /// - /// DEPRECATED! Use instead. - /// - public const int Copydefinitionv2ByindexApiLatest = Copyachievementdefinitionv2ByindexApiLatest; - - /// - /// The most recent version of the struct. - /// - public const int CopyplayerachievementbyachievementidApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int CopyplayerachievementbyindexApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int CopyunlockedachievementbyachievementidApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int CopyunlockedachievementbyindexApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int DefinitionApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int Definitionv2ApiLatest = 2; - - /// - /// The most recent version of the API. - /// - public const int GetachievementdefinitioncountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetplayerachievementcountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetunlockedachievementcountApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int PlayerachievementApiLatest = 2; - - public const int PlayerstatinfoApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int QuerydefinitionsApiLatest = 3; - - /// - /// The most recent version of the struct. - /// - public const int QueryplayerachievementsApiLatest = 2; - - /// - /// DEPRECATED! Use instead. - /// - public const int StatthresholdApiLatest = StatthresholdsApiLatest; - - /// - /// The most recent version of the struct. - /// - public const int StatthresholdsApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int UnlockachievementsApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int UnlockedachievementApiLatest = 1; - - /// - /// DEPRECATED! Use instead. - /// - /// Register to receive achievement unlocked notifications. - /// @note must call to remove the notification - /// - /// - /// Structure containing information about the achievement unlocked notification - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when an achievement unlocked notification for a user has been received - /// - /// handle representing the registered callback - /// - public ulong AddNotifyAchievementsUnlocked(AddNotifyAchievementsUnlockedOptions options, object clientData, OnAchievementsUnlockedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnAchievementsUnlockedCallbackInternal(OnAchievementsUnlockedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_Achievements_AddNotifyAchievementsUnlocked(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive achievement unlocked notifications. - /// @note must call to remove the notification - /// - /// - /// Structure containing information about the achievement unlocked notification - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when an achievement unlocked notification for a user has been received - /// - /// handle representing the registered callback - /// - public ulong AddNotifyAchievementsUnlockedV2(AddNotifyAchievementsUnlockedV2Options options, object clientData, OnAchievementsUnlockedCallbackV2 notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnAchievementsUnlockedCallbackV2Internal(OnAchievementsUnlockedCallbackV2InternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_Achievements_AddNotifyAchievementsUnlockedV2(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// DEPRECATED! Use instead. - /// - /// Fetches an achievement definition from a given achievement ID. - /// - /// - /// - /// Structure containing the achievement ID being accessed - /// The achievement definition for the given achievement ID, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutDefinition - /// if you pass a null pointer for the out parameter - /// if the achievement definition is not found - /// - public Result CopyAchievementDefinitionByAchievementId(CopyAchievementDefinitionByAchievementIdOptions options, out Definition outDefinition) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outDefinitionAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Achievements_CopyAchievementDefinitionByAchievementId(InnerHandle, optionsAddress, ref outDefinitionAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outDefinitionAddress, out outDefinition)) - { - Bindings.EOS_Achievements_Definition_Release(outDefinitionAddress); - } - - return funcResult; - } - - /// - /// DEPRECATED! Use instead. - /// - /// Fetches an achievement definition from a given index. - /// - /// - /// - /// Structure containing the index being accessed - /// The achievement definition for the given index, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutDefinition - /// if you pass a null pointer for the out parameter - /// if the achievement definition is not found - /// - public Result CopyAchievementDefinitionByIndex(CopyAchievementDefinitionByIndexOptions options, out Definition outDefinition) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outDefinitionAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Achievements_CopyAchievementDefinitionByIndex(InnerHandle, optionsAddress, ref outDefinitionAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outDefinitionAddress, out outDefinition)) - { - Bindings.EOS_Achievements_Definition_Release(outDefinitionAddress); - } - - return funcResult; - } - - /// - /// Fetches an achievement definition from a given achievement ID. - /// - /// - /// Structure containing the achievement ID being accessed - /// The achievement definition for the given achievement ID, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutDefinition - /// if you pass a null pointer for the out parameter - /// if the achievement definition is not found - /// if any of the userid options are incorrect - /// - public Result CopyAchievementDefinitionV2ByAchievementId(CopyAchievementDefinitionV2ByAchievementIdOptions options, out DefinitionV2 outDefinition) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outDefinitionAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId(InnerHandle, optionsAddress, ref outDefinitionAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outDefinitionAddress, out outDefinition)) - { - Bindings.EOS_Achievements_DefinitionV2_Release(outDefinitionAddress); - } - - return funcResult; - } - - /// - /// Fetches an achievement definition from a given index. - /// - /// - /// Structure containing the index being accessed - /// The achievement definition for the given index, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutDefinition - /// if you pass a null pointer for the out parameter - /// if the achievement definition is not found - /// if any of the userid options are incorrect - /// - public Result CopyAchievementDefinitionV2ByIndex(CopyAchievementDefinitionV2ByIndexOptions options, out DefinitionV2 outDefinition) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outDefinitionAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Achievements_CopyAchievementDefinitionV2ByIndex(InnerHandle, optionsAddress, ref outDefinitionAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outDefinitionAddress, out outDefinition)) - { - Bindings.EOS_Achievements_DefinitionV2_Release(outDefinitionAddress); - } - - return funcResult; - } - - /// - /// Fetches a player achievement from a given achievement ID. - /// - /// - /// Structure containing the Epic Online Services Account ID and achievement ID being accessed - /// The player achievement data for the given achievement ID, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutAchievement - /// if you pass a null pointer for the out parameter - /// if the player achievement is not found - /// if you pass an invalid user ID - /// - public Result CopyPlayerAchievementByAchievementId(CopyPlayerAchievementByAchievementIdOptions options, out PlayerAchievement outAchievement) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outAchievementAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Achievements_CopyPlayerAchievementByAchievementId(InnerHandle, optionsAddress, ref outAchievementAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outAchievementAddress, out outAchievement)) - { - Bindings.EOS_Achievements_PlayerAchievement_Release(outAchievementAddress); - } - - return funcResult; - } - - /// - /// Fetches a player achievement from a given index. - /// - /// - /// Structure containing the Epic Online Services Account ID and index being accessed - /// The player achievement data for the given index, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutAchievement - /// if you pass a null pointer for the out parameter - /// if the player achievement is not found - /// if you pass an invalid user ID - /// - public Result CopyPlayerAchievementByIndex(CopyPlayerAchievementByIndexOptions options, out PlayerAchievement outAchievement) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outAchievementAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Achievements_CopyPlayerAchievementByIndex(InnerHandle, optionsAddress, ref outAchievementAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outAchievementAddress, out outAchievement)) - { - Bindings.EOS_Achievements_PlayerAchievement_Release(outAchievementAddress); - } - - return funcResult; - } - - /// - /// DEPRECATED! Use instead. - /// - /// Fetches an unlocked achievement from a given achievement ID. - /// - /// - /// Structure containing the Epic Online Services Account ID and achievement ID being accessed - /// The unlocked achievement data for the given achievement ID, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutAchievement - /// if you pass a null pointer for the out parameter - /// if the unlocked achievement is not found - /// - public Result CopyUnlockedAchievementByAchievementId(CopyUnlockedAchievementByAchievementIdOptions options, out UnlockedAchievement outAchievement) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outAchievementAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Achievements_CopyUnlockedAchievementByAchievementId(InnerHandle, optionsAddress, ref outAchievementAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outAchievementAddress, out outAchievement)) - { - Bindings.EOS_Achievements_UnlockedAchievement_Release(outAchievementAddress); - } - - return funcResult; - } - - /// - /// DEPRECATED! Use instead. - /// - /// Fetches an unlocked achievement from a given index. - /// - /// - /// Structure containing the Epic Online Services Account ID and index being accessed - /// The unlocked achievement data for the given index, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutAchievement - /// if you pass a null pointer for the out parameter - /// if the unlocked achievement is not found - /// - public Result CopyUnlockedAchievementByIndex(CopyUnlockedAchievementByIndexOptions options, out UnlockedAchievement outAchievement) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outAchievementAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Achievements_CopyUnlockedAchievementByIndex(InnerHandle, optionsAddress, ref outAchievementAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outAchievementAddress, out outAchievement)) - { - Bindings.EOS_Achievements_UnlockedAchievement_Release(outAchievementAddress); - } - - return funcResult; - } - - /// - /// Fetch the number of achievement definitions that are cached locally. - /// - /// - /// The Options associated with retrieving the achievement definition count - /// - /// Number of achievement definitions or 0 if there is an error - /// - public uint GetAchievementDefinitionCount(GetAchievementDefinitionCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Achievements_GetAchievementDefinitionCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Fetch the number of player achievements that are cached locally. - /// - /// - /// The Options associated with retrieving the player achievement count - /// - /// Number of player achievements or 0 if there is an error - /// - public uint GetPlayerAchievementCount(GetPlayerAchievementCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Achievements_GetPlayerAchievementCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// DEPRECATED! Use , and filter for unlocked instead. - /// - /// Fetch the number of unlocked achievements that are cached locally. - /// - /// - /// The Options associated with retrieving the unlocked achievement count - /// - /// Number of unlocked achievements or 0 if there is an error - /// - public uint GetUnlockedAchievementCount(GetUnlockedAchievementCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Achievements_GetUnlockedAchievementCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Query for a list of definitions for all existing achievements, including localized text, icon IDs and whether an achievement is hidden. - /// - /// @note When the Social Overlay is enabled then this will be called automatically. The Social Overlay is enabled by default (see ). - /// - /// Structure containing information about the application whose achievement definitions we're retrieving. - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// This function is called when the query definitions operation completes. - /// - /// if the operation completes successfully - /// if any of the options are incorrect - /// - public void QueryDefinitions(QueryDefinitionsOptions options, object clientData, OnQueryDefinitionsCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryDefinitionsCompleteCallbackInternal(OnQueryDefinitionsCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Achievements_QueryDefinitions(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Query for a list of achievements for a specific player, including progress towards completion for each achievement. - /// - /// @note When the Social Overlay is enabled then this will be called automatically. The Social Overlay is enabled by default (see ). - /// - /// Structure containing information about the player whose achievements we're retrieving. - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// This function is called when the query player achievements operation completes. - /// - /// if the operation completes successfully - /// if any of the userid options are incorrect - /// if any of the other options are incorrect - /// - public void QueryPlayerAchievements(QueryPlayerAchievementsOptions options, object clientData, OnQueryPlayerAchievementsCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryPlayerAchievementsCompleteCallbackInternal(OnQueryPlayerAchievementsCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Achievements_QueryPlayerAchievements(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Unregister from receiving achievement unlocked notifications. - /// - /// - /// Handle representing the registered callback - public void RemoveNotifyAchievementsUnlocked(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Achievements_RemoveNotifyAchievementsUnlocked(InnerHandle, inId); - } - - /// - /// Unlocks a number of achievements for a specific player. - /// - /// Structure containing information about the achievements and the player whose achievements we're unlocking. - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// This function is called when the unlock achievements operation completes. - /// - /// if the operation completes successfully - /// if any of the options are incorrect - /// - public void UnlockAchievements(UnlockAchievementsOptions options, object clientData, OnUnlockAchievementsCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnUnlockAchievementsCompleteCallbackInternal(OnUnlockAchievementsCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Achievements_UnlockAchievements(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnAchievementsUnlockedCallbackInternal))] - internal static void OnAchievementsUnlockedCallbackInternalImplementation(System.IntPtr data) - { - OnAchievementsUnlockedCallback callback; - OnAchievementsUnlockedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnAchievementsUnlockedCallbackV2Internal))] - internal static void OnAchievementsUnlockedCallbackV2InternalImplementation(System.IntPtr data) - { - OnAchievementsUnlockedCallbackV2 callback; - OnAchievementsUnlockedCallbackV2Info callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryDefinitionsCompleteCallbackInternal))] - internal static void OnQueryDefinitionsCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnQueryDefinitionsCompleteCallback callback; - OnQueryDefinitionsCompleteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryPlayerAchievementsCompleteCallbackInternal))] - internal static void OnQueryPlayerAchievementsCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnQueryPlayerAchievementsCompleteCallback callback; - OnQueryPlayerAchievementsCompleteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnUnlockAchievementsCompleteCallbackInternal))] - internal static void OnUnlockAchievementsCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnUnlockAchievementsCompleteCallback callback; - OnUnlockAchievementsCompleteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + public sealed partial class AchievementsInterface : Handle + { + public AchievementsInterface() + { + } + + public AchievementsInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// Timestamp value representing an undefined UnlockTime for and + /// + public const int AchievementUnlocktimeUndefined = -1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifyachievementsunlockedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int Addnotifyachievementsunlockedv2ApiLatest = 2; + + /// + /// The most recent version of the struct. + /// + public const int Copyachievementdefinitionv2ByachievementidApiLatest = 2; + + /// + /// The most recent version of the struct. + /// + public const int Copyachievementdefinitionv2ByindexApiLatest = 2; + + /// + /// The most recent version of the struct. + /// + public const int CopydefinitionbyachievementidApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int CopydefinitionbyindexApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int Copydefinitionv2ByachievementidApiLatest = Copyachievementdefinitionv2ByachievementidApiLatest; + + /// + /// DEPRECATED! Use instead. + /// + public const int Copydefinitionv2ByindexApiLatest = Copyachievementdefinitionv2ByindexApiLatest; + + /// + /// The most recent version of the struct. + /// + public const int CopyplayerachievementbyachievementidApiLatest = 2; + + /// + /// The most recent version of the struct. + /// + public const int CopyplayerachievementbyindexApiLatest = 2; + + /// + /// The most recent version of the struct. + /// + public const int CopyunlockedachievementbyachievementidApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int CopyunlockedachievementbyindexApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int DefinitionApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int Definitionv2ApiLatest = 2; + + /// + /// The most recent version of the API. + /// + public const int GetachievementdefinitioncountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetplayerachievementcountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetunlockedachievementcountApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int PlayerachievementApiLatest = 2; + + public const int PlayerstatinfoApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int QuerydefinitionsApiLatest = 3; + + /// + /// The most recent version of the struct. + /// + public const int QueryplayerachievementsApiLatest = 2; + + /// + /// DEPRECATED! Use instead. + /// + public const int StatthresholdApiLatest = StatthresholdsApiLatest; + + /// + /// The most recent version of the struct. + /// + public const int StatthresholdsApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int UnlockachievementsApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int UnlockedachievementApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + /// Register to receive achievement unlocked notifications. + /// must call EOS_Achievements_RemoveNotifyAchievementsUnlocked to remove the notification + /// + /// + /// Structure containing information about the achievement unlocked notification + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when an achievement unlocked notification for a user has been received + /// + /// handle representing the registered callback + /// + public ulong AddNotifyAchievementsUnlocked(ref AddNotifyAchievementsUnlockedOptions options, object clientData, OnAchievementsUnlockedCallback notificationFn) + { + AddNotifyAchievementsUnlockedOptionsInternal optionsInternal = new AddNotifyAchievementsUnlockedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnAchievementsUnlockedCallbackInternal(OnAchievementsUnlockedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Achievements_AddNotifyAchievementsUnlocked(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive achievement unlocked notifications. + /// must call EOS_Achievements_RemoveNotifyAchievementsUnlocked to remove the notification + /// + /// + /// Structure containing information about the achievement unlocked notification + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when an achievement unlocked notification for a user has been received + /// + /// handle representing the registered callback + /// + public ulong AddNotifyAchievementsUnlockedV2(ref AddNotifyAchievementsUnlockedV2Options options, object clientData, OnAchievementsUnlockedCallbackV2 notificationFn) + { + AddNotifyAchievementsUnlockedV2OptionsInternal optionsInternal = new AddNotifyAchievementsUnlockedV2OptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnAchievementsUnlockedCallbackV2Internal(OnAchievementsUnlockedCallbackV2InternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Achievements_AddNotifyAchievementsUnlockedV2(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// DEPRECATED! Use instead. + /// + /// Fetches an achievement definition from a given achievement ID. + /// + /// + /// + /// Structure containing the achievement ID being accessed + /// The achievement definition for the given achievement ID, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutDefinition + /// if you pass a null pointer for the out parameter + /// if the achievement definition is not found + /// + public Result CopyAchievementDefinitionByAchievementId(ref CopyAchievementDefinitionByAchievementIdOptions options, out Definition? outDefinition) + { + CopyAchievementDefinitionByAchievementIdOptionsInternal optionsInternal = new CopyAchievementDefinitionByAchievementIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outDefinitionAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Achievements_CopyAchievementDefinitionByAchievementId(InnerHandle, ref optionsInternal, ref outDefinitionAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outDefinitionAddress, out outDefinition); + if (outDefinition != null) + { + Bindings.EOS_Achievements_Definition_Release(outDefinitionAddress); + } + + return funcResult; + } + + /// + /// DEPRECATED! Use instead. + /// + /// Fetches an achievement definition from a given index. + /// + /// + /// + /// Structure containing the index being accessed + /// The achievement definition for the given index, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutDefinition + /// if you pass a null pointer for the out parameter + /// if the achievement definition is not found + /// + public Result CopyAchievementDefinitionByIndex(ref CopyAchievementDefinitionByIndexOptions options, out Definition? outDefinition) + { + CopyAchievementDefinitionByIndexOptionsInternal optionsInternal = new CopyAchievementDefinitionByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outDefinitionAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Achievements_CopyAchievementDefinitionByIndex(InnerHandle, ref optionsInternal, ref outDefinitionAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outDefinitionAddress, out outDefinition); + if (outDefinition != null) + { + Bindings.EOS_Achievements_Definition_Release(outDefinitionAddress); + } + + return funcResult; + } + + /// + /// Fetches an achievement definition from a given achievement ID. + /// + /// + /// Structure containing the achievement ID being accessed + /// The achievement definition for the given achievement ID, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutDefinition + /// if you pass a null pointer for the out parameter + /// if the achievement definition is not found + /// if any of the userid options are incorrect + /// + public Result CopyAchievementDefinitionV2ByAchievementId(ref CopyAchievementDefinitionV2ByAchievementIdOptions options, out DefinitionV2? outDefinition) + { + CopyAchievementDefinitionV2ByAchievementIdOptionsInternal optionsInternal = new CopyAchievementDefinitionV2ByAchievementIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outDefinitionAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId(InnerHandle, ref optionsInternal, ref outDefinitionAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outDefinitionAddress, out outDefinition); + if (outDefinition != null) + { + Bindings.EOS_Achievements_DefinitionV2_Release(outDefinitionAddress); + } + + return funcResult; + } + + /// + /// Fetches an achievement definition from a given index. + /// + /// + /// Structure containing the index being accessed + /// The achievement definition for the given index, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutDefinition + /// if you pass a null pointer for the out parameter + /// if the achievement definition is not found + /// if any of the userid options are incorrect + /// + public Result CopyAchievementDefinitionV2ByIndex(ref CopyAchievementDefinitionV2ByIndexOptions options, out DefinitionV2? outDefinition) + { + CopyAchievementDefinitionV2ByIndexOptionsInternal optionsInternal = new CopyAchievementDefinitionV2ByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outDefinitionAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Achievements_CopyAchievementDefinitionV2ByIndex(InnerHandle, ref optionsInternal, ref outDefinitionAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outDefinitionAddress, out outDefinition); + if (outDefinition != null) + { + Bindings.EOS_Achievements_DefinitionV2_Release(outDefinitionAddress); + } + + return funcResult; + } + + /// + /// Fetches a player achievement from a given achievement ID. + /// + /// + /// Structure containing the Product User ID and achievement ID being accessed + /// The player achievement data for the given achievement ID, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutAchievement + /// if you pass a null pointer for the out parameter + /// if the player achievement is not found + /// if you pass an invalid user ID + /// + public Result CopyPlayerAchievementByAchievementId(ref CopyPlayerAchievementByAchievementIdOptions options, out PlayerAchievement? outAchievement) + { + CopyPlayerAchievementByAchievementIdOptionsInternal optionsInternal = new CopyPlayerAchievementByAchievementIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outAchievementAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Achievements_CopyPlayerAchievementByAchievementId(InnerHandle, ref optionsInternal, ref outAchievementAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outAchievementAddress, out outAchievement); + if (outAchievement != null) + { + Bindings.EOS_Achievements_PlayerAchievement_Release(outAchievementAddress); + } + + return funcResult; + } + + /// + /// Fetches a player achievement from a given index. + /// + /// + /// Structure containing the Product User ID and index being accessed + /// The player achievement data for the given index, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutAchievement + /// if you pass a null pointer for the out parameter + /// if the player achievement is not found + /// if you pass an invalid user ID + /// + public Result CopyPlayerAchievementByIndex(ref CopyPlayerAchievementByIndexOptions options, out PlayerAchievement? outAchievement) + { + CopyPlayerAchievementByIndexOptionsInternal optionsInternal = new CopyPlayerAchievementByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outAchievementAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Achievements_CopyPlayerAchievementByIndex(InnerHandle, ref optionsInternal, ref outAchievementAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outAchievementAddress, out outAchievement); + if (outAchievement != null) + { + Bindings.EOS_Achievements_PlayerAchievement_Release(outAchievementAddress); + } + + return funcResult; + } + + /// + /// DEPRECATED! Use instead. + /// + /// Fetches an unlocked achievement from a given achievement ID. + /// + /// + /// Structure containing the Product User ID and achievement ID being accessed + /// The unlocked achievement data for the given achievement ID, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutAchievement + /// if you pass a null pointer for the out parameter + /// if the unlocked achievement is not found + /// + public Result CopyUnlockedAchievementByAchievementId(ref CopyUnlockedAchievementByAchievementIdOptions options, out UnlockedAchievement? outAchievement) + { + CopyUnlockedAchievementByAchievementIdOptionsInternal optionsInternal = new CopyUnlockedAchievementByAchievementIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outAchievementAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Achievements_CopyUnlockedAchievementByAchievementId(InnerHandle, ref optionsInternal, ref outAchievementAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outAchievementAddress, out outAchievement); + if (outAchievement != null) + { + Bindings.EOS_Achievements_UnlockedAchievement_Release(outAchievementAddress); + } + + return funcResult; + } + + /// + /// DEPRECATED! Use instead. + /// + /// Fetches an unlocked achievement from a given index. + /// + /// + /// Structure containing the Product User ID and index being accessed + /// The unlocked achievement data for the given index, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutAchievement + /// if you pass a null pointer for the out parameter + /// if the unlocked achievement is not found + /// + public Result CopyUnlockedAchievementByIndex(ref CopyUnlockedAchievementByIndexOptions options, out UnlockedAchievement? outAchievement) + { + CopyUnlockedAchievementByIndexOptionsInternal optionsInternal = new CopyUnlockedAchievementByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outAchievementAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Achievements_CopyUnlockedAchievementByIndex(InnerHandle, ref optionsInternal, ref outAchievementAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outAchievementAddress, out outAchievement); + if (outAchievement != null) + { + Bindings.EOS_Achievements_UnlockedAchievement_Release(outAchievementAddress); + } + + return funcResult; + } + + /// + /// Fetch the number of achievement definitions that are cached locally. + /// + /// + /// The Options associated with retrieving the achievement definition count + /// + /// Number of achievement definitions or 0 if there is an error + /// + public uint GetAchievementDefinitionCount(ref GetAchievementDefinitionCountOptions options) + { + GetAchievementDefinitionCountOptionsInternal optionsInternal = new GetAchievementDefinitionCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Achievements_GetAchievementDefinitionCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Fetch the number of player achievements that are cached locally. + /// + /// + /// The Options associated with retrieving the player achievement count + /// + /// Number of player achievements or 0 if there is an error + /// + public uint GetPlayerAchievementCount(ref GetPlayerAchievementCountOptions options) + { + GetPlayerAchievementCountOptionsInternal optionsInternal = new GetPlayerAchievementCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Achievements_GetPlayerAchievementCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// DEPRECATED! Use , and filter for unlocked instead. + /// + /// Fetch the number of unlocked achievements that are cached locally. + /// + /// + /// The Options associated with retrieving the unlocked achievement count + /// + /// Number of unlocked achievements or 0 if there is an error + /// + public uint GetUnlockedAchievementCount(ref GetUnlockedAchievementCountOptions options) + { + GetUnlockedAchievementCountOptionsInternal optionsInternal = new GetUnlockedAchievementCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Achievements_GetUnlockedAchievementCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Query for a list of definitions for all existing achievements, including localized text, icon IDs and whether an achievement is hidden. + /// When the Social Overlay is enabled then this will be called automatically. The Social Overlay is enabled by default (see EOS_PF_DISABLE_SOCIAL_OVERLAY). + /// + /// Structure containing information about the application whose achievement definitions we're retrieving. + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// This function is called when the query definitions operation completes. + /// + /// if the operation completes successfully + /// if any of the options are incorrect + /// + public void QueryDefinitions(ref QueryDefinitionsOptions options, object clientData, OnQueryDefinitionsCompleteCallback completionDelegate) + { + QueryDefinitionsOptionsInternal optionsInternal = new QueryDefinitionsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryDefinitionsCompleteCallbackInternal(OnQueryDefinitionsCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Achievements_QueryDefinitions(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Query for a list of achievements for a specific player, including progress towards completion for each achievement. + /// When the Social Overlay is enabled then this will be called automatically. The Social Overlay is enabled by default (see EOS_PF_DISABLE_SOCIAL_OVERLAY). + /// + /// Structure containing information about the player whose achievements we're retrieving. + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// This function is called when the query player achievements operation completes. + /// + /// if the operation completes successfully + /// if any of the userid options are incorrect + /// if any of the other options are incorrect + /// + public void QueryPlayerAchievements(ref QueryPlayerAchievementsOptions options, object clientData, OnQueryPlayerAchievementsCompleteCallback completionDelegate) + { + QueryPlayerAchievementsOptionsInternal optionsInternal = new QueryPlayerAchievementsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryPlayerAchievementsCompleteCallbackInternal(OnQueryPlayerAchievementsCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Achievements_QueryPlayerAchievements(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Unregister from receiving achievement unlocked notifications. + /// + /// + /// Handle representing the registered callback + public void RemoveNotifyAchievementsUnlocked(ulong inId) + { + Bindings.EOS_Achievements_RemoveNotifyAchievementsUnlocked(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unlocks a number of achievements for a specific player. + /// + /// Structure containing information about the achievements and the player whose achievements we're unlocking. + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// This function is called when the unlock achievements operation completes. + /// + /// if the operation completes successfully + /// if any of the options are incorrect + /// + public void UnlockAchievements(ref UnlockAchievementsOptions options, object clientData, OnUnlockAchievementsCompleteCallback completionDelegate) + { + UnlockAchievementsOptionsInternal optionsInternal = new UnlockAchievementsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnUnlockAchievementsCompleteCallbackInternal(OnUnlockAchievementsCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Achievements_UnlockAchievements(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnAchievementsUnlockedCallbackInternal))] + internal static void OnAchievementsUnlockedCallbackInternalImplementation(ref OnAchievementsUnlockedCallbackInfoInternal data) + { + OnAchievementsUnlockedCallback callback; + OnAchievementsUnlockedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnAchievementsUnlockedCallbackV2Internal))] + internal static void OnAchievementsUnlockedCallbackV2InternalImplementation(ref OnAchievementsUnlockedCallbackV2InfoInternal data) + { + OnAchievementsUnlockedCallbackV2 callback; + OnAchievementsUnlockedCallbackV2Info callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryDefinitionsCompleteCallbackInternal))] + internal static void OnQueryDefinitionsCompleteCallbackInternalImplementation(ref OnQueryDefinitionsCompleteCallbackInfoInternal data) + { + OnQueryDefinitionsCompleteCallback callback; + OnQueryDefinitionsCompleteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryPlayerAchievementsCompleteCallbackInternal))] + internal static void OnQueryPlayerAchievementsCompleteCallbackInternalImplementation(ref OnQueryPlayerAchievementsCompleteCallbackInfoInternal data) + { + OnQueryPlayerAchievementsCompleteCallback callback; + OnQueryPlayerAchievementsCompleteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnUnlockAchievementsCompleteCallbackInternal))] + internal static void OnUnlockAchievementsCompleteCallbackInternalImplementation(ref OnUnlockAchievementsCompleteCallbackInfoInternal data) + { + OnUnlockAchievementsCompleteCallback callback; + OnUnlockAchievementsCompleteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AchievementsInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AchievementsInterface.cs.meta deleted file mode 100644 index aee953f1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AchievementsInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 91b363f40f7831b46af876f05404ed1f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedOptions.cs index 22ff21c7..42af0888 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class AddNotifyAchievementsUnlockedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyAchievementsUnlockedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyAchievementsUnlockedOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.AddnotifyachievementsunlockedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyAchievementsUnlockedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct AddNotifyAchievementsUnlockedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyAchievementsUnlockedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyAchievementsUnlockedOptions other) + { + m_ApiVersion = AchievementsInterface.AddnotifyachievementsunlockedApiLatest; + } + + public void Set(ref AddNotifyAchievementsUnlockedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.AddnotifyachievementsunlockedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedOptions.cs.meta deleted file mode 100644 index a44b16c6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 27ac1b5bf7e7b7e44b0fd97384e00471 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedV2Options.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedV2Options.cs index 4190e8c7..412cc73f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedV2Options.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedV2Options.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class AddNotifyAchievementsUnlockedV2Options - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyAchievementsUnlockedV2OptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyAchievementsUnlockedV2Options other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.Addnotifyachievementsunlockedv2ApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyAchievementsUnlockedV2Options); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct AddNotifyAchievementsUnlockedV2Options + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyAchievementsUnlockedV2OptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyAchievementsUnlockedV2Options other) + { + m_ApiVersion = AchievementsInterface.Addnotifyachievementsunlockedv2ApiLatest; + } + + public void Set(ref AddNotifyAchievementsUnlockedV2Options? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.Addnotifyachievementsunlockedv2ApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedV2Options.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedV2Options.cs.meta deleted file mode 100644 index a5d4b69e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/AddNotifyAchievementsUnlockedV2Options.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 210bbcd9a74f8db43ada84fcd51d8aca -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByAchievementIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByAchievementIdOptions.cs index c05a5626..8b1fc1ac 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByAchievementIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByAchievementIdOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class CopyAchievementDefinitionByAchievementIdOptions - { - /// - /// Achievement ID to look for when copying definition from the cache - /// - public string AchievementId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyAchievementDefinitionByAchievementIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_AchievementId; - - public string AchievementId - { - set - { - Helper.TryMarshalSet(ref m_AchievementId, value); - } - } - - public void Set(CopyAchievementDefinitionByAchievementIdOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.CopydefinitionbyachievementidApiLatest; - AchievementId = other.AchievementId; - } - } - - public void Set(object other) - { - Set(other as CopyAchievementDefinitionByAchievementIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AchievementId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct CopyAchievementDefinitionByAchievementIdOptions + { + /// + /// Achievement ID to look for when copying definition from the cache + /// + public Utf8String AchievementId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyAchievementDefinitionByAchievementIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_AchievementId; + + public Utf8String AchievementId + { + set + { + Helper.Set(value, ref m_AchievementId); + } + } + + public void Set(ref CopyAchievementDefinitionByAchievementIdOptions other) + { + m_ApiVersion = AchievementsInterface.CopydefinitionbyachievementidApiLatest; + AchievementId = other.AchievementId; + } + + public void Set(ref CopyAchievementDefinitionByAchievementIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.CopydefinitionbyachievementidApiLatest; + AchievementId = other.Value.AchievementId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AchievementId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByAchievementIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByAchievementIdOptions.cs.meta deleted file mode 100644 index 8227b161..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByAchievementIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fa7ef783960cb3a418583f7df08be2b6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByIndexOptions.cs index 0bee755f..259664fa 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByIndexOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class CopyAchievementDefinitionByIndexOptions - { - /// - /// Index of the achievement definition to retrieve from the cache - /// - public uint AchievementIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyAchievementDefinitionByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_AchievementIndex; - - public uint AchievementIndex - { - set - { - m_AchievementIndex = value; - } - } - - public void Set(CopyAchievementDefinitionByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.CopydefinitionbyindexApiLatest; - AchievementIndex = other.AchievementIndex; - } - } - - public void Set(object other) - { - Set(other as CopyAchievementDefinitionByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct CopyAchievementDefinitionByIndexOptions + { + /// + /// Index of the achievement definition to retrieve from the cache + /// + public uint AchievementIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyAchievementDefinitionByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_AchievementIndex; + + public uint AchievementIndex + { + set + { + m_AchievementIndex = value; + } + } + + public void Set(ref CopyAchievementDefinitionByIndexOptions other) + { + m_ApiVersion = AchievementsInterface.CopydefinitionbyindexApiLatest; + AchievementIndex = other.AchievementIndex; + } + + public void Set(ref CopyAchievementDefinitionByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.CopydefinitionbyindexApiLatest; + AchievementIndex = other.Value.AchievementIndex; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByIndexOptions.cs.meta deleted file mode 100644 index d26d8241..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f76bab9e397b93a4e9c35ce563039a44 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByAchievementIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByAchievementIdOptions.cs index 358ecd9e..47d621b4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByAchievementIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByAchievementIdOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class CopyAchievementDefinitionV2ByAchievementIdOptions - { - /// - /// Achievement ID to look for when copying the definition from the cache. - /// - public string AchievementId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyAchievementDefinitionV2ByAchievementIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_AchievementId; - - public string AchievementId - { - set - { - Helper.TryMarshalSet(ref m_AchievementId, value); - } - } - - public void Set(CopyAchievementDefinitionV2ByAchievementIdOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.Copyachievementdefinitionv2ByachievementidApiLatest; - AchievementId = other.AchievementId; - } - } - - public void Set(object other) - { - Set(other as CopyAchievementDefinitionV2ByAchievementIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AchievementId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct CopyAchievementDefinitionV2ByAchievementIdOptions + { + /// + /// Achievement ID to look for when copying the definition from the cache. + /// + public Utf8String AchievementId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyAchievementDefinitionV2ByAchievementIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_AchievementId; + + public Utf8String AchievementId + { + set + { + Helper.Set(value, ref m_AchievementId); + } + } + + public void Set(ref CopyAchievementDefinitionV2ByAchievementIdOptions other) + { + m_ApiVersion = AchievementsInterface.Copyachievementdefinitionv2ByachievementidApiLatest; + AchievementId = other.AchievementId; + } + + public void Set(ref CopyAchievementDefinitionV2ByAchievementIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.Copyachievementdefinitionv2ByachievementidApiLatest; + AchievementId = other.Value.AchievementId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AchievementId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByAchievementIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByAchievementIdOptions.cs.meta deleted file mode 100644 index b0fa6bf7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByAchievementIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d0be84c5a29f5a34ca63f0968ddce2fc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByIndexOptions.cs index ba975020..423f9ea6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByIndexOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class CopyAchievementDefinitionV2ByIndexOptions - { - /// - /// Index of the achievement definition to retrieve from the cache. - /// - public uint AchievementIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyAchievementDefinitionV2ByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_AchievementIndex; - - public uint AchievementIndex - { - set - { - m_AchievementIndex = value; - } - } - - public void Set(CopyAchievementDefinitionV2ByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.Copyachievementdefinitionv2ByindexApiLatest; - AchievementIndex = other.AchievementIndex; - } - } - - public void Set(object other) - { - Set(other as CopyAchievementDefinitionV2ByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct CopyAchievementDefinitionV2ByIndexOptions + { + /// + /// Index of the achievement definition to retrieve from the cache. + /// + public uint AchievementIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyAchievementDefinitionV2ByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_AchievementIndex; + + public uint AchievementIndex + { + set + { + m_AchievementIndex = value; + } + } + + public void Set(ref CopyAchievementDefinitionV2ByIndexOptions other) + { + m_ApiVersion = AchievementsInterface.Copyachievementdefinitionv2ByindexApiLatest; + AchievementIndex = other.AchievementIndex; + } + + public void Set(ref CopyAchievementDefinitionV2ByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.Copyachievementdefinitionv2ByindexApiLatest; + AchievementIndex = other.Value.AchievementIndex; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByIndexOptions.cs.meta deleted file mode 100644 index b234770e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyAchievementDefinitionV2ByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 134fa143d5bcb7a4ca2569833d5f857f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByAchievementIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByAchievementIdOptions.cs index e16dd6b5..5560e4a4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByAchievementIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByAchievementIdOptions.cs @@ -1,82 +1,85 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class CopyPlayerAchievementByAchievementIdOptions - { - /// - /// The Product User ID for the user whose achievement is to be retrieved. - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// Achievement ID to search for when retrieving player achievement data from the cache. - /// - public string AchievementId { get; set; } - - /// - /// The Product User ID for the user who is querying for a player achievement. For a Dedicated Server this should be null. - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyPlayerAchievementByAchievementIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - private System.IntPtr m_AchievementId; - private System.IntPtr m_LocalUserId; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public string AchievementId - { - set - { - Helper.TryMarshalSet(ref m_AchievementId, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(CopyPlayerAchievementByAchievementIdOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.CopyplayerachievementbyachievementidApiLatest; - TargetUserId = other.TargetUserId; - AchievementId = other.AchievementId; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as CopyPlayerAchievementByAchievementIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - Helper.TryMarshalDispose(ref m_AchievementId); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct CopyPlayerAchievementByAchievementIdOptions + { + /// + /// The Product User ID for the user whose achievement is to be retrieved. + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Achievement ID to search for when retrieving player achievement data from the cache. + /// + public Utf8String AchievementId { get; set; } + + /// + /// The Product User ID for the user who is querying for a player achievement. For a Dedicated Server this should be null. + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyPlayerAchievementByAchievementIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_AchievementId; + private System.IntPtr m_LocalUserId; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public Utf8String AchievementId + { + set + { + Helper.Set(value, ref m_AchievementId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref CopyPlayerAchievementByAchievementIdOptions other) + { + m_ApiVersion = AchievementsInterface.CopyplayerachievementbyachievementidApiLatest; + TargetUserId = other.TargetUserId; + AchievementId = other.AchievementId; + LocalUserId = other.LocalUserId; + } + + public void Set(ref CopyPlayerAchievementByAchievementIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.CopyplayerachievementbyachievementidApiLatest; + TargetUserId = other.Value.TargetUserId; + AchievementId = other.Value.AchievementId; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_AchievementId); + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByAchievementIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByAchievementIdOptions.cs.meta deleted file mode 100644 index 5b71fa69..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByAchievementIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 085d9d8848929194f8a2cac75a8b1023 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByIndexOptions.cs index 292f7a37..ac25f0c5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByIndexOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class CopyPlayerAchievementByIndexOptions - { - /// - /// The Product User ID for the user whose achievement is to be retrieved. - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// The index of the player achievement data to retrieve from the cache. - /// - public uint AchievementIndex { get; set; } - - /// - /// The Product User ID for the user who is querying for a player achievement. For a Dedicated Server this should be null. - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyPlayerAchievementByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - private uint m_AchievementIndex; - private System.IntPtr m_LocalUserId; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public uint AchievementIndex - { - set - { - m_AchievementIndex = value; - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(CopyPlayerAchievementByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.CopyplayerachievementbyindexApiLatest; - TargetUserId = other.TargetUserId; - AchievementIndex = other.AchievementIndex; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as CopyPlayerAchievementByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct CopyPlayerAchievementByIndexOptions + { + /// + /// The Product User ID for the user whose achievement is to be retrieved. + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// The index of the player achievement data to retrieve from the cache. + /// + public uint AchievementIndex { get; set; } + + /// + /// The Product User ID for the user who is querying for a player achievement. For a Dedicated Server this should be null. + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyPlayerAchievementByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private uint m_AchievementIndex; + private System.IntPtr m_LocalUserId; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public uint AchievementIndex + { + set + { + m_AchievementIndex = value; + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref CopyPlayerAchievementByIndexOptions other) + { + m_ApiVersion = AchievementsInterface.CopyplayerachievementbyindexApiLatest; + TargetUserId = other.TargetUserId; + AchievementIndex = other.AchievementIndex; + LocalUserId = other.LocalUserId; + } + + public void Set(ref CopyPlayerAchievementByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.CopyplayerachievementbyindexApiLatest; + TargetUserId = other.Value.TargetUserId; + AchievementIndex = other.Value.AchievementIndex; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByIndexOptions.cs.meta deleted file mode 100644 index 1b550dc3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyPlayerAchievementByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1a5d7cc06198b2d4ab4de19028eb4737 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByAchievementIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByAchievementIdOptions.cs index 0ccf79de..08939e59 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByAchievementIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByAchievementIdOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class CopyUnlockedAchievementByAchievementIdOptions - { - /// - /// The Product User ID for the user who is copying the unlocked achievement - /// - public ProductUserId UserId { get; set; } - - /// - /// AchievementId of the unlocked achievement to retrieve from the cache - /// - public string AchievementId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyUnlockedAchievementByAchievementIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserId; - private System.IntPtr m_AchievementId; - - public ProductUserId UserId - { - set - { - Helper.TryMarshalSet(ref m_UserId, value); - } - } - - public string AchievementId - { - set - { - Helper.TryMarshalSet(ref m_AchievementId, value); - } - } - - public void Set(CopyUnlockedAchievementByAchievementIdOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.CopyunlockedachievementbyachievementidApiLatest; - UserId = other.UserId; - AchievementId = other.AchievementId; - } - } - - public void Set(object other) - { - Set(other as CopyUnlockedAchievementByAchievementIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserId); - Helper.TryMarshalDispose(ref m_AchievementId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct CopyUnlockedAchievementByAchievementIdOptions + { + /// + /// The Product User ID for the user who is copying the unlocked achievement + /// + public ProductUserId UserId { get; set; } + + /// + /// AchievementId of the unlocked achievement to retrieve from the cache + /// + public Utf8String AchievementId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyUnlockedAchievementByAchievementIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserId; + private System.IntPtr m_AchievementId; + + public ProductUserId UserId + { + set + { + Helper.Set(value, ref m_UserId); + } + } + + public Utf8String AchievementId + { + set + { + Helper.Set(value, ref m_AchievementId); + } + } + + public void Set(ref CopyUnlockedAchievementByAchievementIdOptions other) + { + m_ApiVersion = AchievementsInterface.CopyunlockedachievementbyachievementidApiLatest; + UserId = other.UserId; + AchievementId = other.AchievementId; + } + + public void Set(ref CopyUnlockedAchievementByAchievementIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.CopyunlockedachievementbyachievementidApiLatest; + UserId = other.Value.UserId; + AchievementId = other.Value.AchievementId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserId); + Helper.Dispose(ref m_AchievementId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByAchievementIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByAchievementIdOptions.cs.meta deleted file mode 100644 index 3ebb4933..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByAchievementIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1ec39b7c4f2d86f4da0e53b50aa735c6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByIndexOptions.cs index a486c4eb..a4ff2759 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class CopyUnlockedAchievementByIndexOptions - { - /// - /// The Product User ID for the user who is copying the unlocked achievement - /// - public ProductUserId UserId { get; set; } - - /// - /// Index of the unlocked achievement to retrieve from the cache - /// - public uint AchievementIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyUnlockedAchievementByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserId; - private uint m_AchievementIndex; - - public ProductUserId UserId - { - set - { - Helper.TryMarshalSet(ref m_UserId, value); - } - } - - public uint AchievementIndex - { - set - { - m_AchievementIndex = value; - } - } - - public void Set(CopyUnlockedAchievementByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.CopyunlockedachievementbyindexApiLatest; - UserId = other.UserId; - AchievementIndex = other.AchievementIndex; - } - } - - public void Set(object other) - { - Set(other as CopyUnlockedAchievementByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct CopyUnlockedAchievementByIndexOptions + { + /// + /// The Product User ID for the user who is copying the unlocked achievement + /// + public ProductUserId UserId { get; set; } + + /// + /// Index of the unlocked achievement to retrieve from the cache + /// + public uint AchievementIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyUnlockedAchievementByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserId; + private uint m_AchievementIndex; + + public ProductUserId UserId + { + set + { + Helper.Set(value, ref m_UserId); + } + } + + public uint AchievementIndex + { + set + { + m_AchievementIndex = value; + } + } + + public void Set(ref CopyUnlockedAchievementByIndexOptions other) + { + m_ApiVersion = AchievementsInterface.CopyunlockedachievementbyindexApiLatest; + UserId = other.UserId; + AchievementIndex = other.AchievementIndex; + } + + public void Set(ref CopyUnlockedAchievementByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.CopyunlockedachievementbyindexApiLatest; + UserId = other.Value.UserId; + AchievementIndex = other.Value.AchievementIndex; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByIndexOptions.cs.meta deleted file mode 100644 index 0c855bb1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/CopyUnlockedAchievementByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 45a46c9737464a847bf1ba5425fff47f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/Definition.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/Definition.cs index 1457e6a4..a6bf36d3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/Definition.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/Definition.cs @@ -1,310 +1,319 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Contains information about a single achievement definition with localized text. - /// - public class Definition : ISettable - { - /// - /// Achievement ID that can be used to uniquely identify the achievement. - /// - public string AchievementId { get; set; } - - /// - /// Text representing the Name to display in-game when achievement has been unlocked. - /// - public string DisplayName { get; set; } - - /// - /// Text representing the description to display in-game when achievement has been unlocked. - /// - public string Description { get; set; } - - /// - /// Text representing the name to display in-game when achievement is locked. - /// - public string LockedDisplayName { get; set; } - - /// - /// Text representing the description of what needs to be done to trigger the unlock of this achievement. - /// - public string LockedDescription { get; set; } - - /// - /// Text representing the description to display in-game when achievement is hidden. - /// - public string HiddenDescription { get; set; } - - /// - /// Text representing the description of what happens when the achievement is unlocked. - /// - public string CompletionDescription { get; set; } - - /// - /// Text representing the icon to display in-game when achievement is unlocked. - /// - public string UnlockedIconId { get; set; } - - /// - /// Text representing the icon to display in-game when achievement is locked. - /// - public string LockedIconId { get; set; } - - /// - /// True if achievement is hidden, false otherwise. - /// - public bool IsHidden { get; set; } - - /// - /// Array of stat thresholds that need to be satisfied to unlock the achievement. - /// - public StatThresholds[] StatThresholds { get; set; } - - internal void Set(DefinitionInternal? other) - { - if (other != null) - { - AchievementId = other.Value.AchievementId; - DisplayName = other.Value.DisplayName; - Description = other.Value.Description; - LockedDisplayName = other.Value.LockedDisplayName; - LockedDescription = other.Value.LockedDescription; - HiddenDescription = other.Value.HiddenDescription; - CompletionDescription = other.Value.CompletionDescription; - UnlockedIconId = other.Value.UnlockedIconId; - LockedIconId = other.Value.LockedIconId; - IsHidden = other.Value.IsHidden; - StatThresholds = other.Value.StatThresholds; - } - } - - public void Set(object other) - { - Set(other as DefinitionInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DefinitionInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_AchievementId; - private System.IntPtr m_DisplayName; - private System.IntPtr m_Description; - private System.IntPtr m_LockedDisplayName; - private System.IntPtr m_LockedDescription; - private System.IntPtr m_HiddenDescription; - private System.IntPtr m_CompletionDescription; - private System.IntPtr m_UnlockedIconId; - private System.IntPtr m_LockedIconId; - private int m_IsHidden; - private int m_StatThresholdsCount; - private System.IntPtr m_StatThresholds; - - public string AchievementId - { - get - { - string value; - Helper.TryMarshalGet(m_AchievementId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AchievementId, value); - } - } - - public string DisplayName - { - get - { - string value; - Helper.TryMarshalGet(m_DisplayName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DisplayName, value); - } - } - - public string Description - { - get - { - string value; - Helper.TryMarshalGet(m_Description, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Description, value); - } - } - - public string LockedDisplayName - { - get - { - string value; - Helper.TryMarshalGet(m_LockedDisplayName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LockedDisplayName, value); - } - } - - public string LockedDescription - { - get - { - string value; - Helper.TryMarshalGet(m_LockedDescription, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LockedDescription, value); - } - } - - public string HiddenDescription - { - get - { - string value; - Helper.TryMarshalGet(m_HiddenDescription, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_HiddenDescription, value); - } - } - - public string CompletionDescription - { - get - { - string value; - Helper.TryMarshalGet(m_CompletionDescription, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_CompletionDescription, value); - } - } - - public string UnlockedIconId - { - get - { - string value; - Helper.TryMarshalGet(m_UnlockedIconId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UnlockedIconId, value); - } - } - - public string LockedIconId - { - get - { - string value; - Helper.TryMarshalGet(m_LockedIconId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LockedIconId, value); - } - } - - public bool IsHidden - { - get - { - bool value; - Helper.TryMarshalGet(m_IsHidden, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_IsHidden, value); - } - } - - public StatThresholds[] StatThresholds - { - get - { - StatThresholds[] value; - Helper.TryMarshalGet(m_StatThresholds, out value, m_StatThresholdsCount); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_StatThresholds, value, out m_StatThresholdsCount); - } - } - - public void Set(Definition other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.DefinitionApiLatest; - AchievementId = other.AchievementId; - DisplayName = other.DisplayName; - Description = other.Description; - LockedDisplayName = other.LockedDisplayName; - LockedDescription = other.LockedDescription; - HiddenDescription = other.HiddenDescription; - CompletionDescription = other.CompletionDescription; - UnlockedIconId = other.UnlockedIconId; - LockedIconId = other.LockedIconId; - IsHidden = other.IsHidden; - StatThresholds = other.StatThresholds; - } - } - - public void Set(object other) - { - Set(other as Definition); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AchievementId); - Helper.TryMarshalDispose(ref m_DisplayName); - Helper.TryMarshalDispose(ref m_Description); - Helper.TryMarshalDispose(ref m_LockedDisplayName); - Helper.TryMarshalDispose(ref m_LockedDescription); - Helper.TryMarshalDispose(ref m_HiddenDescription); - Helper.TryMarshalDispose(ref m_CompletionDescription); - Helper.TryMarshalDispose(ref m_UnlockedIconId); - Helper.TryMarshalDispose(ref m_LockedIconId); - Helper.TryMarshalDispose(ref m_StatThresholds); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Contains information about a single achievement definition with localized text. + /// + public struct Definition + { + /// + /// Achievement ID that can be used to uniquely identify the achievement. + /// + public Utf8String AchievementId { get; set; } + + /// + /// Text representing the Name to display in-game when achievement has been unlocked. + /// + public Utf8String DisplayName { get; set; } + + /// + /// Text representing the description to display in-game when achievement has been unlocked. + /// + public Utf8String Description { get; set; } + + /// + /// Text representing the name to display in-game when achievement is locked. + /// + public Utf8String LockedDisplayName { get; set; } + + /// + /// Text representing the description of what needs to be done to trigger the unlock of this achievement. + /// + public Utf8String LockedDescription { get; set; } + + /// + /// Text representing the description to display in-game when achievement is hidden. + /// + public Utf8String HiddenDescription { get; set; } + + /// + /// Text representing the description of what happens when the achievement is unlocked. + /// + public Utf8String CompletionDescription { get; set; } + + /// + /// Text representing the icon to display in-game when achievement is unlocked. + /// + public Utf8String UnlockedIconId { get; set; } + + /// + /// Text representing the icon to display in-game when achievement is locked. + /// + public Utf8String LockedIconId { get; set; } + + /// + /// True if achievement is hidden, false otherwise. + /// + public bool IsHidden { get; set; } + + /// + /// Array of stat thresholds that need to be satisfied to unlock the achievement. + /// + public StatThresholds[] StatThresholds { get; set; } + + internal void Set(ref DefinitionInternal other) + { + AchievementId = other.AchievementId; + DisplayName = other.DisplayName; + Description = other.Description; + LockedDisplayName = other.LockedDisplayName; + LockedDescription = other.LockedDescription; + HiddenDescription = other.HiddenDescription; + CompletionDescription = other.CompletionDescription; + UnlockedIconId = other.UnlockedIconId; + LockedIconId = other.LockedIconId; + IsHidden = other.IsHidden; + StatThresholds = other.StatThresholds; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DefinitionInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_AchievementId; + private System.IntPtr m_DisplayName; + private System.IntPtr m_Description; + private System.IntPtr m_LockedDisplayName; + private System.IntPtr m_LockedDescription; + private System.IntPtr m_HiddenDescription; + private System.IntPtr m_CompletionDescription; + private System.IntPtr m_UnlockedIconId; + private System.IntPtr m_LockedIconId; + private int m_IsHidden; + private int m_StatThresholdsCount; + private System.IntPtr m_StatThresholds; + + public Utf8String AchievementId + { + get + { + Utf8String value; + Helper.Get(m_AchievementId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AchievementId); + } + } + + public Utf8String DisplayName + { + get + { + Utf8String value; + Helper.Get(m_DisplayName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DisplayName); + } + } + + public Utf8String Description + { + get + { + Utf8String value; + Helper.Get(m_Description, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Description); + } + } + + public Utf8String LockedDisplayName + { + get + { + Utf8String value; + Helper.Get(m_LockedDisplayName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LockedDisplayName); + } + } + + public Utf8String LockedDescription + { + get + { + Utf8String value; + Helper.Get(m_LockedDescription, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LockedDescription); + } + } + + public Utf8String HiddenDescription + { + get + { + Utf8String value; + Helper.Get(m_HiddenDescription, out value); + return value; + } + + set + { + Helper.Set(value, ref m_HiddenDescription); + } + } + + public Utf8String CompletionDescription + { + get + { + Utf8String value; + Helper.Get(m_CompletionDescription, out value); + return value; + } + + set + { + Helper.Set(value, ref m_CompletionDescription); + } + } + + public Utf8String UnlockedIconId + { + get + { + Utf8String value; + Helper.Get(m_UnlockedIconId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UnlockedIconId); + } + } + + public Utf8String LockedIconId + { + get + { + Utf8String value; + Helper.Get(m_LockedIconId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LockedIconId); + } + } + + public bool IsHidden + { + get + { + bool value; + Helper.Get(m_IsHidden, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IsHidden); + } + } + + public StatThresholds[] StatThresholds + { + get + { + StatThresholds[] value; + Helper.Get(m_StatThresholds, out value, m_StatThresholdsCount); + return value; + } + + set + { + Helper.Set(ref value, ref m_StatThresholds, out m_StatThresholdsCount); + } + } + + public void Set(ref Definition other) + { + m_ApiVersion = AchievementsInterface.DefinitionApiLatest; + AchievementId = other.AchievementId; + DisplayName = other.DisplayName; + Description = other.Description; + LockedDisplayName = other.LockedDisplayName; + LockedDescription = other.LockedDescription; + HiddenDescription = other.HiddenDescription; + CompletionDescription = other.CompletionDescription; + UnlockedIconId = other.UnlockedIconId; + LockedIconId = other.LockedIconId; + IsHidden = other.IsHidden; + StatThresholds = other.StatThresholds; + } + + public void Set(ref Definition? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.DefinitionApiLatest; + AchievementId = other.Value.AchievementId; + DisplayName = other.Value.DisplayName; + Description = other.Value.Description; + LockedDisplayName = other.Value.LockedDisplayName; + LockedDescription = other.Value.LockedDescription; + HiddenDescription = other.Value.HiddenDescription; + CompletionDescription = other.Value.CompletionDescription; + UnlockedIconId = other.Value.UnlockedIconId; + LockedIconId = other.Value.LockedIconId; + IsHidden = other.Value.IsHidden; + StatThresholds = other.Value.StatThresholds; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AchievementId); + Helper.Dispose(ref m_DisplayName); + Helper.Dispose(ref m_Description); + Helper.Dispose(ref m_LockedDisplayName); + Helper.Dispose(ref m_LockedDescription); + Helper.Dispose(ref m_HiddenDescription); + Helper.Dispose(ref m_CompletionDescription); + Helper.Dispose(ref m_UnlockedIconId); + Helper.Dispose(ref m_LockedIconId); + Helper.Dispose(ref m_StatThresholds); + } + + public void Get(out Definition output) + { + output = new Definition(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/Definition.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/Definition.cs.meta deleted file mode 100644 index 6fd26f8b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/Definition.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 759a26d7372f9fd46b31ef6c4f1482c0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/DefinitionV2.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/DefinitionV2.cs index e6464968..0710bb06 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/DefinitionV2.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/DefinitionV2.cs @@ -1,286 +1,294 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Contains information about a single achievement definition with localized text. - /// - public class DefinitionV2 : ISettable - { - /// - /// Achievement ID that can be used to uniquely identify the achievement. - /// - public string AchievementId { get; set; } - - /// - /// Localized display name for the achievement when it has been unlocked. - /// - public string UnlockedDisplayName { get; set; } - - /// - /// Localized description for the achievement when it has been unlocked. - /// - public string UnlockedDescription { get; set; } - - /// - /// Localized display name for the achievement when it is locked or hidden. - /// - public string LockedDisplayName { get; set; } - - /// - /// Localized description for the achievement when it is locked or hidden. - /// - public string LockedDescription { get; set; } - - /// - /// Localized flavor text that can be used by the game in an arbitrary manner. This may be null if there is no data configured in the dev portal. - /// - public string FlavorText { get; set; } - - /// - /// URL of an icon to display for the achievement when it is unlocked. This may be null if there is no data configured in the dev portal. - /// - public string UnlockedIconURL { get; set; } - - /// - /// URL of an icon to display for the achievement when it is locked or hidden. This may be null if there is no data configured in the dev portal. - /// - public string LockedIconURL { get; set; } - - /// - /// true if the achievement is hidden; false otherwise. - /// - public bool IsHidden { get; set; } - - /// - /// Array of `` that need to be satisfied to unlock this achievement. Consists of Name and Threshold Value. - /// - public StatThresholds[] StatThresholds { get; set; } - - internal void Set(DefinitionV2Internal? other) - { - if (other != null) - { - AchievementId = other.Value.AchievementId; - UnlockedDisplayName = other.Value.UnlockedDisplayName; - UnlockedDescription = other.Value.UnlockedDescription; - LockedDisplayName = other.Value.LockedDisplayName; - LockedDescription = other.Value.LockedDescription; - FlavorText = other.Value.FlavorText; - UnlockedIconURL = other.Value.UnlockedIconURL; - LockedIconURL = other.Value.LockedIconURL; - IsHidden = other.Value.IsHidden; - StatThresholds = other.Value.StatThresholds; - } - } - - public void Set(object other) - { - Set(other as DefinitionV2Internal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DefinitionV2Internal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_AchievementId; - private System.IntPtr m_UnlockedDisplayName; - private System.IntPtr m_UnlockedDescription; - private System.IntPtr m_LockedDisplayName; - private System.IntPtr m_LockedDescription; - private System.IntPtr m_FlavorText; - private System.IntPtr m_UnlockedIconURL; - private System.IntPtr m_LockedIconURL; - private int m_IsHidden; - private uint m_StatThresholdsCount; - private System.IntPtr m_StatThresholds; - - public string AchievementId - { - get - { - string value; - Helper.TryMarshalGet(m_AchievementId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AchievementId, value); - } - } - - public string UnlockedDisplayName - { - get - { - string value; - Helper.TryMarshalGet(m_UnlockedDisplayName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UnlockedDisplayName, value); - } - } - - public string UnlockedDescription - { - get - { - string value; - Helper.TryMarshalGet(m_UnlockedDescription, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UnlockedDescription, value); - } - } - - public string LockedDisplayName - { - get - { - string value; - Helper.TryMarshalGet(m_LockedDisplayName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LockedDisplayName, value); - } - } - - public string LockedDescription - { - get - { - string value; - Helper.TryMarshalGet(m_LockedDescription, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LockedDescription, value); - } - } - - public string FlavorText - { - get - { - string value; - Helper.TryMarshalGet(m_FlavorText, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_FlavorText, value); - } - } - - public string UnlockedIconURL - { - get - { - string value; - Helper.TryMarshalGet(m_UnlockedIconURL, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UnlockedIconURL, value); - } - } - - public string LockedIconURL - { - get - { - string value; - Helper.TryMarshalGet(m_LockedIconURL, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LockedIconURL, value); - } - } - - public bool IsHidden - { - get - { - bool value; - Helper.TryMarshalGet(m_IsHidden, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_IsHidden, value); - } - } - - public StatThresholds[] StatThresholds - { - get - { - StatThresholds[] value; - Helper.TryMarshalGet(m_StatThresholds, out value, m_StatThresholdsCount); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_StatThresholds, value, out m_StatThresholdsCount); - } - } - - public void Set(DefinitionV2 other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.Definitionv2ApiLatest; - AchievementId = other.AchievementId; - UnlockedDisplayName = other.UnlockedDisplayName; - UnlockedDescription = other.UnlockedDescription; - LockedDisplayName = other.LockedDisplayName; - LockedDescription = other.LockedDescription; - FlavorText = other.FlavorText; - UnlockedIconURL = other.UnlockedIconURL; - LockedIconURL = other.LockedIconURL; - IsHidden = other.IsHidden; - StatThresholds = other.StatThresholds; - } - } - - public void Set(object other) - { - Set(other as DefinitionV2); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AchievementId); - Helper.TryMarshalDispose(ref m_UnlockedDisplayName); - Helper.TryMarshalDispose(ref m_UnlockedDescription); - Helper.TryMarshalDispose(ref m_LockedDisplayName); - Helper.TryMarshalDispose(ref m_LockedDescription); - Helper.TryMarshalDispose(ref m_FlavorText); - Helper.TryMarshalDispose(ref m_UnlockedIconURL); - Helper.TryMarshalDispose(ref m_LockedIconURL); - Helper.TryMarshalDispose(ref m_StatThresholds); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Contains information about a single achievement definition with localized text. + /// + public struct DefinitionV2 + { + /// + /// Achievement ID that can be used to uniquely identify the achievement. + /// + public Utf8String AchievementId { get; set; } + + /// + /// Localized display name for the achievement when it has been unlocked. + /// + public Utf8String UnlockedDisplayName { get; set; } + + /// + /// Localized description for the achievement when it has been unlocked. + /// + public Utf8String UnlockedDescription { get; set; } + + /// + /// Localized display name for the achievement when it is locked or hidden. + /// + public Utf8String LockedDisplayName { get; set; } + + /// + /// Localized description for the achievement when it is locked or hidden. + /// + public Utf8String LockedDescription { get; set; } + + /// + /// Localized flavor text that can be used by the game in an arbitrary manner. This may be null if there is no data configured in the dev portal. + /// + public Utf8String FlavorText { get; set; } + + /// + /// URL of an icon to display for the achievement when it is unlocked. This may be null if there is no data configured in the dev portal. + /// + public Utf8String UnlockedIconURL { get; set; } + + /// + /// URL of an icon to display for the achievement when it is locked or hidden. This may be null if there is no data configured in the dev portal. + /// + public Utf8String LockedIconURL { get; set; } + + /// + /// if the achievement is hidden; otherwise. + /// + public bool IsHidden { get; set; } + + /// + /// Array of `` that need to be satisfied to unlock this achievement. Consists of Name and Threshold Value. + /// + public StatThresholds[] StatThresholds { get; set; } + + internal void Set(ref DefinitionV2Internal other) + { + AchievementId = other.AchievementId; + UnlockedDisplayName = other.UnlockedDisplayName; + UnlockedDescription = other.UnlockedDescription; + LockedDisplayName = other.LockedDisplayName; + LockedDescription = other.LockedDescription; + FlavorText = other.FlavorText; + UnlockedIconURL = other.UnlockedIconURL; + LockedIconURL = other.LockedIconURL; + IsHidden = other.IsHidden; + StatThresholds = other.StatThresholds; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DefinitionV2Internal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_AchievementId; + private System.IntPtr m_UnlockedDisplayName; + private System.IntPtr m_UnlockedDescription; + private System.IntPtr m_LockedDisplayName; + private System.IntPtr m_LockedDescription; + private System.IntPtr m_FlavorText; + private System.IntPtr m_UnlockedIconURL; + private System.IntPtr m_LockedIconURL; + private int m_IsHidden; + private uint m_StatThresholdsCount; + private System.IntPtr m_StatThresholds; + + public Utf8String AchievementId + { + get + { + Utf8String value; + Helper.Get(m_AchievementId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AchievementId); + } + } + + public Utf8String UnlockedDisplayName + { + get + { + Utf8String value; + Helper.Get(m_UnlockedDisplayName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UnlockedDisplayName); + } + } + + public Utf8String UnlockedDescription + { + get + { + Utf8String value; + Helper.Get(m_UnlockedDescription, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UnlockedDescription); + } + } + + public Utf8String LockedDisplayName + { + get + { + Utf8String value; + Helper.Get(m_LockedDisplayName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LockedDisplayName); + } + } + + public Utf8String LockedDescription + { + get + { + Utf8String value; + Helper.Get(m_LockedDescription, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LockedDescription); + } + } + + public Utf8String FlavorText + { + get + { + Utf8String value; + Helper.Get(m_FlavorText, out value); + return value; + } + + set + { + Helper.Set(value, ref m_FlavorText); + } + } + + public Utf8String UnlockedIconURL + { + get + { + Utf8String value; + Helper.Get(m_UnlockedIconURL, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UnlockedIconURL); + } + } + + public Utf8String LockedIconURL + { + get + { + Utf8String value; + Helper.Get(m_LockedIconURL, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LockedIconURL); + } + } + + public bool IsHidden + { + get + { + bool value; + Helper.Get(m_IsHidden, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IsHidden); + } + } + + public StatThresholds[] StatThresholds + { + get + { + StatThresholds[] value; + Helper.Get(m_StatThresholds, out value, m_StatThresholdsCount); + return value; + } + + set + { + Helper.Set(ref value, ref m_StatThresholds, out m_StatThresholdsCount); + } + } + + public void Set(ref DefinitionV2 other) + { + m_ApiVersion = AchievementsInterface.Definitionv2ApiLatest; + AchievementId = other.AchievementId; + UnlockedDisplayName = other.UnlockedDisplayName; + UnlockedDescription = other.UnlockedDescription; + LockedDisplayName = other.LockedDisplayName; + LockedDescription = other.LockedDescription; + FlavorText = other.FlavorText; + UnlockedIconURL = other.UnlockedIconURL; + LockedIconURL = other.LockedIconURL; + IsHidden = other.IsHidden; + StatThresholds = other.StatThresholds; + } + + public void Set(ref DefinitionV2? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.Definitionv2ApiLatest; + AchievementId = other.Value.AchievementId; + UnlockedDisplayName = other.Value.UnlockedDisplayName; + UnlockedDescription = other.Value.UnlockedDescription; + LockedDisplayName = other.Value.LockedDisplayName; + LockedDescription = other.Value.LockedDescription; + FlavorText = other.Value.FlavorText; + UnlockedIconURL = other.Value.UnlockedIconURL; + LockedIconURL = other.Value.LockedIconURL; + IsHidden = other.Value.IsHidden; + StatThresholds = other.Value.StatThresholds; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AchievementId); + Helper.Dispose(ref m_UnlockedDisplayName); + Helper.Dispose(ref m_UnlockedDescription); + Helper.Dispose(ref m_LockedDisplayName); + Helper.Dispose(ref m_LockedDescription); + Helper.Dispose(ref m_FlavorText); + Helper.Dispose(ref m_UnlockedIconURL); + Helper.Dispose(ref m_LockedIconURL); + Helper.Dispose(ref m_StatThresholds); + } + + public void Get(out DefinitionV2 output) + { + output = new DefinitionV2(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/DefinitionV2.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/DefinitionV2.cs.meta deleted file mode 100644 index d15f1862..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/DefinitionV2.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9dbd42bf6b6d97b4eae1198f5594bccb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetAchievementDefinitionCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetAchievementDefinitionCountOptions.cs index 361c6510..a55aa5c9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetAchievementDefinitionCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetAchievementDefinitionCountOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class GetAchievementDefinitionCountOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetAchievementDefinitionCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(GetAchievementDefinitionCountOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.GetachievementdefinitioncountApiLatest; - } - } - - public void Set(object other) - { - Set(other as GetAchievementDefinitionCountOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct GetAchievementDefinitionCountOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetAchievementDefinitionCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref GetAchievementDefinitionCountOptions other) + { + m_ApiVersion = AchievementsInterface.GetachievementdefinitioncountApiLatest; + } + + public void Set(ref GetAchievementDefinitionCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.GetachievementdefinitioncountApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetAchievementDefinitionCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetAchievementDefinitionCountOptions.cs.meta deleted file mode 100644 index cc38d820..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetAchievementDefinitionCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 55492a353089274418fd66eeb5d01af7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetPlayerAchievementCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetPlayerAchievementCountOptions.cs index b9836ca7..afb81f5d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetPlayerAchievementCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetPlayerAchievementCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class GetPlayerAchievementCountOptions - { - /// - /// The Product User ID for the user whose achievement count is being retrieved. - /// - public ProductUserId UserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetPlayerAchievementCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserId; - - public ProductUserId UserId - { - set - { - Helper.TryMarshalSet(ref m_UserId, value); - } - } - - public void Set(GetPlayerAchievementCountOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.GetplayerachievementcountApiLatest; - UserId = other.UserId; - } - } - - public void Set(object other) - { - Set(other as GetPlayerAchievementCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct GetPlayerAchievementCountOptions + { + /// + /// The Product User ID for the user whose achievement count is being retrieved. + /// + public ProductUserId UserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetPlayerAchievementCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserId; + + public ProductUserId UserId + { + set + { + Helper.Set(value, ref m_UserId); + } + } + + public void Set(ref GetPlayerAchievementCountOptions other) + { + m_ApiVersion = AchievementsInterface.GetplayerachievementcountApiLatest; + UserId = other.UserId; + } + + public void Set(ref GetPlayerAchievementCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.GetplayerachievementcountApiLatest; + UserId = other.Value.UserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetPlayerAchievementCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetPlayerAchievementCountOptions.cs.meta deleted file mode 100644 index 713b9116..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetPlayerAchievementCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 16211e28b6b235940bb4472dcab28016 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetUnlockedAchievementCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetUnlockedAchievementCountOptions.cs index d71911da..140668cc 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetUnlockedAchievementCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetUnlockedAchievementCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class GetUnlockedAchievementCountOptions - { - /// - /// Product User ID for which to retrieve the unlocked achievement count - /// - public ProductUserId UserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetUnlockedAchievementCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserId; - - public ProductUserId UserId - { - set - { - Helper.TryMarshalSet(ref m_UserId, value); - } - } - - public void Set(GetUnlockedAchievementCountOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.GetunlockedachievementcountApiLatest; - UserId = other.UserId; - } - } - - public void Set(object other) - { - Set(other as GetUnlockedAchievementCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct GetUnlockedAchievementCountOptions + { + /// + /// Product User ID for which to retrieve the unlocked achievement count + /// + public ProductUserId UserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetUnlockedAchievementCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserId; + + public ProductUserId UserId + { + set + { + Helper.Set(value, ref m_UserId); + } + } + + public void Set(ref GetUnlockedAchievementCountOptions other) + { + m_ApiVersion = AchievementsInterface.GetunlockedachievementcountApiLatest; + UserId = other.UserId; + } + + public void Set(ref GetUnlockedAchievementCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.GetunlockedachievementcountApiLatest; + UserId = other.Value.UserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetUnlockedAchievementCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetUnlockedAchievementCountOptions.cs.meta deleted file mode 100644 index 5b476d3b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/GetUnlockedAchievementCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5c303f38afb7de84fa3f1014f68187cf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallback.cs index 583441fa..d286397d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Function prototype definition for notifications that come from - /// - /// A containing the output information and result - public delegate void OnAchievementsUnlockedCallback(OnAchievementsUnlockedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnAchievementsUnlockedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Function prototype definition for notifications that come from + /// + /// A containing the output information and result + public delegate void OnAchievementsUnlockedCallback(ref OnAchievementsUnlockedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnAchievementsUnlockedCallbackInternal(ref OnAchievementsUnlockedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallback.cs.meta deleted file mode 100644 index 9499fc8a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 55b3d527bbd8b914fa184c06814999a2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackInfo.cs index 32111ebb..e546dc94 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackInfo.cs @@ -1,93 +1,130 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Output parameters for the Function. - /// - public class OnAchievementsUnlockedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID for the user who received the unlocked achievements notification - /// - public ProductUserId UserId { get; private set; } - - /// - /// This member is not used and will always be set to NULL. - /// - public string[] AchievementIds { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(OnAchievementsUnlockedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - UserId = other.Value.UserId; - AchievementIds = other.Value.AchievementIds; - } - } - - public void Set(object other) - { - Set(other as OnAchievementsUnlockedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnAchievementsUnlockedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_UserId; - private uint m_AchievementsCount; - private System.IntPtr m_AchievementIds; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId UserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_UserId, out value); - return value; - } - } - - public string[] AchievementIds - { - get - { - string[] value; - Helper.TryMarshalGet(m_AchievementIds, out value, m_AchievementsCount, true); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Output parameters for the Function. + /// + public struct OnAchievementsUnlockedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Product User ID for the user who received the unlocked achievements notification + /// + public ProductUserId UserId { get; set; } + + /// + /// This member is not used and will always be set to . + /// + public Utf8String[] AchievementIds { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnAchievementsUnlockedCallbackInfoInternal other) + { + ClientData = other.ClientData; + UserId = other.UserId; + AchievementIds = other.AchievementIds; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnAchievementsUnlockedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_UserId; + private uint m_AchievementsCount; + private System.IntPtr m_AchievementIds; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId UserId + { + get + { + ProductUserId value; + Helper.Get(m_UserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UserId); + } + } + + public Utf8String[] AchievementIds + { + get + { + Utf8String[] value; + Helper.Get(m_AchievementIds, out value, m_AchievementsCount, true); + return value; + } + + set + { + Helper.Set(value, ref m_AchievementIds, true, out m_AchievementsCount); + } + } + + public void Set(ref OnAchievementsUnlockedCallbackInfo other) + { + ClientData = other.ClientData; + UserId = other.UserId; + AchievementIds = other.AchievementIds; + } + + public void Set(ref OnAchievementsUnlockedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + UserId = other.Value.UserId; + AchievementIds = other.Value.AchievementIds; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_UserId); + Helper.Dispose(ref m_AchievementIds); + } + + public void Get(out OnAchievementsUnlockedCallbackInfo output) + { + output = new OnAchievementsUnlockedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackInfo.cs.meta deleted file mode 100644 index 3ce340f4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 916dfd77669274945bdb33e77611ff5c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2.cs index c41d716f..a5d434d5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Function prototype definition for notifications that come from - /// - /// An containing the output information and result - public delegate void OnAchievementsUnlockedCallbackV2(OnAchievementsUnlockedCallbackV2Info data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnAchievementsUnlockedCallbackV2Internal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Function prototype definition for notifications that come from + /// + /// An containing the output information and result + public delegate void OnAchievementsUnlockedCallbackV2(ref OnAchievementsUnlockedCallbackV2Info data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnAchievementsUnlockedCallbackV2Internal(ref OnAchievementsUnlockedCallbackV2InfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2.cs.meta deleted file mode 100644 index e0efdf93..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4ed4cccbb7e07c4498060aed0891ba82 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2Info.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2Info.cs index be20b64a..209658a7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2Info.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2Info.cs @@ -1,109 +1,153 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Output parameters for the Function. - /// - public class OnAchievementsUnlockedCallbackV2Info : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID for the user who received the unlocked achievements notification - /// - public ProductUserId UserId { get; private set; } - - /// - /// The Achievement ID for the achievement that was unlocked. Pass this to to get the full achievement information. - /// - public string AchievementId { get; private set; } - - /// - /// POSIX timestamp when the achievement was unlocked. - /// - public System.DateTimeOffset? UnlockTime { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(OnAchievementsUnlockedCallbackV2InfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - UserId = other.Value.UserId; - AchievementId = other.Value.AchievementId; - UnlockTime = other.Value.UnlockTime; - } - } - - public void Set(object other) - { - Set(other as OnAchievementsUnlockedCallbackV2InfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnAchievementsUnlockedCallbackV2InfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_UserId; - private System.IntPtr m_AchievementId; - private long m_UnlockTime; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId UserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_UserId, out value); - return value; - } - } - - public string AchievementId - { - get - { - string value; - Helper.TryMarshalGet(m_AchievementId, out value); - return value; - } - } - - public System.DateTimeOffset? UnlockTime - { - get - { - System.DateTimeOffset? value; - Helper.TryMarshalGet(m_UnlockTime, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Output parameters for the Function. + /// + public struct OnAchievementsUnlockedCallbackV2Info : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Product User ID for the user who received the unlocked achievements notification + /// + public ProductUserId UserId { get; set; } + + /// + /// The Achievement ID for the achievement that was unlocked. Pass this to to get the full achievement information. + /// + public Utf8String AchievementId { get; set; } + + /// + /// POSIX timestamp when the achievement was unlocked. + /// + public System.DateTimeOffset? UnlockTime { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnAchievementsUnlockedCallbackV2InfoInternal other) + { + ClientData = other.ClientData; + UserId = other.UserId; + AchievementId = other.AchievementId; + UnlockTime = other.UnlockTime; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnAchievementsUnlockedCallbackV2InfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_UserId; + private System.IntPtr m_AchievementId; + private long m_UnlockTime; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId UserId + { + get + { + ProductUserId value; + Helper.Get(m_UserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UserId); + } + } + + public Utf8String AchievementId + { + get + { + Utf8String value; + Helper.Get(m_AchievementId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AchievementId); + } + } + + public System.DateTimeOffset? UnlockTime + { + get + { + System.DateTimeOffset? value; + Helper.Get(m_UnlockTime, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UnlockTime); + } + } + + public void Set(ref OnAchievementsUnlockedCallbackV2Info other) + { + ClientData = other.ClientData; + UserId = other.UserId; + AchievementId = other.AchievementId; + UnlockTime = other.UnlockTime; + } + + public void Set(ref OnAchievementsUnlockedCallbackV2Info? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + UserId = other.Value.UserId; + AchievementId = other.Value.AchievementId; + UnlockTime = other.Value.UnlockTime; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_UserId); + Helper.Dispose(ref m_AchievementId); + } + + public void Get(out OnAchievementsUnlockedCallbackV2Info output) + { + output = new OnAchievementsUnlockedCallbackV2Info(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2Info.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2Info.cs.meta deleted file mode 100644 index 8c301876..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnAchievementsUnlockedCallbackV2Info.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9bd373a4bafc9d64aa4d754b308a0a8f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallback.cs index b0f01818..1ff2439b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// An containing the output information and result - public delegate void OnQueryDefinitionsCompleteCallback(OnQueryDefinitionsCompleteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryDefinitionsCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// An containing the output information and result + public delegate void OnQueryDefinitionsCompleteCallback(ref OnQueryDefinitionsCompleteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryDefinitionsCompleteCallbackInternal(ref OnQueryDefinitionsCompleteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallback.cs.meta deleted file mode 100644 index 62ce075c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d2649e4091bc73f46ae05020210500a8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallbackInfo.cs index 4c8fc721..a3af983c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Data containing the result information for a query definitions request. - /// - public class OnQueryDefinitionsCompleteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// User-defined context that was passed into . - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(OnQueryDefinitionsCompleteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as OnQueryDefinitionsCompleteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnQueryDefinitionsCompleteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Data containing the result information for a query definitions request. + /// + public struct OnQueryDefinitionsCompleteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// User-defined context that was passed into . + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref OnQueryDefinitionsCompleteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnQueryDefinitionsCompleteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref OnQueryDefinitionsCompleteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref OnQueryDefinitionsCompleteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out OnQueryDefinitionsCompleteCallbackInfo output) + { + output = new OnQueryDefinitionsCompleteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallbackInfo.cs.meta deleted file mode 100644 index 914b474f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryDefinitionsCompleteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9ce8c14191410f440b85a80149866917 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallback.cs index 4349aa2d..354a3e29 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallback.cs @@ -1,15 +1,15 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// - /// An containing the output information and result - public delegate void OnQueryPlayerAchievementsCompleteCallback(OnQueryPlayerAchievementsCompleteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryPlayerAchievementsCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// + /// An containing the output information and result + public delegate void OnQueryPlayerAchievementsCompleteCallback(ref OnQueryPlayerAchievementsCompleteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryPlayerAchievementsCompleteCallbackInternal(ref OnQueryPlayerAchievementsCompleteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallback.cs.meta deleted file mode 100644 index f2790475..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c4e8f9d54cf2b7747997ad7ba1e63b59 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallbackInfo.cs index bf0dbb24..719f2355 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Data containing the result information for querying a player's achievements request. - /// - public class OnQueryPlayerAchievementsCompleteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId UserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(OnQueryPlayerAchievementsCompleteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - UserId = other.Value.UserId; - } - } - - public void Set(object other) - { - Set(other as OnQueryPlayerAchievementsCompleteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnQueryPlayerAchievementsCompleteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_UserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId UserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_UserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Data containing the result information for querying a player's achievements request. + /// + public struct OnQueryPlayerAchievementsCompleteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId UserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref OnQueryPlayerAchievementsCompleteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + UserId = other.UserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnQueryPlayerAchievementsCompleteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_UserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId UserId + { + get + { + ProductUserId value; + Helper.Get(m_UserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UserId); + } + } + + public void Set(ref OnQueryPlayerAchievementsCompleteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + UserId = other.UserId; + } + + public void Set(ref OnQueryPlayerAchievementsCompleteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + UserId = other.Value.UserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_UserId); + } + + public void Get(out OnQueryPlayerAchievementsCompleteCallbackInfo output) + { + output = new OnQueryPlayerAchievementsCompleteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallbackInfo.cs.meta deleted file mode 100644 index 55d62711..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dbb9f1c82f709624f8792999f3cadc7a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallback.cs index 3c5260b6..19032a34 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// An containing the output information and result - public delegate void OnUnlockAchievementsCompleteCallback(OnUnlockAchievementsCompleteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnUnlockAchievementsCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// An containing the output information and result + public delegate void OnUnlockAchievementsCompleteCallback(ref OnUnlockAchievementsCompleteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnUnlockAchievementsCompleteCallbackInternal(ref OnUnlockAchievementsCompleteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallback.cs.meta deleted file mode 100644 index 8a92ac2e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: afdc780103e694e43ae0ca2579d57980 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallbackInfo.cs index 1d0fa941..409e3b5f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallbackInfo.cs @@ -1,105 +1,148 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Data containing the result information for unlocking achievements request. - /// - public class OnUnlockAchievementsCompleteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId UserId { get; private set; } - - /// - /// The number of achievements that the operation unlocked. - /// - public uint AchievementsCount { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(OnUnlockAchievementsCompleteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - UserId = other.Value.UserId; - AchievementsCount = other.Value.AchievementsCount; - } - } - - public void Set(object other) - { - Set(other as OnUnlockAchievementsCompleteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnUnlockAchievementsCompleteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_UserId; - private uint m_AchievementsCount; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId UserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_UserId, out value); - return value; - } - } - - public uint AchievementsCount - { - get - { - return m_AchievementsCount; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Data containing the result information for unlocking achievements request. + /// + public struct OnUnlockAchievementsCompleteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId UserId { get; set; } + + /// + /// The number of achievements that the operation unlocked. + /// + public uint AchievementsCount { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref OnUnlockAchievementsCompleteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + UserId = other.UserId; + AchievementsCount = other.AchievementsCount; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnUnlockAchievementsCompleteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_UserId; + private uint m_AchievementsCount; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId UserId + { + get + { + ProductUserId value; + Helper.Get(m_UserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UserId); + } + } + + public uint AchievementsCount + { + get + { + return m_AchievementsCount; + } + + set + { + m_AchievementsCount = value; + } + } + + public void Set(ref OnUnlockAchievementsCompleteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + UserId = other.UserId; + AchievementsCount = other.AchievementsCount; + } + + public void Set(ref OnUnlockAchievementsCompleteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + UserId = other.Value.UserId; + AchievementsCount = other.Value.AchievementsCount; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_UserId); + } + + public void Get(out OnUnlockAchievementsCompleteCallbackInfo output) + { + output = new OnUnlockAchievementsCompleteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallbackInfo.cs.meta deleted file mode 100644 index d7a1c76a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/OnUnlockAchievementsCompleteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0fc5b2dd583f1db43879814f3f771d37 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerAchievement.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerAchievement.cs index f7b7970a..aada5cd2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerAchievement.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerAchievement.cs @@ -1,238 +1,244 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Contains information about a single player achievement. - /// - public class PlayerAchievement : ISettable - { - /// - /// This achievement's unique identifier. - /// - public string AchievementId { get; set; } - - /// - /// Progress towards completing this achievement (as a percentage). - /// - public double Progress { get; set; } - - /// - /// The POSIX timestamp when the achievement was unlocked. If the achievement has not been unlocked, this value will be . - /// - public System.DateTimeOffset? UnlockTime { get; set; } - - /// - /// Array of structures containing information about stat thresholds used to unlock the achievement and the player's current values for those stats. - /// - public PlayerStatInfo[] StatInfo { get; set; } - - /// - /// Localized display name for the achievement based on this specific player's current progress on the achievement. - /// @note The current progress is updated when succeeds and when an achievement is unlocked. - /// - public string DisplayName { get; set; } - - /// - /// Localized description for the achievement based on this specific player's current progress on the achievement. - /// @note The current progress is updated when succeeds and when an achievement is unlocked. - /// - public string Description { get; set; } - - /// - /// URL of an icon to display for the achievement based on this specific player's current progress on the achievement. This may be null if there is no data configured in the dev portal. - /// @note The current progress is updated when succeeds and when an achievement is unlocked. - /// - public string IconURL { get; set; } - - /// - /// Localized flavor text that can be used by the game in an arbitrary manner. This may be null if there is no data configured in the dev portal. - /// - public string FlavorText { get; set; } - - internal void Set(PlayerAchievementInternal? other) - { - if (other != null) - { - AchievementId = other.Value.AchievementId; - Progress = other.Value.Progress; - UnlockTime = other.Value.UnlockTime; - StatInfo = other.Value.StatInfo; - DisplayName = other.Value.DisplayName; - Description = other.Value.Description; - IconURL = other.Value.IconURL; - FlavorText = other.Value.FlavorText; - } - } - - public void Set(object other) - { - Set(other as PlayerAchievementInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PlayerAchievementInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_AchievementId; - private double m_Progress; - private long m_UnlockTime; - private int m_StatInfoCount; - private System.IntPtr m_StatInfo; - private System.IntPtr m_DisplayName; - private System.IntPtr m_Description; - private System.IntPtr m_IconURL; - private System.IntPtr m_FlavorText; - - public string AchievementId - { - get - { - string value; - Helper.TryMarshalGet(m_AchievementId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AchievementId, value); - } - } - - public double Progress - { - get - { - return m_Progress; - } - - set - { - m_Progress = value; - } - } - - public System.DateTimeOffset? UnlockTime - { - get - { - System.DateTimeOffset? value; - Helper.TryMarshalGet(m_UnlockTime, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UnlockTime, value); - } - } - - public PlayerStatInfo[] StatInfo - { - get - { - PlayerStatInfo[] value; - Helper.TryMarshalGet(m_StatInfo, out value, m_StatInfoCount); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_StatInfo, value, out m_StatInfoCount); - } - } - - public string DisplayName - { - get - { - string value; - Helper.TryMarshalGet(m_DisplayName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DisplayName, value); - } - } - - public string Description - { - get - { - string value; - Helper.TryMarshalGet(m_Description, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Description, value); - } - } - - public string IconURL - { - get - { - string value; - Helper.TryMarshalGet(m_IconURL, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_IconURL, value); - } - } - - public string FlavorText - { - get - { - string value; - Helper.TryMarshalGet(m_FlavorText, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_FlavorText, value); - } - } - - public void Set(PlayerAchievement other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.PlayerachievementApiLatest; - AchievementId = other.AchievementId; - Progress = other.Progress; - UnlockTime = other.UnlockTime; - StatInfo = other.StatInfo; - DisplayName = other.DisplayName; - Description = other.Description; - IconURL = other.IconURL; - FlavorText = other.FlavorText; - } - } - - public void Set(object other) - { - Set(other as PlayerAchievement); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AchievementId); - Helper.TryMarshalDispose(ref m_StatInfo); - Helper.TryMarshalDispose(ref m_DisplayName); - Helper.TryMarshalDispose(ref m_Description); - Helper.TryMarshalDispose(ref m_IconURL); - Helper.TryMarshalDispose(ref m_FlavorText); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Contains information about a single player achievement. + /// + public struct PlayerAchievement + { + /// + /// This achievement's unique identifier. + /// + public Utf8String AchievementId { get; set; } + + /// + /// Progress towards completing this achievement (as a percentage). + /// + public double Progress { get; set; } + + /// + /// The POSIX timestamp when the achievement was unlocked. If the achievement has not been unlocked, this value will be . + /// + public System.DateTimeOffset? UnlockTime { get; set; } + + /// + /// Array of structures containing information about stat thresholds used to unlock the achievement and the player's current values for those stats. + /// + public PlayerStatInfo[] StatInfo { get; set; } + + /// + /// Localized display name for the achievement based on this specific player's current progress on the achievement. + /// The current progress is updated when EOS_Achievements_QueryPlayerAchievements succeeds and when an achievement is unlocked. + /// + public Utf8String DisplayName { get; set; } + + /// + /// Localized description for the achievement based on this specific player's current progress on the achievement. + /// The current progress is updated when EOS_Achievements_QueryPlayerAchievements succeeds and when an achievement is unlocked. + /// + public Utf8String Description { get; set; } + + /// + /// URL of an icon to display for the achievement based on this specific player's current progress on the achievement. This may be null if there is no data configured in the dev portal. + /// The current progress is updated when EOS_Achievements_QueryPlayerAchievements succeeds and when an achievement is unlocked. + /// + public Utf8String IconURL { get; set; } + + /// + /// Localized flavor text that can be used by the game in an arbitrary manner. This may be null if there is no data configured in the dev portal. + /// + public Utf8String FlavorText { get; set; } + + internal void Set(ref PlayerAchievementInternal other) + { + AchievementId = other.AchievementId; + Progress = other.Progress; + UnlockTime = other.UnlockTime; + StatInfo = other.StatInfo; + DisplayName = other.DisplayName; + Description = other.Description; + IconURL = other.IconURL; + FlavorText = other.FlavorText; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PlayerAchievementInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_AchievementId; + private double m_Progress; + private long m_UnlockTime; + private int m_StatInfoCount; + private System.IntPtr m_StatInfo; + private System.IntPtr m_DisplayName; + private System.IntPtr m_Description; + private System.IntPtr m_IconURL; + private System.IntPtr m_FlavorText; + + public Utf8String AchievementId + { + get + { + Utf8String value; + Helper.Get(m_AchievementId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AchievementId); + } + } + + public double Progress + { + get + { + return m_Progress; + } + + set + { + m_Progress = value; + } + } + + public System.DateTimeOffset? UnlockTime + { + get + { + System.DateTimeOffset? value; + Helper.Get(m_UnlockTime, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UnlockTime); + } + } + + public PlayerStatInfo[] StatInfo + { + get + { + PlayerStatInfo[] value; + Helper.Get(m_StatInfo, out value, m_StatInfoCount); + return value; + } + + set + { + Helper.Set(ref value, ref m_StatInfo, out m_StatInfoCount); + } + } + + public Utf8String DisplayName + { + get + { + Utf8String value; + Helper.Get(m_DisplayName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DisplayName); + } + } + + public Utf8String Description + { + get + { + Utf8String value; + Helper.Get(m_Description, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Description); + } + } + + public Utf8String IconURL + { + get + { + Utf8String value; + Helper.Get(m_IconURL, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IconURL); + } + } + + public Utf8String FlavorText + { + get + { + Utf8String value; + Helper.Get(m_FlavorText, out value); + return value; + } + + set + { + Helper.Set(value, ref m_FlavorText); + } + } + + public void Set(ref PlayerAchievement other) + { + m_ApiVersion = AchievementsInterface.PlayerachievementApiLatest; + AchievementId = other.AchievementId; + Progress = other.Progress; + UnlockTime = other.UnlockTime; + StatInfo = other.StatInfo; + DisplayName = other.DisplayName; + Description = other.Description; + IconURL = other.IconURL; + FlavorText = other.FlavorText; + } + + public void Set(ref PlayerAchievement? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.PlayerachievementApiLatest; + AchievementId = other.Value.AchievementId; + Progress = other.Value.Progress; + UnlockTime = other.Value.UnlockTime; + StatInfo = other.Value.StatInfo; + DisplayName = other.Value.DisplayName; + Description = other.Value.Description; + IconURL = other.Value.IconURL; + FlavorText = other.Value.FlavorText; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AchievementId); + Helper.Dispose(ref m_StatInfo); + Helper.Dispose(ref m_DisplayName); + Helper.Dispose(ref m_Description); + Helper.Dispose(ref m_IconURL); + Helper.Dispose(ref m_FlavorText); + } + + public void Get(out PlayerAchievement output) + { + output = new PlayerAchievement(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerAchievement.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerAchievement.cs.meta deleted file mode 100644 index 663aa825..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerAchievement.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 316dde722dd739d468d71806ed2b59cb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerStatInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerStatInfo.cs index 8112cfe5..16938df1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerStatInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerStatInfo.cs @@ -1,113 +1,114 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Contains information about a collection of stat info data. - /// - /// - public class PlayerStatInfo : ISettable - { - /// - /// The name of the stat. - /// - public string Name { get; set; } - - /// - /// The current value of the stat. - /// - public int CurrentValue { get; set; } - - /// - /// The threshold value of the stat, used in determining when to unlock an achievement. - /// - public int ThresholdValue { get; set; } - - internal void Set(PlayerStatInfoInternal? other) - { - if (other != null) - { - Name = other.Value.Name; - CurrentValue = other.Value.CurrentValue; - ThresholdValue = other.Value.ThresholdValue; - } - } - - public void Set(object other) - { - Set(other as PlayerStatInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PlayerStatInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Name; - private int m_CurrentValue; - private int m_ThresholdValue; - - public string Name - { - get - { - string value; - Helper.TryMarshalGet(m_Name, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Name, value); - } - } - - public int CurrentValue - { - get - { - return m_CurrentValue; - } - - set - { - m_CurrentValue = value; - } - } - - public int ThresholdValue - { - get - { - return m_ThresholdValue; - } - - set - { - m_ThresholdValue = value; - } - } - - public void Set(PlayerStatInfo other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.PlayerstatinfoApiLatest; - Name = other.Name; - CurrentValue = other.CurrentValue; - ThresholdValue = other.ThresholdValue; - } - } - - public void Set(object other) - { - Set(other as PlayerStatInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Name); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Contains information about a collection of stat info data. + /// + /// + public struct PlayerStatInfo + { + /// + /// The name of the stat. + /// + public Utf8String Name { get; set; } + + /// + /// The current value of the stat. + /// + public int CurrentValue { get; set; } + + /// + /// The threshold value of the stat, used in determining when to unlock an achievement. + /// + public int ThresholdValue { get; set; } + + internal void Set(ref PlayerStatInfoInternal other) + { + Name = other.Name; + CurrentValue = other.CurrentValue; + ThresholdValue = other.ThresholdValue; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PlayerStatInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Name; + private int m_CurrentValue; + private int m_ThresholdValue; + + public Utf8String Name + { + get + { + Utf8String value; + Helper.Get(m_Name, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Name); + } + } + + public int CurrentValue + { + get + { + return m_CurrentValue; + } + + set + { + m_CurrentValue = value; + } + } + + public int ThresholdValue + { + get + { + return m_ThresholdValue; + } + + set + { + m_ThresholdValue = value; + } + } + + public void Set(ref PlayerStatInfo other) + { + m_ApiVersion = AchievementsInterface.PlayerstatinfoApiLatest; + Name = other.Name; + CurrentValue = other.CurrentValue; + ThresholdValue = other.ThresholdValue; + } + + public void Set(ref PlayerStatInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.PlayerstatinfoApiLatest; + Name = other.Value.Name; + CurrentValue = other.Value.CurrentValue; + ThresholdValue = other.Value.ThresholdValue; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Name); + } + + public void Get(out PlayerStatInfo output) + { + output = new PlayerStatInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerStatInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerStatInfo.cs.meta deleted file mode 100644 index c0f4d9c1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/PlayerStatInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ced2df0b1e8734a4a900056b1f1f84ea -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryDefinitionsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryDefinitionsOptions.cs index 87193fef..dc6122c0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryDefinitionsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryDefinitionsOptions.cs @@ -1,86 +1,89 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class QueryDefinitionsOptions - { - /// - /// Product User ID for user who is querying definitions. - /// The localized text returned will be based on the locale code of the given user if they have a linked Epic Online Services Account ID. - /// The localized text returned can also be overridden using to override the locale. - /// If the locale code is not overridden and LocalUserId is not valid, default text will be returned. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// Deprecated - /// - public EpicAccountId EpicUserId_DEPRECATED { get; set; } - - /// - /// Deprecated - /// - public string[] HiddenAchievementIds_DEPRECATED { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryDefinitionsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_EpicUserId_DEPRECATED; - private System.IntPtr m_HiddenAchievementIds_DEPRECATED; - private uint m_HiddenAchievementsCount_DEPRECATED; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId EpicUserId_DEPRECATED - { - set - { - Helper.TryMarshalSet(ref m_EpicUserId_DEPRECATED, value); - } - } - - public string[] HiddenAchievementIds_DEPRECATED - { - set - { - Helper.TryMarshalSet(ref m_HiddenAchievementIds_DEPRECATED, value, out m_HiddenAchievementsCount_DEPRECATED, true); - } - } - - public void Set(QueryDefinitionsOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.QuerydefinitionsApiLatest; - LocalUserId = other.LocalUserId; - EpicUserId_DEPRECATED = other.EpicUserId_DEPRECATED; - HiddenAchievementIds_DEPRECATED = other.HiddenAchievementIds_DEPRECATED; - } - } - - public void Set(object other) - { - Set(other as QueryDefinitionsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_EpicUserId_DEPRECATED); - Helper.TryMarshalDispose(ref m_HiddenAchievementIds_DEPRECATED); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct QueryDefinitionsOptions + { + /// + /// Product User ID for user who is querying definitions. + /// The localized text returned will be based on the locale code of the given user if they have a linked Epic Account ID. + /// The localized text returned can also be overridden using to override the locale. + /// If the locale code is not overridden and LocalUserId is not valid, default text will be returned. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Deprecated + /// + public EpicAccountId EpicUserId_DEPRECATED { get; set; } + + /// + /// Deprecated + /// + public Utf8String[] HiddenAchievementIds_DEPRECATED { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryDefinitionsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_EpicUserId_DEPRECATED; + private System.IntPtr m_HiddenAchievementIds_DEPRECATED; + private uint m_HiddenAchievementsCount_DEPRECATED; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId EpicUserId_DEPRECATED + { + set + { + Helper.Set(value, ref m_EpicUserId_DEPRECATED); + } + } + + public Utf8String[] HiddenAchievementIds_DEPRECATED + { + set + { + Helper.Set(value, ref m_HiddenAchievementIds_DEPRECATED, true, out m_HiddenAchievementsCount_DEPRECATED); + } + } + + public void Set(ref QueryDefinitionsOptions other) + { + m_ApiVersion = AchievementsInterface.QuerydefinitionsApiLatest; + LocalUserId = other.LocalUserId; + EpicUserId_DEPRECATED = other.EpicUserId_DEPRECATED; + HiddenAchievementIds_DEPRECATED = other.HiddenAchievementIds_DEPRECATED; + } + + public void Set(ref QueryDefinitionsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.QuerydefinitionsApiLatest; + LocalUserId = other.Value.LocalUserId; + EpicUserId_DEPRECATED = other.Value.EpicUserId_DEPRECATED; + HiddenAchievementIds_DEPRECATED = other.Value.HiddenAchievementIds_DEPRECATED; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_EpicUserId_DEPRECATED); + Helper.Dispose(ref m_HiddenAchievementIds_DEPRECATED); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryDefinitionsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryDefinitionsOptions.cs.meta deleted file mode 100644 index 3cbfd071..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryDefinitionsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a60e3c7343dfeb44d89f0cd7375ca5e3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryPlayerAchievementsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryPlayerAchievementsOptions.cs index 45b578d7..1c0a98bb 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryPlayerAchievementsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryPlayerAchievementsOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class QueryPlayerAchievementsOptions - { - /// - /// The Product User ID for the user whose achievements are to be retrieved. - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// The Product User ID for the user who is querying for player achievements. For a Dedicated Server this should be null. - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryPlayerAchievementsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - private System.IntPtr m_LocalUserId; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(QueryPlayerAchievementsOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.QueryplayerachievementsApiLatest; - TargetUserId = other.TargetUserId; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryPlayerAchievementsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct QueryPlayerAchievementsOptions + { + /// + /// The Product User ID for the user whose achievements are to be retrieved. + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// The Product User ID for the user who is querying for player achievements. For a Dedicated Server this should be null. + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryPlayerAchievementsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_LocalUserId; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryPlayerAchievementsOptions other) + { + m_ApiVersion = AchievementsInterface.QueryplayerachievementsApiLatest; + TargetUserId = other.TargetUserId; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryPlayerAchievementsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.QueryplayerachievementsApiLatest; + TargetUserId = other.Value.TargetUserId; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryPlayerAchievementsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryPlayerAchievementsOptions.cs.meta deleted file mode 100644 index 23c4fed0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/QueryPlayerAchievementsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 29b0bdbb7c6af8848bcbfb9b79d79d19 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/StatThresholds.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/StatThresholds.cs index c997e0f8..05ba4f4e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/StatThresholds.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/StatThresholds.cs @@ -1,98 +1,98 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Contains information about a collection of stat threshold data. - /// - /// The threshold will depend on the stat aggregate type: - /// LATEST (Tracks the latest value) - /// MAX (Tracks the maximum value) - /// MIN (Tracks the minimum value) - /// SUM (Generates a rolling sum of the value) - /// - /// - public class StatThresholds : ISettable - { - /// - /// The name of the stat. - /// - public string Name { get; set; } - - /// - /// The value that the stat must surpass to satisfy the requirement for unlocking an achievement. - /// - public int Threshold { get; set; } - - internal void Set(StatThresholdsInternal? other) - { - if (other != null) - { - Name = other.Value.Name; - Threshold = other.Value.Threshold; - } - } - - public void Set(object other) - { - Set(other as StatThresholdsInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct StatThresholdsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Name; - private int m_Threshold; - - public string Name - { - get - { - string value; - Helper.TryMarshalGet(m_Name, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Name, value); - } - } - - public int Threshold - { - get - { - return m_Threshold; - } - - set - { - m_Threshold = value; - } - } - - public void Set(StatThresholds other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.StatthresholdsApiLatest; - Name = other.Name; - Threshold = other.Threshold; - } - } - - public void Set(object other) - { - Set(other as StatThresholds); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Name); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Contains information about a collection of stat threshold data. + /// + /// The threshold will depend on the stat aggregate type: + /// LATEST (Tracks the latest value) + /// MAX (Tracks the maximum value) + /// MIN (Tracks the minimum value) + /// SUM (Generates a rolling sum of the value) + /// + /// + public struct StatThresholds + { + /// + /// The name of the stat. + /// + public Utf8String Name { get; set; } + + /// + /// The value that the stat must surpass to satisfy the requirement for unlocking an achievement. + /// + public int Threshold { get; set; } + + internal void Set(ref StatThresholdsInternal other) + { + Name = other.Name; + Threshold = other.Threshold; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct StatThresholdsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Name; + private int m_Threshold; + + public Utf8String Name + { + get + { + Utf8String value; + Helper.Get(m_Name, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Name); + } + } + + public int Threshold + { + get + { + return m_Threshold; + } + + set + { + m_Threshold = value; + } + } + + public void Set(ref StatThresholds other) + { + m_ApiVersion = AchievementsInterface.StatthresholdsApiLatest; + Name = other.Name; + Threshold = other.Threshold; + } + + public void Set(ref StatThresholds? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.StatthresholdsApiLatest; + Name = other.Value.Name; + Threshold = other.Value.Threshold; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Name); + } + + public void Get(out StatThresholds output) + { + output = new StatThresholds(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/StatThresholds.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/StatThresholds.cs.meta deleted file mode 100644 index 8e89a648..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/StatThresholds.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bd2288a7805cc26488d332a2ff509c88 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockAchievementsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockAchievementsOptions.cs index 84179703..4ec604d2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockAchievementsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockAchievementsOptions.cs @@ -1,67 +1,69 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Input parameters for the function. - /// - public class UnlockAchievementsOptions - { - /// - /// The Product User ID for the user whose achievements we want to unlock. - /// - public ProductUserId UserId { get; set; } - - /// - /// An array of Achievement IDs to unlock. - /// - public string[] AchievementIds { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UnlockAchievementsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserId; - private System.IntPtr m_AchievementIds; - private uint m_AchievementsCount; - - public ProductUserId UserId - { - set - { - Helper.TryMarshalSet(ref m_UserId, value); - } - } - - public string[] AchievementIds - { - set - { - Helper.TryMarshalSet(ref m_AchievementIds, value, out m_AchievementsCount, true); - } - } - - public void Set(UnlockAchievementsOptions other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.UnlockachievementsApiLatest; - UserId = other.UserId; - AchievementIds = other.AchievementIds; - } - } - - public void Set(object other) - { - Set(other as UnlockAchievementsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserId); - Helper.TryMarshalDispose(ref m_AchievementIds); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Input parameters for the function. + /// + public struct UnlockAchievementsOptions + { + /// + /// The Product User ID for the user whose achievements we want to unlock. + /// + public ProductUserId UserId { get; set; } + + /// + /// An array of Achievement IDs to unlock. + /// + public Utf8String[] AchievementIds { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UnlockAchievementsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserId; + private System.IntPtr m_AchievementIds; + private uint m_AchievementsCount; + + public ProductUserId UserId + { + set + { + Helper.Set(value, ref m_UserId); + } + } + + public Utf8String[] AchievementIds + { + set + { + Helper.Set(value, ref m_AchievementIds, true, out m_AchievementsCount); + } + } + + public void Set(ref UnlockAchievementsOptions other) + { + m_ApiVersion = AchievementsInterface.UnlockachievementsApiLatest; + UserId = other.UserId; + AchievementIds = other.AchievementIds; + } + + public void Set(ref UnlockAchievementsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.UnlockachievementsApiLatest; + UserId = other.Value.UserId; + AchievementIds = other.Value.AchievementIds; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserId); + Helper.Dispose(ref m_AchievementIds); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockAchievementsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockAchievementsOptions.cs.meta deleted file mode 100644 index e50ba446..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockAchievementsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fb4406abb38d8c34a96f3108cb0bc2fa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockedAchievement.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockedAchievement.cs index bdee194c..e7d88891 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockedAchievement.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockedAchievement.cs @@ -1,93 +1,93 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Achievements -{ - /// - /// Contains information about a single unlocked achievement. - /// - public class UnlockedAchievement : ISettable - { - /// - /// Achievement ID that can be used to uniquely identify the unlocked achievement. - /// - public string AchievementId { get; set; } - - /// - /// If not then this is the POSIX timestamp that the achievement was unlocked. - /// - public System.DateTimeOffset? UnlockTime { get; set; } - - internal void Set(UnlockedAchievementInternal? other) - { - if (other != null) - { - AchievementId = other.Value.AchievementId; - UnlockTime = other.Value.UnlockTime; - } - } - - public void Set(object other) - { - Set(other as UnlockedAchievementInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UnlockedAchievementInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_AchievementId; - private long m_UnlockTime; - - public string AchievementId - { - get - { - string value; - Helper.TryMarshalGet(m_AchievementId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AchievementId, value); - } - } - - public System.DateTimeOffset? UnlockTime - { - get - { - System.DateTimeOffset? value; - Helper.TryMarshalGet(m_UnlockTime, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UnlockTime, value); - } - } - - public void Set(UnlockedAchievement other) - { - if (other != null) - { - m_ApiVersion = AchievementsInterface.UnlockedachievementApiLatest; - AchievementId = other.AchievementId; - UnlockTime = other.UnlockTime; - } - } - - public void Set(object other) - { - Set(other as UnlockedAchievement); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AchievementId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Achievements +{ + /// + /// Contains information about a single unlocked achievement. + /// + public struct UnlockedAchievement + { + /// + /// Achievement ID that can be used to uniquely identify the unlocked achievement. + /// + public Utf8String AchievementId { get; set; } + + /// + /// If not then this is the POSIX timestamp that the achievement was unlocked. + /// + public System.DateTimeOffset? UnlockTime { get; set; } + + internal void Set(ref UnlockedAchievementInternal other) + { + AchievementId = other.AchievementId; + UnlockTime = other.UnlockTime; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UnlockedAchievementInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_AchievementId; + private long m_UnlockTime; + + public Utf8String AchievementId + { + get + { + Utf8String value; + Helper.Get(m_AchievementId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AchievementId); + } + } + + public System.DateTimeOffset? UnlockTime + { + get + { + System.DateTimeOffset? value; + Helper.Get(m_UnlockTime, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UnlockTime); + } + } + + public void Set(ref UnlockedAchievement other) + { + m_ApiVersion = AchievementsInterface.UnlockedachievementApiLatest; + AchievementId = other.AchievementId; + UnlockTime = other.UnlockTime; + } + + public void Set(ref UnlockedAchievement? other) + { + if (other.HasValue) + { + m_ApiVersion = AchievementsInterface.UnlockedachievementApiLatest; + AchievementId = other.Value.AchievementId; + UnlockTime = other.Value.UnlockTime; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AchievementId); + } + + public void Get(out UnlockedAchievement output) + { + output = new UnlockedAchievement(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockedAchievement.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockedAchievement.cs.meta deleted file mode 100644 index a365bdbc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements/UnlockedAchievement.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: da69733683f54bb4aac4f665f61eff80 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/AndroidBindings.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/AndroidBindings.cs new file mode 100644 index 00000000..43ebe0a9 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/AndroidBindings.cs @@ -0,0 +1,116 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +#if DEBUG + #define EOS_DEBUG +#endif + +#if UNITY_EDITOR + #define EOS_EDITOR +#endif + +#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_PS4 || UNITY_XBOXONE || UNITY_SWITCH || UNITY_IOS || UNITY_ANDROID + #define EOS_UNITY +#endif + +#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN || PLATFORM_64BITS || PLATFORM_32BITS + #if UNITY_EDITOR_WIN || UNITY_64 || PLATFORM_64BITS + #define EOS_PLATFORM_WINDOWS_64 + #else + #define EOS_PLATFORM_WINDOWS_32 + #endif + +#elif UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX + #define EOS_PLATFORM_OSX + +#elif UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX + #define EOS_PLATFORM_LINUX + +#elif UNITY_PS4 + #define EOS_PLATFORM_PS4 + +#elif UNITY_XBOXONE + #define EOS_PLATFORM_XBOXONE + +#elif UNITY_SWITCH + #define EOS_PLATFORM_SWITCH + +#elif UNITY_IOS || __IOS__ + #define EOS_PLATFORM_IOS + +#elif UNITY_ANDROID || __ANDROID__ + #define EOS_PLATFORM_ANDROID + +#endif + +#if EOS_EDITOR + #define EOS_DYNAMIC_BINDINGS +#endif + +#if EOS_DYNAMIC_BINDINGS + #if EOS_PLATFORM_WINDOWS_32 + #define EOS_DYNAMIC_BINDINGS_NAME_TYPE3 + #elif EOS_PLATFORM_OSX + #define EOS_DYNAMIC_BINDINGS_NAME_TYPE2 + #else + #define EOS_DYNAMIC_BINDINGS_NAME_TYPE1 + #endif +#endif + +using System; +using System.Runtime.InteropServices; + +namespace Epic.OnlineServices +{ + public static class AndroidBindings + { +#if EOS_DYNAMIC_BINDINGS_NAME_TYPE1 + private const string EOS_InitializeName = "EOS_Initialize"; +#endif + +#if EOS_DYNAMIC_BINDINGS_NAME_TYPE2 + private const string EOS_InitializeName = "_EOS_Initialize"; +#endif + +#if EOS_DYNAMIC_BINDINGS_NAME_TYPE3 + private const string EOS_InitializeName = "_EOS_Initialize@4"; +#endif + +#if EOS_DYNAMIC_BINDINGS + /// + /// Hooks the dynamic SDK API bindings. EOS_DYNAMIC_BINDINGS or EOS_EDITOR must be set. + /// + /// The library handle to find functions in. The type is platform dependent, but would typically be . + /// A delegate that gets a function pointer using the given library handle and function name. + public static void Hook(TLibraryHandle libraryHandle, Func getFunctionPointer) + { + System.IntPtr functionPointer; + + functionPointer = getFunctionPointer(libraryHandle, EOS_InitializeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_InitializeName); + EOS_Initialize = (EOS_InitializeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_InitializeDelegate)); + } +#endif + +#if EOS_DYNAMIC_BINDINGS + /// + /// Unhooks the dynamic SDK API bindings. EOS_DYNAMIC_BINDINGS or EOS_EDITOR must be set. + /// + public static void Unhook() + { + EOS_Initialize = null; + } +#endif + +#if EOS_DYNAMIC_BINDINGS + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_InitializeDelegate(ref Platform.AndroidInitializeOptionsInternal options); + internal static EOS_InitializeDelegate EOS_Initialize; +#endif + +#if !EOS_DYNAMIC_BINDINGS + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Initialize(ref Platform.AndroidInitializeOptionsInternal options); +#endif + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptions.cs index f5ebd549..6b893163 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptions.cs @@ -1,171 +1,179 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - /// - /// Options for initializing the Epic Online Services SDK. - /// - public class AndroidInitializeOptions - { - /// - /// A custom memory allocator, if desired. - /// - public System.IntPtr AllocateMemoryFunction { get; set; } - - /// - /// A corresponding memory reallocator. If the AllocateMemoryFunction is nulled, then this field must also be nulled. - /// - public System.IntPtr ReallocateMemoryFunction { get; set; } - - /// - /// A corresponding memory releaser. If the AllocateMemoryFunction is nulled, then this field must also be nulled. - /// - public System.IntPtr ReleaseMemoryFunction { get; set; } - - /// - /// The name of the product using the Epic Online Services SDK. - /// - /// The name string is required to be non-empty and at maximum of 64 characters long. - /// The string buffer can consist of the following characters: - /// A-Z, a-z, 0-9, dot, underscore, space, exclamation mark, question mark, and sign, hyphen, parenthesis, plus, minus, colon. - /// - public string ProductName { get; set; } - - /// - /// Product version of the running application. - /// - /// The name string has same requirements as the ProductName string. - /// - public string ProductVersion { get; set; } - - /// - /// A reserved field that should always be nulled. - /// - public System.IntPtr Reserved { get; set; } - - /// - /// This field is for system specific initialization if any. - /// - /// If provided then the structure will be located in /eos_.h. - /// The structure will be named EOS__InitializeOptions. - /// - public AndroidInitializeOptionsSystemInitializeOptions SystemInitializeOptions { get; set; } - - /// - /// The thread affinity override values for each category of thread. - /// - public InitializeThreadAffinity OverrideThreadAffinity { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AndroidInitializeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_AllocateMemoryFunction; - private System.IntPtr m_ReallocateMemoryFunction; - private System.IntPtr m_ReleaseMemoryFunction; - private System.IntPtr m_ProductName; - private System.IntPtr m_ProductVersion; - private System.IntPtr m_Reserved; - private System.IntPtr m_SystemInitializeOptions; - private System.IntPtr m_OverrideThreadAffinity; - - public System.IntPtr AllocateMemoryFunction - { - set - { - m_AllocateMemoryFunction = value; - } - } - - public System.IntPtr ReallocateMemoryFunction - { - set - { - m_ReallocateMemoryFunction = value; - } - } - - public System.IntPtr ReleaseMemoryFunction - { - set - { - m_ReleaseMemoryFunction = value; - } - } - - public string ProductName - { - set - { - Helper.TryMarshalSet(ref m_ProductName, value); - } - } - - public string ProductVersion - { - set - { - Helper.TryMarshalSet(ref m_ProductVersion, value); - } - } - - public System.IntPtr Reserved - { - set - { - m_Reserved = value; - } - } - - public AndroidInitializeOptionsSystemInitializeOptions SystemInitializeOptions - { - set - { - Helper.TryMarshalSet(ref m_SystemInitializeOptions, value); - } - } - - public InitializeThreadAffinity OverrideThreadAffinity - { - set - { - Helper.TryMarshalSet(ref m_OverrideThreadAffinity, value); - } - } - - public void Set(AndroidInitializeOptions other) - { - if (other != null) - { - m_ApiVersion = PlatformInterface.InitializeApiLatest; - AllocateMemoryFunction = other.AllocateMemoryFunction; - ReallocateMemoryFunction = other.ReallocateMemoryFunction; - ReleaseMemoryFunction = other.ReleaseMemoryFunction; - ProductName = other.ProductName; - ProductVersion = other.ProductVersion; - Reserved = other.Reserved; - SystemInitializeOptions = other.SystemInitializeOptions; - OverrideThreadAffinity = other.OverrideThreadAffinity; - } - } - - public void Set(object other) - { - Set(other as AndroidInitializeOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AllocateMemoryFunction); - Helper.TryMarshalDispose(ref m_ReallocateMemoryFunction); - Helper.TryMarshalDispose(ref m_ReleaseMemoryFunction); - Helper.TryMarshalDispose(ref m_ProductName); - Helper.TryMarshalDispose(ref m_ProductVersion); - Helper.TryMarshalDispose(ref m_Reserved); - Helper.TryMarshalDispose(ref m_SystemInitializeOptions); - Helper.TryMarshalDispose(ref m_OverrideThreadAffinity); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Options for initializing the Epic Online Services SDK. + /// + public struct AndroidInitializeOptions + { + /// + /// A custom memory allocator, if desired. + /// + public System.IntPtr AllocateMemoryFunction { get; set; } + + /// + /// A corresponding memory reallocator. If the AllocateMemoryFunction is nulled, then this field must also be nulled. + /// + public System.IntPtr ReallocateMemoryFunction { get; set; } + + /// + /// A corresponding memory releaser. If the AllocateMemoryFunction is nulled, then this field must also be nulled. + /// + public System.IntPtr ReleaseMemoryFunction { get; set; } + + /// + /// The name of the product using the Epic Online Services SDK. + /// + /// The name string is required to be non-empty and at maximum of 64 characters long. + /// The string buffer can consist of the following characters: + /// A-Z, a-z, 0-9, dot, underscore, space, exclamation mark, question mark, and sign, hyphen, parenthesis, plus, minus, colon. + /// + public Utf8String ProductName { get; set; } + + /// + /// Product version of the running application. + /// + /// The name string has same requirements as the ProductName string. + /// + public Utf8String ProductVersion { get; set; } + + /// + /// A reserved field that should always be nulled. + /// + public System.IntPtr Reserved { get; set; } + + /// + /// This field is for system specific initialization if any. + /// + /// If provided then the structure will be located in /eos_.h. + /// The structure will be named EOS__InitializeOptions. + /// + public AndroidInitializeOptionsSystemInitializeOptions? SystemInitializeOptions { get; set; } + + /// + /// The thread affinity override values for each category of thread. + /// + public InitializeThreadAffinity? OverrideThreadAffinity { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AndroidInitializeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_AllocateMemoryFunction; + private System.IntPtr m_ReallocateMemoryFunction; + private System.IntPtr m_ReleaseMemoryFunction; + private System.IntPtr m_ProductName; + private System.IntPtr m_ProductVersion; + private System.IntPtr m_Reserved; + private System.IntPtr m_SystemInitializeOptions; + private System.IntPtr m_OverrideThreadAffinity; + + public System.IntPtr AllocateMemoryFunction + { + set + { + m_AllocateMemoryFunction = value; + } + } + + public System.IntPtr ReallocateMemoryFunction + { + set + { + m_ReallocateMemoryFunction = value; + } + } + + public System.IntPtr ReleaseMemoryFunction + { + set + { + m_ReleaseMemoryFunction = value; + } + } + + public Utf8String ProductName + { + set + { + Helper.Set(value, ref m_ProductName); + } + } + + public Utf8String ProductVersion + { + set + { + Helper.Set(value, ref m_ProductVersion); + } + } + + public System.IntPtr Reserved + { + set + { + m_Reserved = value; + } + } + + public AndroidInitializeOptionsSystemInitializeOptions? SystemInitializeOptions + { + set + { + Helper.Set(ref value, ref m_SystemInitializeOptions); + } + } + + public InitializeThreadAffinity? OverrideThreadAffinity + { + set + { + Helper.Set(ref value, ref m_OverrideThreadAffinity); + } + } + + public void Set(ref AndroidInitializeOptions other) + { + m_ApiVersion = PlatformInterface.InitializeApiLatest; + AllocateMemoryFunction = other.AllocateMemoryFunction; + ReallocateMemoryFunction = other.ReallocateMemoryFunction; + ReleaseMemoryFunction = other.ReleaseMemoryFunction; + ProductName = other.ProductName; + ProductVersion = other.ProductVersion; + Reserved = other.Reserved; + SystemInitializeOptions = other.SystemInitializeOptions; + OverrideThreadAffinity = other.OverrideThreadAffinity; + } + + public void Set(ref AndroidInitializeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlatformInterface.InitializeApiLatest; + AllocateMemoryFunction = other.Value.AllocateMemoryFunction; + ReallocateMemoryFunction = other.Value.ReallocateMemoryFunction; + ReleaseMemoryFunction = other.Value.ReleaseMemoryFunction; + ProductName = other.Value.ProductName; + ProductVersion = other.Value.ProductVersion; + Reserved = other.Value.Reserved; + SystemInitializeOptions = other.Value.SystemInitializeOptions; + OverrideThreadAffinity = other.Value.OverrideThreadAffinity; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AllocateMemoryFunction); + Helper.Dispose(ref m_ReallocateMemoryFunction); + Helper.Dispose(ref m_ReleaseMemoryFunction); + Helper.Dispose(ref m_ProductName); + Helper.Dispose(ref m_ProductVersion); + Helper.Dispose(ref m_Reserved); + Helper.Dispose(ref m_SystemInitializeOptions); + Helper.Dispose(ref m_OverrideThreadAffinity); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptions.cs.meta deleted file mode 100644 index ac1ca3fd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e7df45f6b7ad84746b10516893503a1c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptionsSystemInitializeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptionsSystemInitializeOptions.cs index 5c35608e..4cee30c1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptionsSystemInitializeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptionsSystemInitializeOptions.cs @@ -1,116 +1,117 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - /// - /// Options for initializing mount paths required for some platforms. - /// - public class AndroidInitializeOptionsSystemInitializeOptions : ISettable - { - /// - /// Reserved, set to null - /// - public System.IntPtr Reserved { get; set; } - - /// - /// Full internal directory path. Can be null - /// - public string OptionalInternalDirectory { get; set; } - - /// - /// Full external directory path. Can be null - /// - public string OptionalExternalDirectory { get; set; } - - internal void Set(AndroidInitializeOptionsSystemInitializeOptionsInternal? other) - { - if (other != null) - { - Reserved = other.Value.Reserved; - OptionalInternalDirectory = other.Value.OptionalInternalDirectory; - OptionalExternalDirectory = other.Value.OptionalExternalDirectory; - } - } - - public void Set(object other) - { - Set(other as AndroidInitializeOptionsSystemInitializeOptionsInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AndroidInitializeOptionsSystemInitializeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Reserved; - private System.IntPtr m_OptionalInternalDirectory; - private System.IntPtr m_OptionalExternalDirectory; - - public System.IntPtr Reserved - { - get - { - return m_Reserved; - } - - set - { - m_Reserved = value; - } - } - - public string OptionalInternalDirectory - { - get - { - string value; - Helper.TryMarshalGet(m_OptionalInternalDirectory, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_OptionalInternalDirectory, value); - } - } - - public string OptionalExternalDirectory - { - get - { - string value; - Helper.TryMarshalGet(m_OptionalExternalDirectory, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_OptionalExternalDirectory, value); - } - } - - public void Set(AndroidInitializeOptionsSystemInitializeOptions other) - { - if (other != null) - { - m_ApiVersion = PlatformInterface.AndroidinitializeoptionssysteminitializeoptionsApiLatest; - Reserved = other.Reserved; - OptionalInternalDirectory = other.OptionalInternalDirectory; - OptionalExternalDirectory = other.OptionalExternalDirectory; - } - } - - public void Set(object other) - { - Set(other as AndroidInitializeOptionsSystemInitializeOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Reserved); - Helper.TryMarshalDispose(ref m_OptionalInternalDirectory); - Helper.TryMarshalDispose(ref m_OptionalExternalDirectory); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Options for initializing mount paths required for some platforms. + /// + public struct AndroidInitializeOptionsSystemInitializeOptions + { + /// + /// Reserved, set to null + /// + public System.IntPtr Reserved { get; set; } + + /// + /// Full internal directory path. Can be null + /// + public Utf8String OptionalInternalDirectory { get; set; } + + /// + /// Full external directory path. Can be null + /// + public Utf8String OptionalExternalDirectory { get; set; } + + internal void Set(ref AndroidInitializeOptionsSystemInitializeOptionsInternal other) + { + Reserved = other.Reserved; + OptionalInternalDirectory = other.OptionalInternalDirectory; + OptionalExternalDirectory = other.OptionalExternalDirectory; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AndroidInitializeOptionsSystemInitializeOptionsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Reserved; + private System.IntPtr m_OptionalInternalDirectory; + private System.IntPtr m_OptionalExternalDirectory; + + public System.IntPtr Reserved + { + get + { + return m_Reserved; + } + + set + { + m_Reserved = value; + } + } + + public Utf8String OptionalInternalDirectory + { + get + { + Utf8String value; + Helper.Get(m_OptionalInternalDirectory, out value); + return value; + } + + set + { + Helper.Set(value, ref m_OptionalInternalDirectory); + } + } + + public Utf8String OptionalExternalDirectory + { + get + { + Utf8String value; + Helper.Get(m_OptionalExternalDirectory, out value); + return value; + } + + set + { + Helper.Set(value, ref m_OptionalExternalDirectory); + } + } + + public void Set(ref AndroidInitializeOptionsSystemInitializeOptions other) + { + m_ApiVersion = PlatformInterface.AndroidInitializeoptionssysteminitializeoptionsApiLatest; + Reserved = other.Reserved; + OptionalInternalDirectory = other.OptionalInternalDirectory; + OptionalExternalDirectory = other.OptionalExternalDirectory; + } + + public void Set(ref AndroidInitializeOptionsSystemInitializeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlatformInterface.AndroidInitializeoptionssysteminitializeoptionsApiLatest; + Reserved = other.Value.Reserved; + OptionalInternalDirectory = other.Value.OptionalInternalDirectory; + OptionalExternalDirectory = other.Value.OptionalExternalDirectory; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Reserved); + Helper.Dispose(ref m_OptionalInternalDirectory); + Helper.Dispose(ref m_OptionalExternalDirectory); + } + + public void Get(out AndroidInitializeOptionsSystemInitializeOptions output) + { + output = new AndroidInitializeOptionsSystemInitializeOptions(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptionsSystemInitializeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptionsSystemInitializeOptions.cs.meta deleted file mode 100644 index 4c10c3ff..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/AndroidInitializeOptionsSystemInitializeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 57b5833a3ee6b2b4dac4d3c6ebd119b6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/PlatformInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/PlatformInterface.cs index 4d536892..3b7b72e1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/PlatformInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/PlatformInterface.cs @@ -1,25 +1,25 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - public sealed partial class PlatformInterface : Handle - { - /// - /// The most recent version of the structure. - /// - public const int AndroidinitializeoptionssysteminitializeoptionsApiLatest = 2; - - public static Result Initialize(AndroidInitializeOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Initialize(optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + public sealed partial class PlatformInterface : Handle + { + /// + /// The most recent version of the structure. + /// + public const int AndroidInitializeoptionssysteminitializeoptionsApiLatest = 2; + + public static Result Initialize(ref AndroidInitializeOptions options) + { + AndroidInitializeOptionsInternal optionsInternal = new AndroidInitializeOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = AndroidBindings.EOS_Initialize(ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/PlatformInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/PlatformInterface.cs.meta deleted file mode 100644 index 202447a4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform/PlatformInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 91d2dafb12ada2c40819e5aef8662bc0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient.meta deleted file mode 100644 index 32678cbd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b6ea4fc7c3c544943bae5aaeb06710d2 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddExternalIntegrityCatalogOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddExternalIntegrityCatalogOptions.cs index f71a4d2a..1fd6871f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddExternalIntegrityCatalogOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddExternalIntegrityCatalogOptions.cs @@ -1,47 +1,48 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class AddExternalIntegrityCatalogOptions - { - /// - /// UTF-8 path to the .bin catalog file to add - /// - public string PathToBinFile { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddExternalIntegrityCatalogOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_PathToBinFile; - - public string PathToBinFile - { - set - { - Helper.TryMarshalSet(ref m_PathToBinFile, value); - } - } - - public void Set(AddExternalIntegrityCatalogOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.AddexternalintegritycatalogApiLatest; - PathToBinFile = other.PathToBinFile; - } - } - - public void Set(object other) - { - Set(other as AddExternalIntegrityCatalogOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_PathToBinFile); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct AddExternalIntegrityCatalogOptions + { + /// + /// UTF-8 path to the .bin catalog file to add + /// + public Utf8String PathToBinFile { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddExternalIntegrityCatalogOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_PathToBinFile; + + public Utf8String PathToBinFile + { + set + { + Helper.Set(value, ref m_PathToBinFile); + } + } + + public void Set(ref AddExternalIntegrityCatalogOptions other) + { + m_ApiVersion = AntiCheatClientInterface.AddexternalintegritycatalogApiLatest; + PathToBinFile = other.PathToBinFile; + } + + public void Set(ref AddExternalIntegrityCatalogOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.AddexternalintegritycatalogApiLatest; + PathToBinFile = other.Value.PathToBinFile; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_PathToBinFile); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddExternalIntegrityCatalogOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddExternalIntegrityCatalogOptions.cs.meta deleted file mode 100644 index ff92f7b3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddExternalIntegrityCatalogOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 37835da4a29fb494a83661e48a363e04 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyClientIntegrityViolatedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyClientIntegrityViolatedOptions.cs new file mode 100644 index 00000000..14d0cf73 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyClientIntegrityViolatedOptions.cs @@ -0,0 +1,32 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct AddNotifyClientIntegrityViolatedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyClientIntegrityViolatedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyClientIntegrityViolatedOptions other) + { + m_ApiVersion = AntiCheatClientInterface.AddnotifyclientintegrityviolatedApiLatest; + } + + public void Set(ref AddNotifyClientIntegrityViolatedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.AddnotifyclientintegrityviolatedApiLatest; + } + } + + public void Dispose() + { + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToPeerOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToPeerOptions.cs index e1f69c98..21e4a11f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToPeerOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToPeerOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class AddNotifyMessageToPeerOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyMessageToPeerOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyMessageToPeerOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.AddnotifymessagetopeerApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyMessageToPeerOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct AddNotifyMessageToPeerOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyMessageToPeerOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyMessageToPeerOptions other) + { + m_ApiVersion = AntiCheatClientInterface.AddnotifymessagetopeerApiLatest; + } + + public void Set(ref AddNotifyMessageToPeerOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.AddnotifymessagetopeerApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToPeerOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToPeerOptions.cs.meta deleted file mode 100644 index 47406e16..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToPeerOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3ab712a264803b24991e0b02f5afc3a8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToServerOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToServerOptions.cs index 92555382..1cfe34a7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToServerOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToServerOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class AddNotifyMessageToServerOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyMessageToServerOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyMessageToServerOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.AddnotifymessagetoserverApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyMessageToServerOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct AddNotifyMessageToServerOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyMessageToServerOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyMessageToServerOptions other) + { + m_ApiVersion = AntiCheatClientInterface.AddnotifymessagetoserverApiLatest; + } + + public void Set(ref AddNotifyMessageToServerOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.AddnotifymessagetoserverApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToServerOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToServerOptions.cs.meta deleted file mode 100644 index d5aa272c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyMessageToServerOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0f20d6582521c684db396e8e6378ffeb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerActionRequiredOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerActionRequiredOptions.cs index f3a5dd10..880ca0b0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerActionRequiredOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerActionRequiredOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class AddNotifyPeerActionRequiredOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyPeerActionRequiredOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyPeerActionRequiredOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.AddnotifypeeractionrequiredApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyPeerActionRequiredOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct AddNotifyPeerActionRequiredOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyPeerActionRequiredOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyPeerActionRequiredOptions other) + { + m_ApiVersion = AntiCheatClientInterface.AddnotifypeeractionrequiredApiLatest; + } + + public void Set(ref AddNotifyPeerActionRequiredOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.AddnotifypeeractionrequiredApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerActionRequiredOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerActionRequiredOptions.cs.meta deleted file mode 100644 index 9a1fa800..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerActionRequiredOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bb40b656855d7af4580923c0c83e034b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerAuthStatusChangedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerAuthStatusChangedOptions.cs index b9feae8c..f4300ca7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerAuthStatusChangedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerAuthStatusChangedOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class AddNotifyPeerAuthStatusChangedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyPeerAuthStatusChangedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyPeerAuthStatusChangedOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.AddnotifypeerauthstatuschangedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyPeerAuthStatusChangedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct AddNotifyPeerAuthStatusChangedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyPeerAuthStatusChangedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyPeerAuthStatusChangedOptions other) + { + m_ApiVersion = AntiCheatClientInterface.AddnotifypeerauthstatuschangedApiLatest; + } + + public void Set(ref AddNotifyPeerAuthStatusChangedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.AddnotifypeerauthstatuschangedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerAuthStatusChangedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerAuthStatusChangedOptions.cs.meta deleted file mode 100644 index a2af8732..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AddNotifyPeerAuthStatusChangedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8c2c834c0c1490b41b5879f20d33e2be -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientInterface.cs index 0cd3c3a0..8f080c91 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientInterface.cs @@ -1,563 +1,628 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public sealed partial class AntiCheatClientInterface : Handle - { - public AntiCheatClientInterface() - { - } - - public AntiCheatClientInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - public const int AddexternalintegritycatalogApiLatest = 1; - - public const int AddnotifymessagetopeerApiLatest = 1; - - public const int AddnotifymessagetoserverApiLatest = 1; - - public const int AddnotifypeeractionrequiredApiLatest = 1; - - public const int AddnotifypeerauthstatuschangedApiLatest = 1; - - public const int BeginsessionApiLatest = 3; - - public const int EndsessionApiLatest = 1; - - public const int GetprotectmessageoutputlengthApiLatest = 1; - - /// - /// A special peer handle that represents the client itself. - /// It does not need to be registered or unregistered and is - /// used in OnPeerActionRequiredCallback to quickly signal to the user - /// that they will not be able to join online play. - /// - public const int PeerSelf = (-1); - - public const int PollstatusApiLatest = 1; - - public const int ProtectmessageApiLatest = 1; - - public const int ReceivemessagefrompeerApiLatest = 1; - - public const int ReceivemessagefromserverApiLatest = 1; - - public const int RegisterpeerApiLatest = 1; - - public const int UnprotectmessageApiLatest = 1; - - public const int UnregisterpeerApiLatest = 1; - - /// - /// Optional. Adds an integrity catalog and certificate pair from outside the game directory, - /// for example to support mods that load from elsewhere. - /// Mode: All - /// - /// Structure containing input data. - /// - /// - If the integrity catalog was added successfully - /// - If input data was invalid - /// - public Result AddExternalIntegrityCatalog(AddExternalIntegrityCatalogOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatClient_AddExternalIntegrityCatalog(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Add a callback issued when a new message must be dispatched to a connected peer. The bound function will only be called - /// between a successful call to and the matching call in mode . - /// Mode: . - /// - /// Structure containing input data - /// This value is returned to the caller when NotificationFn is invoked - /// The callback to be fired - /// - /// A valid notification ID if successfully bound, or otherwise - /// - public ulong AddNotifyMessageToPeer(AddNotifyMessageToPeerOptions options, object clientData, OnMessageToPeerCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnMessageToPeerCallbackInternal(OnMessageToPeerCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_AntiCheatClient_AddNotifyMessageToPeer(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Add a callback issued when a new message must be dispatched to the game server. The bound function will only be called - /// between a successful call to and the matching call in mode . - /// Mode: . - /// - /// Structure containing input data - /// This value is returned to the caller when NotificationFn is invoked - /// The callback to be fired - /// - /// A valid notification ID if successfully bound, or otherwise - /// - public ulong AddNotifyMessageToServer(AddNotifyMessageToServerOptions options, object clientData, OnMessageToServerCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnMessageToServerCallbackInternal(OnMessageToServerCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_AntiCheatClient_AddNotifyMessageToServer(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Add a callback issued when an action must be applied to a connected client. The bound function will only be called - /// between a successful call to and the matching call in mode . - /// Mode: . - /// - /// Structure containing input data - /// This value is returned to the caller when NotificationFn is invoked - /// The callback to be fired - /// - /// A valid notification ID if successfully bound, or otherwise - /// - public ulong AddNotifyPeerActionRequired(AddNotifyPeerActionRequiredOptions options, object clientData, OnPeerActionRequiredCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnPeerActionRequiredCallbackInternal(OnPeerActionRequiredCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_AntiCheatClient_AddNotifyPeerActionRequired(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Add an optional callback issued when a connected peer's authentication status changes. The bound function will only be called - /// between a successful call to and the matching call in mode . - /// Mode: . - /// - /// Structure containing input data - /// This value is returned to the caller when NotificationFn is invoked - /// The callback to be fired - /// - /// A valid notification ID if successfully bound, or otherwise - /// - public ulong AddNotifyPeerAuthStatusChanged(AddNotifyPeerAuthStatusChangedOptions options, object clientData, OnPeerAuthStatusChangedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnPeerAuthStatusChangedCallbackInternal(OnPeerAuthStatusChangedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Begins a multiplayer game session. After this call returns successfully, the client is ready to exchange - /// anti-cheat messages with a game server or peer(s). When leaving one game session and connecting to a - /// different one, a new anti-cheat session must be created by calling and again. - /// Mode: All - /// - /// Structure containing input data. - /// - /// - If the session was started successfully - /// - If input data was invalid - /// - If the current mode does not support this function - /// - public Result BeginSession(BeginSessionOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatClient_BeginSession(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Ends a multiplayer game session, either by leaving an ongoing session or shutting it down entirely. - /// Mode: All - /// - /// Must be called when the multiplayer session ends, or when the local user leaves a session in progress. - /// - /// Structure containing input data. - /// - /// - If the session was ended normally - /// - If input data was invalid - /// - If the current mode does not support this function - /// - public Result EndSession(EndSessionOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatClient_EndSession(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional NetProtect feature for game message encryption. - /// Calculates the required decrypted buffer size for a given input data length. - /// This will not change for a given SDK version, and allows one time allocation of reusable buffers. - /// Mode: . - /// - /// Structure containing input data. - /// The length in bytes that is required to call ProtectMessage on the given input size. - /// - /// - If the output length was calculated successfully - /// - If input data was invalid - /// - If the current mode does not support this function - /// - public Result GetProtectMessageOutputLength(GetProtectMessageOutputLengthOptions options, out uint outBufferLengthBytes) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - outBufferLengthBytes = Helper.GetDefault(); - - var funcResult = Bindings.EOS_AntiCheatClient_GetProtectMessageOutputLength(InnerHandle, optionsAddress, ref outBufferLengthBytes); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Polls for changes in client integrity status. - /// Mode: All - /// - /// The purpose of this function is to allow the game to display information - /// about anti-cheat integrity problems to the user. These are often the result of a - /// corrupt game installation rather than cheating attempts. This function does not - /// check for violations, it only provides information about violations which have - /// automatically been discovered by the anti-cheat client. Such a violation may occur - /// at any time and afterwards the user will be unable to join any protected multiplayer - /// session until after restarting the game. - /// - /// Structure containing input data. - /// On success, receives a code describing the violation that occurred. - /// On success, receives a string describing the violation which should be displayed to the user. - /// - /// - If violation information was returned successfully - /// - If OutMessage is too small to receive the message string. Call again with a larger OutMessage. - /// - If no violation has occurred since the last call - /// - public Result PollStatus(PollStatusOptions options, AntiCheatClientViolationType violationType, out string outMessage) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - System.IntPtr outMessageAddress = System.IntPtr.Zero; - uint OutMessageLength = options.OutMessageLength; - Helper.TryMarshalAllocate(ref outMessageAddress, OutMessageLength, out _); - - var funcResult = Bindings.EOS_AntiCheatClient_PollStatus(InnerHandle, optionsAddress, violationType, outMessageAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outMessageAddress, out outMessage); - Helper.TryMarshalDispose(ref outMessageAddress); - - return funcResult; - } - - /// - /// Optional NetProtect feature for game message encryption. - /// Encrypts an arbitrary message that will be sent to the game server and decrypted on the other side. - /// Mode: . - /// - /// Options.Data and OutBuffer may refer to the same buffer to encrypt in place. - /// - /// Structure containing input data. - /// On success, buffer where encrypted message data will be written. - /// Number of bytes that were written to OutBuffer. - /// - /// - If the message was protected successfully - /// - If input data was invalid - /// - If the current mode does not support this function - /// - public Result ProtectMessage(ProtectMessageOptions options, out byte[] outBuffer) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - System.IntPtr outBufferAddress = System.IntPtr.Zero; - uint outBufferLengthBytes = options.OutBufferSizeBytes; - Helper.TryMarshalAllocate(ref outBufferAddress, outBufferLengthBytes, out _); - - var funcResult = Bindings.EOS_AntiCheatClient_ProtectMessage(InnerHandle, optionsAddress, outBufferAddress, ref outBufferLengthBytes); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer, outBufferLengthBytes); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// Call when an anti-cheat message is received from a peer. - /// Mode: . - /// - /// Structure containing input data. - /// - /// - If the message was processed successfully - /// - If input data was invalid - /// - If the current mode does not support this function - /// - public Result ReceiveMessageFromPeer(ReceiveMessageFromPeerOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatClient_ReceiveMessageFromPeer(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Call when an anti-cheat message is received from the game server. - /// Mode: . - /// - /// Structure containing input data. - /// - /// - If the message was processed successfully - /// - If input data was invalid - /// - If the current mode does not support this function - /// - public Result ReceiveMessageFromServer(ReceiveMessageFromServerOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatClient_ReceiveMessageFromServer(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Registers a connected peer-to-peer client. - /// Mode: . - /// - /// Must be paired with a call to if this user leaves the session - /// in progress, or if the entire session is ending. - /// - /// Structure containing input data. - /// - /// - If the player was registered successfully - /// - If input data was invalid - /// - If the current mode does not support this function - /// - public Result RegisterPeer(RegisterPeerOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatClient_RegisterPeer(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Remove a previously bound handler. - /// Mode: Any. - /// - /// The previously bound notification ID - public void RemoveNotifyMessageToPeer(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_AntiCheatClient_RemoveNotifyMessageToPeer(InnerHandle, notificationId); - } - - /// - /// Remove a previously bound handler. - /// Mode: Any. - /// - /// The previously bound notification ID - public void RemoveNotifyMessageToServer(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_AntiCheatClient_RemoveNotifyMessageToServer(InnerHandle, notificationId); - } - - /// - /// Remove a previously bound handler. - /// Mode: Any. - /// - /// The previously bound notification ID - public void RemoveNotifyPeerActionRequired(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_AntiCheatClient_RemoveNotifyPeerActionRequired(InnerHandle, notificationId); - } - - /// - /// Remove a previously bound handler. - /// Mode: Any. - /// - /// The previously bound notification ID - public void RemoveNotifyPeerAuthStatusChanged(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged(InnerHandle, notificationId); - } - - /// - /// Optional NetProtect feature for game message encryption. - /// Decrypts an encrypted message received from the game server. - /// Mode: . - /// - /// Options.Data and OutBuffer may refer to the same buffer to decrypt in place. - /// - /// Structure containing input data. - /// On success, buffer where encrypted message data will be written. - /// Number of bytes that were written to OutBuffer. - /// - /// - If the message was unprotected successfully - /// - If input data was invalid - /// - If the current mode does not support this function - /// - public Result UnprotectMessage(UnprotectMessageOptions options, out byte[] outBuffer) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - System.IntPtr outBufferAddress = System.IntPtr.Zero; - uint outBufferLengthBytes = options.OutBufferSizeBytes; - Helper.TryMarshalAllocate(ref outBufferAddress, outBufferLengthBytes, out _); - - var funcResult = Bindings.EOS_AntiCheatClient_UnprotectMessage(InnerHandle, optionsAddress, outBufferAddress, ref outBufferLengthBytes); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer, outBufferLengthBytes); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// Unregisters a disconnected peer-to-peer client. - /// Mode: . - /// - /// Must be called when a user leaves a session in progress. - /// - /// Structure containing input data. - /// - /// - If the player was unregistered successfully - /// - If input data was invalid - /// - If the current mode does not support this function - /// - public Result UnregisterPeer(UnregisterPeerOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatClient_UnregisterPeer(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - [MonoPInvokeCallback(typeof(OnMessageToPeerCallbackInternal))] - internal static void OnMessageToPeerCallbackInternalImplementation(System.IntPtr data) - { - OnMessageToPeerCallback callback; - AntiCheatCommon.OnMessageToClientCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnMessageToServerCallbackInternal))] - internal static void OnMessageToServerCallbackInternalImplementation(System.IntPtr data) - { - OnMessageToServerCallback callback; - OnMessageToServerCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnPeerActionRequiredCallbackInternal))] - internal static void OnPeerActionRequiredCallbackInternalImplementation(System.IntPtr data) - { - OnPeerActionRequiredCallback callback; - AntiCheatCommon.OnClientActionRequiredCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnPeerAuthStatusChangedCallbackInternal))] - internal static void OnPeerAuthStatusChangedCallbackInternalImplementation(System.IntPtr data) - { - OnPeerAuthStatusChangedCallback callback; - AntiCheatCommon.OnClientAuthStatusChangedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public sealed partial class AntiCheatClientInterface : Handle + { + public AntiCheatClientInterface() + { + } + + public AntiCheatClientInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + public const int AddexternalintegritycatalogApiLatest = 1; + + public const int AddnotifyclientintegrityviolatedApiLatest = 1; + + public const int AddnotifymessagetopeerApiLatest = 1; + + public const int AddnotifymessagetoserverApiLatest = 1; + + public const int AddnotifypeeractionrequiredApiLatest = 1; + + public const int AddnotifypeerauthstatuschangedApiLatest = 1; + + public const int BeginsessionApiLatest = 3; + + public const int EndsessionApiLatest = 1; + + public const int GetprotectmessageoutputlengthApiLatest = 1; + + /// + /// A special peer handle that represents the client itself. + /// It does not need to be registered or unregistered and is + /// used in OnPeerActionRequiredCallback to quickly signal to the user + /// that they will not be able to join online play. + /// + public System.IntPtr PeerSelf = (System.IntPtr)(-1); + + public const int PollstatusApiLatest = 1; + + public const int ProtectmessageApiLatest = 1; + + public const int ReceivemessagefrompeerApiLatest = 1; + + public const int ReceivemessagefromserverApiLatest = 1; + + public const int RegisterpeerApiLatest = 3; + + public const int RegisterpeerMaxAuthenticationtimeout = 120; + + /// + /// Limits on RegisterTimeoutSeconds parameter + /// + public const int RegisterpeerMinAuthenticationtimeout = 40; + + public const int UnprotectmessageApiLatest = 1; + + public const int UnregisterpeerApiLatest = 1; + + /// + /// Optional. Adds an integrity catalog and certificate pair from outside the game directory, + /// for example to support mods that load from elsewhere. + /// Mode: All + /// + /// Structure containing input data. + /// + /// - If the integrity catalog was added successfully + /// - If input data was invalid + /// + public Result AddExternalIntegrityCatalog(ref AddExternalIntegrityCatalogOptions options) + { + AddExternalIntegrityCatalogOptionsInternal optionsInternal = new AddExternalIntegrityCatalogOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatClient_AddExternalIntegrityCatalog(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Add a callback when a message must be displayed to the local client informing them on a local integrity violation, + /// which will prevent further online play. + /// Mode: Any. + /// + /// Structure containing input data + /// This value is returned to the caller when NotificationFn is invoked + /// The callback to be fired + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyClientIntegrityViolated(ref AddNotifyClientIntegrityViolatedOptions options, object clientData, OnClientIntegrityViolatedCallback notificationFn) + { + AddNotifyClientIntegrityViolatedOptionsInternal optionsInternal = new AddNotifyClientIntegrityViolatedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnClientIntegrityViolatedCallbackInternal(OnClientIntegrityViolatedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_AntiCheatClient_AddNotifyClientIntegrityViolated(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Add a callback issued when a new message must be dispatched to a connected peer. The bound function will only be called + /// between a successful call to and the matching call in mode . + /// Mode: . + /// + /// Structure containing input data + /// This value is returned to the caller when NotificationFn is invoked + /// The callback to be fired + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyMessageToPeer(ref AddNotifyMessageToPeerOptions options, object clientData, OnMessageToPeerCallback notificationFn) + { + AddNotifyMessageToPeerOptionsInternal optionsInternal = new AddNotifyMessageToPeerOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnMessageToPeerCallbackInternal(OnMessageToPeerCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_AntiCheatClient_AddNotifyMessageToPeer(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Add a callback issued when a new message must be dispatched to the game server. The bound function will only be called + /// between a successful call to and the matching call in mode . + /// Mode: . + /// + /// Structure containing input data + /// This value is returned to the caller when NotificationFn is invoked + /// The callback to be fired + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyMessageToServer(ref AddNotifyMessageToServerOptions options, object clientData, OnMessageToServerCallback notificationFn) + { + AddNotifyMessageToServerOptionsInternal optionsInternal = new AddNotifyMessageToServerOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnMessageToServerCallbackInternal(OnMessageToServerCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_AntiCheatClient_AddNotifyMessageToServer(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Add a callback issued when an action must be applied to a connected client. The bound function will only be called + /// between a successful call to and the matching call in mode . + /// Mode: . + /// + /// Structure containing input data + /// This value is returned to the caller when NotificationFn is invoked + /// The callback to be fired + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyPeerActionRequired(ref AddNotifyPeerActionRequiredOptions options, object clientData, OnPeerActionRequiredCallback notificationFn) + { + AddNotifyPeerActionRequiredOptionsInternal optionsInternal = new AddNotifyPeerActionRequiredOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnPeerActionRequiredCallbackInternal(OnPeerActionRequiredCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_AntiCheatClient_AddNotifyPeerActionRequired(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Add an optional callback issued when a connected peer's authentication status changes. The bound function will only be called + /// between a successful call to and the matching call in mode . + /// Mode: . + /// + /// Structure containing input data + /// This value is returned to the caller when NotificationFn is invoked + /// The callback to be fired + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyPeerAuthStatusChanged(ref AddNotifyPeerAuthStatusChangedOptions options, object clientData, OnPeerAuthStatusChangedCallback notificationFn) + { + AddNotifyPeerAuthStatusChangedOptionsInternal optionsInternal = new AddNotifyPeerAuthStatusChangedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnPeerAuthStatusChangedCallbackInternal(OnPeerAuthStatusChangedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Begins a multiplayer game session. After this call returns successfully, the client is ready to exchange + /// anti-cheat messages with a game server or peer(s). When leaving one game session and connecting to a + /// different one, a new anti-cheat session must be created by calling and again. + /// Mode: All + /// + /// Structure containing input data. + /// + /// - If the session was started successfully + /// - If input data was invalid + /// - If the current mode does not support this function + /// + public Result BeginSession(ref BeginSessionOptions options) + { + BeginSessionOptionsInternal optionsInternal = new BeginSessionOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatClient_BeginSession(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Ends a multiplayer game session, either by leaving an ongoing session or shutting it down entirely. + /// Mode: All + /// + /// Must be called when the multiplayer session ends, or when the local user leaves a session in progress. + /// + /// Structure containing input data. + /// + /// - If the session was ended normally + /// - If input data was invalid + /// - If the current mode does not support this function + /// + public Result EndSession(ref EndSessionOptions options) + { + EndSessionOptionsInternal optionsInternal = new EndSessionOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatClient_EndSession(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional NetProtect feature for game message encryption. + /// Calculates the required decrypted buffer size for a given input data length. + /// This will not change for a given SDK version, and allows one time allocation of reusable buffers. + /// Mode: . + /// + /// Structure containing input data. + /// On success, the OutBuffer length in bytes that is required to call ProtectMessage on the given input size. + /// + /// - If the output length was calculated successfully + /// - If input data was invalid + /// - If the current mode does not support this function + /// + public Result GetProtectMessageOutputLength(ref GetProtectMessageOutputLengthOptions options, out uint outBufferSizeBytes) + { + GetProtectMessageOutputLengthOptionsInternal optionsInternal = new GetProtectMessageOutputLengthOptionsInternal(); + optionsInternal.Set(ref options); + + outBufferSizeBytes = Helper.GetDefault(); + + var funcResult = Bindings.EOS_AntiCheatClient_GetProtectMessageOutputLength(InnerHandle, ref optionsInternal, ref outBufferSizeBytes); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Polls for changes in client integrity status. + /// Mode: All + /// + /// The purpose of this function is to allow the game to display information + /// about anti-cheat integrity problems to the user. These are often the result of a + /// corrupt game installation rather than cheating attempts. This function does not + /// check for violations, it only provides information about violations which have + /// automatically been discovered by the anti-cheat client. Such a violation may occur + /// at any time and afterwards the user will be unable to join any protected multiplayer + /// session until after restarting the game. Note that this function returns + /// when everything is normal and there is no violation to display. + /// + /// NOTE: This API is deprecated. In order to get client status updates, + /// use AddNotifyClientIntegrityViolated to register a callback that will + /// be called when violations are triggered. + /// + /// Structure containing input data. + /// On success, receives a code describing the violation that occurred. + /// On success, receives a string describing the violation which should be displayed to the user. + /// + /// - If violation information was returned successfully + /// - If OutMessage is too small to receive the message string. Call again with a larger OutMessage. + /// - If no violation has occurred since the last call + /// + public Result PollStatus(ref PollStatusOptions options, out AntiCheatClientViolationType outViolationType, out Utf8String outMessage) + { + PollStatusOptionsInternal optionsInternal = new PollStatusOptionsInternal(); + optionsInternal.Set(ref options); + + outViolationType = Helper.GetDefault(); + + uint OutMessageLength = options.OutMessageLength; + System.IntPtr outMessageAddress = Helper.AddAllocation(OutMessageLength); + + var funcResult = Bindings.EOS_AntiCheatClient_PollStatus(InnerHandle, ref optionsInternal, ref outViolationType, outMessageAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outMessageAddress, out outMessage); + Helper.Dispose(ref outMessageAddress); + + return funcResult; + } + + /// + /// Optional NetProtect feature for game message encryption. + /// Encrypts an arbitrary message that will be sent to the game server and decrypted on the other side. + /// Mode: . + /// + /// Options.Data and OutBuffer may refer to the same buffer to encrypt in place. + /// + /// Structure containing input data. + /// On success, buffer where encrypted message data will be written. + /// On success, the number of bytes that were written to OutBuffer. + /// + /// - If the message was protected successfully + /// - If input data was invalid + /// - If the current mode does not support this function + /// + public Result ProtectMessage(ref ProtectMessageOptions options, System.ArraySegment outBuffer, out uint outBytesWritten) + { + ProtectMessageOptionsInternal optionsInternal = new ProtectMessageOptionsInternal(); + optionsInternal.Set(ref options); + + outBytesWritten = 0; + System.IntPtr outBufferAddress = Helper.AddPinnedBuffer(outBuffer); + + var funcResult = Bindings.EOS_AntiCheatClient_ProtectMessage(InnerHandle, ref optionsInternal, outBufferAddress, ref outBytesWritten); + + Helper.Dispose(ref optionsInternal); + + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// Call when an anti-cheat message is received from a peer. + /// Mode: . + /// + /// Structure containing input data. + /// + /// - If the message was processed successfully + /// - If input data was invalid + /// - If the current mode does not support this function + /// + public Result ReceiveMessageFromPeer(ref ReceiveMessageFromPeerOptions options) + { + ReceiveMessageFromPeerOptionsInternal optionsInternal = new ReceiveMessageFromPeerOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatClient_ReceiveMessageFromPeer(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Call when an anti-cheat message is received from the game server. + /// Mode: . + /// + /// Structure containing input data. + /// + /// - If the message was processed successfully + /// - If input data was invalid + /// - If message contents were corrupt and could not be processed + /// - If the current mode does not support this function + /// + public Result ReceiveMessageFromServer(ref ReceiveMessageFromServerOptions options) + { + ReceiveMessageFromServerOptionsInternal optionsInternal = new ReceiveMessageFromServerOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatClient_ReceiveMessageFromServer(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Registers a connected peer-to-peer client. + /// Mode: . + /// + /// Must be paired with a call to if this user leaves the session + /// in progress, or if the entire session is ending. + /// + /// Structure containing input data. + /// + /// - If the player was registered successfully + /// - If input data was invalid + /// - If the current mode does not support this function + /// + public Result RegisterPeer(ref RegisterPeerOptions options) + { + RegisterPeerOptionsInternal optionsInternal = new RegisterPeerOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatClient_RegisterPeer(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Remove a previously bound handler. + /// Mode: Any. + /// + /// The previously bound notification ID + public void RemoveNotifyClientIntegrityViolated(ulong notificationId) + { + Bindings.EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolated(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Remove a previously bound handler. + /// Mode: Any. + /// + /// The previously bound notification ID + public void RemoveNotifyMessageToPeer(ulong notificationId) + { + Bindings.EOS_AntiCheatClient_RemoveNotifyMessageToPeer(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Remove a previously bound handler. + /// Mode: Any. + /// + /// The previously bound notification ID + public void RemoveNotifyMessageToServer(ulong notificationId) + { + Bindings.EOS_AntiCheatClient_RemoveNotifyMessageToServer(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Remove a previously bound handler. + /// Mode: Any. + /// + /// The previously bound notification ID + public void RemoveNotifyPeerActionRequired(ulong notificationId) + { + Bindings.EOS_AntiCheatClient_RemoveNotifyPeerActionRequired(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Remove a previously bound handler. + /// Mode: Any. + /// + /// The previously bound notification ID + public void RemoveNotifyPeerAuthStatusChanged(ulong notificationId) + { + Bindings.EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Optional NetProtect feature for game message encryption. + /// Decrypts an encrypted message received from the game server. + /// Mode: . + /// + /// Options.Data and OutBuffer may refer to the same buffer to decrypt in place. + /// + /// Structure containing input data. + /// On success, buffer where encrypted message data will be written. + /// On success, the number of bytes that were written to OutBuffer. + /// + /// - If the message was unprotected successfully + /// - If input data was invalid + /// - If the current mode does not support this function + /// + public Result UnprotectMessage(ref UnprotectMessageOptions options, System.ArraySegment outBuffer, out uint outBytesWritten) + { + UnprotectMessageOptionsInternal optionsInternal = new UnprotectMessageOptionsInternal(); + optionsInternal.Set(ref options); + + outBytesWritten = 0; + System.IntPtr outBufferAddress = Helper.AddPinnedBuffer(outBuffer); + + var funcResult = Bindings.EOS_AntiCheatClient_UnprotectMessage(InnerHandle, ref optionsInternal, outBufferAddress, ref outBytesWritten); + + Helper.Dispose(ref optionsInternal); + + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// Unregisters a disconnected peer-to-peer client. + /// Mode: . + /// + /// Must be called when a user leaves a session in progress. + /// + /// Structure containing input data. + /// + /// - If the player was unregistered successfully + /// - If input data was invalid + /// - If the current mode does not support this function + /// + public Result UnregisterPeer(ref UnregisterPeerOptions options) + { + UnregisterPeerOptionsInternal optionsInternal = new UnregisterPeerOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatClient_UnregisterPeer(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + [MonoPInvokeCallback(typeof(OnClientIntegrityViolatedCallbackInternal))] + internal static void OnClientIntegrityViolatedCallbackInternalImplementation(ref OnClientIntegrityViolatedCallbackInfoInternal data) + { + OnClientIntegrityViolatedCallback callback; + OnClientIntegrityViolatedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnMessageToPeerCallbackInternal))] + internal static void OnMessageToPeerCallbackInternalImplementation(ref AntiCheatCommon.OnMessageToClientCallbackInfoInternal data) + { + OnMessageToPeerCallback callback; + AntiCheatCommon.OnMessageToClientCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnMessageToServerCallbackInternal))] + internal static void OnMessageToServerCallbackInternalImplementation(ref OnMessageToServerCallbackInfoInternal data) + { + OnMessageToServerCallback callback; + OnMessageToServerCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnPeerActionRequiredCallbackInternal))] + internal static void OnPeerActionRequiredCallbackInternalImplementation(ref AntiCheatCommon.OnClientActionRequiredCallbackInfoInternal data) + { + OnPeerActionRequiredCallback callback; + AntiCheatCommon.OnClientActionRequiredCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnPeerAuthStatusChangedCallbackInternal))] + internal static void OnPeerAuthStatusChangedCallbackInternalImplementation(ref AntiCheatCommon.OnClientAuthStatusChangedCallbackInfoInternal data) + { + OnPeerAuthStatusChangedCallback callback; + AntiCheatCommon.OnClientAuthStatusChangedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientInterface.cs.meta deleted file mode 100644 index 3939ff3a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fedc0faa387b23b44b09b55b4fca19b1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientMode.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientMode.cs index 3e9b5fb6..62560e66 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientMode.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientMode.cs @@ -1,24 +1,24 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - /// - /// Operating modes - /// - public enum AntiCheatClientMode : int - { - /// - /// Not used - /// - Invalid = 0, - /// - /// Dedicated or listen server mode - /// - ClientServer = 1, - /// - /// Full mesh peer-to-peer mode - /// - PeerToPeer = 2 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + /// + /// Operating modes + /// + public enum AntiCheatClientMode : int + { + /// + /// Not used + /// + Invalid = 0, + /// + /// Dedicated or listen server mode + /// + ClientServer = 1, + /// + /// Full mesh peer-to-peer mode + /// + PeerToPeer = 2 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientMode.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientMode.cs.meta deleted file mode 100644 index 5d8fdf8c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientMode.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b00b0480cbfe505489a67c12100b9752 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientViolationType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientViolationType.cs index 39cd3f9d..775e1f06 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientViolationType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientViolationType.cs @@ -1,77 +1,77 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - /// - /// Anti-cheat integrity violation types - /// - public enum AntiCheatClientViolationType : int - { - /// - /// Not used - /// - Invalid = 0, - /// - /// An anti-cheat asset integrity catalog file could not be found - /// - IntegrityCatalogNotFound = 1, - /// - /// An anti-cheat asset integrity catalog file is corrupt or invalid - /// - IntegrityCatalogError = 2, - /// - /// An anti-cheat asset integrity catalog file's certificate has been revoked. - /// - IntegrityCatalogCertificateRevoked = 3, - /// - /// The primary anti-cheat asset integrity catalog does not include an entry for the game's - /// main executable, which is required. - /// - IntegrityCatalogMissingMainExecutable = 4, - /// - /// A disallowed game file modification was detected - /// - GameFileMismatch = 5, - /// - /// A disallowed game file removal was detected - /// - RequiredGameFileNotFound = 6, - /// - /// A disallowed game file addition was detected - /// - UnknownGameFileForbidden = 7, - /// - /// A system file failed an integrity check - /// - SystemFileUntrusted = 8, - /// - /// A disallowed code module was loaded into the game process - /// - ForbiddenModuleLoaded = 9, - /// - /// A disallowed game process memory modification was detected - /// - CorruptedMemory = 10, - /// - /// A disallowed tool was detected running in the system - /// - ForbiddenToolDetected = 11, - /// - /// An internal anti-cheat integrity check failed - /// - InternalAntiCheatViolation = 12, - /// - /// Integrity checks on messages between the game client and game server failed - /// - CorruptedNetworkMessageFlow = 13, - /// - /// The game is running inside a disallowed virtual machine - /// - VirtualMachineNotAllowed = 14, - /// - /// A forbidden operating system configuration was detected - /// - ForbiddenSystemConfiguration = 15 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + /// + /// Anti-cheat integrity violation types + /// + public enum AntiCheatClientViolationType : int + { + /// + /// Not used + /// + Invalid = 0, + /// + /// An anti-cheat asset integrity catalog file could not be found + /// + IntegrityCatalogNotFound = 1, + /// + /// An anti-cheat asset integrity catalog file is corrupt or invalid + /// + IntegrityCatalogError = 2, + /// + /// An anti-cheat asset integrity catalog file's certificate has been revoked. + /// + IntegrityCatalogCertificateRevoked = 3, + /// + /// The primary anti-cheat asset integrity catalog does not include an entry for the game's + /// main executable, which is required. + /// + IntegrityCatalogMissingMainExecutable = 4, + /// + /// A disallowed game file modification was detected + /// + GameFileMismatch = 5, + /// + /// A disallowed game file removal was detected + /// + RequiredGameFileNotFound = 6, + /// + /// A disallowed game file addition was detected + /// + UnknownGameFileForbidden = 7, + /// + /// A system file failed an integrity check + /// + SystemFileUntrusted = 8, + /// + /// A disallowed code module was loaded into the game process + /// + ForbiddenModuleLoaded = 9, + /// + /// A disallowed game process memory modification was detected + /// + CorruptedMemory = 10, + /// + /// A disallowed tool was detected running in the system + /// + ForbiddenToolDetected = 11, + /// + /// An internal anti-cheat integrity check failed + /// + InternalAntiCheatViolation = 12, + /// + /// Integrity checks on messages between the game client and game server failed + /// + CorruptedNetworkMessageFlow = 13, + /// + /// The game is running inside a disallowed virtual machine + /// + VirtualMachineNotAllowed = 14, + /// + /// A forbidden operating system configuration was detected + /// + ForbiddenSystemConfiguration = 15 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientViolationType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientViolationType.cs.meta deleted file mode 100644 index 8f57fddf..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/AntiCheatClientViolationType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9b641568a7671e147ba4269db06a8c8c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/BeginSessionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/BeginSessionOptions.cs index 0da204fe..40ddd936 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/BeginSessionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/BeginSessionOptions.cs @@ -1,62 +1,64 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class BeginSessionOptions - { - /// - /// Logged in user identifier from earlier call to family of functions - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// Operating mode - /// - public AntiCheatClientMode Mode { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct BeginSessionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private AntiCheatClientMode m_Mode; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public AntiCheatClientMode Mode - { - set - { - m_Mode = value; - } - } - - public void Set(BeginSessionOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.BeginsessionApiLatest; - LocalUserId = other.LocalUserId; - Mode = other.Mode; - } - } - - public void Set(object other) - { - Set(other as BeginSessionOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct BeginSessionOptions + { + /// + /// Logged in user identifier from earlier call to family of functions + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Operating mode + /// + public AntiCheatClientMode Mode { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct BeginSessionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private AntiCheatClientMode m_Mode; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public AntiCheatClientMode Mode + { + set + { + m_Mode = value; + } + } + + public void Set(ref BeginSessionOptions other) + { + m_ApiVersion = AntiCheatClientInterface.BeginsessionApiLatest; + LocalUserId = other.LocalUserId; + Mode = other.Mode; + } + + public void Set(ref BeginSessionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.BeginsessionApiLatest; + LocalUserId = other.Value.LocalUserId; + Mode = other.Value.Mode; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/BeginSessionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/BeginSessionOptions.cs.meta deleted file mode 100644 index b61d8b57..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/BeginSessionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 86f10c9ef902d614298a75d119f7e20f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/EndSessionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/EndSessionOptions.cs index 495354ef..99cbec64 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/EndSessionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/EndSessionOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class EndSessionOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct EndSessionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(EndSessionOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.EndsessionApiLatest; - } - } - - public void Set(object other) - { - Set(other as EndSessionOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct EndSessionOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct EndSessionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref EndSessionOptions other) + { + m_ApiVersion = AntiCheatClientInterface.EndsessionApiLatest; + } + + public void Set(ref EndSessionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.EndsessionApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/EndSessionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/EndSessionOptions.cs.meta deleted file mode 100644 index 138dd521..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/EndSessionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 905fbe5a8da89374d9c480daeb68a4aa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/GetProtectMessageOutputLengthOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/GetProtectMessageOutputLengthOptions.cs index 600dfc04..ae50258a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/GetProtectMessageOutputLengthOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/GetProtectMessageOutputLengthOptions.cs @@ -1,46 +1,47 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class GetProtectMessageOutputLengthOptions - { - /// - /// Length in bytes of input - /// - public uint DataLengthBytes { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetProtectMessageOutputLengthOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_DataLengthBytes; - - public uint DataLengthBytes - { - set - { - m_DataLengthBytes = value; - } - } - - public void Set(GetProtectMessageOutputLengthOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.GetprotectmessageoutputlengthApiLatest; - DataLengthBytes = other.DataLengthBytes; - } - } - - public void Set(object other) - { - Set(other as GetProtectMessageOutputLengthOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct GetProtectMessageOutputLengthOptions + { + /// + /// Length in bytes of input + /// + public uint DataLengthBytes { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetProtectMessageOutputLengthOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_DataLengthBytes; + + public uint DataLengthBytes + { + set + { + m_DataLengthBytes = value; + } + } + + public void Set(ref GetProtectMessageOutputLengthOptions other) + { + m_ApiVersion = AntiCheatClientInterface.GetprotectmessageoutputlengthApiLatest; + DataLengthBytes = other.DataLengthBytes; + } + + public void Set(ref GetProtectMessageOutputLengthOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.GetprotectmessageoutputlengthApiLatest; + DataLengthBytes = other.Value.DataLengthBytes; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/GetProtectMessageOutputLengthOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/GetProtectMessageOutputLengthOptions.cs.meta deleted file mode 100644 index 4845f6b9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/GetProtectMessageOutputLengthOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1fdc1ae7090bd7e4ea91e0057bc54e95 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnClientIntegrityViolatedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnClientIntegrityViolatedCallback.cs new file mode 100644 index 00000000..c9b50192 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnClientIntegrityViolatedCallback.cs @@ -0,0 +1,17 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + /// + /// Callback issued when the local client triggers an integrity violation. + /// + /// The message contains descriptive string of up to 256 characters and must be displayed to the player. + /// + /// This callback is always issued from within on its calling thread. + /// + public delegate void OnClientIntegrityViolatedCallback(ref OnClientIntegrityViolatedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnClientIntegrityViolatedCallbackInternal(ref OnClientIntegrityViolatedCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnClientIntegrityViolatedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnClientIntegrityViolatedCallbackInfo.cs new file mode 100644 index 00000000..3a08304e --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnClientIntegrityViolatedCallbackInfo.cs @@ -0,0 +1,126 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + /// + /// Structure containing details about integrity violation related to the local client + /// + public struct OnClientIntegrityViolatedCallbackInfo : ICallbackInfo + { + /// + /// Caller-specified context data + /// + public object ClientData { get; set; } + + /// + /// Code describing the violation that occurred + /// + public AntiCheatClientViolationType ViolationType { get; set; } + + /// + /// String describing the violation which should be displayed to the user + /// + public Utf8String ViolationMessage { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnClientIntegrityViolatedCallbackInfoInternal other) + { + ClientData = other.ClientData; + ViolationType = other.ViolationType; + ViolationMessage = other.ViolationMessage; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnClientIntegrityViolatedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private AntiCheatClientViolationType m_ViolationType; + private System.IntPtr m_ViolationMessage; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public AntiCheatClientViolationType ViolationType + { + get + { + return m_ViolationType; + } + + set + { + m_ViolationType = value; + } + } + + public Utf8String ViolationMessage + { + get + { + Utf8String value; + Helper.Get(m_ViolationMessage, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ViolationMessage); + } + } + + public void Set(ref OnClientIntegrityViolatedCallbackInfo other) + { + ClientData = other.ClientData; + ViolationType = other.ViolationType; + ViolationMessage = other.ViolationMessage; + } + + public void Set(ref OnClientIntegrityViolatedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + ViolationType = other.Value.ViolationType; + ViolationMessage = other.Value.ViolationMessage; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_ViolationMessage); + } + + public void Get(out OnClientIntegrityViolatedCallbackInfo output) + { + output = new OnClientIntegrityViolatedCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToPeerCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToPeerCallback.cs index 78976895..7f357848 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToPeerCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToPeerCallback.cs @@ -1,19 +1,19 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - /// - /// Callback issued when a new message must be dispatched to a connected peer. - /// - /// Messages contain opaque binary data of up to 256 bytes and must be transmitted - /// to the correct peer using the game's own networking layer, then delivered - /// to the client anti-cheat instance using the function. - /// - /// This callback is always issued from within on its calling thread. - /// - public delegate void OnMessageToPeerCallback(AntiCheatCommon.OnMessageToClientCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnMessageToPeerCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + /// + /// Callback issued when a new message must be dispatched to a connected peer. + /// + /// Messages contain opaque binary data of up to 256 bytes and must be transmitted + /// to the correct peer using the game's own networking layer, then delivered + /// to the client anti-cheat instance using the function. + /// + /// This callback is always issued from within on its calling thread. + /// + public delegate void OnMessageToPeerCallback(ref AntiCheatCommon.OnMessageToClientCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnMessageToPeerCallbackInternal(ref AntiCheatCommon.OnMessageToClientCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToPeerCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToPeerCallback.cs.meta deleted file mode 100644 index ed8e67ef..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToPeerCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ca9599b29ae2d88419db107a1ac11a43 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallback.cs index a7ef8f19..f1a7cf0b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallback.cs @@ -1,19 +1,19 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - /// - /// Callback issued when a new message must be dispatched to the game server. - /// - /// Messages contain opaque binary data of up to 256 bytes and must be transmitted - /// to the game server using the game's own networking layer, then delivered - /// to the server anti-cheat instance using the function. - /// - /// This callback is always issued from within on its calling thread. - /// - public delegate void OnMessageToServerCallback(OnMessageToServerCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnMessageToServerCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + /// + /// Callback issued when a new message must be dispatched to the game server. + /// + /// Messages contain opaque binary data of up to 256 bytes and must be transmitted + /// to the game server using the game's own networking layer, then delivered + /// to the server anti-cheat instance using the function. + /// + /// This callback is always issued from within on its calling thread. + /// + public delegate void OnMessageToServerCallback(ref OnMessageToServerCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnMessageToServerCallbackInternal(ref OnMessageToServerCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallback.cs.meta deleted file mode 100644 index 45f0f5a0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 53221573ac657a04588b7d3259950e2b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallbackInfo.cs index 197f9a7b..f754d9ef 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallbackInfo.cs @@ -1,76 +1,105 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - /// - /// Structure containing details about a new message that must be dispatched to the game server. - /// - public class OnMessageToServerCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Caller-specified context data - /// - public object ClientData { get; private set; } - - /// - /// The message data that must be sent to the server - /// - public byte[] MessageData { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(OnMessageToServerCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - MessageData = other.Value.MessageData; - } - } - - public void Set(object other) - { - Set(other as OnMessageToServerCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnMessageToServerCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_MessageData; - private uint m_MessageDataSizeBytes; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public byte[] MessageData - { - get - { - byte[] value; - Helper.TryMarshalGet(m_MessageData, out value, m_MessageDataSizeBytes); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + /// + /// Structure containing details about a new message that must be dispatched to the game server. + /// + public struct OnMessageToServerCallbackInfo : ICallbackInfo + { + /// + /// Caller-specified context data + /// + public object ClientData { get; set; } + + /// + /// The message data that must be sent to the server + /// + public System.ArraySegment MessageData { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnMessageToServerCallbackInfoInternal other) + { + ClientData = other.ClientData; + MessageData = other.MessageData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnMessageToServerCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_MessageData; + private uint m_MessageDataSizeBytes; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public System.ArraySegment MessageData + { + get + { + System.ArraySegment value; + Helper.Get(m_MessageData, out value, m_MessageDataSizeBytes); + return value; + } + + set + { + Helper.Set(value, ref m_MessageData, out m_MessageDataSizeBytes); + } + } + + public void Set(ref OnMessageToServerCallbackInfo other) + { + ClientData = other.ClientData; + MessageData = other.MessageData; + } + + public void Set(ref OnMessageToServerCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + MessageData = other.Value.MessageData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_MessageData); + } + + public void Get(out OnMessageToServerCallbackInfo output) + { + output = new OnMessageToServerCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallbackInfo.cs.meta deleted file mode 100644 index fb149149..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnMessageToServerCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5ffc52fcf62645a488f1c17ad5476aea -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerActionRequiredCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerActionRequiredCallback.cs index cdc9b65e..7060ec5f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerActionRequiredCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerActionRequiredCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - /// - /// Callback issued when an action must be applied to a connected peer. - /// This callback is always issued from within on its calling thread. - /// - public delegate void OnPeerActionRequiredCallback(AntiCheatCommon.OnClientActionRequiredCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnPeerActionRequiredCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + /// + /// Callback issued when an action must be applied to a connected peer. + /// This callback is always issued from within on its calling thread. + /// + public delegate void OnPeerActionRequiredCallback(ref AntiCheatCommon.OnClientActionRequiredCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnPeerActionRequiredCallbackInternal(ref AntiCheatCommon.OnClientActionRequiredCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerActionRequiredCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerActionRequiredCallback.cs.meta deleted file mode 100644 index 01093381..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerActionRequiredCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3b67082ca6ef40647bcfcf71a8be13c2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerAuthStatusChangedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerAuthStatusChangedCallback.cs index c5c491ae..1be6becd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerAuthStatusChangedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerAuthStatusChangedCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - /// - /// Optional callback issued when a connected peer's authentication status has changed. - /// This callback is always issued from within on its calling thread. - /// - public delegate void OnPeerAuthStatusChangedCallback(AntiCheatCommon.OnClientAuthStatusChangedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnPeerAuthStatusChangedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + /// + /// Optional callback issued when a connected peer's authentication status has changed. + /// This callback is always issued from within on its calling thread. + /// + public delegate void OnPeerAuthStatusChangedCallback(ref AntiCheatCommon.OnClientAuthStatusChangedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnPeerAuthStatusChangedCallbackInternal(ref AntiCheatCommon.OnClientAuthStatusChangedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerAuthStatusChangedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerAuthStatusChangedCallback.cs.meta deleted file mode 100644 index 1765f7bf..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/OnPeerAuthStatusChangedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 43fb6618d6087564faad8ff8756a9667 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/PollStatusOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/PollStatusOptions.cs index 00992001..71961576 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/PollStatusOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/PollStatusOptions.cs @@ -1,46 +1,47 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class PollStatusOptions - { - /// - /// The size of OutMessage in bytes. Recommended size is 256 bytes. - /// - public uint OutMessageLength { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PollStatusOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_OutMessageLength; - - public uint OutMessageLength - { - set - { - m_OutMessageLength = value; - } - } - - public void Set(PollStatusOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.PollstatusApiLatest; - OutMessageLength = other.OutMessageLength; - } - } - - public void Set(object other) - { - Set(other as PollStatusOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct PollStatusOptions + { + /// + /// The size of OutMessage in bytes. Recommended size is 256 bytes. + /// + public uint OutMessageLength { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PollStatusOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_OutMessageLength; + + public uint OutMessageLength + { + set + { + m_OutMessageLength = value; + } + } + + public void Set(ref PollStatusOptions other) + { + m_ApiVersion = AntiCheatClientInterface.PollstatusApiLatest; + OutMessageLength = other.OutMessageLength; + } + + public void Set(ref PollStatusOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.PollstatusApiLatest; + OutMessageLength = other.Value.OutMessageLength; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/PollStatusOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/PollStatusOptions.cs.meta deleted file mode 100644 index f074fe67..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/PollStatusOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9deecd610e171814286ef07776534ccf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ProtectMessageOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ProtectMessageOptions.cs index 63290f4a..cdab995f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ProtectMessageOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ProtectMessageOptions.cs @@ -1,63 +1,65 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class ProtectMessageOptions - { - /// - /// The data to encrypt - /// - public byte[] Data { get; set; } - - /// - /// The size in bytes of OutBuffer - /// - public uint OutBufferSizeBytes { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ProtectMessageOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_DataLengthBytes; - private System.IntPtr m_Data; - private uint m_OutBufferSizeBytes; - - public byte[] Data - { - set - { - Helper.TryMarshalSet(ref m_Data, value, out m_DataLengthBytes); - } - } - - public uint OutBufferSizeBytes - { - set - { - m_OutBufferSizeBytes = value; - } - } - - public void Set(ProtectMessageOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.ProtectmessageApiLatest; - Data = other.Data; - OutBufferSizeBytes = other.OutBufferSizeBytes; - } - } - - public void Set(object other) - { - Set(other as ProtectMessageOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Data); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct ProtectMessageOptions + { + /// + /// The data to encrypt + /// + public System.ArraySegment Data { get; set; } + + /// + /// The size in bytes of OutBuffer + /// + public uint OutBufferSizeBytes { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ProtectMessageOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_DataLengthBytes; + private System.IntPtr m_Data; + private uint m_OutBufferSizeBytes; + + public System.ArraySegment Data + { + set + { + Helper.Set(value, ref m_Data, out m_DataLengthBytes); + } + } + + public uint OutBufferSizeBytes + { + set + { + m_OutBufferSizeBytes = value; + } + } + + public void Set(ref ProtectMessageOptions other) + { + m_ApiVersion = AntiCheatClientInterface.ProtectmessageApiLatest; + Data = other.Data; + OutBufferSizeBytes = other.OutBufferSizeBytes; + } + + public void Set(ref ProtectMessageOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.ProtectmessageApiLatest; + Data = other.Value.Data; + OutBufferSizeBytes = other.Value.OutBufferSizeBytes; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Data); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ProtectMessageOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ProtectMessageOptions.cs.meta deleted file mode 100644 index e303bf14..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ProtectMessageOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dae821c9a9f672f4eb1b092b877d85d0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromPeerOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromPeerOptions.cs index 6a3dcf89..0dce7763 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromPeerOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromPeerOptions.cs @@ -1,64 +1,66 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class ReceiveMessageFromPeerOptions - { - /// - /// The handle describing the sender of this message - /// - public System.IntPtr PeerHandle { get; set; } - - /// - /// The data received - /// - public byte[] Data { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ReceiveMessageFromPeerOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_PeerHandle; - private uint m_DataLengthBytes; - private System.IntPtr m_Data; - - public System.IntPtr PeerHandle - { - set - { - m_PeerHandle = value; - } - } - - public byte[] Data - { - set - { - Helper.TryMarshalSet(ref m_Data, value, out m_DataLengthBytes); - } - } - - public void Set(ReceiveMessageFromPeerOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.ReceivemessagefrompeerApiLatest; - PeerHandle = other.PeerHandle; - Data = other.Data; - } - } - - public void Set(object other) - { - Set(other as ReceiveMessageFromPeerOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_PeerHandle); - Helper.TryMarshalDispose(ref m_Data); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct ReceiveMessageFromPeerOptions + { + /// + /// The handle describing the sender of this message + /// + public System.IntPtr PeerHandle { get; set; } + + /// + /// The data received + /// + public System.ArraySegment Data { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ReceiveMessageFromPeerOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_PeerHandle; + private uint m_DataLengthBytes; + private System.IntPtr m_Data; + + public System.IntPtr PeerHandle + { + set + { + m_PeerHandle = value; + } + } + + public System.ArraySegment Data + { + set + { + Helper.Set(value, ref m_Data, out m_DataLengthBytes); + } + } + + public void Set(ref ReceiveMessageFromPeerOptions other) + { + m_ApiVersion = AntiCheatClientInterface.ReceivemessagefrompeerApiLatest; + PeerHandle = other.PeerHandle; + Data = other.Data; + } + + public void Set(ref ReceiveMessageFromPeerOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.ReceivemessagefrompeerApiLatest; + PeerHandle = other.Value.PeerHandle; + Data = other.Value.Data; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_PeerHandle); + Helper.Dispose(ref m_Data); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromPeerOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromPeerOptions.cs.meta deleted file mode 100644 index 9a0f9ff4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromPeerOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 008ab8565fa8c4b4e8f5f758a5a4d134 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromServerOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromServerOptions.cs index b7a74fe5..7995a6c3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromServerOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromServerOptions.cs @@ -1,48 +1,49 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class ReceiveMessageFromServerOptions - { - /// - /// The data received - /// - public byte[] Data { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ReceiveMessageFromServerOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_DataLengthBytes; - private System.IntPtr m_Data; - - public byte[] Data - { - set - { - Helper.TryMarshalSet(ref m_Data, value, out m_DataLengthBytes); - } - } - - public void Set(ReceiveMessageFromServerOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.ReceivemessagefromserverApiLatest; - Data = other.Data; - } - } - - public void Set(object other) - { - Set(other as ReceiveMessageFromServerOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Data); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct ReceiveMessageFromServerOptions + { + /// + /// The data received + /// + public System.ArraySegment Data { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ReceiveMessageFromServerOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_DataLengthBytes; + private System.IntPtr m_Data; + + public System.ArraySegment Data + { + set + { + Helper.Set(value, ref m_Data, out m_DataLengthBytes); + } + } + + public void Set(ref ReceiveMessageFromServerOptions other) + { + m_ApiVersion = AntiCheatClientInterface.ReceivemessagefromserverApiLatest; + Data = other.Data; + } + + public void Set(ref ReceiveMessageFromServerOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.ReceivemessagefromserverApiLatest; + Data = other.Value.Data; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Data); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromServerOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromServerOptions.cs.meta deleted file mode 100644 index 722fccac..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/ReceiveMessageFromServerOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 59428e82fd66c4e47bd7e9bc433b7d93 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/RegisterPeerOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/RegisterPeerOptions.cs index a0a85f52..8a9e7511 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/RegisterPeerOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/RegisterPeerOptions.cs @@ -1,114 +1,150 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class RegisterPeerOptions - { - /// - /// Locally unique value describing the remote user (e.g. a player object pointer) - /// - public System.IntPtr PeerHandle { get; set; } - - /// - /// Type of remote user being registered - /// - public AntiCheatCommon.AntiCheatCommonClientType ClientType { get; set; } - - /// - /// Remote user's platform, if known - /// - public AntiCheatCommon.AntiCheatCommonClientPlatform ClientPlatform { get; set; } - - /// - /// Identifier for the remote user. This is typically a string representation of an - /// account ID, but it can be any string which is both unique (two different users will never - /// have the same string) and consistent (if the same user connects to this game session - /// twice, the same string will be used) in the scope of a single protected game session. - /// - public string AccountId { get; set; } - - /// - /// Optional IP address for the remote user. May be null if not available. - /// IPv4 format: "0.0.0.0" - /// IPv6 format: "0:0:0:0:0:0:0:0" - /// - public string IpAddress { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RegisterPeerOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_PeerHandle; - private AntiCheatCommon.AntiCheatCommonClientType m_ClientType; - private AntiCheatCommon.AntiCheatCommonClientPlatform m_ClientPlatform; - private System.IntPtr m_AccountId; - private System.IntPtr m_IpAddress; - - public System.IntPtr PeerHandle - { - set - { - m_PeerHandle = value; - } - } - - public AntiCheatCommon.AntiCheatCommonClientType ClientType - { - set - { - m_ClientType = value; - } - } - - public AntiCheatCommon.AntiCheatCommonClientPlatform ClientPlatform - { - set - { - m_ClientPlatform = value; - } - } - - public string AccountId - { - set - { - Helper.TryMarshalSet(ref m_AccountId, value); - } - } - - public string IpAddress - { - set - { - Helper.TryMarshalSet(ref m_IpAddress, value); - } - } - - public void Set(RegisterPeerOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.RegisterpeerApiLatest; - PeerHandle = other.PeerHandle; - ClientType = other.ClientType; - ClientPlatform = other.ClientPlatform; - AccountId = other.AccountId; - IpAddress = other.IpAddress; - } - } - - public void Set(object other) - { - Set(other as RegisterPeerOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_PeerHandle); - Helper.TryMarshalDispose(ref m_AccountId); - Helper.TryMarshalDispose(ref m_IpAddress); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct RegisterPeerOptions + { + /// + /// Locally unique value describing the remote user (e.g. a player object pointer) + /// + public System.IntPtr PeerHandle { get; set; } + + /// + /// Type of remote user being registered + /// + public AntiCheatCommon.AntiCheatCommonClientType ClientType { get; set; } + + /// + /// Remote user's platform, if known + /// + public AntiCheatCommon.AntiCheatCommonClientPlatform ClientPlatform { get; set; } + + /// + /// Time in seconds to allow newly registered peers to send the initial message containing their token. + /// Recommended value: 60 + /// + public uint AuthenticationTimeout { get; set; } + + /// + /// Deprecated - use PeerProductUserId instead + /// + public Utf8String AccountId_DEPRECATED { get; set; } + + /// + /// Optional IP address for the remote user. May be null if not available. + /// IPv4 format: "0.0.0.0" + /// IPv6 format: "0:0:0:0:0:0:0:0" + /// + public Utf8String IpAddress { get; set; } + + /// + /// Identifier for the remote user + /// + public ProductUserId PeerProductUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RegisterPeerOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_PeerHandle; + private AntiCheatCommon.AntiCheatCommonClientType m_ClientType; + private AntiCheatCommon.AntiCheatCommonClientPlatform m_ClientPlatform; + private uint m_AuthenticationTimeout; + private System.IntPtr m_AccountId_DEPRECATED; + private System.IntPtr m_IpAddress; + private System.IntPtr m_PeerProductUserId; + + public System.IntPtr PeerHandle + { + set + { + m_PeerHandle = value; + } + } + + public AntiCheatCommon.AntiCheatCommonClientType ClientType + { + set + { + m_ClientType = value; + } + } + + public AntiCheatCommon.AntiCheatCommonClientPlatform ClientPlatform + { + set + { + m_ClientPlatform = value; + } + } + + public uint AuthenticationTimeout + { + set + { + m_AuthenticationTimeout = value; + } + } + + public Utf8String AccountId_DEPRECATED + { + set + { + Helper.Set(value, ref m_AccountId_DEPRECATED); + } + } + + public Utf8String IpAddress + { + set + { + Helper.Set(value, ref m_IpAddress); + } + } + + public ProductUserId PeerProductUserId + { + set + { + Helper.Set(value, ref m_PeerProductUserId); + } + } + + public void Set(ref RegisterPeerOptions other) + { + m_ApiVersion = AntiCheatClientInterface.RegisterpeerApiLatest; + PeerHandle = other.PeerHandle; + ClientType = other.ClientType; + ClientPlatform = other.ClientPlatform; + AuthenticationTimeout = other.AuthenticationTimeout; + AccountId_DEPRECATED = other.AccountId_DEPRECATED; + IpAddress = other.IpAddress; + PeerProductUserId = other.PeerProductUserId; + } + + public void Set(ref RegisterPeerOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.RegisterpeerApiLatest; + PeerHandle = other.Value.PeerHandle; + ClientType = other.Value.ClientType; + ClientPlatform = other.Value.ClientPlatform; + AuthenticationTimeout = other.Value.AuthenticationTimeout; + AccountId_DEPRECATED = other.Value.AccountId_DEPRECATED; + IpAddress = other.Value.IpAddress; + PeerProductUserId = other.Value.PeerProductUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_PeerHandle); + Helper.Dispose(ref m_AccountId_DEPRECATED); + Helper.Dispose(ref m_IpAddress); + Helper.Dispose(ref m_PeerProductUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/RegisterPeerOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/RegisterPeerOptions.cs.meta deleted file mode 100644 index e286300d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/RegisterPeerOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b018d33a4ed3a35429534cb22add74b8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnprotectMessageOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnprotectMessageOptions.cs index dec91bf7..5c62eb5d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnprotectMessageOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnprotectMessageOptions.cs @@ -1,63 +1,65 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class UnprotectMessageOptions - { - /// - /// The data to decrypt - /// - public byte[] Data { get; set; } - - /// - /// The size in bytes of OutBuffer - /// - public uint OutBufferSizeBytes { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UnprotectMessageOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_DataLengthBytes; - private System.IntPtr m_Data; - private uint m_OutBufferSizeBytes; - - public byte[] Data - { - set - { - Helper.TryMarshalSet(ref m_Data, value, out m_DataLengthBytes); - } - } - - public uint OutBufferSizeBytes - { - set - { - m_OutBufferSizeBytes = value; - } - } - - public void Set(UnprotectMessageOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.UnprotectmessageApiLatest; - Data = other.Data; - OutBufferSizeBytes = other.OutBufferSizeBytes; - } - } - - public void Set(object other) - { - Set(other as UnprotectMessageOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Data); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct UnprotectMessageOptions + { + /// + /// The data to decrypt + /// + public System.ArraySegment Data { get; set; } + + /// + /// The size in bytes of OutBuffer + /// + public uint OutBufferSizeBytes { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UnprotectMessageOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_DataLengthBytes; + private System.IntPtr m_Data; + private uint m_OutBufferSizeBytes; + + public System.ArraySegment Data + { + set + { + Helper.Set(value, ref m_Data, out m_DataLengthBytes); + } + } + + public uint OutBufferSizeBytes + { + set + { + m_OutBufferSizeBytes = value; + } + } + + public void Set(ref UnprotectMessageOptions other) + { + m_ApiVersion = AntiCheatClientInterface.UnprotectmessageApiLatest; + Data = other.Data; + OutBufferSizeBytes = other.OutBufferSizeBytes; + } + + public void Set(ref UnprotectMessageOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.UnprotectmessageApiLatest; + Data = other.Value.Data; + OutBufferSizeBytes = other.Value.OutBufferSizeBytes; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Data); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnprotectMessageOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnprotectMessageOptions.cs.meta deleted file mode 100644 index 1a45eb70..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnprotectMessageOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: aa51a65c63f891e4a9220db3568331a8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnregisterPeerOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnregisterPeerOptions.cs index 8c989e38..08466dd1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnregisterPeerOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnregisterPeerOptions.cs @@ -1,47 +1,48 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatClient -{ - public class UnregisterPeerOptions - { - /// - /// Locally unique value describing the remote user, as previously passed to - /// - public System.IntPtr PeerHandle { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UnregisterPeerOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_PeerHandle; - - public System.IntPtr PeerHandle - { - set - { - m_PeerHandle = value; - } - } - - public void Set(UnregisterPeerOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatClientInterface.UnregisterpeerApiLatest; - PeerHandle = other.PeerHandle; - } - } - - public void Set(object other) - { - Set(other as UnregisterPeerOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_PeerHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatClient +{ + public struct UnregisterPeerOptions + { + /// + /// Locally unique value describing the remote user, as previously passed to + /// + public System.IntPtr PeerHandle { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UnregisterPeerOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_PeerHandle; + + public System.IntPtr PeerHandle + { + set + { + m_PeerHandle = value; + } + } + + public void Set(ref UnregisterPeerOptions other) + { + m_ApiVersion = AntiCheatClientInterface.UnregisterpeerApiLatest; + PeerHandle = other.PeerHandle; + } + + public void Set(ref UnregisterPeerOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatClientInterface.UnregisterpeerApiLatest; + PeerHandle = other.Value.PeerHandle; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_PeerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnregisterPeerOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnregisterPeerOptions.cs.meta deleted file mode 100644 index c2416908..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/UnregisterPeerOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 48940d5a0dd76d947a9bbed4ddba967e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon.meta deleted file mode 100644 index e4cb2932..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a8dfb81212428d04f8be2108462f4a98 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAction.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAction.cs index 1e0856fd..6eb993aa 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAction.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAction.cs @@ -1,20 +1,20 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Anti-cheat action values. Applicable to both clients and remote peers. - /// - public enum AntiCheatCommonClientAction : int - { - /// - /// Not used - /// - Invalid = 0, - /// - /// The client/peer must be removed from the current game session - /// - RemovePlayer = 1 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Anti-cheat action values. Applicable to both clients and remote peers. + /// + public enum AntiCheatCommonClientAction : int + { + /// + /// Not used + /// + Invalid = 0, + /// + /// The client/peer must be removed from the current game session + /// + RemovePlayer = 1 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAction.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAction.cs.meta deleted file mode 100644 index 3429255c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAction.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d58912827364896498d70c5a3ed6f8eb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientActionReason.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientActionReason.cs index 55cbb566..264851df 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientActionReason.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientActionReason.cs @@ -1,56 +1,56 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Anti-cheat action reasons. Applicable to both clients and remote peers. - /// - public enum AntiCheatCommonClientActionReason : int - { - /// - /// Not used - /// - Invalid = 0, - /// - /// An internal error occurred - /// - InternalError = 1, - /// - /// An anti-cheat message received from the client/peer was corrupt or invalid - /// - InvalidMessage = 2, - /// - /// The client/peer's anti-cheat authentication failed - /// - AuthenticationFailed = 3, - /// - /// The client/peer failed to load the anti-cheat module at startup - /// - NullClient = 4, - /// - /// The client/peer's anti-cheat heartbeat was not received - /// - HeartbeatTimeout = 5, - /// - /// The client/peer failed an anti-cheat client runtime check - /// - ClientViolation = 6, - /// - /// The client/peer failed an anti-cheat backend runtime check - /// - BackendViolation = 7, - /// - /// The client/peer is temporarily blocked from playing on this game server - /// - TemporaryCooldown = 8, - /// - /// The client/peer is temporarily banned - /// - TemporaryBanned = 9, - /// - /// The client/peer is permanently banned - /// - PermanentBanned = 10 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Anti-cheat action reasons. Applicable to both clients and remote peers. + /// + public enum AntiCheatCommonClientActionReason : int + { + /// + /// Not used + /// + Invalid = 0, + /// + /// An internal error occurred + /// + InternalError = 1, + /// + /// An anti-cheat message received from the client/peer was corrupt or invalid + /// + InvalidMessage = 2, + /// + /// The client/peer's anti-cheat authentication failed + /// + AuthenticationFailed = 3, + /// + /// The client/peer failed to load the anti-cheat module at startup + /// + NullClient = 4, + /// + /// The client/peer's anti-cheat heartbeat was not received + /// + HeartbeatTimeout = 5, + /// + /// The client/peer failed an anti-cheat client runtime check + /// + ClientViolation = 6, + /// + /// The client/peer failed an anti-cheat backend runtime check + /// + BackendViolation = 7, + /// + /// The client/peer is temporarily blocked from playing on this game server + /// + TemporaryCooldown = 8, + /// + /// The client/peer is temporarily banned + /// + TemporaryBanned = 9, + /// + /// The client/peer is permanently banned + /// + PermanentBanned = 10 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientActionReason.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientActionReason.cs.meta deleted file mode 100644 index 352633da..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientActionReason.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d6eea5c9362f1fe4fba2463173dedbc9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAuthStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAuthStatus.cs index 64929c27..bc6ab23a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAuthStatus.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAuthStatus.cs @@ -1,24 +1,24 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// The client/peer's anti-cheat authentication status - /// - public enum AntiCheatCommonClientAuthStatus : int - { - /// - /// Not used - /// - Invalid = 0, - /// - /// The client/peer's anti-cheat functionality has been validated by this game server - /// - LocalAuthComplete = 1, - /// - /// The client/peer's anti-cheat functionality has been validated by the anti-cheat backend service - /// - RemoteAuthComplete = 2 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// The client/peer's anti-cheat authentication status + /// + public enum AntiCheatCommonClientAuthStatus : int + { + /// + /// Not used + /// + Invalid = 0, + /// + /// The client/peer's anti-cheat functionality has been validated by this game server + /// + LocalAuthComplete = 1, + /// + /// The client/peer's anti-cheat functionality has been validated by the anti-cheat backend service + /// + RemoteAuthComplete = 2 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAuthStatus.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAuthStatus.cs.meta deleted file mode 100644 index 08940435..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientAuthStatus.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d234548f8b2a37549ad9b0c8769092d7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientFlags.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientFlags.cs index ff5a96cb..b77c764d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientFlags.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientFlags.cs @@ -1,21 +1,21 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Flags describing a remote client. These can be updated during a play session - /// - [System.Flags] - public enum AntiCheatCommonClientFlags : int - { - /// - /// No particular flags relevant for this client - /// - None = 0, - /// - /// The client has admin privileges on the game server - /// - Admin = (1 << 0) - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Flags describing a remote client. These can be updated during a play session + /// + [System.Flags] + public enum AntiCheatCommonClientFlags : int + { + /// + /// No particular flags relevant for this client + /// + None = 0, + /// + /// The client has admin privileges on the game server + /// + Admin = (1 << 0) + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientFlags.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientFlags.cs.meta deleted file mode 100644 index 4d6652d9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientFlags.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 40ecfaa71047fb94cae4f9e007597e06 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientInput.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientInput.cs index d6fdafdd..1cd9587b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientInput.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientInput.cs @@ -1,28 +1,28 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Flags describing the input device used by a remote client, if known. These can be updated during a play session. - /// - public enum AntiCheatCommonClientInput : int - { - /// - /// Unknown input device - /// - Unknown = 0, - /// - /// The client is using mouse and keyboard - /// - MouseKeyboard = 1, - /// - /// The client is using a gamepad or game controller - /// - Gamepad = 2, - /// - /// The client is using a touch input device (e.g. phone/tablet screen) - /// - TouchInput = 3 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Flags describing the input device used by a remote client, if known. These can be updated during a play session. + /// + public enum AntiCheatCommonClientInput : int + { + /// + /// Unknown input device + /// + Unknown = 0, + /// + /// The client is using mouse and keyboard + /// + MouseKeyboard = 1, + /// + /// The client is using a gamepad or game controller + /// + Gamepad = 2, + /// + /// The client is using a touch input device (e.g. phone/tablet screen) + /// + TouchInput = 3 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientInput.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientInput.cs.meta deleted file mode 100644 index 3ee86aac..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientInput.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5f0124653deac25418110e9de01bf260 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientPlatform.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientPlatform.cs index 0b0e845e..d9ec8675 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientPlatform.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientPlatform.cs @@ -1,48 +1,48 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Flags describing the platform of a remote client, if known - /// - public enum AntiCheatCommonClientPlatform : int - { - /// - /// Unknown platform - /// - Unknown = 0, - /// - /// The client is playing on Windows - /// - Windows = 1, - /// - /// The client is playing on Mac - /// - Mac = 2, - /// - /// The client is playing on Linux - /// - Linux = 3, - /// - /// The client is playing on an Xbox device - /// - Xbox = 4, - /// - /// The client is playing on a PlayStation device - /// - PlayStation = 5, - /// - /// The client is playing on a Nintendo device - /// - Nintendo = 6, - /// - /// The client is playing on iOS - /// - iOS = 7, - /// - /// The client is playing on Android - /// - Android = 8 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Flags describing the platform of a remote client, if known + /// + public enum AntiCheatCommonClientPlatform : int + { + /// + /// Unknown platform + /// + Unknown = 0, + /// + /// The client is playing on Windows + /// + Windows = 1, + /// + /// The client is playing on Mac + /// + Mac = 2, + /// + /// The client is playing on Linux + /// + Linux = 3, + /// + /// The client is playing on an Xbox device + /// + Xbox = 4, + /// + /// The client is playing on a PlayStation device + /// + PlayStation = 5, + /// + /// The client is playing on a Nintendo device + /// + Nintendo = 6, + /// + /// The client is playing on iOS + /// + iOS = 7, + /// + /// The client is playing on Android + /// + Android = 8 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientPlatform.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientPlatform.cs.meta deleted file mode 100644 index fee2b334..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientPlatform.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ae869c8f43da7254fbfdf49be2fa6ad6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientType.cs index d4557202..b9f2fcc9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientType.cs @@ -1,24 +1,24 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Flags describing the type of a remote client - /// - public enum AntiCheatCommonClientType : int - { - /// - /// An ordinary player that requires anti-cheat client protection to play - /// - ProtectedClient = 0, - /// - /// The player does not need the anti-cheat client to play because of their platform or other factors - /// - UnprotectedClient = 1, - /// - /// The client is an AI bot, not an actual human - /// - AIBot = 2 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Flags describing the type of a remote client + /// + public enum AntiCheatCommonClientType : int + { + /// + /// An ordinary player that requires anti-cheat client protection to play + /// + ProtectedClient = 0, + /// + /// The player does not need the anti-cheat client to play because of their platform or other factors + /// + UnprotectedClient = 1, + /// + /// The client is an AI bot, not an actual human + /// + AIBot = 2 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientType.cs.meta deleted file mode 100644 index b385ffd9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonClientType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d5912aa4d17083842b39c7b7d012e775 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventParamType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventParamType.cs index df30c6ce..d72feae5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventParamType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventParamType.cs @@ -1,48 +1,48 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Types supported for custom gameplay behavior event parameters - /// - public enum AntiCheatCommonEventParamType : int - { - /// - /// Not used - /// - Invalid = 0, - /// - /// - /// - ClientHandle = 1, - /// - /// const char* - /// - String = 2, - /// - /// uint32_t - /// - UInt32 = 3, - /// - /// int32_t - /// - Int32 = 4, - /// - /// uint64_t - /// - UInt64 = 5, - /// - /// int64_t - /// - Int64 = 6, - /// - /// - /// - Vector3f = 7, - /// - /// - /// - Quat = 8 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Types supported for custom gameplay behavior event parameters + /// + public enum AntiCheatCommonEventParamType : int + { + /// + /// Not used + /// + Invalid = 0, + /// + /// + /// + ClientHandle = 1, + /// + /// + /// + String = 2, + /// + /// + /// + UInt32 = 3, + /// + /// + /// + Int32 = 4, + /// + /// + /// + UInt64 = 5, + /// + /// + /// + Int64 = 6, + /// + /// + /// + Vector3f = 7, + /// + /// + /// + Quat = 8 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventParamType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventParamType.cs.meta deleted file mode 100644 index 3e1a2f8d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventParamType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fe93b1dab06353446811ad9baabd266a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventType.cs index ed486aa3..6493a155 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventType.cs @@ -1,28 +1,28 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Types supported for custom gameplay behavior events. - /// These have a considerable impact on performance - /// - public enum AntiCheatCommonEventType : int - { - /// - /// Not used - /// - Invalid = 0, - /// - /// A general game event that is not specific to any individual player. - /// Low memory use which is constant with respect to the number of players. - /// - GameEvent = 1, - /// - /// An event that is logically associated with a specific player. Events logged in - /// this category require a specific ClientHandle to which they will be attached. - /// Higher memory use which scales according to the number of players. - /// - PlayerEvent = 2 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Types supported for custom gameplay behavior events. + /// These have a considerable impact on performance + /// + public enum AntiCheatCommonEventType : int + { + /// + /// Not used + /// + Invalid = 0, + /// + /// A general game event that is not specific to any individual player. + /// Low memory use which is constant with respect to the number of players. + /// + GameEvent = 1, + /// + /// An event that is logically associated with a specific player. Events logged in + /// this category require a specific ClientHandle to which they will be attached. + /// Higher memory use which scales according to the number of players. + /// + PlayerEvent = 2 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventType.cs.meta deleted file mode 100644 index 4727c73b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonEventType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 034cf8c16577d7b42be63f10ce8fd516 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonInterface.cs index 59e42c16..75602442 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonInterface.cs @@ -1,42 +1,42 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public static class AntiCheatCommonInterface - { - public const int LogeventApiLatest = 1; - - public const int LogeventStringMaxLength = 39; - - public const int LoggameroundendApiLatest = 1; - - public const int LoggameroundstartApiLatest = 1; - - public const int LogplayerdespawnApiLatest = 1; - - public const int LogplayerreviveApiLatest = 1; - - public const int LogplayerspawnApiLatest = 1; - - public const int LogplayertakedamageApiLatest = 2; - - public const int LogplayertickApiLatest = 2; - - public const int LogplayeruseabilityApiLatest = 1; - - public const int LogplayeruseweaponApiLatest = 2; - - public const int LogplayeruseweaponWeaponnameMaxLength = 16; - - public const int RegistereventApiLatest = 1; - - public const int RegistereventCustomeventbase = 0x10000000; - - public const int RegistereventMaxParamdefscount = 12; - - public const int SetclientdetailsApiLatest = 1; - - public const int SetgamesessionidApiLatest = 1; - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public sealed partial class AntiCheatCommonInterface + { + public const int LogeventApiLatest = 1; + + public const int LogeventStringMaxLength = 39; + + public const int LoggameroundendApiLatest = 1; + + public const int LoggameroundstartApiLatest = 1; + + public const int LogplayerdespawnApiLatest = 1; + + public const int LogplayerreviveApiLatest = 1; + + public const int LogplayerspawnApiLatest = 1; + + public const int LogplayertakedamageApiLatest = 3; + + public const int LogplayertickApiLatest = 2; + + public const int LogplayeruseabilityApiLatest = 1; + + public const int LogplayeruseweaponApiLatest = 2; + + public const int LogplayeruseweaponWeaponnameMaxLength = 16; + + public const int RegistereventApiLatest = 1; + + public const int RegistereventCustomeventbase = 0x10000000; + + public const int RegistereventMaxParamdefscount = 12; + + public const int SetclientdetailsApiLatest = 1; + + public const int SetgamesessionidApiLatest = 1; + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonInterface.cs.meta deleted file mode 100644 index 63056f22..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3e14039b9f182ed48af364ac5ea2ea63 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerMovementState.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerMovementState.cs index 50aed76f..20d06009 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerMovementState.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerMovementState.cs @@ -1,44 +1,44 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Details of a player's movement state - /// - public enum AntiCheatCommonPlayerMovementState : int - { - /// - /// No particular state applies - /// - None = 0, - /// - /// Player is crouching - /// - Crouching = 1, - /// - /// Player is prone - /// - Prone = 2, - /// - /// Player is mounted in a vehicle or similar - /// - Mounted = 3, - /// - /// Player is swimming in a fluid volume - /// - Swimming = 4, - /// - /// Player is falling under the effects of gravity, such as when jumping or walking off the edge of a surface - /// - Falling = 5, - /// - /// Player is flying, ignoring the effects of gravity - /// - Flying = 6, - /// - /// Player is on a ladder - /// - OnLadder = 7 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Details of a player's movement state + /// + public enum AntiCheatCommonPlayerMovementState : int + { + /// + /// No particular state applies + /// + None = 0, + /// + /// Player is crouching + /// + Crouching = 1, + /// + /// Player is prone + /// + Prone = 2, + /// + /// Player is mounted in a vehicle or similar + /// + Mounted = 3, + /// + /// Player is swimming in a fluid volume + /// + Swimming = 4, + /// + /// Player is falling under the effects of gravity, such as when jumping or walking off the edge of a surface + /// + Falling = 5, + /// + /// Player is flying, ignoring the effects of gravity + /// + Flying = 6, + /// + /// Player is on a ladder + /// + OnLadder = 7 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerMovementState.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerMovementState.cs.meta deleted file mode 100644 index f6b0f459..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerMovementState.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c51eb57279a38ac4ea9b40fd57795cc0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageResult.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageResult.cs index 26956880..f36818f4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageResult.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageResult.cs @@ -1,24 +1,24 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// The result of a damage event, if any - /// - public enum AntiCheatCommonPlayerTakeDamageResult : int - { - /// - /// No direct state change consequence for the victim - /// - None = 0, - /// - /// Player character is temporarily incapacitated and requires assistance to recover - /// - Downed = 1, - /// - /// Player character is permanently incapacitated and cannot recover (e.g. dead) - /// - Eliminated = 2 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// The result of a damage event, if any + /// + public enum AntiCheatCommonPlayerTakeDamageResult : int + { + /// + /// No direct state change consequence for the victim + /// + None = 0, + /// + /// Player character is temporarily incapacitated and requires assistance to recover + /// + Downed = 1, + /// + /// Player character is permanently incapacitated and cannot recover (e.g. dead) + /// + Eliminated = 2 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageResult.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageResult.cs.meta deleted file mode 100644 index 0e56e310..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageResult.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 19ef67c44b033174fab2bd059ca56cd7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageSource.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageSource.cs index a985c28c..4aa56c69 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageSource.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageSource.cs @@ -1,28 +1,28 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// The source of a damage event - /// - public enum AntiCheatCommonPlayerTakeDamageSource : int - { - /// - /// No particular source relevant - /// - None = 0, - /// - /// Damage caused by a player controlled character - /// - Player = 1, - /// - /// Damage caused by a non-player character such as an AI enemy - /// - NonPlayerCharacter = 2, - /// - /// Damage caused by the world (falling off level, into lava, etc) - /// - World = 3 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// The source of a damage event + /// + public enum AntiCheatCommonPlayerTakeDamageSource : int + { + /// + /// No particular source relevant + /// + None = 0, + /// + /// Damage caused by a player controlled character + /// + Player = 1, + /// + /// Damage caused by a non-player character such as an AI enemy + /// + NonPlayerCharacter = 2, + /// + /// Damage caused by the world (falling off level, into lava, etc) + /// + World = 3 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageSource.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageSource.cs.meta deleted file mode 100644 index db64180f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageSource.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2e8c72e0a279ba64abca381c5f2a5a6b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageType.cs index e5097181..584b5daf 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageType.cs @@ -1,28 +1,28 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Type of damage applied in a damage event - /// - public enum AntiCheatCommonPlayerTakeDamageType : int - { - /// - /// No particular type relevant - /// - None = 0, - /// - /// Damage caused by a point source such as a bullet or melee attack - /// - PointDamage = 1, - /// - /// Damage caused by a radial source such as an explosion - /// - RadialDamage = 2, - /// - /// Damage over time such as bleeding, poison, etc - /// - DamageOverTime = 3 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Type of damage applied in a damage event + /// + public enum AntiCheatCommonPlayerTakeDamageType : int + { + /// + /// No particular type relevant + /// + None = 0, + /// + /// Damage caused by a point source such as a bullet or melee attack + /// + PointDamage = 1, + /// + /// Damage caused by a radial source such as an explosion + /// + RadialDamage = 2, + /// + /// Damage over time such as bleeding, poison, etc + /// + DamageOverTime = 3 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageType.cs.meta deleted file mode 100644 index 93930290..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/AntiCheatCommonPlayerTakeDamageType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f5d972083c8e58e438a923d876d72756 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventOptions.cs index 405fba92..3a189dae 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventOptions.cs @@ -1,79 +1,82 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class LogEventOptions - { - /// - /// Optional client who this event is primarily associated with. If not applicable, use 0. - /// - public System.IntPtr ClientHandle { get; set; } - - /// - /// Unique event identifier previously configured in RegisterEvent - /// - public uint EventId { get; set; } - - /// - /// Set of parameter types previously configured in RegisterEvent, and their values - /// - public LogEventParamPair[] Params { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogEventOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_ClientHandle; - private uint m_EventId; - private uint m_ParamsCount; - private System.IntPtr m_Params; - - public System.IntPtr ClientHandle - { - set - { - m_ClientHandle = value; - } - } - - public uint EventId - { - set - { - m_EventId = value; - } - } - - public LogEventParamPair[] Params - { - set - { - Helper.TryMarshalSet(ref m_Params, value, out m_ParamsCount); - } - } - - public void Set(LogEventOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatCommonInterface.LogeventApiLatest; - ClientHandle = other.ClientHandle; - EventId = other.EventId; - Params = other.Params; - } - } - - public void Set(object other) - { - Set(other as LogEventOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ClientHandle); - Helper.TryMarshalDispose(ref m_Params); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct LogEventOptions + { + /// + /// Optional client who this event is primarily associated with. If not applicable, use 0. + /// + public System.IntPtr ClientHandle { get; set; } + + /// + /// Unique event identifier previously configured in RegisterEvent + /// + public uint EventId { get; set; } + + /// + /// Set of parameter types previously configured in RegisterEvent, and their values + /// + public LogEventParamPair[] Params { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogEventOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_ClientHandle; + private uint m_EventId; + private uint m_ParamsCount; + private System.IntPtr m_Params; + + public System.IntPtr ClientHandle + { + set + { + m_ClientHandle = value; + } + } + + public uint EventId + { + set + { + m_EventId = value; + } + } + + public LogEventParamPair[] Params + { + set + { + Helper.Set(ref value, ref m_Params, out m_ParamsCount); + } + } + + public void Set(ref LogEventOptions other) + { + m_ApiVersion = AntiCheatCommonInterface.LogeventApiLatest; + ClientHandle = other.ClientHandle; + EventId = other.EventId; + Params = other.Params; + } + + public void Set(ref LogEventOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatCommonInterface.LogeventApiLatest; + ClientHandle = other.Value.ClientHandle; + EventId = other.Value.EventId; + Params = other.Value.Params; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientHandle); + Helper.Dispose(ref m_Params); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventOptions.cs.meta deleted file mode 100644 index 64408193..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 19d6b3c6dd0df9f43889632dad0a2b2d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPair.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPair.cs index 70390d95..eff14a13 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPair.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPair.cs @@ -1,62 +1,60 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class LogEventParamPair : ISettable - { - public LogEventParamPairParamValue ParamValue { get; set; } - - internal void Set(LogEventParamPairInternal? other) - { - if (other != null) - { - ParamValue = other.Value.ParamValue; - } - } - - public void Set(object other) - { - Set(other as LogEventParamPairInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogEventParamPairInternal : ISettable, System.IDisposable - { - private LogEventParamPairParamValueInternal m_ParamValue; - - public LogEventParamPairParamValue ParamValue - { - get - { - LogEventParamPairParamValue value; - Helper.TryMarshalGet(m_ParamValue, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ParamValue, value); - } - } - - public void Set(LogEventParamPair other) - { - if (other != null) - { - ParamValue = other.ParamValue; - } - } - - public void Set(object other) - { - Set(other as LogEventParamPair); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ParamValue); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct LogEventParamPair + { + public LogEventParamPairParamValue ParamValue { get; set; } + + internal void Set(ref LogEventParamPairInternal other) + { + ParamValue = other.ParamValue; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogEventParamPairInternal : IGettable, ISettable, System.IDisposable + { + private LogEventParamPairParamValueInternal m_ParamValue; + + public LogEventParamPairParamValue ParamValue + { + get + { + LogEventParamPairParamValue value; + Helper.Get(ref m_ParamValue, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_ParamValue); + } + } + + public void Set(ref LogEventParamPair other) + { + ParamValue = other.ParamValue; + } + + public void Set(ref LogEventParamPair? other) + { + if (other.HasValue) + { + ParamValue = other.Value.ParamValue; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ParamValue); + } + + public void Get(out LogEventParamPair output) + { + output = new LogEventParamPair(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPair.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPair.cs.meta deleted file mode 100644 index de48221f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPair.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 788c87391db3a564d8fc30dc1d16b32b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPairParamValue.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPairParamValue.cs index 41bcc5c7..1dea40c1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPairParamValue.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPairParamValue.cs @@ -1,388 +1,398 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class LogEventParamPairParamValue : ISettable - { - private AntiCheatCommonEventParamType m_ParamValueType; - private System.IntPtr? m_ClientHandle; - private string m_String; - private uint? m_UInt32; - private int? m_Int32; - private ulong? m_UInt64; - private long? m_Int64; - private Vec3f m_Vec3f; - private Quat m_Quat; - - /// - /// Parameter type - /// - public AntiCheatCommonEventParamType ParamValueType - { - get - { - return m_ParamValueType; - } - - private set - { - m_ParamValueType = value; - } - } - - /// - /// Parameter value - /// - public System.IntPtr? ClientHandle - { - get - { - System.IntPtr? value; - Helper.TryMarshalGet(m_ClientHandle, out value, m_ParamValueType, AntiCheatCommonEventParamType.ClientHandle); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ClientHandle, value, ref m_ParamValueType, AntiCheatCommonEventParamType.ClientHandle); - } - } - - public string String - { - get - { - string value; - Helper.TryMarshalGet(m_String, out value, m_ParamValueType, AntiCheatCommonEventParamType.String); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_String, value, ref m_ParamValueType, AntiCheatCommonEventParamType.String); - } - } - - public uint? UInt32 - { - get - { - uint? value; - Helper.TryMarshalGet(m_UInt32, out value, m_ParamValueType, AntiCheatCommonEventParamType.UInt32); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UInt32, value, ref m_ParamValueType, AntiCheatCommonEventParamType.UInt32); - } - } - - public int? Int32 - { - get - { - int? value; - Helper.TryMarshalGet(m_Int32, out value, m_ParamValueType, AntiCheatCommonEventParamType.Int32); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Int32, value, ref m_ParamValueType, AntiCheatCommonEventParamType.Int32); - } - } - - public ulong? UInt64 - { - get - { - ulong? value; - Helper.TryMarshalGet(m_UInt64, out value, m_ParamValueType, AntiCheatCommonEventParamType.UInt64); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UInt64, value, ref m_ParamValueType, AntiCheatCommonEventParamType.UInt64); - } - } - - public long? Int64 - { - get - { - long? value; - Helper.TryMarshalGet(m_Int64, out value, m_ParamValueType, AntiCheatCommonEventParamType.Int64); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Int64, value, ref m_ParamValueType, AntiCheatCommonEventParamType.Int64); - } - } - - public Vec3f Vec3f - { - get - { - Vec3f value; - Helper.TryMarshalGet(m_Vec3f, out value, m_ParamValueType, AntiCheatCommonEventParamType.Vector3f); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Vec3f, value, ref m_ParamValueType, AntiCheatCommonEventParamType.Vector3f); - } - } - - public Quat Quat - { - get - { - Quat value; - Helper.TryMarshalGet(m_Quat, out value, m_ParamValueType, AntiCheatCommonEventParamType.Quat); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Quat, value, ref m_ParamValueType, AntiCheatCommonEventParamType.Quat); - } - } - - public static implicit operator LogEventParamPairParamValue(System.IntPtr value) - { - return new LogEventParamPairParamValue() { ClientHandle = value }; - } - - public static implicit operator LogEventParamPairParamValue(string value) - { - return new LogEventParamPairParamValue() { String = value }; - } - - public static implicit operator LogEventParamPairParamValue(uint value) - { - return new LogEventParamPairParamValue() { UInt32 = value }; - } - - public static implicit operator LogEventParamPairParamValue(int value) - { - return new LogEventParamPairParamValue() { Int32 = value }; - } - - public static implicit operator LogEventParamPairParamValue(ulong value) - { - return new LogEventParamPairParamValue() { UInt64 = value }; - } - - public static implicit operator LogEventParamPairParamValue(long value) - { - return new LogEventParamPairParamValue() { Int64 = value }; - } - - public static implicit operator LogEventParamPairParamValue(Vec3f value) - { - return new LogEventParamPairParamValue() { Vec3f = value }; - } - - public static implicit operator LogEventParamPairParamValue(Quat value) - { - return new LogEventParamPairParamValue() { Quat = value }; - } - - internal void Set(LogEventParamPairParamValueInternal? other) - { - if (other != null) - { - ClientHandle = other.Value.ClientHandle; - String = other.Value.String; - UInt32 = other.Value.UInt32; - Int32 = other.Value.Int32; - UInt64 = other.Value.UInt64; - Int64 = other.Value.Int64; - Vec3f = other.Value.Vec3f; - Quat = other.Value.Quat; - } - } - - public void Set(object other) - { - Set(other as LogEventParamPairParamValueInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Explicit, Pack = 8)] - internal struct LogEventParamPairParamValueInternal : ISettable, System.IDisposable - { - [System.Runtime.InteropServices.FieldOffset(0)] - private AntiCheatCommonEventParamType m_ParamValueType; - [System.Runtime.InteropServices.FieldOffset(8)] - private System.IntPtr m_ClientHandle; - [System.Runtime.InteropServices.FieldOffset(8)] - private System.IntPtr m_String; - [System.Runtime.InteropServices.FieldOffset(8)] - private uint m_UInt32; - [System.Runtime.InteropServices.FieldOffset(8)] - private int m_Int32; - [System.Runtime.InteropServices.FieldOffset(8)] - private ulong m_UInt64; - [System.Runtime.InteropServices.FieldOffset(8)] - private long m_Int64; - [System.Runtime.InteropServices.FieldOffset(8)] - private Vec3fInternal m_Vec3f; - [System.Runtime.InteropServices.FieldOffset(8)] - private QuatInternal m_Quat; - - public System.IntPtr? ClientHandle - { - get - { - System.IntPtr? value; - Helper.TryMarshalGet(m_ClientHandle, out value, m_ParamValueType, AntiCheatCommonEventParamType.ClientHandle); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ClientHandle, value, ref m_ParamValueType, AntiCheatCommonEventParamType.ClientHandle, this); - } - } - - public string String - { - get - { - string value; - Helper.TryMarshalGet(m_String, out value, m_ParamValueType, AntiCheatCommonEventParamType.String); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_String, value, ref m_ParamValueType, AntiCheatCommonEventParamType.String, this); - } - } - - public uint? UInt32 - { - get - { - uint? value; - Helper.TryMarshalGet(m_UInt32, out value, m_ParamValueType, AntiCheatCommonEventParamType.UInt32); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UInt32, value, ref m_ParamValueType, AntiCheatCommonEventParamType.UInt32, this); - } - } - - public int? Int32 - { - get - { - int? value; - Helper.TryMarshalGet(m_Int32, out value, m_ParamValueType, AntiCheatCommonEventParamType.Int32); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Int32, value, ref m_ParamValueType, AntiCheatCommonEventParamType.Int32, this); - } - } - - public ulong? UInt64 - { - get - { - ulong? value; - Helper.TryMarshalGet(m_UInt64, out value, m_ParamValueType, AntiCheatCommonEventParamType.UInt64); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UInt64, value, ref m_ParamValueType, AntiCheatCommonEventParamType.UInt64, this); - } - } - - public long? Int64 - { - get - { - long? value; - Helper.TryMarshalGet(m_Int64, out value, m_ParamValueType, AntiCheatCommonEventParamType.Int64); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Int64, value, ref m_ParamValueType, AntiCheatCommonEventParamType.Int64, this); - } - } - - public Vec3f Vec3f - { - get - { - Vec3f value; - Helper.TryMarshalGet(m_Vec3f, out value, m_ParamValueType, AntiCheatCommonEventParamType.Vector3f); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Vec3f, value, ref m_ParamValueType, AntiCheatCommonEventParamType.Vector3f, this); - } - } - - public Quat Quat - { - get - { - Quat value; - Helper.TryMarshalGet(m_Quat, out value, m_ParamValueType, AntiCheatCommonEventParamType.Quat); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Quat, value, ref m_ParamValueType, AntiCheatCommonEventParamType.Quat, this); - } - } - - public void Set(LogEventParamPairParamValue other) - { - if (other != null) - { - ClientHandle = other.ClientHandle; - String = other.String; - UInt32 = other.UInt32; - Int32 = other.Int32; - UInt64 = other.UInt64; - Int64 = other.Int64; - Vec3f = other.Vec3f; - Quat = other.Quat; - } - } - - public void Set(object other) - { - Set(other as LogEventParamPairParamValue); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ClientHandle, m_ParamValueType, AntiCheatCommonEventParamType.ClientHandle); - Helper.TryMarshalDispose(ref m_String, m_ParamValueType, AntiCheatCommonEventParamType.String); - Helper.TryMarshalDispose(ref m_Vec3f); - Helper.TryMarshalDispose(ref m_Quat); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct LogEventParamPairParamValue + { + private AntiCheatCommonEventParamType m_ParamValueType; + private System.IntPtr? m_ClientHandle; + private Utf8String m_String; + private uint? m_UInt32; + private int? m_Int32; + private ulong? m_UInt64; + private long? m_Int64; + private Vec3f m_Vec3f; + private Quat m_Quat; + + /// + /// Parameter type + /// + public AntiCheatCommonEventParamType ParamValueType + { + get + { + return m_ParamValueType; + } + + private set + { + m_ParamValueType = value; + } + } + + /// + /// Parameter value + /// + public System.IntPtr? ClientHandle + { + get + { + System.IntPtr? value; + Helper.Get(m_ClientHandle, out value, m_ParamValueType, AntiCheatCommonEventParamType.ClientHandle); + return value; + } + + set + { + Helper.Set(value, ref m_ClientHandle, AntiCheatCommonEventParamType.ClientHandle, ref m_ParamValueType); + } + } + + public Utf8String String + { + get + { + Utf8String value; + Helper.Get(m_String, out value, m_ParamValueType, AntiCheatCommonEventParamType.String); + return value; + } + + set + { + Helper.Set(value, ref m_String, AntiCheatCommonEventParamType.String, ref m_ParamValueType); + } + } + + public uint? UInt32 + { + get + { + uint? value; + Helper.Get(m_UInt32, out value, m_ParamValueType, AntiCheatCommonEventParamType.UInt32); + return value; + } + + set + { + Helper.Set(value, ref m_UInt32, AntiCheatCommonEventParamType.UInt32, ref m_ParamValueType); + } + } + + public int? Int32 + { + get + { + int? value; + Helper.Get(m_Int32, out value, m_ParamValueType, AntiCheatCommonEventParamType.Int32); + return value; + } + + set + { + Helper.Set(value, ref m_Int32, AntiCheatCommonEventParamType.Int32, ref m_ParamValueType); + } + } + + public ulong? UInt64 + { + get + { + ulong? value; + Helper.Get(m_UInt64, out value, m_ParamValueType, AntiCheatCommonEventParamType.UInt64); + return value; + } + + set + { + Helper.Set(value, ref m_UInt64, AntiCheatCommonEventParamType.UInt64, ref m_ParamValueType); + } + } + + public long? Int64 + { + get + { + long? value; + Helper.Get(m_Int64, out value, m_ParamValueType, AntiCheatCommonEventParamType.Int64); + return value; + } + + set + { + Helper.Set(value, ref m_Int64, AntiCheatCommonEventParamType.Int64, ref m_ParamValueType); + } + } + + public Vec3f Vec3f + { + get + { + Vec3f value; + Helper.Get(m_Vec3f, out value, m_ParamValueType, AntiCheatCommonEventParamType.Vector3f); + return value; + } + + set + { + Helper.Set(value, ref m_Vec3f, AntiCheatCommonEventParamType.Vector3f, ref m_ParamValueType); + } + } + + public Quat Quat + { + get + { + Quat value; + Helper.Get(m_Quat, out value, m_ParamValueType, AntiCheatCommonEventParamType.Quat); + return value; + } + + set + { + Helper.Set(value, ref m_Quat, AntiCheatCommonEventParamType.Quat, ref m_ParamValueType); + } + } + + public static implicit operator LogEventParamPairParamValue(System.IntPtr value) + { + return new LogEventParamPairParamValue() { ClientHandle = value }; + } + + public static implicit operator LogEventParamPairParamValue(Utf8String value) + { + return new LogEventParamPairParamValue() { String = value }; + } + + public static implicit operator LogEventParamPairParamValue(string value) + { + return new LogEventParamPairParamValue() { String = value }; + } + + public static implicit operator LogEventParamPairParamValue(uint value) + { + return new LogEventParamPairParamValue() { UInt32 = value }; + } + + public static implicit operator LogEventParamPairParamValue(int value) + { + return new LogEventParamPairParamValue() { Int32 = value }; + } + + public static implicit operator LogEventParamPairParamValue(ulong value) + { + return new LogEventParamPairParamValue() { UInt64 = value }; + } + + public static implicit operator LogEventParamPairParamValue(long value) + { + return new LogEventParamPairParamValue() { Int64 = value }; + } + + public static implicit operator LogEventParamPairParamValue(Vec3f value) + { + return new LogEventParamPairParamValue() { Vec3f = value }; + } + + public static implicit operator LogEventParamPairParamValue(Quat value) + { + return new LogEventParamPairParamValue() { Quat = value }; + } + + internal void Set(ref LogEventParamPairParamValueInternal other) + { + ClientHandle = other.ClientHandle; + String = other.String; + UInt32 = other.UInt32; + Int32 = other.Int32; + UInt64 = other.UInt64; + Int64 = other.Int64; + Vec3f = other.Vec3f; + Quat = other.Quat; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Explicit, Pack = 8)] + internal struct LogEventParamPairParamValueInternal : IGettable, ISettable, System.IDisposable + { + [System.Runtime.InteropServices.FieldOffset(0)] + private AntiCheatCommonEventParamType m_ParamValueType; + [System.Runtime.InteropServices.FieldOffset(8)] + private System.IntPtr m_ClientHandle; + [System.Runtime.InteropServices.FieldOffset(8)] + private System.IntPtr m_String; + [System.Runtime.InteropServices.FieldOffset(8)] + private uint m_UInt32; + [System.Runtime.InteropServices.FieldOffset(8)] + private int m_Int32; + [System.Runtime.InteropServices.FieldOffset(8)] + private ulong m_UInt64; + [System.Runtime.InteropServices.FieldOffset(8)] + private long m_Int64; + [System.Runtime.InteropServices.FieldOffset(8)] + private Vec3fInternal m_Vec3f; + [System.Runtime.InteropServices.FieldOffset(8)] + private QuatInternal m_Quat; + + public System.IntPtr? ClientHandle + { + get + { + System.IntPtr? value; + Helper.Get(m_ClientHandle, out value, m_ParamValueType, AntiCheatCommonEventParamType.ClientHandle); + return value; + } + + set + { + Helper.Set(value, ref m_ClientHandle, AntiCheatCommonEventParamType.ClientHandle, ref m_ParamValueType, this); + } + } + + public Utf8String String + { + get + { + Utf8String value; + Helper.Get(m_String, out value, m_ParamValueType, AntiCheatCommonEventParamType.String); + return value; + } + + set + { + Helper.Set(value, ref m_String, AntiCheatCommonEventParamType.String, ref m_ParamValueType, this); + } + } + + public uint? UInt32 + { + get + { + uint? value; + Helper.Get(m_UInt32, out value, m_ParamValueType, AntiCheatCommonEventParamType.UInt32); + return value; + } + + set + { + Helper.Set(value, ref m_UInt32, AntiCheatCommonEventParamType.UInt32, ref m_ParamValueType, this); + } + } + + public int? Int32 + { + get + { + int? value; + Helper.Get(m_Int32, out value, m_ParamValueType, AntiCheatCommonEventParamType.Int32); + return value; + } + + set + { + Helper.Set(value, ref m_Int32, AntiCheatCommonEventParamType.Int32, ref m_ParamValueType, this); + } + } + + public ulong? UInt64 + { + get + { + ulong? value; + Helper.Get(m_UInt64, out value, m_ParamValueType, AntiCheatCommonEventParamType.UInt64); + return value; + } + + set + { + Helper.Set(value, ref m_UInt64, AntiCheatCommonEventParamType.UInt64, ref m_ParamValueType, this); + } + } + + public long? Int64 + { + get + { + long? value; + Helper.Get(m_Int64, out value, m_ParamValueType, AntiCheatCommonEventParamType.Int64); + return value; + } + + set + { + Helper.Set(value, ref m_Int64, AntiCheatCommonEventParamType.Int64, ref m_ParamValueType, this); + } + } + + public Vec3f Vec3f + { + get + { + Vec3f value; + Helper.Get(ref m_Vec3f, out value, m_ParamValueType, AntiCheatCommonEventParamType.Vector3f); + return value; + } + + set + { + Helper.Set(ref value, ref m_Vec3f, AntiCheatCommonEventParamType.Vector3f, ref m_ParamValueType, this); + } + } + + public Quat Quat + { + get + { + Quat value; + Helper.Get(ref m_Quat, out value, m_ParamValueType, AntiCheatCommonEventParamType.Quat); + return value; + } + + set + { + Helper.Set(ref value, ref m_Quat, AntiCheatCommonEventParamType.Quat, ref m_ParamValueType, this); + } + } + + public void Set(ref LogEventParamPairParamValue other) + { + ClientHandle = other.ClientHandle; + String = other.String; + UInt32 = other.UInt32; + Int32 = other.Int32; + UInt64 = other.UInt64; + Int64 = other.Int64; + Vec3f = other.Vec3f; + Quat = other.Quat; + } + + public void Set(ref LogEventParamPairParamValue? other) + { + if (other.HasValue) + { + ClientHandle = other.Value.ClientHandle; + String = other.Value.String; + UInt32 = other.Value.UInt32; + Int32 = other.Value.Int32; + UInt64 = other.Value.UInt64; + Int64 = other.Value.Int64; + Vec3f = other.Value.Vec3f; + Quat = other.Value.Quat; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientHandle, m_ParamValueType, AntiCheatCommonEventParamType.ClientHandle); + Helper.Dispose(ref m_String, m_ParamValueType, AntiCheatCommonEventParamType.String); + Helper.Dispose(ref m_Vec3f); + Helper.Dispose(ref m_Quat); + } + + public void Get(out LogEventParamPairParamValue output) + { + output = new LogEventParamPairParamValue(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPairParamValue.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPairParamValue.cs.meta deleted file mode 100644 index 7d4c8c10..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogEventParamPairParamValue.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 81a5f88a13f633640a75cf0342462ae4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundEndOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundEndOptions.cs index 7bfd757d..95dbffb3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundEndOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundEndOptions.cs @@ -1,46 +1,47 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class LogGameRoundEndOptions - { - /// - /// Optional identifier for the winning team - /// - public uint WinningTeamId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogGameRoundEndOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_WinningTeamId; - - public uint WinningTeamId - { - set - { - m_WinningTeamId = value; - } - } - - public void Set(LogGameRoundEndOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatCommonInterface.LoggameroundendApiLatest; - WinningTeamId = other.WinningTeamId; - } - } - - public void Set(object other) - { - Set(other as LogGameRoundEndOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct LogGameRoundEndOptions + { + /// + /// Optional identifier for the winning team + /// + public uint WinningTeamId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogGameRoundEndOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_WinningTeamId; + + public uint WinningTeamId + { + set + { + m_WinningTeamId = value; + } + } + + public void Set(ref LogGameRoundEndOptions other) + { + m_ApiVersion = AntiCheatCommonInterface.LoggameroundendApiLatest; + WinningTeamId = other.WinningTeamId; + } + + public void Set(ref LogGameRoundEndOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatCommonInterface.LoggameroundendApiLatest; + WinningTeamId = other.Value.WinningTeamId; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundEndOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundEndOptions.cs.meta deleted file mode 100644 index 90a53ea9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundEndOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 25f2e1cceb3a8f34f924035e748c4798 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundStartOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundStartOptions.cs index 957e77f4..4cb5ec66 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundStartOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundStartOptions.cs @@ -1,94 +1,98 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class LogGameRoundStartOptions - { - /// - /// Optional game session or match identifier useful for some backend API integrations - /// - public string SessionIdentifier { get; set; } - - /// - /// Optional name of the map being played - /// - public string LevelName { get; set; } - - /// - /// Optional name of the game mode being played - /// - public string ModeName { get; set; } - - /// - /// Optional length of the game round to be played, in seconds. If none, use 0. - /// - public uint RoundTimeSeconds { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogGameRoundStartOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionIdentifier; - private System.IntPtr m_LevelName; - private System.IntPtr m_ModeName; - private uint m_RoundTimeSeconds; - - public string SessionIdentifier - { - set - { - Helper.TryMarshalSet(ref m_SessionIdentifier, value); - } - } - - public string LevelName - { - set - { - Helper.TryMarshalSet(ref m_LevelName, value); - } - } - - public string ModeName - { - set - { - Helper.TryMarshalSet(ref m_ModeName, value); - } - } - - public uint RoundTimeSeconds - { - set - { - m_RoundTimeSeconds = value; - } - } - - public void Set(LogGameRoundStartOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatCommonInterface.LoggameroundstartApiLatest; - SessionIdentifier = other.SessionIdentifier; - LevelName = other.LevelName; - ModeName = other.ModeName; - RoundTimeSeconds = other.RoundTimeSeconds; - } - } - - public void Set(object other) - { - Set(other as LogGameRoundStartOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionIdentifier); - Helper.TryMarshalDispose(ref m_LevelName); - Helper.TryMarshalDispose(ref m_ModeName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct LogGameRoundStartOptions + { + /// + /// Optional game session or match identifier useful for some backend API integrations + /// + public Utf8String SessionIdentifier { get; set; } + + /// + /// Optional name of the map being played + /// + public Utf8String LevelName { get; set; } + + /// + /// Optional name of the game mode being played + /// + public Utf8String ModeName { get; set; } + + /// + /// Optional length of the game round to be played, in seconds. If none, use 0. + /// + public uint RoundTimeSeconds { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogGameRoundStartOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionIdentifier; + private System.IntPtr m_LevelName; + private System.IntPtr m_ModeName; + private uint m_RoundTimeSeconds; + + public Utf8String SessionIdentifier + { + set + { + Helper.Set(value, ref m_SessionIdentifier); + } + } + + public Utf8String LevelName + { + set + { + Helper.Set(value, ref m_LevelName); + } + } + + public Utf8String ModeName + { + set + { + Helper.Set(value, ref m_ModeName); + } + } + + public uint RoundTimeSeconds + { + set + { + m_RoundTimeSeconds = value; + } + } + + public void Set(ref LogGameRoundStartOptions other) + { + m_ApiVersion = AntiCheatCommonInterface.LoggameroundstartApiLatest; + SessionIdentifier = other.SessionIdentifier; + LevelName = other.LevelName; + ModeName = other.ModeName; + RoundTimeSeconds = other.RoundTimeSeconds; + } + + public void Set(ref LogGameRoundStartOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatCommonInterface.LoggameroundstartApiLatest; + SessionIdentifier = other.Value.SessionIdentifier; + LevelName = other.Value.LevelName; + ModeName = other.Value.ModeName; + RoundTimeSeconds = other.Value.RoundTimeSeconds; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionIdentifier); + Helper.Dispose(ref m_LevelName); + Helper.Dispose(ref m_ModeName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundStartOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundStartOptions.cs.meta deleted file mode 100644 index c23cd4dc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogGameRoundStartOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ccc495f2698fac94e926b6491bcaa845 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerDespawnOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerDespawnOptions.cs index 2da986f3..00b17605 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerDespawnOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerDespawnOptions.cs @@ -1,47 +1,48 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class LogPlayerDespawnOptions - { - /// - /// Locally unique value used in RegisterClient/RegisterPeer - /// - public System.IntPtr DespawnedPlayerHandle { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogPlayerDespawnOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_DespawnedPlayerHandle; - - public System.IntPtr DespawnedPlayerHandle - { - set - { - m_DespawnedPlayerHandle = value; - } - } - - public void Set(LogPlayerDespawnOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatCommonInterface.LogplayerdespawnApiLatest; - DespawnedPlayerHandle = other.DespawnedPlayerHandle; - } - } - - public void Set(object other) - { - Set(other as LogPlayerDespawnOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_DespawnedPlayerHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct LogPlayerDespawnOptions + { + /// + /// Locally unique value used in RegisterClient/RegisterPeer + /// + public System.IntPtr DespawnedPlayerHandle { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogPlayerDespawnOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_DespawnedPlayerHandle; + + public System.IntPtr DespawnedPlayerHandle + { + set + { + m_DespawnedPlayerHandle = value; + } + } + + public void Set(ref LogPlayerDespawnOptions other) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayerdespawnApiLatest; + DespawnedPlayerHandle = other.DespawnedPlayerHandle; + } + + public void Set(ref LogPlayerDespawnOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayerdespawnApiLatest; + DespawnedPlayerHandle = other.Value.DespawnedPlayerHandle; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_DespawnedPlayerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerDespawnOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerDespawnOptions.cs.meta deleted file mode 100644 index f17a0058..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerDespawnOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d5657564deea6084690f2427e1234f2f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerReviveOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerReviveOptions.cs index 42bdc3a5..3b09f8ac 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerReviveOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerReviveOptions.cs @@ -1,63 +1,65 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class LogPlayerReviveOptions - { - /// - /// Locally unique value used in RegisterClient/RegisterPeer - /// - public System.IntPtr RevivedPlayerHandle { get; set; } - - /// - /// Locally unique value used in RegisterClient/RegisterPeer - /// - public System.IntPtr ReviverPlayerHandle { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogPlayerReviveOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_RevivedPlayerHandle; - private System.IntPtr m_ReviverPlayerHandle; - - public System.IntPtr RevivedPlayerHandle - { - set - { - m_RevivedPlayerHandle = value; - } - } - - public System.IntPtr ReviverPlayerHandle - { - set - { - m_ReviverPlayerHandle = value; - } - } - - public void Set(LogPlayerReviveOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatCommonInterface.LogplayerreviveApiLatest; - RevivedPlayerHandle = other.RevivedPlayerHandle; - ReviverPlayerHandle = other.ReviverPlayerHandle; - } - } - - public void Set(object other) - { - Set(other as LogPlayerReviveOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_RevivedPlayerHandle); - Helper.TryMarshalDispose(ref m_ReviverPlayerHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct LogPlayerReviveOptions + { + /// + /// Locally unique value used in RegisterClient/RegisterPeer + /// + public System.IntPtr RevivedPlayerHandle { get; set; } + + /// + /// Locally unique value used in RegisterClient/RegisterPeer + /// + public System.IntPtr ReviverPlayerHandle { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogPlayerReviveOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_RevivedPlayerHandle; + private System.IntPtr m_ReviverPlayerHandle; + + public System.IntPtr RevivedPlayerHandle + { + set + { + m_RevivedPlayerHandle = value; + } + } + + public System.IntPtr ReviverPlayerHandle + { + set + { + m_ReviverPlayerHandle = value; + } + } + + public void Set(ref LogPlayerReviveOptions other) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayerreviveApiLatest; + RevivedPlayerHandle = other.RevivedPlayerHandle; + ReviverPlayerHandle = other.ReviverPlayerHandle; + } + + public void Set(ref LogPlayerReviveOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayerreviveApiLatest; + RevivedPlayerHandle = other.Value.RevivedPlayerHandle; + ReviverPlayerHandle = other.Value.ReviverPlayerHandle; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_RevivedPlayerHandle); + Helper.Dispose(ref m_ReviverPlayerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerReviveOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerReviveOptions.cs.meta deleted file mode 100644 index 64499f71..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerReviveOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f47ccbaf348448449949ef71289e7374 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerSpawnOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerSpawnOptions.cs index 563a0f78..3cf7fc5e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerSpawnOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerSpawnOptions.cs @@ -1,77 +1,80 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class LogPlayerSpawnOptions - { - /// - /// Locally unique value used in RegisterClient/RegisterPeer - /// - public System.IntPtr SpawnedPlayerHandle { get; set; } - - /// - /// Optional identifier for the player's team. If none, use 0. - /// - public uint TeamId { get; set; } - - /// - /// Optional identifier for the player's character. If none, use 0. - /// - public uint CharacterId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogPlayerSpawnOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SpawnedPlayerHandle; - private uint m_TeamId; - private uint m_CharacterId; - - public System.IntPtr SpawnedPlayerHandle - { - set - { - m_SpawnedPlayerHandle = value; - } - } - - public uint TeamId - { - set - { - m_TeamId = value; - } - } - - public uint CharacterId - { - set - { - m_CharacterId = value; - } - } - - public void Set(LogPlayerSpawnOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatCommonInterface.LogplayerspawnApiLatest; - SpawnedPlayerHandle = other.SpawnedPlayerHandle; - TeamId = other.TeamId; - CharacterId = other.CharacterId; - } - } - - public void Set(object other) - { - Set(other as LogPlayerSpawnOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SpawnedPlayerHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct LogPlayerSpawnOptions + { + /// + /// Locally unique value used in RegisterClient/RegisterPeer + /// + public System.IntPtr SpawnedPlayerHandle { get; set; } + + /// + /// Optional identifier for the player's team. If none, use 0. + /// + public uint TeamId { get; set; } + + /// + /// Optional identifier for the player's character. If none, use 0. + /// + public uint CharacterId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogPlayerSpawnOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SpawnedPlayerHandle; + private uint m_TeamId; + private uint m_CharacterId; + + public System.IntPtr SpawnedPlayerHandle + { + set + { + m_SpawnedPlayerHandle = value; + } + } + + public uint TeamId + { + set + { + m_TeamId = value; + } + } + + public uint CharacterId + { + set + { + m_CharacterId = value; + } + } + + public void Set(ref LogPlayerSpawnOptions other) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayerspawnApiLatest; + SpawnedPlayerHandle = other.SpawnedPlayerHandle; + TeamId = other.TeamId; + CharacterId = other.CharacterId; + } + + public void Set(ref LogPlayerSpawnOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayerspawnApiLatest; + SpawnedPlayerHandle = other.Value.SpawnedPlayerHandle; + TeamId = other.Value.TeamId; + CharacterId = other.Value.CharacterId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SpawnedPlayerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerSpawnOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerSpawnOptions.cs.meta deleted file mode 100644 index ed53653f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerSpawnOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b638b4319f3d1e44a8cae212fa245fb1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTakeDamageOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTakeDamageOptions.cs index 84794bcf..3b5ed3c0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTakeDamageOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTakeDamageOptions.cs @@ -1,298 +1,335 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class LogPlayerTakeDamageOptions - { - /// - /// Locally unique value used in RegisterClient/RegisterPeer - /// - public System.IntPtr VictimPlayerHandle { get; set; } - - /// - /// Victim player's current world position as a 3D vector - /// - public Vec3f VictimPlayerPosition { get; set; } - - /// - /// Victim player's view rotation as a quaternion - /// - public Quat VictimPlayerViewRotation { get; set; } - - /// - /// Locally unique value used in RegisterClient/RegisterPeer - /// - public System.IntPtr AttackerPlayerHandle { get; set; } - - /// - /// Attacker player's current world position as a 3D vector - /// - public Vec3f AttackerPlayerPosition { get; set; } - - /// - /// Attacker player's view rotation as a quaternion - /// - public Quat AttackerPlayerViewRotation { get; set; } - - /// - /// True if the damage was applied instantly at the time of attack from the game - /// simulation's perspective, otherwise false (simulated ballistics, arrow, etc). - /// - public bool IsHitscanAttack { get; set; } - - /// - /// True if there is a visible line of sight between the attacker and the victim at the time - /// that damage is being applied, false if there is an obstacle like a wall or terrain in - /// the way. For some situations like melee or hitscan weapons this is trivially - /// true, for others like projectiles with simulated physics it may not be e.g. a player - /// could fire a slow moving projectile and then move behind cover before it strikes. - /// - public bool HasLineOfSight { get; set; } - - /// - /// True if this was a critical hit that causes extra damage (e.g. headshot) - /// - public bool IsCriticalHit { get; set; } - - /// - /// Identifier of the victim bone hit in this damage event - /// - public uint HitBoneId { get; set; } - - /// - /// Number of health points that the victim lost due to this damage event - /// - public float DamageTaken { get; set; } - - /// - /// Number of health points that the victim has remaining after this damage event - /// - public float HealthRemaining { get; set; } - - /// - /// Source of the damage event - /// - public AntiCheatCommonPlayerTakeDamageSource DamageSource { get; set; } - - /// - /// Type of the damage being applied - /// - public AntiCheatCommonPlayerTakeDamageType DamageType { get; set; } - - /// - /// Result of the damage for the victim, if any - /// - public AntiCheatCommonPlayerTakeDamageResult DamageResult { get; set; } - - /// - /// PlayerUseWeaponData associated with this damage event if available, otherwise NULL - /// - public LogPlayerUseWeaponData PlayerUseWeaponData { get; set; } - - /// - /// Time in milliseconds since the PlayerUseWeaponData event occurred if available, otherwise 0 - /// - public uint TimeSincePlayerUseWeaponMs { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogPlayerTakeDamageOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_VictimPlayerHandle; - private System.IntPtr m_VictimPlayerPosition; - private System.IntPtr m_VictimPlayerViewRotation; - private System.IntPtr m_AttackerPlayerHandle; - private System.IntPtr m_AttackerPlayerPosition; - private System.IntPtr m_AttackerPlayerViewRotation; - private int m_IsHitscanAttack; - private int m_HasLineOfSight; - private int m_IsCriticalHit; - private uint m_HitBoneId; - private float m_DamageTaken; - private float m_HealthRemaining; - private AntiCheatCommonPlayerTakeDamageSource m_DamageSource; - private AntiCheatCommonPlayerTakeDamageType m_DamageType; - private AntiCheatCommonPlayerTakeDamageResult m_DamageResult; - private System.IntPtr m_PlayerUseWeaponData; - private uint m_TimeSincePlayerUseWeaponMs; - - public System.IntPtr VictimPlayerHandle - { - set - { - m_VictimPlayerHandle = value; - } - } - - public Vec3f VictimPlayerPosition - { - set - { - Helper.TryMarshalSet(ref m_VictimPlayerPosition, value); - } - } - - public Quat VictimPlayerViewRotation - { - set - { - Helper.TryMarshalSet(ref m_VictimPlayerViewRotation, value); - } - } - - public System.IntPtr AttackerPlayerHandle - { - set - { - m_AttackerPlayerHandle = value; - } - } - - public Vec3f AttackerPlayerPosition - { - set - { - Helper.TryMarshalSet(ref m_AttackerPlayerPosition, value); - } - } - - public Quat AttackerPlayerViewRotation - { - set - { - Helper.TryMarshalSet(ref m_AttackerPlayerViewRotation, value); - } - } - - public bool IsHitscanAttack - { - set - { - Helper.TryMarshalSet(ref m_IsHitscanAttack, value); - } - } - - public bool HasLineOfSight - { - set - { - Helper.TryMarshalSet(ref m_HasLineOfSight, value); - } - } - - public bool IsCriticalHit - { - set - { - Helper.TryMarshalSet(ref m_IsCriticalHit, value); - } - } - - public uint HitBoneId - { - set - { - m_HitBoneId = value; - } - } - - public float DamageTaken - { - set - { - m_DamageTaken = value; - } - } - - public float HealthRemaining - { - set - { - m_HealthRemaining = value; - } - } - - public AntiCheatCommonPlayerTakeDamageSource DamageSource - { - set - { - m_DamageSource = value; - } - } - - public AntiCheatCommonPlayerTakeDamageType DamageType - { - set - { - m_DamageType = value; - } - } - - public AntiCheatCommonPlayerTakeDamageResult DamageResult - { - set - { - m_DamageResult = value; - } - } - - public LogPlayerUseWeaponData PlayerUseWeaponData - { - set - { - Helper.TryMarshalSet(ref m_PlayerUseWeaponData, value); - } - } - - public uint TimeSincePlayerUseWeaponMs - { - set - { - m_TimeSincePlayerUseWeaponMs = value; - } - } - - public void Set(LogPlayerTakeDamageOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatCommonInterface.LogplayertakedamageApiLatest; - VictimPlayerHandle = other.VictimPlayerHandle; - VictimPlayerPosition = other.VictimPlayerPosition; - VictimPlayerViewRotation = other.VictimPlayerViewRotation; - AttackerPlayerHandle = other.AttackerPlayerHandle; - AttackerPlayerPosition = other.AttackerPlayerPosition; - AttackerPlayerViewRotation = other.AttackerPlayerViewRotation; - IsHitscanAttack = other.IsHitscanAttack; - HasLineOfSight = other.HasLineOfSight; - IsCriticalHit = other.IsCriticalHit; - HitBoneId = other.HitBoneId; - DamageTaken = other.DamageTaken; - HealthRemaining = other.HealthRemaining; - DamageSource = other.DamageSource; - DamageType = other.DamageType; - DamageResult = other.DamageResult; - PlayerUseWeaponData = other.PlayerUseWeaponData; - TimeSincePlayerUseWeaponMs = other.TimeSincePlayerUseWeaponMs; - } - } - - public void Set(object other) - { - Set(other as LogPlayerTakeDamageOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_VictimPlayerHandle); - Helper.TryMarshalDispose(ref m_VictimPlayerPosition); - Helper.TryMarshalDispose(ref m_VictimPlayerViewRotation); - Helper.TryMarshalDispose(ref m_AttackerPlayerHandle); - Helper.TryMarshalDispose(ref m_AttackerPlayerPosition); - Helper.TryMarshalDispose(ref m_AttackerPlayerViewRotation); - Helper.TryMarshalDispose(ref m_PlayerUseWeaponData); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct LogPlayerTakeDamageOptions + { + /// + /// Locally unique value used in RegisterClient/RegisterPeer + /// + public System.IntPtr VictimPlayerHandle { get; set; } + + /// + /// Victim player's current world position as a 3D vector + /// + public Vec3f? VictimPlayerPosition { get; set; } + + /// + /// Victim player's view rotation as a quaternion + /// + public Quat? VictimPlayerViewRotation { get; set; } + + /// + /// Locally unique value used in RegisterClient/RegisterPeer + /// + public System.IntPtr AttackerPlayerHandle { get; set; } + + /// + /// Attacker player's current world position as a 3D vector + /// + public Vec3f? AttackerPlayerPosition { get; set; } + + /// + /// Attacker player's view rotation as a quaternion + /// + public Quat? AttackerPlayerViewRotation { get; set; } + + /// + /// True if the damage was applied instantly at the time of attack from the game + /// simulation's perspective, otherwise false (simulated ballistics, arrow, etc). + /// + public bool IsHitscanAttack { get; set; } + + /// + /// True if there is a visible line of sight between the attacker and the victim at the time + /// that damage is being applied, false if there is an obstacle like a wall or terrain in + /// the way. For some situations like melee or hitscan weapons this is trivially + /// true, for others like projectiles with simulated physics it may not be e.g. a player + /// could fire a slow moving projectile and then move behind cover before it strikes. + /// + /// This can be an estimate, or can simply be always set to true if it is not feasible + /// to compute in your game. + /// + public bool HasLineOfSight { get; set; } + + /// + /// True if this was a critical hit that causes extra damage (e.g. headshot) + /// + public bool IsCriticalHit { get; set; } + + /// + /// Deprecated - use DamagePosition instead + /// + public uint HitBoneId_DEPRECATED { get; set; } + + /// + /// Number of health points that the victim lost due to this damage event + /// + public float DamageTaken { get; set; } + + /// + /// Number of health points that the victim has remaining after this damage event + /// + public float HealthRemaining { get; set; } + + /// + /// Source of the damage event + /// + public AntiCheatCommonPlayerTakeDamageSource DamageSource { get; set; } + + /// + /// Type of the damage being applied + /// + public AntiCheatCommonPlayerTakeDamageType DamageType { get; set; } + + /// + /// Result of the damage for the victim, if any + /// + public AntiCheatCommonPlayerTakeDamageResult DamageResult { get; set; } + + /// + /// PlayerUseWeaponData associated with this damage event if available, otherwise + /// + public LogPlayerUseWeaponData? PlayerUseWeaponData { get; set; } + + /// + /// Time in milliseconds since the associated PlayerUseWeaponData event occurred if available, otherwise 0 + /// + public uint TimeSincePlayerUseWeaponMs { get; set; } + + /// + /// World position where damage hit the victim as a 3D vector if available, otherwise + /// + public Vec3f? DamagePosition { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogPlayerTakeDamageOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_VictimPlayerHandle; + private System.IntPtr m_VictimPlayerPosition; + private System.IntPtr m_VictimPlayerViewRotation; + private System.IntPtr m_AttackerPlayerHandle; + private System.IntPtr m_AttackerPlayerPosition; + private System.IntPtr m_AttackerPlayerViewRotation; + private int m_IsHitscanAttack; + private int m_HasLineOfSight; + private int m_IsCriticalHit; + private uint m_HitBoneId_DEPRECATED; + private float m_DamageTaken; + private float m_HealthRemaining; + private AntiCheatCommonPlayerTakeDamageSource m_DamageSource; + private AntiCheatCommonPlayerTakeDamageType m_DamageType; + private AntiCheatCommonPlayerTakeDamageResult m_DamageResult; + private System.IntPtr m_PlayerUseWeaponData; + private uint m_TimeSincePlayerUseWeaponMs; + private System.IntPtr m_DamagePosition; + + public System.IntPtr VictimPlayerHandle + { + set + { + m_VictimPlayerHandle = value; + } + } + + public Vec3f? VictimPlayerPosition + { + set + { + Helper.Set(ref value, ref m_VictimPlayerPosition); + } + } + + public Quat? VictimPlayerViewRotation + { + set + { + Helper.Set(ref value, ref m_VictimPlayerViewRotation); + } + } + + public System.IntPtr AttackerPlayerHandle + { + set + { + m_AttackerPlayerHandle = value; + } + } + + public Vec3f? AttackerPlayerPosition + { + set + { + Helper.Set(ref value, ref m_AttackerPlayerPosition); + } + } + + public Quat? AttackerPlayerViewRotation + { + set + { + Helper.Set(ref value, ref m_AttackerPlayerViewRotation); + } + } + + public bool IsHitscanAttack + { + set + { + Helper.Set(value, ref m_IsHitscanAttack); + } + } + + public bool HasLineOfSight + { + set + { + Helper.Set(value, ref m_HasLineOfSight); + } + } + + public bool IsCriticalHit + { + set + { + Helper.Set(value, ref m_IsCriticalHit); + } + } + + public uint HitBoneId_DEPRECATED + { + set + { + m_HitBoneId_DEPRECATED = value; + } + } + + public float DamageTaken + { + set + { + m_DamageTaken = value; + } + } + + public float HealthRemaining + { + set + { + m_HealthRemaining = value; + } + } + + public AntiCheatCommonPlayerTakeDamageSource DamageSource + { + set + { + m_DamageSource = value; + } + } + + public AntiCheatCommonPlayerTakeDamageType DamageType + { + set + { + m_DamageType = value; + } + } + + public AntiCheatCommonPlayerTakeDamageResult DamageResult + { + set + { + m_DamageResult = value; + } + } + + public LogPlayerUseWeaponData? PlayerUseWeaponData + { + set + { + Helper.Set(ref value, ref m_PlayerUseWeaponData); + } + } + + public uint TimeSincePlayerUseWeaponMs + { + set + { + m_TimeSincePlayerUseWeaponMs = value; + } + } + + public Vec3f? DamagePosition + { + set + { + Helper.Set(ref value, ref m_DamagePosition); + } + } + + public void Set(ref LogPlayerTakeDamageOptions other) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayertakedamageApiLatest; + VictimPlayerHandle = other.VictimPlayerHandle; + VictimPlayerPosition = other.VictimPlayerPosition; + VictimPlayerViewRotation = other.VictimPlayerViewRotation; + AttackerPlayerHandle = other.AttackerPlayerHandle; + AttackerPlayerPosition = other.AttackerPlayerPosition; + AttackerPlayerViewRotation = other.AttackerPlayerViewRotation; + IsHitscanAttack = other.IsHitscanAttack; + HasLineOfSight = other.HasLineOfSight; + IsCriticalHit = other.IsCriticalHit; + HitBoneId_DEPRECATED = other.HitBoneId_DEPRECATED; + DamageTaken = other.DamageTaken; + HealthRemaining = other.HealthRemaining; + DamageSource = other.DamageSource; + DamageType = other.DamageType; + DamageResult = other.DamageResult; + PlayerUseWeaponData = other.PlayerUseWeaponData; + TimeSincePlayerUseWeaponMs = other.TimeSincePlayerUseWeaponMs; + DamagePosition = other.DamagePosition; + } + + public void Set(ref LogPlayerTakeDamageOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayertakedamageApiLatest; + VictimPlayerHandle = other.Value.VictimPlayerHandle; + VictimPlayerPosition = other.Value.VictimPlayerPosition; + VictimPlayerViewRotation = other.Value.VictimPlayerViewRotation; + AttackerPlayerHandle = other.Value.AttackerPlayerHandle; + AttackerPlayerPosition = other.Value.AttackerPlayerPosition; + AttackerPlayerViewRotation = other.Value.AttackerPlayerViewRotation; + IsHitscanAttack = other.Value.IsHitscanAttack; + HasLineOfSight = other.Value.HasLineOfSight; + IsCriticalHit = other.Value.IsCriticalHit; + HitBoneId_DEPRECATED = other.Value.HitBoneId_DEPRECATED; + DamageTaken = other.Value.DamageTaken; + HealthRemaining = other.Value.HealthRemaining; + DamageSource = other.Value.DamageSource; + DamageType = other.Value.DamageType; + DamageResult = other.Value.DamageResult; + PlayerUseWeaponData = other.Value.PlayerUseWeaponData; + TimeSincePlayerUseWeaponMs = other.Value.TimeSincePlayerUseWeaponMs; + DamagePosition = other.Value.DamagePosition; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_VictimPlayerHandle); + Helper.Dispose(ref m_VictimPlayerPosition); + Helper.Dispose(ref m_VictimPlayerViewRotation); + Helper.Dispose(ref m_AttackerPlayerHandle); + Helper.Dispose(ref m_AttackerPlayerPosition); + Helper.Dispose(ref m_AttackerPlayerViewRotation); + Helper.Dispose(ref m_PlayerUseWeaponData); + Helper.Dispose(ref m_DamagePosition); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTakeDamageOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTakeDamageOptions.cs.meta deleted file mode 100644 index a6f968e1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTakeDamageOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 21f2574eb5d585341ab207f0dbf95c9e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTickOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTickOptions.cs index 8ed79846..9da5f3ff 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTickOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTickOptions.cs @@ -1,124 +1,130 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class LogPlayerTickOptions - { - /// - /// Locally unique value used in RegisterClient/RegisterPeer - /// - public System.IntPtr PlayerHandle { get; set; } - - /// - /// Player's current world position as a 3D vector - /// - public Vec3f PlayerPosition { get; set; } - - /// - /// Player's view rotation as a quaternion - /// - public Quat PlayerViewRotation { get; set; } - - /// - /// True if the player's view is zoomed (e.g. using a sniper rifle), otherwise false - /// - public bool IsPlayerViewZoomed { get; set; } - - /// - /// Player's current health value - /// - public float PlayerHealth { get; set; } - - /// - /// Any movement state applicable - /// - public AntiCheatCommonPlayerMovementState PlayerMovementState { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogPlayerTickOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_PlayerHandle; - private System.IntPtr m_PlayerPosition; - private System.IntPtr m_PlayerViewRotation; - private int m_IsPlayerViewZoomed; - private float m_PlayerHealth; - private AntiCheatCommonPlayerMovementState m_PlayerMovementState; - - public System.IntPtr PlayerHandle - { - set - { - m_PlayerHandle = value; - } - } - - public Vec3f PlayerPosition - { - set - { - Helper.TryMarshalSet(ref m_PlayerPosition, value); - } - } - - public Quat PlayerViewRotation - { - set - { - Helper.TryMarshalSet(ref m_PlayerViewRotation, value); - } - } - - public bool IsPlayerViewZoomed - { - set - { - Helper.TryMarshalSet(ref m_IsPlayerViewZoomed, value); - } - } - - public float PlayerHealth - { - set - { - m_PlayerHealth = value; - } - } - - public AntiCheatCommonPlayerMovementState PlayerMovementState - { - set - { - m_PlayerMovementState = value; - } - } - - public void Set(LogPlayerTickOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatCommonInterface.LogplayertickApiLatest; - PlayerHandle = other.PlayerHandle; - PlayerPosition = other.PlayerPosition; - PlayerViewRotation = other.PlayerViewRotation; - IsPlayerViewZoomed = other.IsPlayerViewZoomed; - PlayerHealth = other.PlayerHealth; - PlayerMovementState = other.PlayerMovementState; - } - } - - public void Set(object other) - { - Set(other as LogPlayerTickOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_PlayerHandle); - Helper.TryMarshalDispose(ref m_PlayerPosition); - Helper.TryMarshalDispose(ref m_PlayerViewRotation); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct LogPlayerTickOptions + { + /// + /// Locally unique value used in RegisterClient/RegisterPeer + /// + public System.IntPtr PlayerHandle { get; set; } + + /// + /// Player's current world position as a 3D vector + /// + public Vec3f? PlayerPosition { get; set; } + + /// + /// Player's view rotation as a quaternion + /// + public Quat? PlayerViewRotation { get; set; } + + /// + /// True if the player's view is zoomed (e.g. using a sniper rifle), otherwise false + /// + public bool IsPlayerViewZoomed { get; set; } + + /// + /// Player's current health value + /// + public float PlayerHealth { get; set; } + + /// + /// Any movement state applicable + /// + public AntiCheatCommonPlayerMovementState PlayerMovementState { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogPlayerTickOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_PlayerHandle; + private System.IntPtr m_PlayerPosition; + private System.IntPtr m_PlayerViewRotation; + private int m_IsPlayerViewZoomed; + private float m_PlayerHealth; + private AntiCheatCommonPlayerMovementState m_PlayerMovementState; + + public System.IntPtr PlayerHandle + { + set + { + m_PlayerHandle = value; + } + } + + public Vec3f? PlayerPosition + { + set + { + Helper.Set(ref value, ref m_PlayerPosition); + } + } + + public Quat? PlayerViewRotation + { + set + { + Helper.Set(ref value, ref m_PlayerViewRotation); + } + } + + public bool IsPlayerViewZoomed + { + set + { + Helper.Set(value, ref m_IsPlayerViewZoomed); + } + } + + public float PlayerHealth + { + set + { + m_PlayerHealth = value; + } + } + + public AntiCheatCommonPlayerMovementState PlayerMovementState + { + set + { + m_PlayerMovementState = value; + } + } + + public void Set(ref LogPlayerTickOptions other) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayertickApiLatest; + PlayerHandle = other.PlayerHandle; + PlayerPosition = other.PlayerPosition; + PlayerViewRotation = other.PlayerViewRotation; + IsPlayerViewZoomed = other.IsPlayerViewZoomed; + PlayerHealth = other.PlayerHealth; + PlayerMovementState = other.PlayerMovementState; + } + + public void Set(ref LogPlayerTickOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayertickApiLatest; + PlayerHandle = other.Value.PlayerHandle; + PlayerPosition = other.Value.PlayerPosition; + PlayerViewRotation = other.Value.PlayerViewRotation; + IsPlayerViewZoomed = other.Value.IsPlayerViewZoomed; + PlayerHealth = other.Value.PlayerHealth; + PlayerMovementState = other.Value.PlayerMovementState; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_PlayerHandle); + Helper.Dispose(ref m_PlayerPosition); + Helper.Dispose(ref m_PlayerViewRotation); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTickOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTickOptions.cs.meta deleted file mode 100644 index ca922f39..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerTickOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ad7dc4564f0154640b5a9d818c465805 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseAbilityOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseAbilityOptions.cs index 005c8087..04b065ab 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseAbilityOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseAbilityOptions.cs @@ -1,92 +1,96 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class LogPlayerUseAbilityOptions - { - /// - /// Locally unique value used in RegisterClient/RegisterPeer - /// - public System.IntPtr PlayerHandle { get; set; } - - /// - /// Game defined unique identifier for the ability being used - /// - public uint AbilityId { get; set; } - - /// - /// Duration of the ability effect in milliseconds. If not applicable, use 0. - /// - public uint AbilityDurationMs { get; set; } - - /// - /// Cooldown until the ability can be used again in milliseconds. If not applicable, use 0. - /// - public uint AbilityCooldownMs { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogPlayerUseAbilityOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_PlayerHandle; - private uint m_AbilityId; - private uint m_AbilityDurationMs; - private uint m_AbilityCooldownMs; - - public System.IntPtr PlayerHandle - { - set - { - m_PlayerHandle = value; - } - } - - public uint AbilityId - { - set - { - m_AbilityId = value; - } - } - - public uint AbilityDurationMs - { - set - { - m_AbilityDurationMs = value; - } - } - - public uint AbilityCooldownMs - { - set - { - m_AbilityCooldownMs = value; - } - } - - public void Set(LogPlayerUseAbilityOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatCommonInterface.LogplayeruseabilityApiLatest; - PlayerHandle = other.PlayerHandle; - AbilityId = other.AbilityId; - AbilityDurationMs = other.AbilityDurationMs; - AbilityCooldownMs = other.AbilityCooldownMs; - } - } - - public void Set(object other) - { - Set(other as LogPlayerUseAbilityOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_PlayerHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct LogPlayerUseAbilityOptions + { + /// + /// Locally unique value used in RegisterClient/RegisterPeer + /// + public System.IntPtr PlayerHandle { get; set; } + + /// + /// Game defined unique identifier for the ability being used + /// + public uint AbilityId { get; set; } + + /// + /// Duration of the ability effect in milliseconds. If not applicable, use 0. + /// + public uint AbilityDurationMs { get; set; } + + /// + /// Cooldown until the ability can be used again in milliseconds. If not applicable, use 0. + /// + public uint AbilityCooldownMs { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogPlayerUseAbilityOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_PlayerHandle; + private uint m_AbilityId; + private uint m_AbilityDurationMs; + private uint m_AbilityCooldownMs; + + public System.IntPtr PlayerHandle + { + set + { + m_PlayerHandle = value; + } + } + + public uint AbilityId + { + set + { + m_AbilityId = value; + } + } + + public uint AbilityDurationMs + { + set + { + m_AbilityDurationMs = value; + } + } + + public uint AbilityCooldownMs + { + set + { + m_AbilityCooldownMs = value; + } + } + + public void Set(ref LogPlayerUseAbilityOptions other) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayeruseabilityApiLatest; + PlayerHandle = other.PlayerHandle; + AbilityId = other.AbilityId; + AbilityDurationMs = other.AbilityDurationMs; + AbilityCooldownMs = other.AbilityCooldownMs; + } + + public void Set(ref LogPlayerUseAbilityOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayeruseabilityApiLatest; + PlayerHandle = other.Value.PlayerHandle; + AbilityId = other.Value.AbilityId; + AbilityDurationMs = other.Value.AbilityDurationMs; + AbilityCooldownMs = other.Value.AbilityCooldownMs; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_PlayerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseAbilityOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseAbilityOptions.cs.meta deleted file mode 100644 index 7534d60c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseAbilityOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a4a407f728287b540a2d1824c1cf113b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponData.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponData.cs index 973428ef..fa771128 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponData.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponData.cs @@ -1,181 +1,184 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class LogPlayerUseWeaponData : ISettable - { - /// - /// Locally unique value used in RegisterClient/RegisterPeer - /// - public System.IntPtr PlayerHandle { get; set; } - - /// - /// Player's current world position as a 3D vector - /// - public Vec3f PlayerPosition { get; set; } - - /// - /// Player's view rotation as a quaternion - /// - public Quat PlayerViewRotation { get; set; } - - /// - /// True if the player's view is zoomed (e.g. using a sniper rifle), otherwise false - /// - public bool IsPlayerViewZoomed { get; set; } - - /// - /// Set to true if the player is using a melee attack, otherwise false - /// - public bool IsMeleeAttack { get; set; } - - /// - /// Name of the weapon used. Will be truncated to bytes if longer. - /// - public string WeaponName { get; set; } - - internal void Set(LogPlayerUseWeaponDataInternal? other) - { - if (other != null) - { - PlayerHandle = other.Value.PlayerHandle; - PlayerPosition = other.Value.PlayerPosition; - PlayerViewRotation = other.Value.PlayerViewRotation; - IsPlayerViewZoomed = other.Value.IsPlayerViewZoomed; - IsMeleeAttack = other.Value.IsMeleeAttack; - WeaponName = other.Value.WeaponName; - } - } - - public void Set(object other) - { - Set(other as LogPlayerUseWeaponDataInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogPlayerUseWeaponDataInternal : ISettable, System.IDisposable - { - private System.IntPtr m_PlayerHandle; - private System.IntPtr m_PlayerPosition; - private System.IntPtr m_PlayerViewRotation; - private int m_IsPlayerViewZoomed; - private int m_IsMeleeAttack; - private System.IntPtr m_WeaponName; - - public System.IntPtr PlayerHandle - { - get - { - return m_PlayerHandle; - } - - set - { - m_PlayerHandle = value; - } - } - - public Vec3f PlayerPosition - { - get - { - Vec3f value; - Helper.TryMarshalGet(m_PlayerPosition, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_PlayerPosition, value); - } - } - - public Quat PlayerViewRotation - { - get - { - Quat value; - Helper.TryMarshalGet(m_PlayerViewRotation, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_PlayerViewRotation, value); - } - } - - public bool IsPlayerViewZoomed - { - get - { - bool value; - Helper.TryMarshalGet(m_IsPlayerViewZoomed, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_IsPlayerViewZoomed, value); - } - } - - public bool IsMeleeAttack - { - get - { - bool value; - Helper.TryMarshalGet(m_IsMeleeAttack, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_IsMeleeAttack, value); - } - } - - public string WeaponName - { - get - { - string value; - Helper.TryMarshalGet(m_WeaponName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_WeaponName, value); - } - } - - public void Set(LogPlayerUseWeaponData other) - { - if (other != null) - { - PlayerHandle = other.PlayerHandle; - PlayerPosition = other.PlayerPosition; - PlayerViewRotation = other.PlayerViewRotation; - IsPlayerViewZoomed = other.IsPlayerViewZoomed; - IsMeleeAttack = other.IsMeleeAttack; - WeaponName = other.WeaponName; - } - } - - public void Set(object other) - { - Set(other as LogPlayerUseWeaponData); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_PlayerHandle); - Helper.TryMarshalDispose(ref m_PlayerPosition); - Helper.TryMarshalDispose(ref m_PlayerViewRotation); - Helper.TryMarshalDispose(ref m_WeaponName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct LogPlayerUseWeaponData + { + /// + /// Locally unique value used in RegisterClient/RegisterPeer + /// + public System.IntPtr PlayerHandle { get; set; } + + /// + /// Attack origin world position as a 3D vector + /// + public Vec3f? PlayerPosition { get; set; } + + /// + /// Attack direction as a quaternion + /// + public Quat? PlayerViewRotation { get; set; } + + /// + /// True if the player's view is zoomed (e.g. using a sniper rifle), otherwise false + /// + public bool IsPlayerViewZoomed { get; set; } + + /// + /// Set to true if the player is using a melee attack, otherwise false + /// + public bool IsMeleeAttack { get; set; } + + /// + /// Name of the weapon used. Will be truncated to bytes if longer. + /// + public Utf8String WeaponName { get; set; } + + internal void Set(ref LogPlayerUseWeaponDataInternal other) + { + PlayerHandle = other.PlayerHandle; + PlayerPosition = other.PlayerPosition; + PlayerViewRotation = other.PlayerViewRotation; + IsPlayerViewZoomed = other.IsPlayerViewZoomed; + IsMeleeAttack = other.IsMeleeAttack; + WeaponName = other.WeaponName; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogPlayerUseWeaponDataInternal : IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_PlayerHandle; + private System.IntPtr m_PlayerPosition; + private System.IntPtr m_PlayerViewRotation; + private int m_IsPlayerViewZoomed; + private int m_IsMeleeAttack; + private System.IntPtr m_WeaponName; + + public System.IntPtr PlayerHandle + { + get + { + return m_PlayerHandle; + } + + set + { + m_PlayerHandle = value; + } + } + + public Vec3f? PlayerPosition + { + get + { + Vec3f? value; + Helper.Get(m_PlayerPosition, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_PlayerPosition); + } + } + + public Quat? PlayerViewRotation + { + get + { + Quat? value; + Helper.Get(m_PlayerViewRotation, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_PlayerViewRotation); + } + } + + public bool IsPlayerViewZoomed + { + get + { + bool value; + Helper.Get(m_IsPlayerViewZoomed, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IsPlayerViewZoomed); + } + } + + public bool IsMeleeAttack + { + get + { + bool value; + Helper.Get(m_IsMeleeAttack, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IsMeleeAttack); + } + } + + public Utf8String WeaponName + { + get + { + Utf8String value; + Helper.Get(m_WeaponName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_WeaponName); + } + } + + public void Set(ref LogPlayerUseWeaponData other) + { + PlayerHandle = other.PlayerHandle; + PlayerPosition = other.PlayerPosition; + PlayerViewRotation = other.PlayerViewRotation; + IsPlayerViewZoomed = other.IsPlayerViewZoomed; + IsMeleeAttack = other.IsMeleeAttack; + WeaponName = other.WeaponName; + } + + public void Set(ref LogPlayerUseWeaponData? other) + { + if (other.HasValue) + { + PlayerHandle = other.Value.PlayerHandle; + PlayerPosition = other.Value.PlayerPosition; + PlayerViewRotation = other.Value.PlayerViewRotation; + IsPlayerViewZoomed = other.Value.IsPlayerViewZoomed; + IsMeleeAttack = other.Value.IsMeleeAttack; + WeaponName = other.Value.WeaponName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_PlayerHandle); + Helper.Dispose(ref m_PlayerPosition); + Helper.Dispose(ref m_PlayerViewRotation); + Helper.Dispose(ref m_WeaponName); + } + + public void Get(out LogPlayerUseWeaponData output) + { + output = new LogPlayerUseWeaponData(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponData.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponData.cs.meta deleted file mode 100644 index aeec9be4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 55256d68f959f7d44a27a5cb8f5f33a3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponOptions.cs index fb1fcdd9..a8965cca 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponOptions.cs @@ -1,47 +1,48 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class LogPlayerUseWeaponOptions - { - /// - /// Struct containing detailed information about a weapon use event - /// - public LogPlayerUseWeaponData UseWeaponData { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogPlayerUseWeaponOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UseWeaponData; - - public LogPlayerUseWeaponData UseWeaponData - { - set - { - Helper.TryMarshalSet(ref m_UseWeaponData, value); - } - } - - public void Set(LogPlayerUseWeaponOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatCommonInterface.LogplayeruseweaponApiLatest; - UseWeaponData = other.UseWeaponData; - } - } - - public void Set(object other) - { - Set(other as LogPlayerUseWeaponOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UseWeaponData); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct LogPlayerUseWeaponOptions + { + /// + /// Struct containing detailed information about a weapon use event + /// + public LogPlayerUseWeaponData? UseWeaponData { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogPlayerUseWeaponOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UseWeaponData; + + public LogPlayerUseWeaponData? UseWeaponData + { + set + { + Helper.Set(ref value, ref m_UseWeaponData); + } + } + + public void Set(ref LogPlayerUseWeaponOptions other) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayeruseweaponApiLatest; + UseWeaponData = other.UseWeaponData; + } + + public void Set(ref LogPlayerUseWeaponOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatCommonInterface.LogplayeruseweaponApiLatest; + UseWeaponData = other.Value.UseWeaponData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UseWeaponData); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponOptions.cs.meta deleted file mode 100644 index 5c9b8156..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/LogPlayerUseWeaponOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d363cd2b124c05b49846448ea2b3d627 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientActionRequiredCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientActionRequiredCallbackInfo.cs index 9c5f3f01..b8ece1f4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientActionRequiredCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientActionRequiredCallbackInfo.cs @@ -1,120 +1,171 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Structure containing details about a required client/peer action - /// - public class OnClientActionRequiredCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Caller-specified context data - /// - public object ClientData { get; private set; } - - /// - /// The identifier of the client/peer that this action applies to. See the RegisterClient and RegisterPeer functions. - /// - public System.IntPtr ClientHandle { get; private set; } - - /// - /// The action that must be applied to the specified client/peer - /// - public AntiCheatCommonClientAction ClientAction { get; private set; } - - /// - /// Code indicating the reason for the action - /// - public AntiCheatCommonClientActionReason ActionReasonCode { get; private set; } - - /// - /// String containing details about the action reason - /// - public string ActionReasonDetailsString { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(OnClientActionRequiredCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - ClientHandle = other.Value.ClientHandle; - ClientAction = other.Value.ClientAction; - ActionReasonCode = other.Value.ActionReasonCode; - ActionReasonDetailsString = other.Value.ActionReasonDetailsString; - } - } - - public void Set(object other) - { - Set(other as OnClientActionRequiredCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnClientActionRequiredCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_ClientHandle; - private AntiCheatCommonClientAction m_ClientAction; - private AntiCheatCommonClientActionReason m_ActionReasonCode; - private System.IntPtr m_ActionReasonDetailsString; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public System.IntPtr ClientHandle - { - get - { - return m_ClientHandle; - } - } - - public AntiCheatCommonClientAction ClientAction - { - get - { - return m_ClientAction; - } - } - - public AntiCheatCommonClientActionReason ActionReasonCode - { - get - { - return m_ActionReasonCode; - } - } - - public string ActionReasonDetailsString - { - get - { - string value; - Helper.TryMarshalGet(m_ActionReasonDetailsString, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Structure containing details about a required client/peer action + /// + public struct OnClientActionRequiredCallbackInfo : ICallbackInfo + { + /// + /// Caller-specified context data + /// + public object ClientData { get; set; } + + /// + /// The identifier of the client/peer that this action applies to. See the RegisterClient and RegisterPeer functions. + /// + public System.IntPtr ClientHandle { get; set; } + + /// + /// The action that must be applied to the specified client/peer + /// + public AntiCheatCommonClientAction ClientAction { get; set; } + + /// + /// Code indicating the reason for the action. This can be displayed to the affected player. + /// + public AntiCheatCommonClientActionReason ActionReasonCode { get; set; } + + /// + /// String containing details about the action reason. This can be displayed to the affected player. + /// + public Utf8String ActionReasonDetailsString { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnClientActionRequiredCallbackInfoInternal other) + { + ClientData = other.ClientData; + ClientHandle = other.ClientHandle; + ClientAction = other.ClientAction; + ActionReasonCode = other.ActionReasonCode; + ActionReasonDetailsString = other.ActionReasonDetailsString; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnClientActionRequiredCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_ClientHandle; + private AntiCheatCommonClientAction m_ClientAction; + private AntiCheatCommonClientActionReason m_ActionReasonCode; + private System.IntPtr m_ActionReasonDetailsString; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public System.IntPtr ClientHandle + { + get + { + return m_ClientHandle; + } + + set + { + m_ClientHandle = value; + } + } + + public AntiCheatCommonClientAction ClientAction + { + get + { + return m_ClientAction; + } + + set + { + m_ClientAction = value; + } + } + + public AntiCheatCommonClientActionReason ActionReasonCode + { + get + { + return m_ActionReasonCode; + } + + set + { + m_ActionReasonCode = value; + } + } + + public Utf8String ActionReasonDetailsString + { + get + { + Utf8String value; + Helper.Get(m_ActionReasonDetailsString, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ActionReasonDetailsString); + } + } + + public void Set(ref OnClientActionRequiredCallbackInfo other) + { + ClientData = other.ClientData; + ClientHandle = other.ClientHandle; + ClientAction = other.ClientAction; + ActionReasonCode = other.ActionReasonCode; + ActionReasonDetailsString = other.ActionReasonDetailsString; + } + + public void Set(ref OnClientActionRequiredCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + ClientHandle = other.Value.ClientHandle; + ClientAction = other.Value.ClientAction; + ActionReasonCode = other.Value.ActionReasonCode; + ActionReasonDetailsString = other.Value.ActionReasonDetailsString; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_ClientHandle); + Helper.Dispose(ref m_ActionReasonDetailsString); + } + + public void Get(out OnClientActionRequiredCallbackInfo output) + { + output = new OnClientActionRequiredCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientActionRequiredCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientActionRequiredCallbackInfo.cs.meta deleted file mode 100644 index 182c60c9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientActionRequiredCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e7d3ef2ff505ab149ace931ad63b6900 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientAuthStatusChangedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientAuthStatusChangedCallbackInfo.cs index 1ef0b3f2..d7b3b5d1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientAuthStatusChangedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientAuthStatusChangedCallbackInfo.cs @@ -1,88 +1,124 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Structure containing details about a client/peer authentication status change - /// - public class OnClientAuthStatusChangedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Caller-specified context data - /// - public object ClientData { get; private set; } - - /// - /// The identifier of the client/peer that this status change applies to. See the RegisterClient and RegisterPeer functions. - /// - public System.IntPtr ClientHandle { get; private set; } - - /// - /// The client/peer's new authentication status - /// - public AntiCheatCommonClientAuthStatus ClientAuthStatus { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(OnClientAuthStatusChangedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - ClientHandle = other.Value.ClientHandle; - ClientAuthStatus = other.Value.ClientAuthStatus; - } - } - - public void Set(object other) - { - Set(other as OnClientAuthStatusChangedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnClientAuthStatusChangedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_ClientHandle; - private AntiCheatCommonClientAuthStatus m_ClientAuthStatus; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public System.IntPtr ClientHandle - { - get - { - return m_ClientHandle; - } - } - - public AntiCheatCommonClientAuthStatus ClientAuthStatus - { - get - { - return m_ClientAuthStatus; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Structure containing details about a client/peer authentication status change + /// + public struct OnClientAuthStatusChangedCallbackInfo : ICallbackInfo + { + /// + /// Caller-specified context data + /// + public object ClientData { get; set; } + + /// + /// The identifier of the client/peer that this status change applies to. See the RegisterClient and RegisterPeer functions. + /// + public System.IntPtr ClientHandle { get; set; } + + /// + /// The client/peer's new authentication status + /// + public AntiCheatCommonClientAuthStatus ClientAuthStatus { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnClientAuthStatusChangedCallbackInfoInternal other) + { + ClientData = other.ClientData; + ClientHandle = other.ClientHandle; + ClientAuthStatus = other.ClientAuthStatus; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnClientAuthStatusChangedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_ClientHandle; + private AntiCheatCommonClientAuthStatus m_ClientAuthStatus; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public System.IntPtr ClientHandle + { + get + { + return m_ClientHandle; + } + + set + { + m_ClientHandle = value; + } + } + + public AntiCheatCommonClientAuthStatus ClientAuthStatus + { + get + { + return m_ClientAuthStatus; + } + + set + { + m_ClientAuthStatus = value; + } + } + + public void Set(ref OnClientAuthStatusChangedCallbackInfo other) + { + ClientData = other.ClientData; + ClientHandle = other.ClientHandle; + ClientAuthStatus = other.ClientAuthStatus; + } + + public void Set(ref OnClientAuthStatusChangedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + ClientHandle = other.Value.ClientHandle; + ClientAuthStatus = other.Value.ClientAuthStatus; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_ClientHandle); + } + + public void Get(out OnClientAuthStatusChangedCallbackInfo output) + { + output = new OnClientAuthStatusChangedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientAuthStatusChangedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientAuthStatusChangedCallbackInfo.cs.meta deleted file mode 100644 index 2d034181..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnClientAuthStatusChangedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ef19406610ad5f64fbb800e243aec8a4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnMessageToClientCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnMessageToClientCallbackInfo.cs index 0d187c97..d5b51adf 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnMessageToClientCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnMessageToClientCallbackInfo.cs @@ -1,91 +1,128 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Structure containing details about a new message that must be dispatched to a connected client/peer. - /// - public class OnMessageToClientCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Caller-specified context data - /// - public object ClientData { get; private set; } - - /// - /// The identifier of the client/peer that this message must be delivered to. See the RegisterClient and RegisterPeer functions. - /// - public System.IntPtr ClientHandle { get; private set; } - - /// - /// The message data that must be sent to the client - /// - public byte[] MessageData { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(OnMessageToClientCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - ClientHandle = other.Value.ClientHandle; - MessageData = other.Value.MessageData; - } - } - - public void Set(object other) - { - Set(other as OnMessageToClientCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnMessageToClientCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_ClientHandle; - private System.IntPtr m_MessageData; - private uint m_MessageDataSizeBytes; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public System.IntPtr ClientHandle - { - get - { - return m_ClientHandle; - } - } - - public byte[] MessageData - { - get - { - byte[] value; - Helper.TryMarshalGet(m_MessageData, out value, m_MessageDataSizeBytes); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Structure containing details about a new message that must be dispatched to a connected client/peer. + /// + public struct OnMessageToClientCallbackInfo : ICallbackInfo + { + /// + /// Caller-specified context data + /// + public object ClientData { get; set; } + + /// + /// The identifier of the client/peer that this message must be delivered to. See the RegisterClient and RegisterPeer functions. + /// + public System.IntPtr ClientHandle { get; set; } + + /// + /// The message data that must be sent to the client + /// + public System.ArraySegment MessageData { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnMessageToClientCallbackInfoInternal other) + { + ClientData = other.ClientData; + ClientHandle = other.ClientHandle; + MessageData = other.MessageData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnMessageToClientCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_ClientHandle; + private System.IntPtr m_MessageData; + private uint m_MessageDataSizeBytes; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public System.IntPtr ClientHandle + { + get + { + return m_ClientHandle; + } + + set + { + m_ClientHandle = value; + } + } + + public System.ArraySegment MessageData + { + get + { + System.ArraySegment value; + Helper.Get(m_MessageData, out value, m_MessageDataSizeBytes); + return value; + } + + set + { + Helper.Set(value, ref m_MessageData, out m_MessageDataSizeBytes); + } + } + + public void Set(ref OnMessageToClientCallbackInfo other) + { + ClientData = other.ClientData; + ClientHandle = other.ClientHandle; + MessageData = other.MessageData; + } + + public void Set(ref OnMessageToClientCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + ClientHandle = other.Value.ClientHandle; + MessageData = other.Value.MessageData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_ClientHandle); + Helper.Dispose(ref m_MessageData); + } + + public void Get(out OnMessageToClientCallbackInfo output) + { + output = new OnMessageToClientCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnMessageToClientCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnMessageToClientCallbackInfo.cs.meta deleted file mode 100644 index e577e61a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/OnMessageToClientCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 78ff3f8339c8fef439d304d7863bb326 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Quat.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Quat.cs index b1321b7f..cd2509ae 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Quat.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Quat.cs @@ -1,128 +1,129 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Quaternion using left-handed coordinate system (as in Unreal Engine) - /// - public class Quat : ISettable - { - /// - /// W component - scalar part - /// - public float w { get; set; } - - /// - /// X component - forward direction - /// - public float x { get; set; } - - /// - /// Y component - right direction - /// - public float y { get; set; } - - /// - /// Z component - up direction - /// - public float z { get; set; } - - internal void Set(QuatInternal? other) - { - if (other != null) - { - w = other.Value.w; - x = other.Value.x; - y = other.Value.y; - z = other.Value.z; - } - } - - public void Set(object other) - { - Set(other as QuatInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QuatInternal : ISettable, System.IDisposable - { - private float m_w; - private float m_x; - private float m_y; - private float m_z; - - public float w - { - get - { - return m_w; - } - - set - { - m_w = value; - } - } - - public float x - { - get - { - return m_x; - } - - set - { - m_x = value; - } - } - - public float y - { - get - { - return m_y; - } - - set - { - m_y = value; - } - } - - public float z - { - get - { - return m_z; - } - - set - { - m_z = value; - } - } - - public void Set(Quat other) - { - if (other != null) - { - w = other.w; - x = other.x; - y = other.y; - z = other.z; - } - } - - public void Set(object other) - { - Set(other as Quat); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Quaternion using left-handed coordinate system (as in Unreal Engine) + /// + public struct Quat + { + /// + /// W component - scalar part + /// + public float w { get; set; } + + /// + /// X component - forward direction + /// + public float x { get; set; } + + /// + /// Y component - right direction + /// + public float y { get; set; } + + /// + /// Z component - up direction + /// + public float z { get; set; } + + internal void Set(ref QuatInternal other) + { + w = other.w; + x = other.x; + y = other.y; + z = other.z; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QuatInternal : IGettable, ISettable, System.IDisposable + { + private float m_w; + private float m_x; + private float m_y; + private float m_z; + + public float w + { + get + { + return m_w; + } + + set + { + m_w = value; + } + } + + public float x + { + get + { + return m_x; + } + + set + { + m_x = value; + } + } + + public float y + { + get + { + return m_y; + } + + set + { + m_y = value; + } + } + + public float z + { + get + { + return m_z; + } + + set + { + m_z = value; + } + } + + public void Set(ref Quat other) + { + w = other.w; + x = other.x; + y = other.y; + z = other.z; + } + + public void Set(ref Quat? other) + { + if (other.HasValue) + { + w = other.Value.w; + x = other.Value.x; + y = other.Value.y; + z = other.Value.z; + } + } + + public void Dispose() + { + } + + public void Get(out Quat output) + { + output = new Quat(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Quat.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Quat.cs.meta deleted file mode 100644 index da4b75f8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Quat.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 948c7695c069be849945ac46f327164a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventOptions.cs index cefd5204..ce617f72 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventOptions.cs @@ -1,94 +1,98 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class RegisterEventOptions - { - /// - /// Unique event identifier. Must be >= . - /// - public uint EventId { get; set; } - - /// - /// Name of the custom event. Allowed characters are 0-9, A-Z, a-z, '_', '-', '.' - /// - public string EventName { get; set; } - - /// - /// Type of the custom event - /// - public AntiCheatCommonEventType EventType { get; set; } - - /// - /// Pointer to an array of with ParamDefsCount elements - /// - public RegisterEventParamDef[] ParamDefs { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RegisterEventOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_EventId; - private System.IntPtr m_EventName; - private AntiCheatCommonEventType m_EventType; - private uint m_ParamDefsCount; - private System.IntPtr m_ParamDefs; - - public uint EventId - { - set - { - m_EventId = value; - } - } - - public string EventName - { - set - { - Helper.TryMarshalSet(ref m_EventName, value); - } - } - - public AntiCheatCommonEventType EventType - { - set - { - m_EventType = value; - } - } - - public RegisterEventParamDef[] ParamDefs - { - set - { - Helper.TryMarshalSet(ref m_ParamDefs, value, out m_ParamDefsCount); - } - } - - public void Set(RegisterEventOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatCommonInterface.RegistereventApiLatest; - EventId = other.EventId; - EventName = other.EventName; - EventType = other.EventType; - ParamDefs = other.ParamDefs; - } - } - - public void Set(object other) - { - Set(other as RegisterEventOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_EventName); - Helper.TryMarshalDispose(ref m_ParamDefs); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct RegisterEventOptions + { + /// + /// Unique event identifier. Must be >= . + /// + public uint EventId { get; set; } + + /// + /// Name of the custom event. Allowed characters are 0-9, A-Z, a-z, '_', '-' + /// + public Utf8String EventName { get; set; } + + /// + /// Type of the custom event + /// + public AntiCheatCommonEventType EventType { get; set; } + + /// + /// Pointer to an array of with ParamDefsCount elements + /// + public RegisterEventParamDef[] ParamDefs { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RegisterEventOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_EventId; + private System.IntPtr m_EventName; + private AntiCheatCommonEventType m_EventType; + private uint m_ParamDefsCount; + private System.IntPtr m_ParamDefs; + + public uint EventId + { + set + { + m_EventId = value; + } + } + + public Utf8String EventName + { + set + { + Helper.Set(value, ref m_EventName); + } + } + + public AntiCheatCommonEventType EventType + { + set + { + m_EventType = value; + } + } + + public RegisterEventParamDef[] ParamDefs + { + set + { + Helper.Set(ref value, ref m_ParamDefs, out m_ParamDefsCount); + } + } + + public void Set(ref RegisterEventOptions other) + { + m_ApiVersion = AntiCheatCommonInterface.RegistereventApiLatest; + EventId = other.EventId; + EventName = other.EventName; + EventType = other.EventType; + ParamDefs = other.ParamDefs; + } + + public void Set(ref RegisterEventOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatCommonInterface.RegistereventApiLatest; + EventId = other.Value.EventId; + EventName = other.Value.EventName; + EventType = other.Value.EventType; + ParamDefs = other.Value.ParamDefs; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_EventName); + Helper.Dispose(ref m_ParamDefs); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventOptions.cs.meta deleted file mode 100644 index 6ca5af41..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2eb0a6786b3d47441ac4ddc3aa545586 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventParamDef.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventParamDef.cs index d2219b89..f94bd3b0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventParamDef.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventParamDef.cs @@ -1,86 +1,85 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class RegisterEventParamDef : ISettable - { - /// - /// Parameter name. Allowed characters are 0-9, A-Z, a-z, '_', '-', '.' - /// - public string ParamName { get; set; } - - /// - /// Parameter type - /// - public AntiCheatCommonEventParamType ParamType { get; set; } - - internal void Set(RegisterEventParamDefInternal? other) - { - if (other != null) - { - ParamName = other.Value.ParamName; - ParamType = other.Value.ParamType; - } - } - - public void Set(object other) - { - Set(other as RegisterEventParamDefInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RegisterEventParamDefInternal : ISettable, System.IDisposable - { - private System.IntPtr m_ParamName; - private AntiCheatCommonEventParamType m_ParamType; - - public string ParamName - { - get - { - string value; - Helper.TryMarshalGet(m_ParamName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ParamName, value); - } - } - - public AntiCheatCommonEventParamType ParamType - { - get - { - return m_ParamType; - } - - set - { - m_ParamType = value; - } - } - - public void Set(RegisterEventParamDef other) - { - if (other != null) - { - ParamName = other.ParamName; - ParamType = other.ParamType; - } - } - - public void Set(object other) - { - Set(other as RegisterEventParamDef); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ParamName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct RegisterEventParamDef + { + /// + /// Parameter name. Allowed characters are 0-9, A-Z, a-z, '_', '-' + /// + public Utf8String ParamName { get; set; } + + /// + /// Parameter type + /// + public AntiCheatCommonEventParamType ParamType { get; set; } + + internal void Set(ref RegisterEventParamDefInternal other) + { + ParamName = other.ParamName; + ParamType = other.ParamType; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RegisterEventParamDefInternal : IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ParamName; + private AntiCheatCommonEventParamType m_ParamType; + + public Utf8String ParamName + { + get + { + Utf8String value; + Helper.Get(m_ParamName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ParamName); + } + } + + public AntiCheatCommonEventParamType ParamType + { + get + { + return m_ParamType; + } + + set + { + m_ParamType = value; + } + } + + public void Set(ref RegisterEventParamDef other) + { + ParamName = other.ParamName; + ParamType = other.ParamType; + } + + public void Set(ref RegisterEventParamDef? other) + { + if (other.HasValue) + { + ParamName = other.Value.ParamName; + ParamType = other.Value.ParamType; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ParamName); + } + + public void Get(out RegisterEventParamDef output) + { + output = new RegisterEventParamDef(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventParamDef.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventParamDef.cs.meta deleted file mode 100644 index e59ec1be..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/RegisterEventParamDef.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6596c67ce794c574dbb6a05cb3a39c18 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetClientDetailsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetClientDetailsOptions.cs index 15d3e5ce..83610ff1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetClientDetailsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetClientDetailsOptions.cs @@ -1,77 +1,80 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class SetClientDetailsOptions - { - /// - /// Locally unique value used in RegisterClient/RegisterPeer - /// - public System.IntPtr ClientHandle { get; set; } - - /// - /// General flags associated with this client, if any - /// - public AntiCheatCommonClientFlags ClientFlags { get; set; } - - /// - /// Input device being used by this client, if known - /// - public AntiCheatCommonClientInput ClientInputMethod { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetClientDetailsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_ClientHandle; - private AntiCheatCommonClientFlags m_ClientFlags; - private AntiCheatCommonClientInput m_ClientInputMethod; - - public System.IntPtr ClientHandle - { - set - { - m_ClientHandle = value; - } - } - - public AntiCheatCommonClientFlags ClientFlags - { - set - { - m_ClientFlags = value; - } - } - - public AntiCheatCommonClientInput ClientInputMethod - { - set - { - m_ClientInputMethod = value; - } - } - - public void Set(SetClientDetailsOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatCommonInterface.SetclientdetailsApiLatest; - ClientHandle = other.ClientHandle; - ClientFlags = other.ClientFlags; - ClientInputMethod = other.ClientInputMethod; - } - } - - public void Set(object other) - { - Set(other as SetClientDetailsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ClientHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct SetClientDetailsOptions + { + /// + /// Locally unique value used in RegisterClient/RegisterPeer + /// + public System.IntPtr ClientHandle { get; set; } + + /// + /// General flags associated with this client, if any + /// + public AntiCheatCommonClientFlags ClientFlags { get; set; } + + /// + /// Input device being used by this client, if known + /// + public AntiCheatCommonClientInput ClientInputMethod { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetClientDetailsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_ClientHandle; + private AntiCheatCommonClientFlags m_ClientFlags; + private AntiCheatCommonClientInput m_ClientInputMethod; + + public System.IntPtr ClientHandle + { + set + { + m_ClientHandle = value; + } + } + + public AntiCheatCommonClientFlags ClientFlags + { + set + { + m_ClientFlags = value; + } + } + + public AntiCheatCommonClientInput ClientInputMethod + { + set + { + m_ClientInputMethod = value; + } + } + + public void Set(ref SetClientDetailsOptions other) + { + m_ApiVersion = AntiCheatCommonInterface.SetclientdetailsApiLatest; + ClientHandle = other.ClientHandle; + ClientFlags = other.ClientFlags; + ClientInputMethod = other.ClientInputMethod; + } + + public void Set(ref SetClientDetailsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatCommonInterface.SetclientdetailsApiLatest; + ClientHandle = other.Value.ClientHandle; + ClientFlags = other.Value.ClientFlags; + ClientInputMethod = other.Value.ClientInputMethod; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetClientDetailsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetClientDetailsOptions.cs.meta deleted file mode 100644 index 90c192b9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetClientDetailsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c02121f173f67364ca5a503568838e75 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetGameSessionIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetGameSessionIdOptions.cs index 81d58129..4ea321c2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetGameSessionIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetGameSessionIdOptions.cs @@ -1,47 +1,48 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - public class SetGameSessionIdOptions - { - /// - /// Game session identifier - /// - public string GameSessionId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetGameSessionIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_GameSessionId; - - public string GameSessionId - { - set - { - Helper.TryMarshalSet(ref m_GameSessionId, value); - } - } - - public void Set(SetGameSessionIdOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatCommonInterface.SetgamesessionidApiLatest; - GameSessionId = other.GameSessionId; - } - } - - public void Set(object other) - { - Set(other as SetGameSessionIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_GameSessionId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + public struct SetGameSessionIdOptions + { + /// + /// Game session identifier + /// + public Utf8String GameSessionId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetGameSessionIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_GameSessionId; + + public Utf8String GameSessionId + { + set + { + Helper.Set(value, ref m_GameSessionId); + } + } + + public void Set(ref SetGameSessionIdOptions other) + { + m_ApiVersion = AntiCheatCommonInterface.SetgamesessionidApiLatest; + GameSessionId = other.GameSessionId; + } + + public void Set(ref SetGameSessionIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatCommonInterface.SetgamesessionidApiLatest; + GameSessionId = other.Value.GameSessionId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_GameSessionId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetGameSessionIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetGameSessionIdOptions.cs.meta deleted file mode 100644 index 432b79bc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/SetGameSessionIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f19a95698dbfad347b46b7384e90700e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Vec3f.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Vec3f.cs index ac4165c7..69dee019 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Vec3f.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Vec3f.cs @@ -1,107 +1,107 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatCommon -{ - /// - /// Vector using left-handed coordinate system (as in Unreal Engine) - /// - public class Vec3f : ISettable - { - /// - /// X axis coordinate - forward direction - /// - public float x { get; set; } - - /// - /// Y axis coordinate - right direction - /// - public float y { get; set; } - - /// - /// Z axis coordinate - up direction - /// - public float z { get; set; } - - internal void Set(Vec3fInternal? other) - { - if (other != null) - { - x = other.Value.x; - y = other.Value.y; - z = other.Value.z; - } - } - - public void Set(object other) - { - Set(other as Vec3fInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct Vec3fInternal : ISettable, System.IDisposable - { - private float m_x; - private float m_y; - private float m_z; - - public float x - { - get - { - return m_x; - } - - set - { - m_x = value; - } - } - - public float y - { - get - { - return m_y; - } - - set - { - m_y = value; - } - } - - public float z - { - get - { - return m_z; - } - - set - { - m_z = value; - } - } - - public void Set(Vec3f other) - { - if (other != null) - { - x = other.x; - y = other.y; - z = other.z; - } - } - - public void Set(object other) - { - Set(other as Vec3f); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatCommon +{ + /// + /// Vector using left-handed coordinate system (as in Unreal Engine) + /// + public struct Vec3f + { + /// + /// X axis coordinate - forward direction + /// + public float x { get; set; } + + /// + /// Y axis coordinate - right direction + /// + public float y { get; set; } + + /// + /// Z axis coordinate - up direction + /// + public float z { get; set; } + + internal void Set(ref Vec3fInternal other) + { + x = other.x; + y = other.y; + z = other.z; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct Vec3fInternal : IGettable, ISettable, System.IDisposable + { + private float m_x; + private float m_y; + private float m_z; + + public float x + { + get + { + return m_x; + } + + set + { + m_x = value; + } + } + + public float y + { + get + { + return m_y; + } + + set + { + m_y = value; + } + } + + public float z + { + get + { + return m_z; + } + + set + { + m_z = value; + } + } + + public void Set(ref Vec3f other) + { + x = other.x; + y = other.y; + z = other.z; + } + + public void Set(ref Vec3f? other) + { + if (other.HasValue) + { + x = other.Value.x; + y = other.Value.y; + z = other.Value.z; + } + } + + public void Dispose() + { + } + + public void Get(out Vec3f output) + { + output = new Vec3f(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Vec3f.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Vec3f.cs.meta deleted file mode 100644 index 38102c8b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatCommon/Vec3f.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ffe5e724b856dce488cd6aee56741f5a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer.meta deleted file mode 100644 index c49c8256..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 438c02f5878372b43bb49759e38c6605 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientActionRequiredOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientActionRequiredOptions.cs index e834a88e..aa135198 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientActionRequiredOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientActionRequiredOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - public class AddNotifyClientActionRequiredOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyClientActionRequiredOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyClientActionRequiredOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatServerInterface.AddnotifyclientactionrequiredApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyClientActionRequiredOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + public struct AddNotifyClientActionRequiredOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyClientActionRequiredOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyClientActionRequiredOptions other) + { + m_ApiVersion = AntiCheatServerInterface.AddnotifyclientactionrequiredApiLatest; + } + + public void Set(ref AddNotifyClientActionRequiredOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatServerInterface.AddnotifyclientactionrequiredApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientActionRequiredOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientActionRequiredOptions.cs.meta deleted file mode 100644 index d549e6c4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientActionRequiredOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6522e475b3a20054aaa23a70d5892bef -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientAuthStatusChangedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientAuthStatusChangedOptions.cs index ec33af83..c62edcd9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientAuthStatusChangedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientAuthStatusChangedOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - public class AddNotifyClientAuthStatusChangedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyClientAuthStatusChangedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyClientAuthStatusChangedOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatServerInterface.AddnotifyclientauthstatuschangedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyClientAuthStatusChangedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + public struct AddNotifyClientAuthStatusChangedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyClientAuthStatusChangedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyClientAuthStatusChangedOptions other) + { + m_ApiVersion = AntiCheatServerInterface.AddnotifyclientauthstatuschangedApiLatest; + } + + public void Set(ref AddNotifyClientAuthStatusChangedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatServerInterface.AddnotifyclientauthstatuschangedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientAuthStatusChangedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientAuthStatusChangedOptions.cs.meta deleted file mode 100644 index 2a5ae4cb..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyClientAuthStatusChangedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e51864954e29ec244a215a2a84c08573 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyMessageToClientOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyMessageToClientOptions.cs index 34c0f30a..72bdbaf0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyMessageToClientOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyMessageToClientOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - public class AddNotifyMessageToClientOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyMessageToClientOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyMessageToClientOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatServerInterface.AddnotifymessagetoclientApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyMessageToClientOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + public struct AddNotifyMessageToClientOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyMessageToClientOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyMessageToClientOptions other) + { + m_ApiVersion = AntiCheatServerInterface.AddnotifymessagetoclientApiLatest; + } + + public void Set(ref AddNotifyMessageToClientOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatServerInterface.AddnotifymessagetoclientApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyMessageToClientOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyMessageToClientOptions.cs.meta deleted file mode 100644 index 7d1cf7dc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AddNotifyMessageToClientOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0ff19e8e7bbe9ec42992dc0172d2b263 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AntiCheatServerInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AntiCheatServerInterface.cs index 2d7d2669..ef9afdfe 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AntiCheatServerInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AntiCheatServerInterface.cs @@ -1,740 +1,737 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - public sealed partial class AntiCheatServerInterface : Handle - { - public AntiCheatServerInterface() - { - } - - public AntiCheatServerInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - public const int AddnotifyclientactionrequiredApiLatest = 1; - - public const int AddnotifyclientauthstatuschangedApiLatest = 1; - - public const int AddnotifymessagetoclientApiLatest = 1; - - public const int BeginsessionApiLatest = 3; - - public const int BeginsessionMaxRegistertimeout = 120; - - /// - /// Limits on RegisterTimeoutSeconds parameter - /// - public const int BeginsessionMinRegistertimeout = 10; - - public const int EndsessionApiLatest = 1; - - public const int GetprotectmessageoutputlengthApiLatest = 1; - - public const int ProtectmessageApiLatest = 1; - - public const int ReceivemessagefromclientApiLatest = 1; - - public const int RegisterclientApiLatest = 1; - - public const int SetclientnetworkstateApiLatest = 1; - - public const int UnprotectmessageApiLatest = 1; - - public const int UnregisterclientApiLatest = 1; - - /// - /// Add a callback issued when an action must be applied to a connected client. The bound function - /// will only be called between a successful call to and the matching call. - /// - /// Structure containing input data - /// This value is returned to the caller when NotificationFn is invoked - /// The callback to be fired - /// - /// A valid notification ID if successfully bound, or otherwise - /// - public ulong AddNotifyClientActionRequired(AddNotifyClientActionRequiredOptions options, object clientData, OnClientActionRequiredCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnClientActionRequiredCallbackInternal(OnClientActionRequiredCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_AntiCheatServer_AddNotifyClientActionRequired(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Add an optional callback issued when a connected client's authentication status changes. The bound function - /// will only be called between a successful call to and the matching call. - /// - /// Structure containing input data - /// This value is returned to the caller when NotificationFn is invoked - /// The callback to be fired - /// - /// A valid notification ID if successfully bound, or otherwise - /// - public ulong AddNotifyClientAuthStatusChanged(AddNotifyClientAuthStatusChangedOptions options, object clientData, OnClientAuthStatusChangedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnClientAuthStatusChangedCallbackInternal(OnClientAuthStatusChangedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Add a callback issued when a new message must be dispatched to a connected client. The bound function - /// will only be called between a successful call to and the matching call. - /// - /// Structure containing input data - /// This value is returned to the caller when NotificationFn is invoked - /// The callback to be fired - /// - /// A valid notification ID if successfully bound, or otherwise - /// - public ulong AddNotifyMessageToClient(AddNotifyMessageToClientOptions options, object clientData, OnMessageToClientCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnMessageToClientCallbackInternal(OnMessageToClientCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_AntiCheatServer_AddNotifyMessageToClient(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Begin the gameplay session. Event callbacks must be configured with - /// and before calling this function. - /// - /// Structure containing input data. - /// - /// - If the initialization succeeded - /// - If input data was invalid - /// - public Result BeginSession(BeginSessionOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_BeginSession(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// End the gameplay session. Should be called when the server is shutting down or entering an idle state. - /// - /// Structure containing input data. - /// - /// - If the initialization succeeded - /// - If input data was invalid - /// - public Result EndSession(EndSessionOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_EndSession(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional NetProtect feature for game message encryption. - /// Calculates the required decrypted buffer size for a given input data length. - /// This will not change for a given SDK version, and allows one time allocation of reusable buffers. - /// - /// Structure containing input data. - /// The length in bytes that is required to call ProtectMessage on the given input size. - /// - /// - If the output length was calculated successfully - /// - If input data was invalid - /// - public Result GetProtectMessageOutputLength(GetProtectMessageOutputLengthOptions options, out uint outBufferLengthBytes) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - outBufferLengthBytes = Helper.GetDefault(); - - var funcResult = Bindings.EOS_AntiCheatServer_GetProtectMessageOutputLength(InnerHandle, optionsAddress, ref outBufferLengthBytes); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional Cerberus feature for gameplay data collection. - /// Logs a custom gameplay event. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the event was logged successfully - /// - If input data was invalid - /// - public Result LogEvent(AntiCheatCommon.LogEventOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_LogEvent(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional Cerberus feature for gameplay data collection. - /// Logs a game round's end and outcome. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the event was logged successfully - /// - If input data was invalid - /// - public Result LogGameRoundEnd(AntiCheatCommon.LogGameRoundEndOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_LogGameRoundEnd(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional Cerberus feature for gameplay data collection. - /// Logs a new game round start. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the event was logged successfully - /// - If input data was invalid - /// - public Result LogGameRoundStart(AntiCheatCommon.LogGameRoundStartOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_LogGameRoundStart(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional Cerberus feature for gameplay data collection. - /// Logs a player despawning in the game, for example as a result of the character's death, - /// switching to spectator mode, etc. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the event was logged successfully - /// - If input data was invalid - /// - public Result LogPlayerDespawn(AntiCheatCommon.LogPlayerDespawnOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerDespawn(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional Cerberus feature for gameplay data collection. - /// Logs a player being revived after being downed (see options). - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the event was logged successfully - /// - If input data was invalid - /// - public Result LogPlayerRevive(AntiCheatCommon.LogPlayerReviveOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerRevive(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional Cerberus feature for gameplay data collection. - /// Logs a player spawning into the game. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the event was logged successfully - /// - If input data was invalid - /// - public Result LogPlayerSpawn(AntiCheatCommon.LogPlayerSpawnOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerSpawn(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional Cerberus feature for gameplay data collection. - /// Logs that a player has taken damage. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the event was logged successfully - /// - If input data was invalid - /// - public Result LogPlayerTakeDamage(AntiCheatCommon.LogPlayerTakeDamageOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerTakeDamage(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional Cerberus feature for gameplay data collection. - /// Logs a player's general state including position and view direction. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the event was logged successfully - /// - If input data was invalid - /// - public Result LogPlayerTick(AntiCheatCommon.LogPlayerTickOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerTick(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional Cerberus feature for gameplay data collection. - /// Logs that a player has used a special ability or item which affects their character's capabilities, - /// for example temporarily increasing their speed or allowing them to see nearby players behind walls. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the event was logged successfully - /// - If input data was invalid - /// - public Result LogPlayerUseAbility(AntiCheatCommon.LogPlayerUseAbilityOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerUseAbility(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional Cerberus feature for gameplay data collection. - /// Logs that a player has used a weapon, for example firing one bullet or making one melee attack. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the event was logged successfully - /// - If input data was invalid - /// - public Result LogPlayerUseWeapon(AntiCheatCommon.LogPlayerUseWeaponOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerUseWeapon(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional NetProtect feature for game message encryption. - /// Encrypts an arbitrary message that will be sent to a game client and decrypted on the other side. - /// - /// Options.Data and OutBuffer may refer to the same buffer to encrypt in place. - /// - /// Structure containing input data. - /// On success, buffer where encrypted message data will be written. - /// Number of bytes that were written to OutBuffer. - /// - /// - If the message was protected successfully - /// - If input data was invalid - /// - If the specified ClientHandle was invalid or not currently registered. See RegisterClient. - /// - public Result ProtectMessage(ProtectMessageOptions options, out byte[] outBuffer) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - System.IntPtr outBufferAddress = System.IntPtr.Zero; - uint outBufferLengthBytes = options.OutBufferSizeBytes; - Helper.TryMarshalAllocate(ref outBufferAddress, outBufferLengthBytes, out _); - - var funcResult = Bindings.EOS_AntiCheatServer_ProtectMessage(InnerHandle, optionsAddress, outBufferAddress, ref outBufferLengthBytes); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer, outBufferLengthBytes); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// Call when an anti-cheat message is received from a client. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the message was processed successfully - /// - If input data was invalid - /// - public Result ReceiveMessageFromClient(ReceiveMessageFromClientOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_ReceiveMessageFromClient(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Register a connected client. Must be paired with a call to UnregisterClient. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the player was registered successfully - /// - If input data was invalid - /// - public Result RegisterClient(RegisterClientOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_RegisterClient(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional Cerberus feature for gameplay data collection. - /// Registers a custom gameplay event. - /// - /// All custom game events must be registered before is called for the first time. - /// After the first call to , this function cannot be called any longer. - /// - /// Structure containing input data. - /// - /// - If the event was registered successfully - /// - If input data was invalid - /// - public Result RegisterEvent(AntiCheatCommon.RegisterEventOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_RegisterEvent(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Remove a previously bound handler. - /// - /// The previously bound notification ID - public void RemoveNotifyClientActionRequired(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_AntiCheatServer_RemoveNotifyClientActionRequired(InnerHandle, notificationId); - } - - /// - /// Remove a previously bound handler. - /// - /// The previously bound notification ID - public void RemoveNotifyClientAuthStatusChanged(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged(InnerHandle, notificationId); - } - - /// - /// Remove a previously bound handler. - /// - /// The previously bound notification ID - public void RemoveNotifyMessageToClient(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_AntiCheatServer_RemoveNotifyMessageToClient(InnerHandle, notificationId); - } - - /// - /// Optional. Sets or updates client details including input device and admin status. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the flags were updated successfully - /// - If input data was invalid - /// - public Result SetClientDetails(AntiCheatCommon.SetClientDetailsOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_SetClientDetails(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional. Can be used to indicate that a client is legitimately known to be - /// temporarily unable to communicate, for example as a result of loading a new level. - /// - /// The bIsNetworkActive flag must be set back to true when users enter normal - /// gameplay, otherwise anti-cheat enforcement will not work correctly. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the network state was updated successfully - /// - If input data was invalid - /// - public Result SetClientNetworkState(SetClientNetworkStateOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_SetClientNetworkState(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional. Sets or updates a game session identifier which can be attached to other data for reference. - /// The identifier can be updated at any time for currently and subsequently registered clients. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the game session identifier was set successfully - /// - If input data was invalid - /// - public Result SetGameSessionId(AntiCheatCommon.SetGameSessionIdOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_SetGameSessionId(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Optional NetProtect feature for game message encryption. - /// Decrypts an encrypted message received from a game client. - /// - /// Options.Data and OutBuffer may refer to the same buffer to decrypt in place. - /// - /// Structure containing input data. - /// On success, buffer where encrypted message data will be written. - /// Number of bytes that were written to OutBuffer. - /// - /// - If the message was unprotected successfully - /// - If input data was invalid - /// - public Result UnprotectMessage(UnprotectMessageOptions options, out byte[] outBuffer) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - System.IntPtr outBufferAddress = System.IntPtr.Zero; - uint outBufferLengthBytes = options.OutBufferSizeBytes; - Helper.TryMarshalAllocate(ref outBufferAddress, outBufferLengthBytes, out _); - - var funcResult = Bindings.EOS_AntiCheatServer_UnprotectMessage(InnerHandle, optionsAddress, outBufferAddress, ref outBufferLengthBytes); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer, outBufferLengthBytes); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// Unregister a disconnected client. - /// - /// This function may only be called between a successful call to and - /// the matching call. - /// - /// Structure containing input data. - /// - /// - If the player was unregistered successfully - /// - If input data was invalid - /// - public Result UnregisterClient(UnregisterClientOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_AntiCheatServer_UnregisterClient(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - [MonoPInvokeCallback(typeof(OnClientActionRequiredCallbackInternal))] - internal static void OnClientActionRequiredCallbackInternalImplementation(System.IntPtr data) - { - OnClientActionRequiredCallback callback; - AntiCheatCommon.OnClientActionRequiredCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnClientAuthStatusChangedCallbackInternal))] - internal static void OnClientAuthStatusChangedCallbackInternalImplementation(System.IntPtr data) - { - OnClientAuthStatusChangedCallback callback; - AntiCheatCommon.OnClientAuthStatusChangedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnMessageToClientCallbackInternal))] - internal static void OnMessageToClientCallbackInternalImplementation(System.IntPtr data) - { - OnMessageToClientCallback callback; - AntiCheatCommon.OnMessageToClientCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + public sealed partial class AntiCheatServerInterface : Handle + { + public AntiCheatServerInterface() + { + } + + public AntiCheatServerInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + public const int AddnotifyclientactionrequiredApiLatest = 1; + + public const int AddnotifyclientauthstatuschangedApiLatest = 1; + + public const int AddnotifymessagetoclientApiLatest = 1; + + public const int BeginsessionApiLatest = 3; + + public const int BeginsessionMaxRegistertimeout = 120; + + /// + /// Limits on RegisterTimeoutSeconds parameter + /// + public const int BeginsessionMinRegistertimeout = 10; + + public const int EndsessionApiLatest = 1; + + public const int GetprotectmessageoutputlengthApiLatest = 1; + + public const int ProtectmessageApiLatest = 1; + + public const int ReceivemessagefromclientApiLatest = 1; + + public const int RegisterclientApiLatest = 2; + + public const int SetclientnetworkstateApiLatest = 1; + + public const int UnprotectmessageApiLatest = 1; + + public const int UnregisterclientApiLatest = 1; + + /// + /// Add a callback issued when an action must be applied to a connected client. The bound function + /// will only be called between a successful call to and the matching call. + /// + /// Structure containing input data + /// This value is returned to the caller when NotificationFn is invoked + /// The callback to be fired + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyClientActionRequired(ref AddNotifyClientActionRequiredOptions options, object clientData, OnClientActionRequiredCallback notificationFn) + { + AddNotifyClientActionRequiredOptionsInternal optionsInternal = new AddNotifyClientActionRequiredOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnClientActionRequiredCallbackInternal(OnClientActionRequiredCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_AntiCheatServer_AddNotifyClientActionRequired(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Add an optional callback issued when a connected client's authentication status changes. The bound function + /// will only be called between a successful call to and the matching call. + /// + /// Structure containing input data + /// This value is returned to the caller when NotificationFn is invoked + /// The callback to be fired + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyClientAuthStatusChanged(ref AddNotifyClientAuthStatusChangedOptions options, object clientData, OnClientAuthStatusChangedCallback notificationFn) + { + AddNotifyClientAuthStatusChangedOptionsInternal optionsInternal = new AddNotifyClientAuthStatusChangedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnClientAuthStatusChangedCallbackInternal(OnClientAuthStatusChangedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Add a callback issued when a new message must be dispatched to a connected client. The bound function + /// will only be called between a successful call to and the matching call. + /// + /// Structure containing input data + /// This value is returned to the caller when NotificationFn is invoked + /// The callback to be fired + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyMessageToClient(ref AddNotifyMessageToClientOptions options, object clientData, OnMessageToClientCallback notificationFn) + { + AddNotifyMessageToClientOptionsInternal optionsInternal = new AddNotifyMessageToClientOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnMessageToClientCallbackInternal(OnMessageToClientCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_AntiCheatServer_AddNotifyMessageToClient(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Begin the gameplay session. Event callbacks must be configured with + /// and before calling this function. + /// + /// Structure containing input data. + /// + /// - If the initialization succeeded + /// - If input data was invalid + /// + public Result BeginSession(ref BeginSessionOptions options) + { + BeginSessionOptionsInternal optionsInternal = new BeginSessionOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_BeginSession(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// End the gameplay session. Should be called when the server is shutting down or entering an idle state. + /// + /// Structure containing input data. + /// + /// - If the initialization succeeded + /// - If input data was invalid + /// + public Result EndSession(ref EndSessionOptions options) + { + EndSessionOptionsInternal optionsInternal = new EndSessionOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_EndSession(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional NetProtect feature for game message encryption. + /// Calculates the required decrypted buffer size for a given input data length. + /// This will not change for a given SDK version, and allows one time allocation of reusable buffers. + /// + /// Structure containing input data. + /// On success, the OutBuffer length in bytes that is required to call ProtectMessage on the given input size. + /// + /// - If the output length was calculated successfully + /// - If input data was invalid + /// + public Result GetProtectMessageOutputLength(ref GetProtectMessageOutputLengthOptions options, out uint outBufferSizeBytes) + { + GetProtectMessageOutputLengthOptionsInternal optionsInternal = new GetProtectMessageOutputLengthOptionsInternal(); + optionsInternal.Set(ref options); + + outBufferSizeBytes = Helper.GetDefault(); + + var funcResult = Bindings.EOS_AntiCheatServer_GetProtectMessageOutputLength(InnerHandle, ref optionsInternal, ref outBufferSizeBytes); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional Cerberus feature for gameplay data collection. + /// Logs a custom gameplay event. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the event was logged successfully + /// - If input data was invalid + /// + public Result LogEvent(ref AntiCheatCommon.LogEventOptions options) + { + AntiCheatCommon.LogEventOptionsInternal optionsInternal = new AntiCheatCommon.LogEventOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_LogEvent(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional Cerberus feature for gameplay data collection. + /// Logs a game round's end and outcome. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the event was logged successfully + /// - If input data was invalid + /// + public Result LogGameRoundEnd(ref AntiCheatCommon.LogGameRoundEndOptions options) + { + AntiCheatCommon.LogGameRoundEndOptionsInternal optionsInternal = new AntiCheatCommon.LogGameRoundEndOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_LogGameRoundEnd(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional Cerberus feature for gameplay data collection. + /// Logs a new game round start. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the event was logged successfully + /// - If input data was invalid + /// + public Result LogGameRoundStart(ref AntiCheatCommon.LogGameRoundStartOptions options) + { + AntiCheatCommon.LogGameRoundStartOptionsInternal optionsInternal = new AntiCheatCommon.LogGameRoundStartOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_LogGameRoundStart(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional Cerberus feature for gameplay data collection. + /// Logs a player despawning in the game, for example as a result of the character's death, + /// switching to spectator mode, etc. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the event was logged successfully + /// - If input data was invalid + /// + public Result LogPlayerDespawn(ref AntiCheatCommon.LogPlayerDespawnOptions options) + { + AntiCheatCommon.LogPlayerDespawnOptionsInternal optionsInternal = new AntiCheatCommon.LogPlayerDespawnOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerDespawn(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional Cerberus feature for gameplay data collection. + /// Logs a player being revived after being downed (see options). + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the event was logged successfully + /// - If input data was invalid + /// + public Result LogPlayerRevive(ref AntiCheatCommon.LogPlayerReviveOptions options) + { + AntiCheatCommon.LogPlayerReviveOptionsInternal optionsInternal = new AntiCheatCommon.LogPlayerReviveOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerRevive(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional Cerberus feature for gameplay data collection. + /// Logs a player spawning into the game. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the event was logged successfully + /// - If input data was invalid + /// + public Result LogPlayerSpawn(ref AntiCheatCommon.LogPlayerSpawnOptions options) + { + AntiCheatCommon.LogPlayerSpawnOptionsInternal optionsInternal = new AntiCheatCommon.LogPlayerSpawnOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerSpawn(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional Cerberus feature for gameplay data collection. + /// Logs that a player has taken damage. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the event was logged successfully + /// - If input data was invalid + /// + public Result LogPlayerTakeDamage(ref AntiCheatCommon.LogPlayerTakeDamageOptions options) + { + AntiCheatCommon.LogPlayerTakeDamageOptionsInternal optionsInternal = new AntiCheatCommon.LogPlayerTakeDamageOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerTakeDamage(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional Cerberus feature for gameplay data collection. + /// Logs a player's general state including position and view direction. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the event was logged successfully + /// - If input data was invalid + /// + public Result LogPlayerTick(ref AntiCheatCommon.LogPlayerTickOptions options) + { + AntiCheatCommon.LogPlayerTickOptionsInternal optionsInternal = new AntiCheatCommon.LogPlayerTickOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerTick(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional Cerberus feature for gameplay data collection. + /// Logs that a player has used a special ability or item which affects their character's capabilities, + /// for example temporarily increasing their speed or allowing them to see nearby players behind walls. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the event was logged successfully + /// - If input data was invalid + /// + public Result LogPlayerUseAbility(ref AntiCheatCommon.LogPlayerUseAbilityOptions options) + { + AntiCheatCommon.LogPlayerUseAbilityOptionsInternal optionsInternal = new AntiCheatCommon.LogPlayerUseAbilityOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerUseAbility(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional Cerberus feature for gameplay data collection. + /// Logs that a player has used a weapon, for example firing one bullet or making one melee attack. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the event was logged successfully + /// - If input data was invalid + /// + public Result LogPlayerUseWeapon(ref AntiCheatCommon.LogPlayerUseWeaponOptions options) + { + AntiCheatCommon.LogPlayerUseWeaponOptionsInternal optionsInternal = new AntiCheatCommon.LogPlayerUseWeaponOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_LogPlayerUseWeapon(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional NetProtect feature for game message encryption. + /// Encrypts an arbitrary message that will be sent to a game client and decrypted on the other side. + /// + /// Options.Data and OutBuffer may refer to the same buffer to encrypt in place. + /// + /// Structure containing input data. + /// On success, buffer where encrypted message data will be written. + /// On success, the number of bytes that were written to OutBuffer. + /// + /// - If the message was protected successfully + /// - If input data was invalid + /// - If the specified ClientHandle was invalid or not currently registered. See RegisterClient. + /// + public Result ProtectMessage(ref ProtectMessageOptions options, System.ArraySegment outBuffer, out uint outBytesWritten) + { + ProtectMessageOptionsInternal optionsInternal = new ProtectMessageOptionsInternal(); + optionsInternal.Set(ref options); + + outBytesWritten = 0; + System.IntPtr outBufferAddress = Helper.AddPinnedBuffer(outBuffer); + + var funcResult = Bindings.EOS_AntiCheatServer_ProtectMessage(InnerHandle, ref optionsInternal, outBufferAddress, ref outBytesWritten); + + Helper.Dispose(ref optionsInternal); + + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// Call when an anti-cheat message is received from a client. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the message was processed successfully + /// - If input data was invalid + /// - If message contents were corrupt and could not be processed + /// + public Result ReceiveMessageFromClient(ref ReceiveMessageFromClientOptions options) + { + ReceiveMessageFromClientOptionsInternal optionsInternal = new ReceiveMessageFromClientOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_ReceiveMessageFromClient(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Register a connected client. Must be paired with a call to UnregisterClient. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the player was registered successfully + /// - If input data was invalid + /// + public Result RegisterClient(ref RegisterClientOptions options) + { + RegisterClientOptionsInternal optionsInternal = new RegisterClientOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_RegisterClient(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional Cerberus feature for gameplay data collection. + /// Registers a custom gameplay event. + /// + /// All custom game events must be registered before is called for the first time. + /// After the first call to , this function cannot be called any longer. + /// + /// Structure containing input data. + /// + /// - If the event was registered successfully + /// - If input data was invalid + /// + public Result RegisterEvent(ref AntiCheatCommon.RegisterEventOptions options) + { + AntiCheatCommon.RegisterEventOptionsInternal optionsInternal = new AntiCheatCommon.RegisterEventOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_RegisterEvent(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Remove a previously bound handler. + /// + /// The previously bound notification ID + public void RemoveNotifyClientActionRequired(ulong notificationId) + { + Bindings.EOS_AntiCheatServer_RemoveNotifyClientActionRequired(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Remove a previously bound handler. + /// + /// The previously bound notification ID + public void RemoveNotifyClientAuthStatusChanged(ulong notificationId) + { + Bindings.EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Remove a previously bound handler. + /// + /// The previously bound notification ID + public void RemoveNotifyMessageToClient(ulong notificationId) + { + Bindings.EOS_AntiCheatServer_RemoveNotifyMessageToClient(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Optional. Sets or updates client details including input device and admin status. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the flags were updated successfully + /// - If input data was invalid + /// + public Result SetClientDetails(ref AntiCheatCommon.SetClientDetailsOptions options) + { + AntiCheatCommon.SetClientDetailsOptionsInternal optionsInternal = new AntiCheatCommon.SetClientDetailsOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_SetClientDetails(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional. Can be used to indicate that a client is legitimately known to be + /// temporarily unable to communicate, for example as a result of loading a new level. + /// + /// The bIsNetworkActive flag must be set back to true when users enter normal + /// gameplay, otherwise anti-cheat enforcement will not work correctly. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the network state was updated successfully + /// - If input data was invalid + /// + public Result SetClientNetworkState(ref SetClientNetworkStateOptions options) + { + SetClientNetworkStateOptionsInternal optionsInternal = new SetClientNetworkStateOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_SetClientNetworkState(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional. Sets or updates a game session identifier which can be attached to other data for reference. + /// The identifier can be updated at any time for currently and subsequently registered clients. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the game session identifier was set successfully + /// - If input data was invalid + /// + public Result SetGameSessionId(ref AntiCheatCommon.SetGameSessionIdOptions options) + { + AntiCheatCommon.SetGameSessionIdOptionsInternal optionsInternal = new AntiCheatCommon.SetGameSessionIdOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_SetGameSessionId(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Optional NetProtect feature for game message encryption. + /// Decrypts an encrypted message received from a game client. + /// + /// Options.Data and OutBuffer may refer to the same buffer to decrypt in place. + /// + /// Structure containing input data. + /// On success, buffer where encrypted message data will be written. + /// On success, the number of bytes that were written to OutBuffer. + /// + /// - If the message was unprotected successfully + /// - If input data was invalid + /// + public Result UnprotectMessage(ref UnprotectMessageOptions options, System.ArraySegment outBuffer, out uint outBytesWritten) + { + UnprotectMessageOptionsInternal optionsInternal = new UnprotectMessageOptionsInternal(); + optionsInternal.Set(ref options); + + outBytesWritten = 0; + System.IntPtr outBufferAddress = Helper.AddPinnedBuffer(outBuffer); + + var funcResult = Bindings.EOS_AntiCheatServer_UnprotectMessage(InnerHandle, ref optionsInternal, outBufferAddress, ref outBytesWritten); + + Helper.Dispose(ref optionsInternal); + + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// Unregister a disconnected client. + /// + /// This function may only be called between a successful call to and + /// the matching call. + /// + /// Structure containing input data. + /// + /// - If the player was unregistered successfully + /// - If input data was invalid + /// + public Result UnregisterClient(ref UnregisterClientOptions options) + { + UnregisterClientOptionsInternal optionsInternal = new UnregisterClientOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_AntiCheatServer_UnregisterClient(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + [MonoPInvokeCallback(typeof(OnClientActionRequiredCallbackInternal))] + internal static void OnClientActionRequiredCallbackInternalImplementation(ref AntiCheatCommon.OnClientActionRequiredCallbackInfoInternal data) + { + OnClientActionRequiredCallback callback; + AntiCheatCommon.OnClientActionRequiredCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnClientAuthStatusChangedCallbackInternal))] + internal static void OnClientAuthStatusChangedCallbackInternalImplementation(ref AntiCheatCommon.OnClientAuthStatusChangedCallbackInfoInternal data) + { + OnClientAuthStatusChangedCallback callback; + AntiCheatCommon.OnClientAuthStatusChangedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnMessageToClientCallbackInternal))] + internal static void OnMessageToClientCallbackInternalImplementation(ref AntiCheatCommon.OnMessageToClientCallbackInfoInternal data) + { + OnMessageToClientCallback callback; + AntiCheatCommon.OnMessageToClientCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AntiCheatServerInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AntiCheatServerInterface.cs.meta deleted file mode 100644 index 6ddba0ce..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/AntiCheatServerInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f913dbac3a8f7374f8b03ec21031e0e0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/BeginSessionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/BeginSessionOptions.cs index 5b565291..1a51342e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/BeginSessionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/BeginSessionOptions.cs @@ -1,95 +1,99 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - public class BeginSessionOptions - { - /// - /// Time in seconds to allow newly registered clients to complete anti-cheat authentication. - /// Recommended value: 60 - /// - public uint RegisterTimeoutSeconds { get; set; } - - /// - /// Optional name of this game server - /// - public string ServerName { get; set; } - - /// - /// Gameplay data collection APIs such as LogPlayerTick will be enabled if set to true. - /// If you do not use these APIs, it is more efficient to set this value to false. - /// - public bool EnableGameplayData { get; set; } - - /// - /// The Product User ID of the local user who is associated with this session. Dedicated servers should set this to null. - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct BeginSessionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_RegisterTimeoutSeconds; - private System.IntPtr m_ServerName; - private int m_EnableGameplayData; - private System.IntPtr m_LocalUserId; - - public uint RegisterTimeoutSeconds - { - set - { - m_RegisterTimeoutSeconds = value; - } - } - - public string ServerName - { - set - { - Helper.TryMarshalSet(ref m_ServerName, value); - } - } - - public bool EnableGameplayData - { - set - { - Helper.TryMarshalSet(ref m_EnableGameplayData, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(BeginSessionOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatServerInterface.BeginsessionApiLatest; - RegisterTimeoutSeconds = other.RegisterTimeoutSeconds; - ServerName = other.ServerName; - EnableGameplayData = other.EnableGameplayData; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as BeginSessionOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ServerName); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + public struct BeginSessionOptions + { + /// + /// Time in seconds to allow newly registered clients to complete anti-cheat authentication. + /// Recommended value: 60 + /// + public uint RegisterTimeoutSeconds { get; set; } + + /// + /// Optional name of this game server + /// + public Utf8String ServerName { get; set; } + + /// + /// Gameplay data collection APIs such as LogPlayerTick will be enabled if set to true. + /// If you do not use these APIs, it is more efficient to set this value to false. + /// + public bool EnableGameplayData { get; set; } + + /// + /// The Product User ID of the local user who is associated with this session. Dedicated servers should set this to null. + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct BeginSessionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_RegisterTimeoutSeconds; + private System.IntPtr m_ServerName; + private int m_EnableGameplayData; + private System.IntPtr m_LocalUserId; + + public uint RegisterTimeoutSeconds + { + set + { + m_RegisterTimeoutSeconds = value; + } + } + + public Utf8String ServerName + { + set + { + Helper.Set(value, ref m_ServerName); + } + } + + public bool EnableGameplayData + { + set + { + Helper.Set(value, ref m_EnableGameplayData); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref BeginSessionOptions other) + { + m_ApiVersion = AntiCheatServerInterface.BeginsessionApiLatest; + RegisterTimeoutSeconds = other.RegisterTimeoutSeconds; + ServerName = other.ServerName; + EnableGameplayData = other.EnableGameplayData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref BeginSessionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatServerInterface.BeginsessionApiLatest; + RegisterTimeoutSeconds = other.Value.RegisterTimeoutSeconds; + ServerName = other.Value.ServerName; + EnableGameplayData = other.Value.EnableGameplayData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ServerName); + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/BeginSessionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/BeginSessionOptions.cs.meta deleted file mode 100644 index e6eaf8a4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/BeginSessionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 71304b30978680d4aa41f0974aef719d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/EndSessionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/EndSessionOptions.cs index b391adc2..9b6359f8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/EndSessionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/EndSessionOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - public class EndSessionOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct EndSessionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(EndSessionOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatServerInterface.EndsessionApiLatest; - } - } - - public void Set(object other) - { - Set(other as EndSessionOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + public struct EndSessionOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct EndSessionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref EndSessionOptions other) + { + m_ApiVersion = AntiCheatServerInterface.EndsessionApiLatest; + } + + public void Set(ref EndSessionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatServerInterface.EndsessionApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/EndSessionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/EndSessionOptions.cs.meta deleted file mode 100644 index 25f2f71e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/EndSessionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9857e8672adb74e438abe424f5a79983 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/GetProtectMessageOutputLengthOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/GetProtectMessageOutputLengthOptions.cs index b20de52e..e0e1f4b0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/GetProtectMessageOutputLengthOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/GetProtectMessageOutputLengthOptions.cs @@ -1,46 +1,47 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - public class GetProtectMessageOutputLengthOptions - { - /// - /// Length in bytes of input - /// - public uint DataLengthBytes { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetProtectMessageOutputLengthOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_DataLengthBytes; - - public uint DataLengthBytes - { - set - { - m_DataLengthBytes = value; - } - } - - public void Set(GetProtectMessageOutputLengthOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatServerInterface.GetprotectmessageoutputlengthApiLatest; - DataLengthBytes = other.DataLengthBytes; - } - } - - public void Set(object other) - { - Set(other as GetProtectMessageOutputLengthOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + public struct GetProtectMessageOutputLengthOptions + { + /// + /// Length in bytes of input + /// + public uint DataLengthBytes { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetProtectMessageOutputLengthOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_DataLengthBytes; + + public uint DataLengthBytes + { + set + { + m_DataLengthBytes = value; + } + } + + public void Set(ref GetProtectMessageOutputLengthOptions other) + { + m_ApiVersion = AntiCheatServerInterface.GetprotectmessageoutputlengthApiLatest; + DataLengthBytes = other.DataLengthBytes; + } + + public void Set(ref GetProtectMessageOutputLengthOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatServerInterface.GetprotectmessageoutputlengthApiLatest; + DataLengthBytes = other.Value.DataLengthBytes; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/GetProtectMessageOutputLengthOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/GetProtectMessageOutputLengthOptions.cs.meta deleted file mode 100644 index b9f56505..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/GetProtectMessageOutputLengthOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 667f61887906677448b877657fe8df45 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientActionRequiredCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientActionRequiredCallback.cs index 3d4b70b5..03583081 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientActionRequiredCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientActionRequiredCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - /// - /// Callback issued when an action must be applied to a connected client. - /// This callback is always issued from within on its calling thread. - /// - public delegate void OnClientActionRequiredCallback(AntiCheatCommon.OnClientActionRequiredCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnClientActionRequiredCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + /// + /// Callback issued when an action must be applied to a connected client. + /// This callback is always issued from within on its calling thread. + /// + public delegate void OnClientActionRequiredCallback(ref AntiCheatCommon.OnClientActionRequiredCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnClientActionRequiredCallbackInternal(ref AntiCheatCommon.OnClientActionRequiredCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientActionRequiredCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientActionRequiredCallback.cs.meta deleted file mode 100644 index 50f2b5e9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientActionRequiredCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0d65b6d7d19d9eb4aa216922080b5407 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientAuthStatusChangedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientAuthStatusChangedCallback.cs index 93919c52..0f25b30d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientAuthStatusChangedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientAuthStatusChangedCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - /// - /// Optional callback issued when a connected client's authentication status has changed. - /// This callback is always issued from within on its calling thread. - /// - public delegate void OnClientAuthStatusChangedCallback(AntiCheatCommon.OnClientAuthStatusChangedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnClientAuthStatusChangedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + /// + /// Optional callback issued when a connected client's authentication status has changed. + /// This callback is always issued from within on its calling thread. + /// + public delegate void OnClientAuthStatusChangedCallback(ref AntiCheatCommon.OnClientAuthStatusChangedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnClientAuthStatusChangedCallbackInternal(ref AntiCheatCommon.OnClientAuthStatusChangedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientAuthStatusChangedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientAuthStatusChangedCallback.cs.meta deleted file mode 100644 index af8df36e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnClientAuthStatusChangedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 27723af457aee354e830ea3bc8a8d39c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnMessageToClientCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnMessageToClientCallback.cs index b29bf9e0..086e317b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnMessageToClientCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnMessageToClientCallback.cs @@ -1,19 +1,19 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - /// - /// Callback issued when a new message must be dispatched to a connected client. - /// - /// Messages contain opaque binary data of up to 256 bytes and must be transmitted - /// to the correct client using the game's own networking layer, then delivered - /// to the client anti-cheat instance using the function. - /// - /// This callback is always issued from within on its calling thread. - /// - public delegate void OnMessageToClientCallback(AntiCheatCommon.OnMessageToClientCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnMessageToClientCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + /// + /// Callback issued when a new message must be dispatched to a connected client. + /// + /// Messages contain opaque binary data of up to 256 bytes and must be transmitted + /// to the correct client using the game's own networking layer, then delivered + /// to the client anti-cheat instance using the function. + /// + /// This callback is always issued from within on its calling thread. + /// + public delegate void OnMessageToClientCallback(ref AntiCheatCommon.OnMessageToClientCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnMessageToClientCallbackInternal(ref AntiCheatCommon.OnMessageToClientCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnMessageToClientCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnMessageToClientCallback.cs.meta deleted file mode 100644 index 6b233a89..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/OnMessageToClientCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 198677b228758bb4f8ae03b135d63629 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ProtectMessageOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ProtectMessageOptions.cs index a49bfb7c..7f552639 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ProtectMessageOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ProtectMessageOptions.cs @@ -1,79 +1,82 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - public class ProtectMessageOptions - { - /// - /// Locally unique value describing the remote user to whom the message will be sent - /// - public System.IntPtr ClientHandle { get; set; } - - /// - /// The data to encrypt - /// - public byte[] Data { get; set; } - - /// - /// The size in bytes of OutBuffer - /// - public uint OutBufferSizeBytes { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ProtectMessageOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_ClientHandle; - private uint m_DataLengthBytes; - private System.IntPtr m_Data; - private uint m_OutBufferSizeBytes; - - public System.IntPtr ClientHandle - { - set - { - m_ClientHandle = value; - } - } - - public byte[] Data - { - set - { - Helper.TryMarshalSet(ref m_Data, value, out m_DataLengthBytes); - } - } - - public uint OutBufferSizeBytes - { - set - { - m_OutBufferSizeBytes = value; - } - } - - public void Set(ProtectMessageOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatServerInterface.ProtectmessageApiLatest; - ClientHandle = other.ClientHandle; - Data = other.Data; - OutBufferSizeBytes = other.OutBufferSizeBytes; - } - } - - public void Set(object other) - { - Set(other as ProtectMessageOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ClientHandle); - Helper.TryMarshalDispose(ref m_Data); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + public struct ProtectMessageOptions + { + /// + /// Locally unique value describing the remote user to whom the message will be sent + /// + public System.IntPtr ClientHandle { get; set; } + + /// + /// The data to encrypt + /// + public System.ArraySegment Data { get; set; } + + /// + /// The size in bytes of OutBuffer + /// + public uint OutBufferSizeBytes { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ProtectMessageOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_ClientHandle; + private uint m_DataLengthBytes; + private System.IntPtr m_Data; + private uint m_OutBufferSizeBytes; + + public System.IntPtr ClientHandle + { + set + { + m_ClientHandle = value; + } + } + + public System.ArraySegment Data + { + set + { + Helper.Set(value, ref m_Data, out m_DataLengthBytes); + } + } + + public uint OutBufferSizeBytes + { + set + { + m_OutBufferSizeBytes = value; + } + } + + public void Set(ref ProtectMessageOptions other) + { + m_ApiVersion = AntiCheatServerInterface.ProtectmessageApiLatest; + ClientHandle = other.ClientHandle; + Data = other.Data; + OutBufferSizeBytes = other.OutBufferSizeBytes; + } + + public void Set(ref ProtectMessageOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatServerInterface.ProtectmessageApiLatest; + ClientHandle = other.Value.ClientHandle; + Data = other.Value.Data; + OutBufferSizeBytes = other.Value.OutBufferSizeBytes; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientHandle); + Helper.Dispose(ref m_Data); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ProtectMessageOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ProtectMessageOptions.cs.meta deleted file mode 100644 index 8d469a8e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ProtectMessageOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c735b92a270c7e84bb171d63f511fc6a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ReceiveMessageFromClientOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ReceiveMessageFromClientOptions.cs index 987cce8b..d2b3390f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ReceiveMessageFromClientOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ReceiveMessageFromClientOptions.cs @@ -1,64 +1,66 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - public class ReceiveMessageFromClientOptions - { - /// - /// Optional value, if non-null then only messages addressed to this specific client will be returned - /// - public System.IntPtr ClientHandle { get; set; } - - /// - /// The data received - /// - public byte[] Data { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ReceiveMessageFromClientOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_ClientHandle; - private uint m_DataLengthBytes; - private System.IntPtr m_Data; - - public System.IntPtr ClientHandle - { - set - { - m_ClientHandle = value; - } - } - - public byte[] Data - { - set - { - Helper.TryMarshalSet(ref m_Data, value, out m_DataLengthBytes); - } - } - - public void Set(ReceiveMessageFromClientOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatServerInterface.ReceivemessagefromclientApiLatest; - ClientHandle = other.ClientHandle; - Data = other.Data; - } - } - - public void Set(object other) - { - Set(other as ReceiveMessageFromClientOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ClientHandle); - Helper.TryMarshalDispose(ref m_Data); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + public struct ReceiveMessageFromClientOptions + { + /// + /// Locally unique value describing the corresponding remote user, as previously passed to RegisterClient + /// + public System.IntPtr ClientHandle { get; set; } + + /// + /// The data received + /// + public System.ArraySegment Data { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ReceiveMessageFromClientOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_ClientHandle; + private uint m_DataLengthBytes; + private System.IntPtr m_Data; + + public System.IntPtr ClientHandle + { + set + { + m_ClientHandle = value; + } + } + + public System.ArraySegment Data + { + set + { + Helper.Set(value, ref m_Data, out m_DataLengthBytes); + } + } + + public void Set(ref ReceiveMessageFromClientOptions other) + { + m_ApiVersion = AntiCheatServerInterface.ReceivemessagefromclientApiLatest; + ClientHandle = other.ClientHandle; + Data = other.Data; + } + + public void Set(ref ReceiveMessageFromClientOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatServerInterface.ReceivemessagefromclientApiLatest; + ClientHandle = other.Value.ClientHandle; + Data = other.Value.Data; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientHandle); + Helper.Dispose(ref m_Data); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ReceiveMessageFromClientOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ReceiveMessageFromClientOptions.cs.meta deleted file mode 100644 index e742531a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/ReceiveMessageFromClientOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4a9bb8c17e011cb4580fd0a1fdda5304 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/RegisterClientOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/RegisterClientOptions.cs index 773c0c69..dcaba676 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/RegisterClientOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/RegisterClientOptions.cs @@ -1,114 +1,138 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - public class RegisterClientOptions - { - /// - /// Locally unique value describing the remote user (e.g. a player object pointer) - /// - public System.IntPtr ClientHandle { get; set; } - - /// - /// Type of remote user being registered - /// - public AntiCheatCommon.AntiCheatCommonClientType ClientType { get; set; } - - /// - /// Remote user's platform, if known - /// - public AntiCheatCommon.AntiCheatCommonClientPlatform ClientPlatform { get; set; } - - /// - /// Identifier for the remote user. This is typically a string representation of an - /// account ID, but it can be any string which is both unique (two different users will never - /// have the same string) and consistent (if the same user connects to this game session - /// twice, the same string will be used) in the scope of a single protected game session. - /// - public string AccountId { get; set; } - - /// - /// Optional IP address for the remote user. May be null if not available. - /// IPv4 format: "0.0.0.0" - /// IPv6 format: "0:0:0:0:0:0:0:0" - /// - public string IpAddress { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RegisterClientOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_ClientHandle; - private AntiCheatCommon.AntiCheatCommonClientType m_ClientType; - private AntiCheatCommon.AntiCheatCommonClientPlatform m_ClientPlatform; - private System.IntPtr m_AccountId; - private System.IntPtr m_IpAddress; - - public System.IntPtr ClientHandle - { - set - { - m_ClientHandle = value; - } - } - - public AntiCheatCommon.AntiCheatCommonClientType ClientType - { - set - { - m_ClientType = value; - } - } - - public AntiCheatCommon.AntiCheatCommonClientPlatform ClientPlatform - { - set - { - m_ClientPlatform = value; - } - } - - public string AccountId - { - set - { - Helper.TryMarshalSet(ref m_AccountId, value); - } - } - - public string IpAddress - { - set - { - Helper.TryMarshalSet(ref m_IpAddress, value); - } - } - - public void Set(RegisterClientOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatServerInterface.RegisterclientApiLatest; - ClientHandle = other.ClientHandle; - ClientType = other.ClientType; - ClientPlatform = other.ClientPlatform; - AccountId = other.AccountId; - IpAddress = other.IpAddress; - } - } - - public void Set(object other) - { - Set(other as RegisterClientOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ClientHandle); - Helper.TryMarshalDispose(ref m_AccountId); - Helper.TryMarshalDispose(ref m_IpAddress); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + public struct RegisterClientOptions + { + /// + /// Locally unique value describing the remote user (e.g. a player object pointer) + /// + public System.IntPtr ClientHandle { get; set; } + + /// + /// Type of remote user being registered + /// + public AntiCheatCommon.AntiCheatCommonClientType ClientType { get; set; } + + /// + /// Remote user's platform, if known + /// + public AntiCheatCommon.AntiCheatCommonClientPlatform ClientPlatform { get; set; } + + /// + /// DEPRECATED - New code should set this to null and specify UserId instead. + /// + /// Identifier for the remote user. This is typically a string representation of an + /// account ID, but it can be any string which is both unique (two different users will never + /// have the same string) and consistent (if the same user connects to this game session + /// twice, the same string will be used) in the scope of a single protected game session. + /// + public Utf8String AccountId_DEPRECATED { get; set; } + + /// + /// Optional IP address for the remote user. May be null if not available. + /// IPv4 format: "0.0.0.0" + /// IPv6 format: "0:0:0:0:0:0:0:0" + /// + public Utf8String IpAddress { get; set; } + + /// + /// The Product User ID for the remote user who is being registered. + /// + public ProductUserId UserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RegisterClientOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_ClientHandle; + private AntiCheatCommon.AntiCheatCommonClientType m_ClientType; + private AntiCheatCommon.AntiCheatCommonClientPlatform m_ClientPlatform; + private System.IntPtr m_AccountId_DEPRECATED; + private System.IntPtr m_IpAddress; + private System.IntPtr m_UserId; + + public System.IntPtr ClientHandle + { + set + { + m_ClientHandle = value; + } + } + + public AntiCheatCommon.AntiCheatCommonClientType ClientType + { + set + { + m_ClientType = value; + } + } + + public AntiCheatCommon.AntiCheatCommonClientPlatform ClientPlatform + { + set + { + m_ClientPlatform = value; + } + } + + public Utf8String AccountId_DEPRECATED + { + set + { + Helper.Set(value, ref m_AccountId_DEPRECATED); + } + } + + public Utf8String IpAddress + { + set + { + Helper.Set(value, ref m_IpAddress); + } + } + + public ProductUserId UserId + { + set + { + Helper.Set(value, ref m_UserId); + } + } + + public void Set(ref RegisterClientOptions other) + { + m_ApiVersion = AntiCheatServerInterface.RegisterclientApiLatest; + ClientHandle = other.ClientHandle; + ClientType = other.ClientType; + ClientPlatform = other.ClientPlatform; + AccountId_DEPRECATED = other.AccountId_DEPRECATED; + IpAddress = other.IpAddress; + UserId = other.UserId; + } + + public void Set(ref RegisterClientOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatServerInterface.RegisterclientApiLatest; + ClientHandle = other.Value.ClientHandle; + ClientType = other.Value.ClientType; + ClientPlatform = other.Value.ClientPlatform; + AccountId_DEPRECATED = other.Value.AccountId_DEPRECATED; + IpAddress = other.Value.IpAddress; + UserId = other.Value.UserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientHandle); + Helper.Dispose(ref m_AccountId_DEPRECATED); + Helper.Dispose(ref m_IpAddress); + Helper.Dispose(ref m_UserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/RegisterClientOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/RegisterClientOptions.cs.meta deleted file mode 100644 index 8607f0a6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/RegisterClientOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 12c848b649f146441b625c96017f2df0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/SetClientNetworkStateOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/SetClientNetworkStateOptions.cs index e215af14..6d69b516 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/SetClientNetworkStateOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/SetClientNetworkStateOptions.cs @@ -1,62 +1,64 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - public class SetClientNetworkStateOptions - { - /// - /// Locally unique value describing the remote user (e.g. a player object pointer) - /// - public System.IntPtr ClientHandle { get; set; } - - /// - /// True if the network is functioning normally, false if temporarily interrupted - /// - public bool IsNetworkActive { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetClientNetworkStateOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_ClientHandle; - private int m_IsNetworkActive; - - public System.IntPtr ClientHandle - { - set - { - m_ClientHandle = value; - } - } - - public bool IsNetworkActive - { - set - { - Helper.TryMarshalSet(ref m_IsNetworkActive, value); - } - } - - public void Set(SetClientNetworkStateOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatServerInterface.SetclientnetworkstateApiLatest; - ClientHandle = other.ClientHandle; - IsNetworkActive = other.IsNetworkActive; - } - } - - public void Set(object other) - { - Set(other as SetClientNetworkStateOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ClientHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + public struct SetClientNetworkStateOptions + { + /// + /// Locally unique value describing the remote user (e.g. a player object pointer) + /// + public System.IntPtr ClientHandle { get; set; } + + /// + /// True if the network is functioning normally, false if temporarily interrupted + /// + public bool IsNetworkActive { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetClientNetworkStateOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_ClientHandle; + private int m_IsNetworkActive; + + public System.IntPtr ClientHandle + { + set + { + m_ClientHandle = value; + } + } + + public bool IsNetworkActive + { + set + { + Helper.Set(value, ref m_IsNetworkActive); + } + } + + public void Set(ref SetClientNetworkStateOptions other) + { + m_ApiVersion = AntiCheatServerInterface.SetclientnetworkstateApiLatest; + ClientHandle = other.ClientHandle; + IsNetworkActive = other.IsNetworkActive; + } + + public void Set(ref SetClientNetworkStateOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatServerInterface.SetclientnetworkstateApiLatest; + ClientHandle = other.Value.ClientHandle; + IsNetworkActive = other.Value.IsNetworkActive; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/SetClientNetworkStateOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/SetClientNetworkStateOptions.cs.meta deleted file mode 100644 index a2089443..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/SetClientNetworkStateOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c930f59cb511ea74c9f40688194c20a2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnprotectMessageOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnprotectMessageOptions.cs index ece3ead1..e86e4b7c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnprotectMessageOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnprotectMessageOptions.cs @@ -1,79 +1,82 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - public class UnprotectMessageOptions - { - /// - /// Locally unique value describing the remote user from whom the message was received - /// - public System.IntPtr ClientHandle { get; set; } - - /// - /// The data to decrypt - /// - public byte[] Data { get; set; } - - /// - /// The size in bytes of OutBuffer - /// - public uint OutBufferSizeBytes { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UnprotectMessageOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_ClientHandle; - private uint m_DataLengthBytes; - private System.IntPtr m_Data; - private uint m_OutBufferSizeBytes; - - public System.IntPtr ClientHandle - { - set - { - m_ClientHandle = value; - } - } - - public byte[] Data - { - set - { - Helper.TryMarshalSet(ref m_Data, value, out m_DataLengthBytes); - } - } - - public uint OutBufferSizeBytes - { - set - { - m_OutBufferSizeBytes = value; - } - } - - public void Set(UnprotectMessageOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatServerInterface.UnprotectmessageApiLatest; - ClientHandle = other.ClientHandle; - Data = other.Data; - OutBufferSizeBytes = other.OutBufferSizeBytes; - } - } - - public void Set(object other) - { - Set(other as UnprotectMessageOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ClientHandle); - Helper.TryMarshalDispose(ref m_Data); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + public struct UnprotectMessageOptions + { + /// + /// Locally unique value describing the remote user from whom the message was received + /// + public System.IntPtr ClientHandle { get; set; } + + /// + /// The data to decrypt + /// + public System.ArraySegment Data { get; set; } + + /// + /// The size in bytes of OutBuffer + /// + public uint OutBufferSizeBytes { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UnprotectMessageOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_ClientHandle; + private uint m_DataLengthBytes; + private System.IntPtr m_Data; + private uint m_OutBufferSizeBytes; + + public System.IntPtr ClientHandle + { + set + { + m_ClientHandle = value; + } + } + + public System.ArraySegment Data + { + set + { + Helper.Set(value, ref m_Data, out m_DataLengthBytes); + } + } + + public uint OutBufferSizeBytes + { + set + { + m_OutBufferSizeBytes = value; + } + } + + public void Set(ref UnprotectMessageOptions other) + { + m_ApiVersion = AntiCheatServerInterface.UnprotectmessageApiLatest; + ClientHandle = other.ClientHandle; + Data = other.Data; + OutBufferSizeBytes = other.OutBufferSizeBytes; + } + + public void Set(ref UnprotectMessageOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatServerInterface.UnprotectmessageApiLatest; + ClientHandle = other.Value.ClientHandle; + Data = other.Value.Data; + OutBufferSizeBytes = other.Value.OutBufferSizeBytes; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientHandle); + Helper.Dispose(ref m_Data); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnprotectMessageOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnprotectMessageOptions.cs.meta deleted file mode 100644 index 34983109..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnprotectMessageOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2ecc277aa57c1964aac660117a555adb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnregisterClientOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnregisterClientOptions.cs index 2a431fe3..50c3ccce 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnregisterClientOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnregisterClientOptions.cs @@ -1,47 +1,48 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.AntiCheatServer -{ - public class UnregisterClientOptions - { - /// - /// Locally unique value describing the remote user, as previously passed to RegisterClient - /// - public System.IntPtr ClientHandle { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UnregisterClientOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_ClientHandle; - - public System.IntPtr ClientHandle - { - set - { - m_ClientHandle = value; - } - } - - public void Set(UnregisterClientOptions other) - { - if (other != null) - { - m_ApiVersion = AntiCheatServerInterface.UnregisterclientApiLatest; - ClientHandle = other.ClientHandle; - } - } - - public void Set(object other) - { - Set(other as UnregisterClientOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ClientHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.AntiCheatServer +{ + public struct UnregisterClientOptions + { + /// + /// Locally unique value describing the remote user, as previously passed to RegisterClient + /// + public System.IntPtr ClientHandle { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UnregisterClientOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_ClientHandle; + + public System.IntPtr ClientHandle + { + set + { + m_ClientHandle = value; + } + } + + public void Set(ref UnregisterClientOptions other) + { + m_ApiVersion = AntiCheatServerInterface.UnregisterclientApiLatest; + ClientHandle = other.ClientHandle; + } + + public void Set(ref UnregisterClientOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AntiCheatServerInterface.UnregisterclientApiLatest; + ClientHandle = other.Value.ClientHandle; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnregisterClientOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnregisterClientOptions.cs.meta deleted file mode 100644 index abad8614..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatServer/UnregisterClientOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 62e44e7933d068848a52d9fc11898acd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AttributeType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AttributeType.cs index 8b57b5e4..f9f630f3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AttributeType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AttributeType.cs @@ -1,30 +1,30 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices -{ - /// - /// Supported types of data that can be stored with inside an attribute (used by sessions/lobbies/etc) - /// - /// - /// - public enum AttributeType : int - { - /// - /// Boolean value (true/false) - /// - Boolean = 0, - /// - /// 64 bit integers - /// - Int64 = 1, - /// - /// Double/floating point precision - /// - Double = 2, - /// - /// UTF8 Strings - /// - String = 3 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices +{ + /// + /// Supported types of data that can be stored with inside an attribute (used by sessions/lobbies/etc) + /// + /// + /// + public enum AttributeType : int + { + /// + /// Boolean value (true/false) + /// + Boolean = 0, + /// + /// 64 bit integers + /// + Int64 = 1, + /// + /// Double/floating point precision + /// + Double = 2, + /// + /// UTF8 Strings + /// + String = 3 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AttributeType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AttributeType.cs.meta deleted file mode 100644 index e2e63a6a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AttributeType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6d5b8e5136f2e5d43942177a94f64b50 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth.meta deleted file mode 100644 index f033cec8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fceb38088dc1dbe438615246344faac3 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AccountFeatureRestrictedInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AccountFeatureRestrictedInfo.cs index a1328af6..0779dd9a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AccountFeatureRestrictedInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AccountFeatureRestrictedInfo.cs @@ -1,71 +1,70 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Intermediate data needed to complete account restriction verification during login flow, returned by when the ResultCode is - /// The URI inside should be exposed to the user for entry in a web browser. The URI must be copied out of this struct before completion of the callback. - /// - public class AccountFeatureRestrictedInfo : ISettable - { - /// - /// The end-user verification URI. Users must be asked to open the page in a browser to address the restrictions - /// - public string VerificationURI { get; set; } - - internal void Set(AccountFeatureRestrictedInfoInternal? other) - { - if (other != null) - { - VerificationURI = other.Value.VerificationURI; - } - } - - public void Set(object other) - { - Set(other as AccountFeatureRestrictedInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AccountFeatureRestrictedInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_VerificationURI; - - public string VerificationURI - { - get - { - string value; - Helper.TryMarshalGet(m_VerificationURI, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_VerificationURI, value); - } - } - - public void Set(AccountFeatureRestrictedInfo other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.AccountfeaturerestrictedinfoApiLatest; - VerificationURI = other.VerificationURI; - } - } - - public void Set(object other) - { - Set(other as AccountFeatureRestrictedInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_VerificationURI); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Intermediate data needed to complete account restriction verification during login flow, returned by when the ResultCode is + /// The URI inside should be exposed to the user for entry in a web browser. The URI must be copied out of this struct before completion of the callback. + /// + public struct AccountFeatureRestrictedInfo + { + /// + /// The end-user verification URI. Users must be asked to open the page in a browser to address the restrictions + /// + public Utf8String VerificationURI { get; set; } + + internal void Set(ref AccountFeatureRestrictedInfoInternal other) + { + VerificationURI = other.VerificationURI; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AccountFeatureRestrictedInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_VerificationURI; + + public Utf8String VerificationURI + { + get + { + Utf8String value; + Helper.Get(m_VerificationURI, out value); + return value; + } + + set + { + Helper.Set(value, ref m_VerificationURI); + } + } + + public void Set(ref AccountFeatureRestrictedInfo other) + { + m_ApiVersion = AuthInterface.AccountfeaturerestrictedinfoApiLatest; + VerificationURI = other.VerificationURI; + } + + public void Set(ref AccountFeatureRestrictedInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.AccountfeaturerestrictedinfoApiLatest; + VerificationURI = other.Value.VerificationURI; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_VerificationURI); + } + + public void Get(out AccountFeatureRestrictedInfo output) + { + output = new AccountFeatureRestrictedInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AccountFeatureRestrictedInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AccountFeatureRestrictedInfo.cs.meta deleted file mode 100644 index cf3c33fb..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AccountFeatureRestrictedInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bf78e338fb1b9bc4baa13af74617798a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AddNotifyLoginStatusChangedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AddNotifyLoginStatusChangedOptions.cs index 15850aad..1017128f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AddNotifyLoginStatusChangedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AddNotifyLoginStatusChangedOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Input parameters for the Function. - /// - public class AddNotifyLoginStatusChangedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyLoginStatusChangedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyLoginStatusChangedOptions other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.AddnotifyloginstatuschangedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyLoginStatusChangedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Input parameters for the Function. + /// + public struct AddNotifyLoginStatusChangedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyLoginStatusChangedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyLoginStatusChangedOptions other) + { + m_ApiVersion = AuthInterface.AddnotifyloginstatuschangedApiLatest; + } + + public void Set(ref AddNotifyLoginStatusChangedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.AddnotifyloginstatuschangedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AddNotifyLoginStatusChangedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AddNotifyLoginStatusChangedOptions.cs.meta deleted file mode 100644 index 1739c76f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AddNotifyLoginStatusChangedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4a4a1234dbff477419b23d10ef8b2406 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthInterface.cs index 1ad66a40..d49e3861 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthInterface.cs @@ -1,376 +1,570 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - public sealed partial class AuthInterface : Handle - { - public AuthInterface() - { - } - - public AuthInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the struct. - /// - public const int AccountfeaturerestrictedinfoApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifyloginstatuschangedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyuserauthtokenApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int CredentialsApiLatest = 3; - - /// - /// The most recent version of the API. - /// - public const int DeletepersistentauthApiLatest = 2; - - /// - /// The most recent version of the API. - /// - public const int LinkaccountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LoginApiLatest = 2; - - /// - /// The most recent version of the API. - /// - public const int LogoutApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int PingrantinfoApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int TokenApiLatest = 2; - - /// - /// The most recent version of the API. - /// - public const int VerifyuserauthApiLatest = 1; - - /// - /// Register to receive login status updates. - /// @note must call RemoveNotifyLoginStatusChanged to remove the notification - /// - /// structure containing the api version of AddNotifyLoginStatusChanged to use - /// arbitrary data that is passed back to you in the callback - /// a callback that is fired when the login status for a user changes - /// - /// handle representing the registered callback - /// - public ulong AddNotifyLoginStatusChanged(AddNotifyLoginStatusChangedOptions options, object clientData, OnLoginStatusChangedCallback notification) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationInternal = new OnLoginStatusChangedCallbackInternal(OnLoginStatusChangedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notification, notificationInternal); - - var funcResult = Bindings.EOS_Auth_AddNotifyLoginStatusChanged(InnerHandle, optionsAddress, clientDataAddress, notificationInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Fetches a user auth token for an Epic Online Services Account ID. - /// - /// - /// Structure containing the api version of CopyUserAuthToken to use - /// The Epic Online Services Account ID of the user being queried - /// The auth token for the given user, if it exists and is valid; use when finished - /// - /// if the information is available and passed out in OutUserAuthToken - /// if you pass a null pointer for the out parameter - /// if the auth token is not found or expired. - /// - public Result CopyUserAuthToken(CopyUserAuthTokenOptions options, EpicAccountId localUserId, out Token outUserAuthToken) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var localUserIdInnerHandle = System.IntPtr.Zero; - Helper.TryMarshalSet(ref localUserIdInnerHandle, localUserId); - - var outUserAuthTokenAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Auth_CopyUserAuthToken(InnerHandle, optionsAddress, localUserIdInnerHandle, ref outUserAuthTokenAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outUserAuthTokenAddress, out outUserAuthToken)) - { - Bindings.EOS_Auth_Token_Release(outUserAuthTokenAddress); - } - - return funcResult; - } - - /// - /// Deletes a previously received and locally stored persistent auth access token for the currently logged in user of the local device. - /// - /// On Desktop and Mobile platforms, the access token is deleted from the keychain of the local user and a backend request is made to revoke the token on the authentication server. - /// On Console platforms, even though the caller is responsible for storing and deleting the access token on the local device, - /// this function should still be called with the access token before its deletion to make the best effort in attempting to also revoke it on the authentication server. - /// If the function would fail on Console, the caller should still proceed as normal to delete the access token locally as intended. - /// - /// structure containing operation input parameters - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the deletion operation completes, either successfully or in error - public void DeletePersistentAuth(DeletePersistentAuthOptions options, object clientData, OnDeletePersistentAuthCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnDeletePersistentAuthCallbackInternal(OnDeletePersistentAuthCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Auth_DeletePersistentAuth(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Fetch an Epic Online Services Account ID that is logged in. - /// - /// An index into the list of logged in accounts. If the index is out of bounds, the returned Epic Online Services Account ID will be invalid. - /// - /// The Epic Online Services Account ID associated with the index passed - /// - public EpicAccountId GetLoggedInAccountByIndex(int index) - { - var funcResult = Bindings.EOS_Auth_GetLoggedInAccountByIndex(InnerHandle, index); - - EpicAccountId funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Fetch the number of accounts that are logged in. - /// - /// - /// the number of accounts logged in. - /// - public int GetLoggedInAccountsCount() - { - var funcResult = Bindings.EOS_Auth_GetLoggedInAccountsCount(InnerHandle); - - return funcResult; - } - - /// - /// Fetches the login status for an Epic Online Services Account ID. - /// - /// The Epic Online Services Account ID of the user being queried - /// - /// The enum value of a user's login status - /// - public LoginStatus GetLoginStatus(EpicAccountId localUserId) - { - var localUserIdInnerHandle = System.IntPtr.Zero; - Helper.TryMarshalSet(ref localUserIdInnerHandle, localUserId); - - var funcResult = Bindings.EOS_Auth_GetLoginStatus(InnerHandle, localUserIdInnerHandle); - - return funcResult; - } - - /// - /// Link external account by continuing previous login attempt with a continuance token. - /// - /// On Desktop and Mobile platforms, the user will be presented the Epic Account Portal to resolve their identity. - /// - /// On Console, the user will login to their Epic Account using an external device, e.g. a mobile device or a desktop PC, - /// by browsing to the presented authentication URL and entering the device code presented by the game on the console. - /// - /// On success, the user will be logged in at the completion of this action. - /// This will commit this external account to the Epic Account and cannot be undone in the SDK. - /// - /// structure containing the account credentials to use during the link account operation - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the link account operation completes, either successfully or in error - public void LinkAccount(LinkAccountOptions options, object clientData, OnLinkAccountCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnLinkAccountCallbackInternal(OnLinkAccountCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Auth_LinkAccount(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Login/Authenticate with user credentials. - /// - /// structure containing the account credentials to use during the login operation - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the login operation completes, either successfully or in error - public void Login(LoginOptions options, object clientData, OnLoginCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnLoginCallbackInternal(OnLoginCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Auth_Login(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Signs the player out of the online service. - /// - /// structure containing information about which account to log out. - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the logout operation completes, either successfully or in error - public void Logout(LogoutOptions options, object clientData, OnLogoutCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnLogoutCallbackInternal(OnLogoutCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Auth_Logout(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Unregister from receiving login status updates. - /// - /// handle representing the registered callback - public void RemoveNotifyLoginStatusChanged(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Auth_RemoveNotifyLoginStatusChanged(InnerHandle, inId); - } - - /// - /// Contact the backend service to verify validity of an existing user auth token. - /// This function is intended for server-side use only. - /// - /// structure containing information about the auth token being verified - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the logout operation completes, either successfully or in error - public void VerifyUserAuth(VerifyUserAuthOptions options, object clientData, OnVerifyUserAuthCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnVerifyUserAuthCallbackInternal(OnVerifyUserAuthCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Auth_VerifyUserAuth(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnDeletePersistentAuthCallbackInternal))] - internal static void OnDeletePersistentAuthCallbackInternalImplementation(System.IntPtr data) - { - OnDeletePersistentAuthCallback callback; - DeletePersistentAuthCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLinkAccountCallbackInternal))] - internal static void OnLinkAccountCallbackInternalImplementation(System.IntPtr data) - { - OnLinkAccountCallback callback; - LinkAccountCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLoginCallbackInternal))] - internal static void OnLoginCallbackInternalImplementation(System.IntPtr data) - { - OnLoginCallback callback; - LoginCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLoginStatusChangedCallbackInternal))] - internal static void OnLoginStatusChangedCallbackInternalImplementation(System.IntPtr data) - { - OnLoginStatusChangedCallback callback; - LoginStatusChangedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLogoutCallbackInternal))] - internal static void OnLogoutCallbackInternalImplementation(System.IntPtr data) - { - OnLogoutCallback callback; - LogoutCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnVerifyUserAuthCallbackInternal))] - internal static void OnVerifyUserAuthCallbackInternalImplementation(System.IntPtr data) - { - OnVerifyUserAuthCallback callback; - VerifyUserAuthCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + public sealed partial class AuthInterface : Handle + { + public AuthInterface() + { + } + + public AuthInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the struct. + /// + public const int AccountfeaturerestrictedinfoApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifyloginstatuschangedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyidtokenApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyuserauthtokenApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int CredentialsApiLatest = 3; + + /// + /// The most recent version of the API. + /// + public const int DeletepersistentauthApiLatest = 2; + + /// + /// The most recent version of the struct. + /// + public const int IdtokenApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LinkaccountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LoginApiLatest = 2; + + /// + /// The most recent version of the API. + /// + public const int LogoutApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int PingrantinfoApiLatest = 2; + + /// + /// The most recent version of the API. + /// + public const int QueryidtokenApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int TokenApiLatest = 2; + + /// + /// The most recent version of the API. + /// + public const int VerifyidtokenApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int VerifyuserauthApiLatest = 1; + + /// + /// Register to receive login status updates. + /// must call RemoveNotifyLoginStatusChanged to remove the notification + /// + /// structure containing the api version of AddNotifyLoginStatusChanged to use + /// arbitrary data that is passed back to you in the callback + /// a callback that is fired when the login status for a user changes + /// + /// handle representing the registered callback + /// + public ulong AddNotifyLoginStatusChanged(ref AddNotifyLoginStatusChangedOptions options, object clientData, OnLoginStatusChangedCallback notification) + { + AddNotifyLoginStatusChangedOptionsInternal optionsInternal = new AddNotifyLoginStatusChangedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationInternal = new OnLoginStatusChangedCallbackInternal(OnLoginStatusChangedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notification, notificationInternal); + + var funcResult = Bindings.EOS_Auth_AddNotifyLoginStatusChanged(InnerHandle, ref optionsInternal, clientDataAddress, notificationInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Fetch an ID token for an Epic Account ID. + /// + /// ID tokens are used to securely verify user identities with online services. + /// The most common use case is using an ID token to authenticate the local user by their selected account ID, + /// which is the account ID that should be used to access any game-scoped data for the current application. + /// + /// An ID token for the selected account ID of a locally authenticated user will always be readily available. + /// To retrieve it for the selected account ID, you can use directly after a successful user login. + /// + /// + /// Structure containing the account ID for which to copy an ID token. + /// An ID token for the given user, if it exists and is valid; use when finished. + /// + /// if the information is available and passed out in OutUserIdToken + /// if you pass a null pointer for the out parameter + /// if the Id token is not found or expired. + /// + public Result CopyIdToken(ref CopyIdTokenOptions options, out IdToken? outIdToken) + { + CopyIdTokenOptionsInternal optionsInternal = new CopyIdTokenOptionsInternal(); + optionsInternal.Set(ref options); + + var outIdTokenAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Auth_CopyIdToken(InnerHandle, ref optionsInternal, ref outIdTokenAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outIdTokenAddress, out outIdToken); + if (outIdToken != null) + { + Bindings.EOS_Auth_IdToken_Release(outIdTokenAddress); + } + + return funcResult; + } + + /// + /// Fetch a user auth token for an Epic Account ID. + /// + /// A user authentication token allows any code with possession (backend/client) to perform certain actions on behalf of the user. + /// Because of this, for the purposes of user identity verification, the API should be used instead. + /// + /// + /// Structure containing the api version of CopyUserAuthToken to use + /// The Epic Account ID of the user being queried + /// The auth token for the given user, if it exists and is valid; use when finished + /// + /// if the information is available and passed out in OutUserAuthToken + /// if you pass a null pointer for the out parameter + /// if the auth token is not found or expired. + /// + public Result CopyUserAuthToken(ref CopyUserAuthTokenOptions options, EpicAccountId localUserId, out Token? outUserAuthToken) + { + CopyUserAuthTokenOptionsInternal optionsInternal = new CopyUserAuthTokenOptionsInternal(); + optionsInternal.Set(ref options); + + var localUserIdInnerHandle = System.IntPtr.Zero; + Helper.Set(localUserId, ref localUserIdInnerHandle); + + var outUserAuthTokenAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Auth_CopyUserAuthToken(InnerHandle, ref optionsInternal, localUserIdInnerHandle, ref outUserAuthTokenAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outUserAuthTokenAddress, out outUserAuthToken); + if (outUserAuthToken != null) + { + Bindings.EOS_Auth_Token_Release(outUserAuthTokenAddress); + } + + return funcResult; + } + + /// + /// Deletes a previously received and locally stored persistent auth access token for the currently logged in user of the local device. + /// + /// On Desktop and Mobile platforms, the access token is deleted from the keychain of the local user and a backend request is made to revoke the token on the authentication server. + /// On Console platforms, even though the caller is responsible for storing and deleting the access token on the local device, + /// this function should still be called with the access token before its deletion to make the best effort in attempting to also revoke it on the authentication server. + /// If the function would fail on Console, the caller should still proceed as normal to delete the access token locally as intended. + /// + /// structure containing operation input parameters + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the deletion operation completes, either successfully or in error + public void DeletePersistentAuth(ref DeletePersistentAuthOptions options, object clientData, OnDeletePersistentAuthCallback completionDelegate) + { + DeletePersistentAuthOptionsInternal optionsInternal = new DeletePersistentAuthOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnDeletePersistentAuthCallbackInternal(OnDeletePersistentAuthCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Auth_DeletePersistentAuth(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Fetch an Epic Account ID that is logged in. + /// + /// An index into the list of logged in accounts. If the index is out of bounds, the returned Epic Account ID will be invalid. + /// + /// The Epic Account ID associated with the index passed + /// + public EpicAccountId GetLoggedInAccountByIndex(int index) + { + var funcResult = Bindings.EOS_Auth_GetLoggedInAccountByIndex(InnerHandle, index); + + EpicAccountId funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Fetch the number of accounts that are logged in. + /// + /// + /// the number of accounts logged in. + /// + public int GetLoggedInAccountsCount() + { + var funcResult = Bindings.EOS_Auth_GetLoggedInAccountsCount(InnerHandle); + + return funcResult; + } + + /// + /// Fetches the login status for an Epic Account ID. + /// + /// The Epic Account ID of the user being queried + /// + /// The enum value of a user's login status + /// + public LoginStatus GetLoginStatus(EpicAccountId localUserId) + { + var localUserIdInnerHandle = System.IntPtr.Zero; + Helper.Set(localUserId, ref localUserIdInnerHandle); + + var funcResult = Bindings.EOS_Auth_GetLoginStatus(InnerHandle, localUserIdInnerHandle); + + return funcResult; + } + + /// + /// Fetch one of the merged account IDs for a given logged in account. + /// + /// The account ID of a currently logged in account. + /// An index into the list of merged accounts. If the index is out of bounds, the returned Epic Account ID will be invalid. + /// + /// The Epic Account ID associated with the index passed. + /// + public EpicAccountId GetMergedAccountByIndex(EpicAccountId localUserId, uint index) + { + var localUserIdInnerHandle = System.IntPtr.Zero; + Helper.Set(localUserId, ref localUserIdInnerHandle); + + var funcResult = Bindings.EOS_Auth_GetMergedAccountByIndex(InnerHandle, localUserIdInnerHandle, index); + + EpicAccountId funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Fetch the number of merged accounts for a given logged in account. + /// + /// The account ID of a currently logged in account. + /// + /// the number of merged accounts for the logged in account. + /// + public uint GetMergedAccountsCount(EpicAccountId localUserId) + { + var localUserIdInnerHandle = System.IntPtr.Zero; + Helper.Set(localUserId, ref localUserIdInnerHandle); + + var funcResult = Bindings.EOS_Auth_GetMergedAccountsCount(InnerHandle, localUserIdInnerHandle); + + return funcResult; + } + + /// + /// Fetch the selected account ID to the current application for a local authenticated user. + /// + /// The account ID of a currently logged in account. + /// The selected account ID corresponding to the given account ID. + /// + /// if the user is logged in and the information is available. + /// if the output parameter is . + /// if the input account ID is not locally known. + /// if the input account ID is not locally logged in. + /// otherwise. + /// + public Result GetSelectedAccountId(EpicAccountId localUserId, out EpicAccountId outSelectedAccountId) + { + var localUserIdInnerHandle = System.IntPtr.Zero; + Helper.Set(localUserId, ref localUserIdInnerHandle); + + var outSelectedAccountIdAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Auth_GetSelectedAccountId(InnerHandle, localUserIdInnerHandle, ref outSelectedAccountIdAddress); + + Helper.Get(outSelectedAccountIdAddress, out outSelectedAccountId); + + return funcResult; + } + + /// + /// Link external account by continuing previous login attempt with a continuance token. + /// + /// On Desktop and Mobile platforms, the user will be presented the Epic Account Portal to resolve their identity. + /// + /// On Console, the user will login to their Epic Account using an external device, e.g. a mobile device or a desktop PC, + /// by browsing to the presented authentication URL and entering the device code presented by the game on the console. + /// + /// On success, the user will be logged in at the completion of this action. + /// This will commit this external account to the Epic Account and cannot be undone in the SDK. + /// + /// structure containing the account credentials to use during the link account operation + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the link account operation completes, either successfully or in error + public void LinkAccount(ref LinkAccountOptions options, object clientData, OnLinkAccountCallback completionDelegate) + { + LinkAccountOptionsInternal optionsInternal = new LinkAccountOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnLinkAccountCallbackInternal(OnLinkAccountCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Auth_LinkAccount(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Login/Authenticate with user credentials. + /// + /// structure containing the account credentials to use during the login operation + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the login operation completes, either successfully or in error + public void Login(ref LoginOptions options, object clientData, OnLoginCallback completionDelegate) + { + LoginOptionsInternal optionsInternal = new LoginOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnLoginCallbackInternal(OnLoginCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Auth_Login(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Signs the player out of the online service. + /// + /// structure containing information about which account to log out. + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the logout operation completes, either successfully or in error + public void Logout(ref LogoutOptions options, object clientData, OnLogoutCallback completionDelegate) + { + LogoutOptionsInternal optionsInternal = new LogoutOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnLogoutCallbackInternal(OnLogoutCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Auth_Logout(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Query the backend for an ID token that describes one of the merged account IDs of a local authenticated user. + /// + /// The ID token can be used to impersonate a merged account ID when communicating with online services. + /// + /// An ID token for the selected account ID of a locally authenticated user will always be readily available and does not need to be queried explicitly. + /// + /// Structure containing the merged account ID for which to query an ID token. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when the operation completes, either successfully or in error. + public void QueryIdToken(ref QueryIdTokenOptions options, object clientData, OnQueryIdTokenCallback completionDelegate) + { + QueryIdTokenOptionsInternal optionsInternal = new QueryIdTokenOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryIdTokenCallbackInternal(OnQueryIdTokenCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Auth_QueryIdToken(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Unregister from receiving login status updates. + /// + /// handle representing the registered callback + public void RemoveNotifyLoginStatusChanged(ulong inId) + { + Bindings.EOS_Auth_RemoveNotifyLoginStatusChanged(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Verify a given ID token for authenticity and validity. + /// + /// Structure containing information about the ID token to verify. + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the operation completes, either successfully or in error. + public void VerifyIdToken(ref VerifyIdTokenOptions options, object clientData, OnVerifyIdTokenCallback completionDelegate) + { + VerifyIdTokenOptionsInternal optionsInternal = new VerifyIdTokenOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnVerifyIdTokenCallbackInternal(OnVerifyIdTokenCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Auth_VerifyIdToken(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Contact the backend service to verify validity of an existing user auth token. + /// This function is intended for server-side use only. + /// + /// + /// structure containing information about the auth token being verified + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the logout operation completes, either successfully or in error + public void VerifyUserAuth(ref VerifyUserAuthOptions options, object clientData, OnVerifyUserAuthCallback completionDelegate) + { + VerifyUserAuthOptionsInternal optionsInternal = new VerifyUserAuthOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnVerifyUserAuthCallbackInternal(OnVerifyUserAuthCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Auth_VerifyUserAuth(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnDeletePersistentAuthCallbackInternal))] + internal static void OnDeletePersistentAuthCallbackInternalImplementation(ref DeletePersistentAuthCallbackInfoInternal data) + { + OnDeletePersistentAuthCallback callback; + DeletePersistentAuthCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLinkAccountCallbackInternal))] + internal static void OnLinkAccountCallbackInternalImplementation(ref LinkAccountCallbackInfoInternal data) + { + OnLinkAccountCallback callback; + LinkAccountCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLoginCallbackInternal))] + internal static void OnLoginCallbackInternalImplementation(ref LoginCallbackInfoInternal data) + { + OnLoginCallback callback; + LoginCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLoginStatusChangedCallbackInternal))] + internal static void OnLoginStatusChangedCallbackInternalImplementation(ref LoginStatusChangedCallbackInfoInternal data) + { + OnLoginStatusChangedCallback callback; + LoginStatusChangedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLogoutCallbackInternal))] + internal static void OnLogoutCallbackInternalImplementation(ref LogoutCallbackInfoInternal data) + { + OnLogoutCallback callback; + LogoutCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryIdTokenCallbackInternal))] + internal static void OnQueryIdTokenCallbackInternalImplementation(ref QueryIdTokenCallbackInfoInternal data) + { + OnQueryIdTokenCallback callback; + QueryIdTokenCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnVerifyIdTokenCallbackInternal))] + internal static void OnVerifyIdTokenCallbackInternalImplementation(ref VerifyIdTokenCallbackInfoInternal data) + { + OnVerifyIdTokenCallback callback; + VerifyIdTokenCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnVerifyUserAuthCallbackInternal))] + internal static void OnVerifyUserAuthCallbackInternalImplementation(ref VerifyUserAuthCallbackInfoInternal data) + { + OnVerifyUserAuthCallback callback; + VerifyUserAuthCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthInterface.cs.meta deleted file mode 100644 index bcea1a79..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 346aa4c120637f746b7efe3a4b8006c0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthScopeFlags.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthScopeFlags.cs index e2bd7f6f..b6a44eaa 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthScopeFlags.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthScopeFlags.cs @@ -1,34 +1,38 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Flags that describe user permissions - /// - [System.Flags] - public enum AuthScopeFlags : int - { - NoFlags = 0x0, - /// - /// Permissions to see your account ID, display name, language and country - /// - BasicProfile = 0x1, - /// - /// Permissions to see a list of your friends who use this application - /// - FriendsList = 0x2, - /// - /// Permissions to set your online presence and see presence of your friends - /// - Presence = 0x4, - /// - /// Permissions to manage the Epic friends list. This scope is restricted to Epic first party products, and attempting to use it will result in authentication failures. - /// - FriendsManagement = 0x8, - /// - /// Permissions to see email in the response when fetching information for a user. This scope is restricted to Epic first party products, and attempting to use it will result in authentication failures. - /// - Email = 0x10 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Flags that describe user permissions + /// + [System.Flags] + public enum AuthScopeFlags : int + { + NoFlags = 0x0, + /// + /// Permissions to see your account ID, display name, and language + /// + BasicProfile = 0x1, + /// + /// Permissions to see a list of your friends who use this application + /// + FriendsList = 0x2, + /// + /// Permissions to set your online presence and see presence of your friends + /// + Presence = 0x4, + /// + /// Permissions to manage the Epic friends list. This scope is restricted to Epic first party products, and attempting to use it will result in authentication failures. + /// + FriendsManagement = 0x8, + /// + /// Permissions to see email in the response when fetching information for a user. This scope is restricted to Epic first party products, and attempting to use it will result in authentication failures. + /// + Email = 0x10, + /// + /// Permissions to see your country + /// + Country = 0x20 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthScopeFlags.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthScopeFlags.cs.meta deleted file mode 100644 index bd7c373f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthScopeFlags.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1d6721d99e1945048a773f1434bed233 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthTokenType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthTokenType.cs index 3358de14..79943a4a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthTokenType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthTokenType.cs @@ -1,22 +1,22 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Types of auth tokens - /// - /// - /// - public enum AuthTokenType : int - { - /// - /// Auth token is for a validated client - /// - Client = 0, - /// - /// Auth token is for a validated user - /// - User = 1 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Types of auth tokens + /// + /// + /// + public enum AuthTokenType : int + { + /// + /// Auth token is for a validated client + /// + Client = 0, + /// + /// Auth token is for a validated user + /// + User = 1 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthTokenType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthTokenType.cs.meta deleted file mode 100644 index fef68836..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/AuthTokenType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d844e7a164972ff449592404a013e32b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/CopyIdTokenOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/CopyIdTokenOptions.cs new file mode 100644 index 00000000..d6011804 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/CopyIdTokenOptions.cs @@ -0,0 +1,51 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Input parameters for the function. + /// + public struct CopyIdTokenOptions + { + /// + /// The Epic Account ID of the user being queried. + /// + public EpicAccountId AccountId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyIdTokenOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_AccountId; + + public EpicAccountId AccountId + { + set + { + Helper.Set(value, ref m_AccountId); + } + } + + public void Set(ref CopyIdTokenOptions other) + { + m_ApiVersion = AuthInterface.CopyidtokenApiLatest; + AccountId = other.AccountId; + } + + public void Set(ref CopyIdTokenOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.CopyidtokenApiLatest; + AccountId = other.Value.AccountId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AccountId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/CopyUserAuthTokenOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/CopyUserAuthTokenOptions.cs index 9ba7c0d7..386d56a9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/CopyUserAuthTokenOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/CopyUserAuthTokenOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Input parameters for the function. - /// - public class CopyUserAuthTokenOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyUserAuthTokenOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(CopyUserAuthTokenOptions other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.CopyuserauthtokenApiLatest; - } - } - - public void Set(object other) - { - Set(other as CopyUserAuthTokenOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Input parameters for the function. + /// + public struct CopyUserAuthTokenOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyUserAuthTokenOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref CopyUserAuthTokenOptions other) + { + m_ApiVersion = AuthInterface.CopyuserauthtokenApiLatest; + } + + public void Set(ref CopyUserAuthTokenOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.CopyuserauthtokenApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/CopyUserAuthTokenOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/CopyUserAuthTokenOptions.cs.meta deleted file mode 100644 index cd074b43..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/CopyUserAuthTokenOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 73b393d7756401847b7f19bf47a7f8e8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Credentials.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Credentials.cs index 0262952a..cec9b9c3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Credentials.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Credentials.cs @@ -1,177 +1,180 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// A structure that contains login credentials. What is required is dependent on the type of login being initiated. - /// - /// This is part of the input structure and related to device auth. - /// - /// Use of the ID and Token fields differs based on the Type. They should be null, unless specified: - /// - ID is the email address, and Token is the password. - /// - Token is the exchange code. - /// - If targeting console platforms, Token is the long lived refresh token. Otherwise N/A. - /// - N/A. - /// - ID is the host (e.g. localhost:6547), and Token is the credential name registered in the EOS Developer Authentication Tool. - /// - Token is the refresh token. - /// - SystemAuthCredentialsOptions may be required if targeting mobile platforms. Otherwise N/A. - /// - Token is the external auth token specified by ExternalType. - /// - /// - /// - /// - public class Credentials : ISettable - { - /// - /// ID of the user logging in, based on - /// - public string Id { get; set; } - - /// - /// Credentials or token related to the user logging in - /// - public string Token { get; set; } - - /// - /// Type of login. Needed to identify the auth method to use - /// - public LoginCredentialType Type { get; set; } - - /// - /// This field is for system specific options, if any. - /// - /// If provided, the structure will be located in (System)/eos_(system).h. - /// The structure will be named EOS_(System)_Auth_CredentialsOptions. - /// - public System.IntPtr SystemAuthCredentialsOptions { get; set; } - - /// - /// Type of external login. Needed to identify the external auth method to use. - /// Used when login type is set to , ignored for other methods. - /// - public ExternalCredentialType ExternalType { get; set; } - - internal void Set(CredentialsInternal? other) - { - if (other != null) - { - Id = other.Value.Id; - Token = other.Value.Token; - Type = other.Value.Type; - SystemAuthCredentialsOptions = other.Value.SystemAuthCredentialsOptions; - ExternalType = other.Value.ExternalType; - } - } - - public void Set(object other) - { - Set(other as CredentialsInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CredentialsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Id; - private System.IntPtr m_Token; - private LoginCredentialType m_Type; - private System.IntPtr m_SystemAuthCredentialsOptions; - private ExternalCredentialType m_ExternalType; - - public string Id - { - get - { - string value; - Helper.TryMarshalGet(m_Id, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Id, value); - } - } - - public string Token - { - get - { - string value; - Helper.TryMarshalGet(m_Token, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Token, value); - } - } - - public LoginCredentialType Type - { - get - { - return m_Type; - } - - set - { - m_Type = value; - } - } - - public System.IntPtr SystemAuthCredentialsOptions - { - get - { - return m_SystemAuthCredentialsOptions; - } - - set - { - m_SystemAuthCredentialsOptions = value; - } - } - - public ExternalCredentialType ExternalType - { - get - { - return m_ExternalType; - } - - set - { - m_ExternalType = value; - } - } - - public void Set(Credentials other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.CredentialsApiLatest; - Id = other.Id; - Token = other.Token; - Type = other.Type; - SystemAuthCredentialsOptions = other.SystemAuthCredentialsOptions; - ExternalType = other.ExternalType; - } - } - - public void Set(object other) - { - Set(other as Credentials); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Id); - Helper.TryMarshalDispose(ref m_Token); - Helper.TryMarshalDispose(ref m_SystemAuthCredentialsOptions); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// A structure that contains login credentials. What is required is dependent on the type of login being initiated. + /// + /// This is part of the input structure and related to device auth. + /// + /// Use of the ID and Token fields differs based on the Type. They should be null, unless specified: + /// - ID is the email address, and Token is the password. + /// - Token is the exchange code. + /// - If targeting console platforms, Token is the long lived refresh token. Otherwise N/A. + /// - N/A. + /// - ID is the host (e.g. localhost:6547), and Token is the credential name registered in the EOS Developer Authentication Tool. + /// - Token is the refresh token. + /// - SystemAuthCredentialsOptions may be required if targeting mobile platforms. Otherwise N/A. + /// - Token is the external auth token specified by ExternalType. + /// + /// + /// + /// + public struct Credentials + { + /// + /// ID of the user logging in, based on + /// + public Utf8String Id { get; set; } + + /// + /// Credentials or token related to the user logging in + /// + public Utf8String Token { get; set; } + + /// + /// Type of login. Needed to identify the auth method to use + /// + public LoginCredentialType Type { get; set; } + + /// + /// This field is for system specific options, if any. + /// + /// If provided, the structure will be located in (System)/eos_(system).h. + /// The structure will be named EOS_(System)_Auth_CredentialsOptions. + /// + public System.IntPtr SystemAuthCredentialsOptions { get; set; } + + /// + /// Type of external login. Needed to identify the external auth method to use. + /// Used when login type is set to , ignored for other methods. + /// + public ExternalCredentialType ExternalType { get; set; } + + internal void Set(ref CredentialsInternal other) + { + Id = other.Id; + Token = other.Token; + Type = other.Type; + SystemAuthCredentialsOptions = other.SystemAuthCredentialsOptions; + ExternalType = other.ExternalType; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CredentialsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Id; + private System.IntPtr m_Token; + private LoginCredentialType m_Type; + private System.IntPtr m_SystemAuthCredentialsOptions; + private ExternalCredentialType m_ExternalType; + + public Utf8String Id + { + get + { + Utf8String value; + Helper.Get(m_Id, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Id); + } + } + + public Utf8String Token + { + get + { + Utf8String value; + Helper.Get(m_Token, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Token); + } + } + + public LoginCredentialType Type + { + get + { + return m_Type; + } + + set + { + m_Type = value; + } + } + + public System.IntPtr SystemAuthCredentialsOptions + { + get + { + return m_SystemAuthCredentialsOptions; + } + + set + { + m_SystemAuthCredentialsOptions = value; + } + } + + public ExternalCredentialType ExternalType + { + get + { + return m_ExternalType; + } + + set + { + m_ExternalType = value; + } + } + + public void Set(ref Credentials other) + { + m_ApiVersion = AuthInterface.CredentialsApiLatest; + Id = other.Id; + Token = other.Token; + Type = other.Type; + SystemAuthCredentialsOptions = other.SystemAuthCredentialsOptions; + ExternalType = other.ExternalType; + } + + public void Set(ref Credentials? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.CredentialsApiLatest; + Id = other.Value.Id; + Token = other.Value.Token; + Type = other.Value.Type; + SystemAuthCredentialsOptions = other.Value.SystemAuthCredentialsOptions; + ExternalType = other.Value.ExternalType; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Id); + Helper.Dispose(ref m_Token); + Helper.Dispose(ref m_SystemAuthCredentialsOptions); + } + + public void Get(out Credentials output) + { + output = new Credentials(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Credentials.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Credentials.cs.meta deleted file mode 100644 index 3d141cde..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Credentials.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 26703fc0e5862be4c8e661d19b0b0262 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthCallbackInfo.cs index f76f2499..bd3ba5d8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Output parameters for the Function. - /// - public class DeletePersistentAuthCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(DeletePersistentAuthCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as DeletePersistentAuthCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DeletePersistentAuthCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Output parameters for the Function. + /// + public struct DeletePersistentAuthCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref DeletePersistentAuthCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DeletePersistentAuthCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref DeletePersistentAuthCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref DeletePersistentAuthCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out DeletePersistentAuthCallbackInfo output) + { + output = new DeletePersistentAuthCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthCallbackInfo.cs.meta deleted file mode 100644 index 85675ac8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 21ec9cdd999549f4c86df9b160715549 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthOptions.cs index 82034b5c..582b5cb1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthOptions.cs @@ -1,51 +1,52 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Input parameters for the function. - /// - public class DeletePersistentAuthOptions - { - /// - /// A long-lived refresh token that is used with the login type and is to be revoked from the authentication server. Only used on Console platforms. - /// On Desktop and Mobile platforms, set this parameter to NULL. - /// - public string RefreshToken { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DeletePersistentAuthOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_RefreshToken; - - public string RefreshToken - { - set - { - Helper.TryMarshalSet(ref m_RefreshToken, value); - } - } - - public void Set(DeletePersistentAuthOptions other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.DeletepersistentauthApiLatest; - RefreshToken = other.RefreshToken; - } - } - - public void Set(object other) - { - Set(other as DeletePersistentAuthOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_RefreshToken); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Input parameters for the function. + /// + public struct DeletePersistentAuthOptions + { + /// + /// A long-lived refresh token that is used with the login type and is to be revoked from the authentication server. Only used on Console platforms. + /// On Desktop and Mobile platforms, set this parameter to . + /// + public Utf8String RefreshToken { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DeletePersistentAuthOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_RefreshToken; + + public Utf8String RefreshToken + { + set + { + Helper.Set(value, ref m_RefreshToken); + } + } + + public void Set(ref DeletePersistentAuthOptions other) + { + m_ApiVersion = AuthInterface.DeletepersistentauthApiLatest; + RefreshToken = other.RefreshToken; + } + + public void Set(ref DeletePersistentAuthOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.DeletepersistentauthApiLatest; + RefreshToken = other.Value.RefreshToken; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_RefreshToken); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthOptions.cs.meta deleted file mode 100644 index 89af62d5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/DeletePersistentAuthOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0180691178b058a478df7e632f17a5c3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/IdToken.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/IdToken.cs new file mode 100644 index 00000000..53082dfe --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/IdToken.cs @@ -0,0 +1,96 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// A structure that contains an ID token. + /// These structures are created by and must be passed to when finished. + /// + public struct IdToken + { + /// + /// The Epic Account ID described by the ID token. + /// Use to populate this field when validating a received ID token. + /// + public EpicAccountId AccountId { get; set; } + + /// + /// The ID token as a Json Web Token (JWT) string. + /// + public Utf8String JsonWebToken { get; set; } + + internal void Set(ref IdTokenInternal other) + { + AccountId = other.AccountId; + JsonWebToken = other.JsonWebToken; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct IdTokenInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_AccountId; + private System.IntPtr m_JsonWebToken; + + public EpicAccountId AccountId + { + get + { + EpicAccountId value; + Helper.Get(m_AccountId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AccountId); + } + } + + public Utf8String JsonWebToken + { + get + { + Utf8String value; + Helper.Get(m_JsonWebToken, out value); + return value; + } + + set + { + Helper.Set(value, ref m_JsonWebToken); + } + } + + public void Set(ref IdToken other) + { + m_ApiVersion = AuthInterface.CopyidtokenApiLatest; + AccountId = other.AccountId; + JsonWebToken = other.JsonWebToken; + } + + public void Set(ref IdToken? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.CopyidtokenApiLatest; + AccountId = other.Value.AccountId; + JsonWebToken = other.Value.JsonWebToken; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AccountId); + Helper.Dispose(ref m_JsonWebToken); + } + + public void Get(out IdToken output) + { + output = new IdToken(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountCallbackInfo.cs index 5998298d..36574d2a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountCallbackInfo.cs @@ -1,110 +1,183 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Output parameters for the Function. - /// - public class LinkAccountCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local user whose account has been linked during login - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// Optional data returned when ResultCode is . - /// - /// Once the user has logged in with their Epic Online Services account, the account will be linked with the external account supplied when was called. - /// will be fired again with ResultCode in set to . - /// - public PinGrantInfo PinGrantInfo { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(LinkAccountCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - PinGrantInfo = other.Value.PinGrantInfo; - } - } - - public void Set(object other) - { - Set(other as LinkAccountCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LinkAccountCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_PinGrantInfo; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public PinGrantInfo PinGrantInfo - { - get - { - PinGrantInfo value; - Helper.TryMarshalGet(m_PinGrantInfo, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Output parameters for the Function. + /// + public struct LinkAccountCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local user whose account has been linked during login + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Optional data returned when ResultCode is . + /// + /// Once the user has logged in with their Epic Online Services account, the account will be linked with the external account supplied when was called. + /// will be fired again with ResultCode in set to . + /// + public PinGrantInfo? PinGrantInfo { get; set; } + + /// + /// The Epic Account ID that has been previously selected to be used for the current application. + /// Applications should use this ID to authenticate with online backend services that store game-scoped data for users. + /// + /// Note: This ID may be different from LocalUserId if the user has previously merged Epic accounts into the account + /// represented by LocalUserId, and one of the accounts that got merged had game data associated with it for the application. + /// + public EpicAccountId SelectedAccountId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref LinkAccountCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + PinGrantInfo = other.PinGrantInfo; + SelectedAccountId = other.SelectedAccountId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LinkAccountCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_PinGrantInfo; + private System.IntPtr m_SelectedAccountId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public PinGrantInfo? PinGrantInfo + { + get + { + PinGrantInfo? value; + Helper.Get(m_PinGrantInfo, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_PinGrantInfo); + } + } + + public EpicAccountId SelectedAccountId + { + get + { + EpicAccountId value; + Helper.Get(m_SelectedAccountId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_SelectedAccountId); + } + } + + public void Set(ref LinkAccountCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + PinGrantInfo = other.PinGrantInfo; + SelectedAccountId = other.SelectedAccountId; + } + + public void Set(ref LinkAccountCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + PinGrantInfo = other.Value.PinGrantInfo; + SelectedAccountId = other.Value.SelectedAccountId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_PinGrantInfo); + Helper.Dispose(ref m_SelectedAccountId); + } + + public void Get(out LinkAccountCallbackInfo output) + { + output = new LinkAccountCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountCallbackInfo.cs.meta deleted file mode 100644 index 402309b4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 69e173e95fe806b47a2f942ae34eb514 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountFlags.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountFlags.cs index 12899cb0..622fe28c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountFlags.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountFlags.cs @@ -1,28 +1,28 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Flags used to describe how the account linking operation is to be performed. - /// - /// - [System.Flags] - public enum LinkAccountFlags : int - { - /// - /// Default flag used for a standard account linking operation. - /// - /// This flag is set when using a continuance token received from a previous call to the API, - /// when the local user has not yet been successfully logged in to an Epic Account yet. - /// - NoFlags = 0x0, - /// - /// Specified when the describes a Nintendo NSA ID account type. - /// - /// This flag is used only with, and must be set, when the continuance token was received from a previous call - /// to the API using the :: login type. - /// - NintendoNsaId = 0x1 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Flags used to describe how the account linking operation is to be performed. + /// + /// + [System.Flags] + public enum LinkAccountFlags : int + { + /// + /// Default flag used for a standard account linking operation. + /// + /// This flag is set when using a continuance token received from a previous call to the API, + /// when the local user has not yet been successfully logged in to an Epic Account yet. + /// + NoFlags = 0x0, + /// + /// Specified when the describes a Nintendo NSA ID account type. + /// + /// This flag is used only with, and must be set, when the continuance token was received from a previous call + /// to the API using the login type. + /// + NintendoNsaId = 0x1 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountFlags.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountFlags.cs.meta deleted file mode 100644 index 92eac585..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountFlags.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 748b12343efeb644dae5d35db193ccd0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountOptions.cs index 56654cb5..1e3f156f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountOptions.cs @@ -1,91 +1,94 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Input parameters for the function. - /// - public class LinkAccountOptions - { - /// - /// Combination of the enumeration flags to specify how the account linking operation will be performed. - /// - public LinkAccountFlags LinkAccountFlags { get; set; } - - /// - /// Continuance token received from a previous call to the API. - /// - /// A continuance token is received in the case when the external account used for login was not found to be linked - /// against any existing Epic Account. In such case, the application needs to proceed with an account linking operation in which case - /// the user is first asked to create a new account or login into their existing Epic Account, and then link their external account to it. - /// Alternatively, the application may suggest the user to login using another external account that they have already linked to their existing Epic Account. - /// In this flow, the external account is typically the currently logged in local platform user account. - /// It can also be another external user account that the user is offered to login with. - /// - public ContinuanceToken ContinuanceToken { get; set; } - - /// - /// The Epic Online Services Account ID of the logged in local user whose Epic Account will be linked with the local Nintendo NSA ID Account. By default set to NULL. - /// - /// This parameter is only used and required to be set when :: is specified. - /// Otherwise, set to NULL, as the standard account linking and login flow using continuance token will handle logging in the user to their Epic Account. - /// - public EpicAccountId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LinkAccountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private LinkAccountFlags m_LinkAccountFlags; - private System.IntPtr m_ContinuanceToken; - private System.IntPtr m_LocalUserId; - - public LinkAccountFlags LinkAccountFlags - { - set - { - m_LinkAccountFlags = value; - } - } - - public ContinuanceToken ContinuanceToken - { - set - { - Helper.TryMarshalSet(ref m_ContinuanceToken, value); - } - } - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(LinkAccountOptions other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.LinkaccountApiLatest; - LinkAccountFlags = other.LinkAccountFlags; - ContinuanceToken = other.ContinuanceToken; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as LinkAccountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ContinuanceToken); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Input parameters for the function. + /// + public struct LinkAccountOptions + { + /// + /// Combination of the enumeration flags to specify how the account linking operation will be performed. + /// + public LinkAccountFlags LinkAccountFlags { get; set; } + + /// + /// Continuance token received from a previous call to the API. + /// + /// A continuance token is received in the case when the external account used for login was not found to be linked + /// against any existing Epic Account. In such case, the application needs to proceed with an account linking operation in which case + /// the user is first asked to create a new account or login into their existing Epic Account, and then link their external account to it. + /// Alternatively, the application may suggest the user to login using another external account that they have already linked to their existing Epic Account. + /// In this flow, the external account is typically the currently logged in local platform user account. + /// It can also be another external user account that the user is offered to login with. + /// + public ContinuanceToken ContinuanceToken { get; set; } + + /// + /// The Epic Account ID of the logged in local user whose Epic Account will be linked with the local Nintendo NSA ID Account. By default set to . + /// + /// This parameter is only used and required to be set when is specified. + /// Otherwise, set to , as the standard account linking and login flow using continuance token will handle logging in the user to their Epic Account. + /// + public EpicAccountId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LinkAccountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private LinkAccountFlags m_LinkAccountFlags; + private System.IntPtr m_ContinuanceToken; + private System.IntPtr m_LocalUserId; + + public LinkAccountFlags LinkAccountFlags + { + set + { + m_LinkAccountFlags = value; + } + } + + public ContinuanceToken ContinuanceToken + { + set + { + Helper.Set(value, ref m_ContinuanceToken); + } + } + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref LinkAccountOptions other) + { + m_ApiVersion = AuthInterface.LinkaccountApiLatest; + LinkAccountFlags = other.LinkAccountFlags; + ContinuanceToken = other.ContinuanceToken; + LocalUserId = other.LocalUserId; + } + + public void Set(ref LinkAccountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.LinkaccountApiLatest; + LinkAccountFlags = other.Value.LinkAccountFlags; + ContinuanceToken = other.Value.ContinuanceToken; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ContinuanceToken); + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountOptions.cs.meta deleted file mode 100644 index 0c0a0a88..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LinkAccountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 88e681b54dea28e4cae326658eb9895a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCallbackInfo.cs index 26ab3652..20b4cbfb 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCallbackInfo.cs @@ -1,141 +1,230 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Output parameters for the Function. - /// - public class LoginCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local user who has logged in - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// Optional data returned in the middle of a request - /// - public PinGrantInfo PinGrantInfo { get; private set; } - - /// - /// If the user was not found with external auth credentials passed into , this continuance token can be passed to to continue the flow. - /// - public ContinuanceToken ContinuanceToken { get; private set; } - - /// - /// If the user trying to login is restricted from doing so, the ResultCode of this structure will be , and AccountFeatureRestrictedInfo will be populated with the data needed to get past the restriction - /// - public AccountFeatureRestrictedInfo AccountFeatureRestrictedInfo { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(LoginCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - PinGrantInfo = other.Value.PinGrantInfo; - ContinuanceToken = other.Value.ContinuanceToken; - AccountFeatureRestrictedInfo = other.Value.AccountFeatureRestrictedInfo; - } - } - - public void Set(object other) - { - Set(other as LoginCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LoginCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_PinGrantInfo; - private System.IntPtr m_ContinuanceToken; - private System.IntPtr m_AccountFeatureRestrictedInfo; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public PinGrantInfo PinGrantInfo - { - get - { - PinGrantInfo value; - Helper.TryMarshalGet(m_PinGrantInfo, out value); - return value; - } - } - - public ContinuanceToken ContinuanceToken - { - get - { - ContinuanceToken value; - Helper.TryMarshalGet(m_ContinuanceToken, out value); - return value; - } - } - - public AccountFeatureRestrictedInfo AccountFeatureRestrictedInfo - { - get - { - AccountFeatureRestrictedInfo value; - Helper.TryMarshalGet(m_AccountFeatureRestrictedInfo, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Output parameters for the Function. + /// + public struct LoginCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local user who has logged in + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Optional data returned in the middle of a request + /// + public PinGrantInfo? PinGrantInfo { get; set; } + + /// + /// If the user was not found with external auth credentials passed into , this continuance token can be passed to to continue the flow. + /// + public ContinuanceToken ContinuanceToken { get; set; } + + /// + /// If the user trying to login is restricted from doing so, the ResultCode of this structure will be , and AccountFeatureRestrictedInfo will be populated with the data needed to get past the restriction + /// + public AccountFeatureRestrictedInfo? AccountFeatureRestrictedInfo { get; set; } + + /// + /// The Epic Account ID that has been previously selected to be used for the current application. + /// Applications should use this ID to authenticate with online backend services that store game-scoped data for users. + /// + /// Note: This ID may be different from LocalUserId if the user has previously merged Epic accounts into the account + /// represented by LocalUserId, and one of the accounts that got merged had game data associated with it for the application. + /// + public EpicAccountId SelectedAccountId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref LoginCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + PinGrantInfo = other.PinGrantInfo; + ContinuanceToken = other.ContinuanceToken; + AccountFeatureRestrictedInfo = other.AccountFeatureRestrictedInfo; + SelectedAccountId = other.SelectedAccountId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LoginCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_PinGrantInfo; + private System.IntPtr m_ContinuanceToken; + private System.IntPtr m_AccountFeatureRestrictedInfo; + private System.IntPtr m_SelectedAccountId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public PinGrantInfo? PinGrantInfo + { + get + { + PinGrantInfo? value; + Helper.Get(m_PinGrantInfo, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_PinGrantInfo); + } + } + + public ContinuanceToken ContinuanceToken + { + get + { + ContinuanceToken value; + Helper.Get(m_ContinuanceToken, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ContinuanceToken); + } + } + + public AccountFeatureRestrictedInfo? AccountFeatureRestrictedInfo + { + get + { + AccountFeatureRestrictedInfo? value; + Helper.Get(m_AccountFeatureRestrictedInfo, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_AccountFeatureRestrictedInfo); + } + } + + public EpicAccountId SelectedAccountId + { + get + { + EpicAccountId value; + Helper.Get(m_SelectedAccountId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_SelectedAccountId); + } + } + + public void Set(ref LoginCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + PinGrantInfo = other.PinGrantInfo; + ContinuanceToken = other.ContinuanceToken; + AccountFeatureRestrictedInfo = other.AccountFeatureRestrictedInfo; + SelectedAccountId = other.SelectedAccountId; + } + + public void Set(ref LoginCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + PinGrantInfo = other.Value.PinGrantInfo; + ContinuanceToken = other.Value.ContinuanceToken; + AccountFeatureRestrictedInfo = other.Value.AccountFeatureRestrictedInfo; + SelectedAccountId = other.Value.SelectedAccountId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_PinGrantInfo); + Helper.Dispose(ref m_ContinuanceToken); + Helper.Dispose(ref m_AccountFeatureRestrictedInfo); + Helper.Dispose(ref m_SelectedAccountId); + } + + public void Get(out LoginCallbackInfo output) + { + output = new LoginCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCallbackInfo.cs.meta deleted file mode 100644 index ef65f35a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a5ab839e9d0492847b57a8a2e6779224 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCredentialType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCredentialType.cs index e26c993e..c98f9fa6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCredentialType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCredentialType.cs @@ -1,125 +1,131 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// All possible types of login methods, availability depends on permissions granted to the client. - /// - /// - /// - public enum LoginCredentialType : int - { - /// - /// Login using account email address and password. - /// - /// @note Use of this login method is restricted and cannot be used in general. - /// - Password = 0, - /// - /// A short-lived one-time use exchange code to login the local user. - /// - /// @details Typically retrieved via command-line parameters provided by a launcher that generated the exchange code for this application. - /// When started, the application is expected to consume the exchange code by using the API as soon as possible. - /// This is needed in order to authenticate the local user before the exchange code would expire. - /// Attempting to consume an already expired exchange code will return ::AuthExchangeCodeNotFound error by the API. - /// - ExchangeCode = 1, - /// - /// Desktop and Mobile only; deprecated on Console platforms in favor of login method. - /// - /// Long-lived access token that is stored on the local device to allow persisting a user login session over multiple runs of the application. - /// When using this login type, if an existing access token is not found or it is invalid or otherwise expired, the error result :: is returned. - /// - /// @note On Desktop and Mobile platforms, the persistent access token is automatically managed by the SDK that stores it in the keychain of the currently logged in user of the local device. - /// On Console platforms, after a successful login using the login type, - /// the persistent access token is retrieved using the API and - /// stored by the application for the currently logged in user of the local device. - /// - /// - PersistentAuth = 2, - /// - /// Deprecated and no longer used. Superseded by the login method. - /// - /// Initiates a PIN grant login flow that is used to login a local user to their Epic Account for the first time, - /// and also whenever their locally persisted login credentials would have expired. - /// - /// @details The flow is as following: - /// 1. Game initiates the user login flow by calling API with the login type. - /// 2. The SDK internally requests the authentication backend service to begin the login flow, and returns the game - /// a new randomly generated device code along with authorization URL information needed to complete the flow. - /// This information is returned via the API callback. The ::ResultCode - /// will be set to and the struct will contain the needed information. - /// 3. Game presents the device code and the authorization URL information on screen to the end-user. - /// 4. The user will login to their Epic Account using an external device, e.g. a mobile device or a desktop PC, - /// by browsing to the presented authentication URL and entering the device code presented by the game on the console. - /// 5. Once the user has successfully logged in on their external device, the SDK will call the callback - /// once more with the operation result code. If the user failed to login within the allowed time before the device code - /// would expire, the result code returned by the callback will contain the appropriate error result. - /// - /// @details After logging in a local user for the first time, the game can remember the user login to allow automatically logging - /// in the same user the next time they start the game. This avoids prompting the same user to go through the login flow - /// across multiple game sessions over long periods of time. - /// To do this, after a successful login using the login type, the game can call the API - /// to retrieve a long-lived refresh token that is specifically created for this purpose on Console. The game can store - /// the long-lived refresh token locally on the device, for the currently logged in local user of the device. - /// Then, on subsequent game starts the game can call the API with the previously stored refresh token and - /// using the login type to automatically login the current local user of the device. - /// - /// - DeviceCode = 3, - /// - /// Login with named credentials hosted by the EOS SDK Developer Authentication Tool. - /// - /// @note Used for development purposes only. - /// - Developer = 4, - /// - /// Refresh token that was retrieved from a previous call to API in another local process context. - /// Mainly used in conjunction with custom launcher applications. - /// - /// @details Can be used for example when launching the game from Epic Games Launcher and having an intermediate process - /// in-between that requires authenticating the user before eventually starting the actual game client application. - /// In such scenario, an intermediate launcher will log in the user by consuming the exchange code it received from the - /// Epic Games Launcher. To allow the game client to also authenticate the user, it can copy the refresh token using the - /// API and pass it via launch parameters to the started game client. The game client can then - /// use the refresh token to log in the user. - /// - RefreshToken = 5, - /// - /// Desktop and Mobile only. - /// - /// Initiate a login through the Epic account portal. - /// - /// @details Can be used in scenarios where seamless user login via other means is not available, - /// for example when starting the application through a proprietary ecosystem launcher or otherwise. - /// - AccountPortal = 6, - /// - /// Login using external account provider credentials, such as Steam, PlayStation(TM)Network, Xbox Live, or Nintendo. - /// - /// This is the intended login method on Console. On Desktop and Mobile, used when launched through any of the commonly supported platform clients. - /// - /// @details The user is seamlessly logged in to their Epic account using an external account access token. - /// If the local platform account is already linked with the user's Epic account, the login will succeed and :: is returned. - /// When the local platform account has not been linked with an Epic account yet, - /// :: is returned and the will be set in the data. - /// If :: is returned, - /// the application should proceed to call the API with the to continue with the external account login - /// and to link the external account at the end of the login flow. - /// - /// @details On Console, login flow when the platform user account has not been linked with an Epic account yet: - /// 1. Game calls with the credential type. - /// 2. returns :: with a non-null in the data. - /// 3. Game calls with the to initiate the login flow for linking the platform account with the user's Epic account. - /// - During the login process, the user will be able to login to their existing Epic account or create a new account if needed. - /// 4. will make an intermediate callback to provide the caller with struct set in the data. - /// 5. Game examines the retrieved struct for a website URI and user code that the user needs to access off-device via a PC or mobile device. - /// - Game visualizes the URI and user code so that the user can proceed with the login flow outside the console. - /// - In the meantime, EOS SDK will internally keep polling the backend for a completion status of the login flow. - /// 6. Once user completes the login, cancels it or if the login flow times out, makes the second and final callback to the caller with the operation result status. - /// - If the user was logged in successfully, :: is returned in the . Otherwise, an error result code is returned accordingly. - /// - ExternalAuth = 7 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// All possible types of login methods, availability depends on permissions granted to the client. + /// + /// + /// + public enum LoginCredentialType : int + { + /// + /// Login using account email address and password. + /// Use of this login method is restricted and cannot be used in general. + /// + Password = 0, + /// + /// A short-lived one-time use exchange code to login the local user. + /// + /// @details Typically retrieved via command-line parameters provided by a launcher that generated the exchange code for this application. + /// When started, the application is expected to consume the exchange code by using the API as soon as possible. + /// This is needed in order to authenticate the local user before the exchange code would expire. + /// Attempting to consume an already expired exchange code will return error by the API. + /// + ExchangeCode = 1, + /// + /// Desktop and Mobile only; deprecated on Console platforms in favor of login method. + /// Used by standalone applications distributed outside the supported game platforms such as Epic Games Store or Steam. + /// + /// Persistent Auth is used in conjuction with the login method for automatic login of the local user across multiple runs of the application. + /// + /// Standalone applications implement the login sequence as follows: + /// 1. Application calls with to attempt automatic login. + /// 2. If automatic login fails, the application calls with to prompt the user for manual login. + /// On Desktop and Mobile platforms, the persistent refresh token is automatically managed by the SDK that stores it in the keychain of the currently logged in user of the local device. + /// On Console platforms, after a successful login the refresh token must be retrieved using the EOS_Auth_CopyUserAuthToken API and stored by the application for the currently logged in user of the local device. + /// + /// + PersistentAuth = 2, + /// + /// Deprecated and no longer used. Superseded by the login method. + /// + /// Initiates a PIN grant login flow that is used to login a local user to their Epic Account for the first time, + /// and also whenever their locally persisted login credentials would have expired. + /// + /// @details The flow is as following: + /// 1. Game initiates the user login flow by calling API with the login type. + /// 2. The SDK internally requests the authentication backend service to begin the login flow, and returns the game + /// a new randomly generated device code along with authorization URL information needed to complete the flow. + /// This information is returned via the API callback. The + /// will be set to and the struct will contain the needed information. + /// 3. Game presents the device code and the authorization URL information on screen to the end-user. + /// 4. The user will login to their Epic Account using an external device, e.g. a mobile device or a desktop PC, + /// by browsing to the presented authentication URL and entering the device code presented by the game on the console. + /// 5. Once the user has successfully logged in on their external device, the SDK will call the callback + /// once more with the operation result code. If the user failed to login within the allowed time before the device code + /// would expire, the result code returned by the callback will contain the appropriate error result. + /// + /// @details After logging in a local user for the first time, the game can remember the user login to allow automatically logging + /// in the same user the next time they start the game. This avoids prompting the same user to go through the login flow + /// across multiple game sessions over long periods of time. + /// To do this, after a successful login using the login type, the game can call the API + /// to retrieve a long-lived refresh token that is specifically created for this purpose on Console. The game can store + /// the long-lived refresh token locally on the device, for the currently logged in local user of the device. + /// Then, on subsequent game starts the game can call the API with the previously stored refresh token and + /// using the login type to automatically login the current local user of the device. + /// + /// + DeviceCode = 3, + /// + /// Login with named credentials hosted by the EOS SDK Developer Authentication Tool. + /// Used for development purposes only. + /// + Developer = 4, + /// + /// Refresh token that was retrieved from a previous call to API in another local process context. + /// Mainly used in conjunction with custom desktop launcher applications. + /// + /// @details Can be used for example when launching the game from Epic Games Launcher and having an intermediate process + /// in-between that requires authenticating the user before eventually starting the actual game client application. + /// In such scenario, an intermediate launcher will log in the user by consuming the exchange code it received from the + /// Epic Games Launcher. To allow the game client to also authenticate the user, it can copy the refresh token using the + /// API and pass it via launch parameters to the started game client. The game client can then + /// use the refresh token to log in the user. + /// + RefreshToken = 5, + /// + /// Desktop and Mobile only. + /// Used by standalone applications distributed outside the supported game platforms such as Epic Games Store or Steam. + /// + /// Login using the built-in user onboarding experience provided by the SDK, which will automatically store a persistent + /// refresh token to enable automatic user login for consecutive application runs on the local device. Applications are + /// expected to attempt automatic login using the login method, and fall back to + /// to prompt users for manual login. + /// On Windows, using this login method requires applications to be started through the EOS Bootstrapper application + /// and to have the local Epic Online Services redistributable installed on the local system. See EOS_Platform_GetDesktopCrossplayStatus + /// for adding a readiness check prior to calling EOS_Auth_Login. + /// + AccountPortal = 6, + /// + /// Login using external account provider credentials, such as PlayStation(TM)Network, Steam, and Xbox Live. + /// + /// This is the intended login method on Console. On Desktop and Mobile, used when launched through any of the commonly supported platform clients. + /// + /// @details The user is seamlessly logged in to their Epic account using an external account access token. + /// If the local platform account is already linked with the user's Epic account, the login will succeed and is returned. + /// When the local platform account has not been linked with an Epic account yet, + /// is returned and the will be set in the data. + /// If is returned, + /// the application should proceed to call the API with the to continue with the external account login + /// and to link the external account at the end of the login flow. + /// + /// @details On Console, login flow when the platform user account has not been linked with an Epic account yet: + /// 1. Game calls with the credential type. + /// 2. returns with a non-null in the data. + /// 3. Game calls with the to initiate the login flow for linking the platform account with the user's Epic account. + /// - During the login process, the user will be able to login to their existing Epic account or create a new account if needed. + /// 4. will make an intermediate callback to provide the caller with struct set in the data. + /// 5. Game examines the retrieved struct for a website URI and user code that the user needs to access off-device via a PC or mobile device. + /// - Game visualizes the URI and user code so that the user can proceed with the login flow outside the console. + /// - In the meantime, EOS SDK will internally keep polling the backend for a completion status of the login flow. + /// 6. Once user completes the login, cancels it or if the login flow times out, makes the second and final callback to the caller with the operation result status. + /// - If the user was logged in successfully, is returned in the . Otherwise, an error result code is returned accordingly. + /// On Windows, using this login method requires applications to be started through the EOS Bootstrapper application + /// and to have the local Epic Online Services redistributable installed on the local system. See EOS_Platform_GetDesktopCrossplayStatus + /// for adding a readiness check prior to calling EOS_Auth_Login. + /// + ExternalAuth = 7 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCredentialType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCredentialType.cs.meta deleted file mode 100644 index e136264f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginCredentialType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: db67c13db78fc6f40a79380056bb314a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginOptions.cs index e56f4417..1bd0da09 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Input parameters for the function. - /// - public class LoginOptions - { - /// - /// Credentials specified for a given login method - /// - public Credentials Credentials { get; set; } - - /// - /// Auth scope flags are permissions to request from the user while they are logging in. This is a bitwise-or union of flags defined above - /// - public AuthScopeFlags ScopeFlags { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LoginOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Credentials; - private AuthScopeFlags m_ScopeFlags; - - public Credentials Credentials - { - set - { - Helper.TryMarshalSet(ref m_Credentials, value); - } - } - - public AuthScopeFlags ScopeFlags - { - set - { - m_ScopeFlags = value; - } - } - - public void Set(LoginOptions other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.LoginApiLatest; - Credentials = other.Credentials; - ScopeFlags = other.ScopeFlags; - } - } - - public void Set(object other) - { - Set(other as LoginOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Credentials); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Input parameters for the function. + /// + public struct LoginOptions + { + /// + /// Credentials specified for a given login method + /// + public Credentials? Credentials { get; set; } + + /// + /// Auth scope flags are permissions to request from the user while they are logging in. This is a bitwise-or union of flags defined above + /// + public AuthScopeFlags ScopeFlags { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LoginOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Credentials; + private AuthScopeFlags m_ScopeFlags; + + public Credentials? Credentials + { + set + { + Helper.Set(ref value, ref m_Credentials); + } + } + + public AuthScopeFlags ScopeFlags + { + set + { + m_ScopeFlags = value; + } + } + + public void Set(ref LoginOptions other) + { + m_ApiVersion = AuthInterface.LoginApiLatest; + Credentials = other.Credentials; + ScopeFlags = other.ScopeFlags; + } + + public void Set(ref LoginOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.LoginApiLatest; + Credentials = other.Value.Credentials; + ScopeFlags = other.Value.ScopeFlags; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Credentials); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginOptions.cs.meta deleted file mode 100644 index de24c2e3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 771862050c3f93641bb40f5ed56ab4f9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginStatusChangedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginStatusChangedCallbackInfo.cs index 663651b3..ee727723 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginStatusChangedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginStatusChangedCallbackInfo.cs @@ -1,105 +1,148 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Output parameters for the Function. - /// - public class LoginStatusChangedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local user whose status has changed - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// The status prior to the change - /// - public LoginStatus PrevStatus { get; private set; } - - /// - /// The status at the time of the notification - /// - public LoginStatus CurrentStatus { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(LoginStatusChangedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - PrevStatus = other.Value.PrevStatus; - CurrentStatus = other.Value.CurrentStatus; - } - } - - public void Set(object other) - { - Set(other as LoginStatusChangedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LoginStatusChangedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private LoginStatus m_PrevStatus; - private LoginStatus m_CurrentStatus; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public LoginStatus PrevStatus - { - get - { - return m_PrevStatus; - } - } - - public LoginStatus CurrentStatus - { - get - { - return m_CurrentStatus; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Output parameters for the Function. + /// + public struct LoginStatusChangedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local user whose status has changed + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The status prior to the change + /// + public LoginStatus PrevStatus { get; set; } + + /// + /// The status at the time of the notification + /// + public LoginStatus CurrentStatus { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref LoginStatusChangedCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + PrevStatus = other.PrevStatus; + CurrentStatus = other.CurrentStatus; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LoginStatusChangedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private LoginStatus m_PrevStatus; + private LoginStatus m_CurrentStatus; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public LoginStatus PrevStatus + { + get + { + return m_PrevStatus; + } + + set + { + m_PrevStatus = value; + } + } + + public LoginStatus CurrentStatus + { + get + { + return m_CurrentStatus; + } + + set + { + m_CurrentStatus = value; + } + } + + public void Set(ref LoginStatusChangedCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + PrevStatus = other.PrevStatus; + CurrentStatus = other.CurrentStatus; + } + + public void Set(ref LoginStatusChangedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + PrevStatus = other.Value.PrevStatus; + CurrentStatus = other.Value.CurrentStatus; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out LoginStatusChangedCallbackInfo output) + { + output = new LoginStatusChangedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginStatusChangedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginStatusChangedCallbackInfo.cs.meta deleted file mode 100644 index 7c7b5c34..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LoginStatusChangedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c22b040545343af4889f3fbd7bd5f11e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutCallbackInfo.cs index 9160271d..a9dda6d8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Output parameters for the Function. - /// - public class LogoutCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local user requesting the information - /// - public EpicAccountId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(LogoutCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as LogoutCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogoutCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Output parameters for the Function. + /// + public struct LogoutCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local user requesting the information + /// + public EpicAccountId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref LogoutCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogoutCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref LogoutCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref LogoutCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out LogoutCallbackInfo output) + { + output = new LogoutCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutCallbackInfo.cs.meta deleted file mode 100644 index d01d3671..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ea642c61287945a4498d408c694e48bd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutOptions.cs index 8fe47390..d1ea795e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Input parameters for the function. - /// - public class LogoutOptions - { - /// - /// The Epic Online Services Account ID of the local user who is being logged out - /// - public EpicAccountId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogoutOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(LogoutOptions other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.LogoutApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as LogoutOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Input parameters for the function. + /// + public struct LogoutOptions + { + /// + /// The Epic Account ID of the local user who is being logged out + /// + public EpicAccountId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogoutOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref LogoutOptions other) + { + m_ApiVersion = AuthInterface.LogoutApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref LogoutOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.LogoutApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutOptions.cs.meta deleted file mode 100644 index 4133a4a1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/LogoutOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3e29b5ad36356444bb860ae7f0618c22 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnDeletePersistentAuthCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnDeletePersistentAuthCallback.cs index 259c0a42..e889f221 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnDeletePersistentAuthCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnDeletePersistentAuthCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnDeletePersistentAuthCallback(DeletePersistentAuthCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnDeletePersistentAuthCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnDeletePersistentAuthCallback(ref DeletePersistentAuthCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnDeletePersistentAuthCallbackInternal(ref DeletePersistentAuthCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnDeletePersistentAuthCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnDeletePersistentAuthCallback.cs.meta deleted file mode 100644 index e961e6ae..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnDeletePersistentAuthCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 806d425105bcd4e42a3b77039195df24 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLinkAccountCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLinkAccountCallback.cs index 80bf53bf..18050474 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLinkAccountCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLinkAccountCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnLinkAccountCallback(LinkAccountCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLinkAccountCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnLinkAccountCallback(ref LinkAccountCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLinkAccountCallbackInternal(ref LinkAccountCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLinkAccountCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLinkAccountCallback.cs.meta deleted file mode 100644 index 3b50a4f5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLinkAccountCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cf7fa5ba0ce558c408f78b848dbb0507 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginCallback.cs index ba598540..c5b76692 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnLoginCallback(LoginCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLoginCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnLoginCallback(ref LoginCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLoginCallbackInternal(ref LoginCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginCallback.cs.meta deleted file mode 100644 index 1f2673af..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 09f0f14949b0293408e370976cec840f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginStatusChangedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginStatusChangedCallback.cs index 05e6cd8d..1a0f41f8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginStatusChangedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginStatusChangedCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Function prototype definition for notifications that come from - /// - /// A containing the output information and result - public delegate void OnLoginStatusChangedCallback(LoginStatusChangedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLoginStatusChangedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Function prototype definition for notifications that come from + /// + /// A containing the output information and result + public delegate void OnLoginStatusChangedCallback(ref LoginStatusChangedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLoginStatusChangedCallbackInternal(ref LoginStatusChangedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginStatusChangedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginStatusChangedCallback.cs.meta deleted file mode 100644 index 579941ac..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLoginStatusChangedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 23b04b592056f2742b3809836f6a6e97 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLogoutCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLogoutCallback.cs index 922dab71..41c8e671 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLogoutCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLogoutCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnLogoutCallback(LogoutCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLogoutCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnLogoutCallback(ref LogoutCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLogoutCallbackInternal(ref LogoutCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLogoutCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLogoutCallback.cs.meta deleted file mode 100644 index 98f2dd76..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnLogoutCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 24bcc370a8469b34cb8f6f63117869ef -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnQueryIdTokenCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnQueryIdTokenCallback.cs new file mode 100644 index 00000000..cbae9309 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnQueryIdTokenCallback.cs @@ -0,0 +1,10 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + public delegate void OnQueryIdTokenCallback(ref QueryIdTokenCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryIdTokenCallbackInternal(ref QueryIdTokenCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnVerifyIdTokenCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnVerifyIdTokenCallback.cs new file mode 100644 index 00000000..d7215b23 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnVerifyIdTokenCallback.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Function prototype definition for callbacks passed into . + /// + /// A containing the output information and result. + public delegate void OnVerifyIdTokenCallback(ref VerifyIdTokenCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnVerifyIdTokenCallbackInternal(ref VerifyIdTokenCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnVerifyUserAuthCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnVerifyUserAuthCallback.cs index e65e415a..5d32f1d5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnVerifyUserAuthCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnVerifyUserAuthCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnVerifyUserAuthCallback(VerifyUserAuthCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnVerifyUserAuthCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnVerifyUserAuthCallback(ref VerifyUserAuthCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnVerifyUserAuthCallbackInternal(ref VerifyUserAuthCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnVerifyUserAuthCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnVerifyUserAuthCallback.cs.meta deleted file mode 100644 index e1591b8b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/OnVerifyUserAuthCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0a5a8be0dcdb02247851cee75c234b04 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/PinGrantInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/PinGrantInfo.cs index 7cb7e76a..12c2f0a9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/PinGrantInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/PinGrantInfo.cs @@ -1,141 +1,143 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Intermediate data needed to complete the and login flows, returned by . - /// The data inside should be exposed to the user for entry on a secondary device. - /// All data must be copied out before the completion of this callback. - /// - public class PinGrantInfo : ISettable - { - /// - /// Code the user must input on an external device to activate the login - /// - public string UserCode { get; set; } - - /// - /// The end-user verification URI. Users can be asked to manually type this into their browser. - /// - public string VerificationURI { get; set; } - - /// - /// Time the user has, in seconds, to complete the process or else timeout - /// - public int ExpiresIn { get; set; } - - /// - /// A verification URI that includes the user code. Useful for non-textual transmission. - /// - public string VerificationURIComplete { get; set; } - - internal void Set(PinGrantInfoInternal? other) - { - if (other != null) - { - UserCode = other.Value.UserCode; - VerificationURI = other.Value.VerificationURI; - ExpiresIn = other.Value.ExpiresIn; - VerificationURIComplete = other.Value.VerificationURIComplete; - } - } - - public void Set(object other) - { - Set(other as PinGrantInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PinGrantInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserCode; - private System.IntPtr m_VerificationURI; - private int m_ExpiresIn; - private System.IntPtr m_VerificationURIComplete; - - public string UserCode - { - get - { - string value; - Helper.TryMarshalGet(m_UserCode, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UserCode, value); - } - } - - public string VerificationURI - { - get - { - string value; - Helper.TryMarshalGet(m_VerificationURI, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_VerificationURI, value); - } - } - - public int ExpiresIn - { - get - { - return m_ExpiresIn; - } - - set - { - m_ExpiresIn = value; - } - } - - public string VerificationURIComplete - { - get - { - string value; - Helper.TryMarshalGet(m_VerificationURIComplete, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_VerificationURIComplete, value); - } - } - - public void Set(PinGrantInfo other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.PingrantinfoApiLatest; - UserCode = other.UserCode; - VerificationURI = other.VerificationURI; - ExpiresIn = other.ExpiresIn; - VerificationURIComplete = other.VerificationURIComplete; - } - } - - public void Set(object other) - { - Set(other as PinGrantInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserCode); - Helper.TryMarshalDispose(ref m_VerificationURI); - Helper.TryMarshalDispose(ref m_VerificationURIComplete); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Intermediate data needed to complete the and login flows, returned by . + /// The data inside should be exposed to the user for entry on a secondary device. + /// All data must be copied out before the completion of this callback. + /// + public struct PinGrantInfo + { + /// + /// Code the user must input on an external device to activate the login + /// + public Utf8String UserCode { get; set; } + + /// + /// The end-user verification URI. Users can be asked to manually type this into their browser. + /// + public Utf8String VerificationURI { get; set; } + + /// + /// Time the user has, in seconds, to complete the process or else timeout + /// + public int ExpiresIn { get; set; } + + /// + /// A verification URI that includes the user code. Useful for non-textual transmission. + /// + public Utf8String VerificationURIComplete { get; set; } + + internal void Set(ref PinGrantInfoInternal other) + { + UserCode = other.UserCode; + VerificationURI = other.VerificationURI; + ExpiresIn = other.ExpiresIn; + VerificationURIComplete = other.VerificationURIComplete; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PinGrantInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserCode; + private System.IntPtr m_VerificationURI; + private int m_ExpiresIn; + private System.IntPtr m_VerificationURIComplete; + + public Utf8String UserCode + { + get + { + Utf8String value; + Helper.Get(m_UserCode, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UserCode); + } + } + + public Utf8String VerificationURI + { + get + { + Utf8String value; + Helper.Get(m_VerificationURI, out value); + return value; + } + + set + { + Helper.Set(value, ref m_VerificationURI); + } + } + + public int ExpiresIn + { + get + { + return m_ExpiresIn; + } + + set + { + m_ExpiresIn = value; + } + } + + public Utf8String VerificationURIComplete + { + get + { + Utf8String value; + Helper.Get(m_VerificationURIComplete, out value); + return value; + } + + set + { + Helper.Set(value, ref m_VerificationURIComplete); + } + } + + public void Set(ref PinGrantInfo other) + { + m_ApiVersion = AuthInterface.PingrantinfoApiLatest; + UserCode = other.UserCode; + VerificationURI = other.VerificationURI; + ExpiresIn = other.ExpiresIn; + VerificationURIComplete = other.VerificationURIComplete; + } + + public void Set(ref PinGrantInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.PingrantinfoApiLatest; + UserCode = other.Value.UserCode; + VerificationURI = other.Value.VerificationURI; + ExpiresIn = other.Value.ExpiresIn; + VerificationURIComplete = other.Value.VerificationURIComplete; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserCode); + Helper.Dispose(ref m_VerificationURI); + Helper.Dispose(ref m_VerificationURIComplete); + } + + public void Get(out PinGrantInfo output) + { + output = new PinGrantInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/PinGrantInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/PinGrantInfo.cs.meta deleted file mode 100644 index cef36994..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/PinGrantInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 558ea4d4a89cd87469cd50e29ad00e0f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/QueryIdTokenCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/QueryIdTokenCallbackInfo.cs new file mode 100644 index 00000000..8ff3c02d --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/QueryIdTokenCallbackInfo.cs @@ -0,0 +1,151 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Output parameters for the Function. + /// + public struct QueryIdTokenCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local authenticated user. + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The target Epic Account ID for which the ID token was retrieved. + /// + public EpicAccountId TargetAccountId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryIdTokenCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetAccountId = other.TargetAccountId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryIdTokenCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetAccountId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetAccountId + { + get + { + EpicAccountId value; + Helper.Get(m_TargetAccountId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetAccountId); + } + } + + public void Set(ref QueryIdTokenCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetAccountId = other.TargetAccountId; + } + + public void Set(ref QueryIdTokenCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetAccountId = other.Value.TargetAccountId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetAccountId); + } + + public void Get(out QueryIdTokenCallbackInfo output) + { + output = new QueryIdTokenCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/QueryIdTokenOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/QueryIdTokenOptions.cs new file mode 100644 index 00000000..37c03bbf --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/QueryIdTokenOptions.cs @@ -0,0 +1,72 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Input parameters for the function. + /// + public struct QueryIdTokenOptions + { + /// + /// The Epic Account ID of the local authenticated user. + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The target Epic Account ID for which to query an ID token. + /// This account id may be the same as the input LocalUserId or another merged account id associated with the local user's Epic account. + /// + /// An ID token for the selected account id of a locally authenticated user will always be readily available. + /// To retrieve it for the selected account ID, you can use directly after a successful user login. + /// + public EpicAccountId TargetAccountId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryIdTokenOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetAccountId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetAccountId + { + set + { + Helper.Set(value, ref m_TargetAccountId); + } + } + + public void Set(ref QueryIdTokenOptions other) + { + m_ApiVersion = AuthInterface.QueryidtokenApiLatest; + LocalUserId = other.LocalUserId; + TargetAccountId = other.TargetAccountId; + } + + public void Set(ref QueryIdTokenOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.QueryidtokenApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetAccountId = other.Value.TargetAccountId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetAccountId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Token.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Token.cs index d41e586e..18dd46b4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Token.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Token.cs @@ -1,279 +1,287 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// A structure that contains an auth token. - /// These structures are created by and must be passed to . - /// - public class Token : ISettable - { - /// - /// Name of the app related to the client ID involved with this token - /// - public string App { get; set; } - - /// - /// Client ID that requested this token - /// - public string ClientId { get; set; } - - /// - /// The Epic Online Services Account ID associated with this auth token - /// - public EpicAccountId AccountId { get; set; } - - /// - /// Access token for the current user login session - /// - public string AccessToken { get; set; } - - /// - /// Time before the access token expires, in seconds, relative to the call to - /// - public double ExpiresIn { get; set; } - - /// - /// Absolute time in UTC before the access token expires, in ISO 8601 format - /// - public string ExpiresAt { get; set; } - - /// - /// Type of auth token - /// - public AuthTokenType AuthType { get; set; } - - /// - /// Refresh token. - /// :: - /// - public string RefreshToken { get; set; } - - /// - /// Time before the access token expires, in seconds, relative to the call to - /// - public double RefreshExpiresIn { get; set; } - - /// - /// Absolute time in UTC before the refresh token expires, in ISO 8601 format - /// - public string RefreshExpiresAt { get; set; } - - internal void Set(TokenInternal? other) - { - if (other != null) - { - App = other.Value.App; - ClientId = other.Value.ClientId; - AccountId = other.Value.AccountId; - AccessToken = other.Value.AccessToken; - ExpiresIn = other.Value.ExpiresIn; - ExpiresAt = other.Value.ExpiresAt; - AuthType = other.Value.AuthType; - RefreshToken = other.Value.RefreshToken; - RefreshExpiresIn = other.Value.RefreshExpiresIn; - RefreshExpiresAt = other.Value.RefreshExpiresAt; - } - } - - public void Set(object other) - { - Set(other as TokenInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct TokenInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_App; - private System.IntPtr m_ClientId; - private System.IntPtr m_AccountId; - private System.IntPtr m_AccessToken; - private double m_ExpiresIn; - private System.IntPtr m_ExpiresAt; - private AuthTokenType m_AuthType; - private System.IntPtr m_RefreshToken; - private double m_RefreshExpiresIn; - private System.IntPtr m_RefreshExpiresAt; - - public string App - { - get - { - string value; - Helper.TryMarshalGet(m_App, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_App, value); - } - } - - public string ClientId - { - get - { - string value; - Helper.TryMarshalGet(m_ClientId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ClientId, value); - } - } - - public EpicAccountId AccountId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_AccountId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AccountId, value); - } - } - - public string AccessToken - { - get - { - string value; - Helper.TryMarshalGet(m_AccessToken, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AccessToken, value); - } - } - - public double ExpiresIn - { - get - { - return m_ExpiresIn; - } - - set - { - m_ExpiresIn = value; - } - } - - public string ExpiresAt - { - get - { - string value; - Helper.TryMarshalGet(m_ExpiresAt, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ExpiresAt, value); - } - } - - public AuthTokenType AuthType - { - get - { - return m_AuthType; - } - - set - { - m_AuthType = value; - } - } - - public string RefreshToken - { - get - { - string value; - Helper.TryMarshalGet(m_RefreshToken, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_RefreshToken, value); - } - } - - public double RefreshExpiresIn - { - get - { - return m_RefreshExpiresIn; - } - - set - { - m_RefreshExpiresIn = value; - } - } - - public string RefreshExpiresAt - { - get - { - string value; - Helper.TryMarshalGet(m_RefreshExpiresAt, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_RefreshExpiresAt, value); - } - } - - public void Set(Token other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.TokenApiLatest; - App = other.App; - ClientId = other.ClientId; - AccountId = other.AccountId; - AccessToken = other.AccessToken; - ExpiresIn = other.ExpiresIn; - ExpiresAt = other.ExpiresAt; - AuthType = other.AuthType; - RefreshToken = other.RefreshToken; - RefreshExpiresIn = other.RefreshExpiresIn; - RefreshExpiresAt = other.RefreshExpiresAt; - } - } - - public void Set(object other) - { - Set(other as Token); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_App); - Helper.TryMarshalDispose(ref m_ClientId); - Helper.TryMarshalDispose(ref m_AccountId); - Helper.TryMarshalDispose(ref m_AccessToken); - Helper.TryMarshalDispose(ref m_ExpiresAt); - Helper.TryMarshalDispose(ref m_RefreshToken); - Helper.TryMarshalDispose(ref m_RefreshExpiresAt); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// A structure that contains an auth token. + /// These structures are created by and must be passed to . + /// + public struct Token + { + /// + /// Name of the app related to the client ID involved with this token + /// + public Utf8String App { get; set; } + + /// + /// Client ID that requested this token + /// + public Utf8String ClientId { get; set; } + + /// + /// The Epic Account ID associated with this auth token + /// + public EpicAccountId AccountId { get; set; } + + /// + /// Access token for the current user login session + /// + public Utf8String AccessToken { get; set; } + + /// + /// Time before the access token expires, in seconds, relative to the call to + /// + public double ExpiresIn { get; set; } + + /// + /// Absolute time in UTC before the access token expires, in ISO 8601 format + /// + public Utf8String ExpiresAt { get; set; } + + /// + /// Type of auth token + /// + public AuthTokenType AuthType { get; set; } + + /// + /// Refresh token. + /// + /// + public Utf8String RefreshToken { get; set; } + + /// + /// Time before the access token expires, in seconds, relative to the call to + /// + public double RefreshExpiresIn { get; set; } + + /// + /// Absolute time in UTC before the refresh token expires, in ISO 8601 format + /// + public Utf8String RefreshExpiresAt { get; set; } + + internal void Set(ref TokenInternal other) + { + App = other.App; + ClientId = other.ClientId; + AccountId = other.AccountId; + AccessToken = other.AccessToken; + ExpiresIn = other.ExpiresIn; + ExpiresAt = other.ExpiresAt; + AuthType = other.AuthType; + RefreshToken = other.RefreshToken; + RefreshExpiresIn = other.RefreshExpiresIn; + RefreshExpiresAt = other.RefreshExpiresAt; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct TokenInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_App; + private System.IntPtr m_ClientId; + private System.IntPtr m_AccountId; + private System.IntPtr m_AccessToken; + private double m_ExpiresIn; + private System.IntPtr m_ExpiresAt; + private AuthTokenType m_AuthType; + private System.IntPtr m_RefreshToken; + private double m_RefreshExpiresIn; + private System.IntPtr m_RefreshExpiresAt; + + public Utf8String App + { + get + { + Utf8String value; + Helper.Get(m_App, out value); + return value; + } + + set + { + Helper.Set(value, ref m_App); + } + } + + public Utf8String ClientId + { + get + { + Utf8String value; + Helper.Get(m_ClientId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientId); + } + } + + public EpicAccountId AccountId + { + get + { + EpicAccountId value; + Helper.Get(m_AccountId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AccountId); + } + } + + public Utf8String AccessToken + { + get + { + Utf8String value; + Helper.Get(m_AccessToken, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AccessToken); + } + } + + public double ExpiresIn + { + get + { + return m_ExpiresIn; + } + + set + { + m_ExpiresIn = value; + } + } + + public Utf8String ExpiresAt + { + get + { + Utf8String value; + Helper.Get(m_ExpiresAt, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ExpiresAt); + } + } + + public AuthTokenType AuthType + { + get + { + return m_AuthType; + } + + set + { + m_AuthType = value; + } + } + + public Utf8String RefreshToken + { + get + { + Utf8String value; + Helper.Get(m_RefreshToken, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RefreshToken); + } + } + + public double RefreshExpiresIn + { + get + { + return m_RefreshExpiresIn; + } + + set + { + m_RefreshExpiresIn = value; + } + } + + public Utf8String RefreshExpiresAt + { + get + { + Utf8String value; + Helper.Get(m_RefreshExpiresAt, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RefreshExpiresAt); + } + } + + public void Set(ref Token other) + { + m_ApiVersion = AuthInterface.TokenApiLatest; + App = other.App; + ClientId = other.ClientId; + AccountId = other.AccountId; + AccessToken = other.AccessToken; + ExpiresIn = other.ExpiresIn; + ExpiresAt = other.ExpiresAt; + AuthType = other.AuthType; + RefreshToken = other.RefreshToken; + RefreshExpiresIn = other.RefreshExpiresIn; + RefreshExpiresAt = other.RefreshExpiresAt; + } + + public void Set(ref Token? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.TokenApiLatest; + App = other.Value.App; + ClientId = other.Value.ClientId; + AccountId = other.Value.AccountId; + AccessToken = other.Value.AccessToken; + ExpiresIn = other.Value.ExpiresIn; + ExpiresAt = other.Value.ExpiresAt; + AuthType = other.Value.AuthType; + RefreshToken = other.Value.RefreshToken; + RefreshExpiresIn = other.Value.RefreshExpiresIn; + RefreshExpiresAt = other.Value.RefreshExpiresAt; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_App); + Helper.Dispose(ref m_ClientId); + Helper.Dispose(ref m_AccountId); + Helper.Dispose(ref m_AccessToken); + Helper.Dispose(ref m_ExpiresAt); + Helper.Dispose(ref m_RefreshToken); + Helper.Dispose(ref m_RefreshExpiresAt); + } + + public void Get(out Token output) + { + output = new Token(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Token.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Token.cs.meta deleted file mode 100644 index 29f5b320..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/Token.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b159297afdcbca04b82c54f9c98d582e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyIdTokenCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyIdTokenCallbackInfo.cs new file mode 100644 index 00000000..78b38f0b --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyIdTokenCallbackInfo.cs @@ -0,0 +1,386 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Output parameters for the Function. + /// + public struct VerifyIdTokenCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// Epic Account Services Application ID. + /// + public Utf8String ApplicationId { get; set; } + + /// + /// Client ID of the authorized client. + /// + public Utf8String ClientId { get; set; } + + /// + /// Product ID. + /// + public Utf8String ProductId { get; set; } + + /// + /// Sandbox ID. + /// + public Utf8String SandboxId { get; set; } + + /// + /// Deployment ID. + /// + public Utf8String DeploymentId { get; set; } + + /// + /// Epic Account display name. + /// + /// This value may be set to an empty string. + /// + public Utf8String DisplayName { get; set; } + + /// + /// Flag set to indicate whether external account information is present. + /// Applications must always first check this value to be set before attempting + /// to read the ExternalAccountIdType, ExternalAccountId, ExternalAccountDisplayName and Platform fields. + /// + /// This flag is set when the user has logged in to their Epic Account using external account credentials, e.g. through local platform authentication. + /// + public bool IsExternalAccountInfoPresent { get; set; } + + /// + /// The identity provider that the user logged in with to their Epic Account. + /// + /// If bIsExternalAccountInfoPresent is set, this field describes the external account type. + /// + public ExternalAccountType ExternalAccountIdType { get; set; } + + /// + /// The external account ID of the logged in user. + /// + /// This value may be set to an empty string. + /// + public Utf8String ExternalAccountId { get; set; } + + /// + /// The external account display name. + /// + /// This value may be set to an empty string. + /// + public Utf8String ExternalAccountDisplayName { get; set; } + + /// + /// Platform that the user is connected from. + /// + /// This value may be set to an empty string. + /// + public Utf8String Platform { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref VerifyIdTokenCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + ApplicationId = other.ApplicationId; + ClientId = other.ClientId; + ProductId = other.ProductId; + SandboxId = other.SandboxId; + DeploymentId = other.DeploymentId; + DisplayName = other.DisplayName; + IsExternalAccountInfoPresent = other.IsExternalAccountInfoPresent; + ExternalAccountIdType = other.ExternalAccountIdType; + ExternalAccountId = other.ExternalAccountId; + ExternalAccountDisplayName = other.ExternalAccountDisplayName; + Platform = other.Platform; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct VerifyIdTokenCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_ApplicationId; + private System.IntPtr m_ClientId; + private System.IntPtr m_ProductId; + private System.IntPtr m_SandboxId; + private System.IntPtr m_DeploymentId; + private System.IntPtr m_DisplayName; + private int m_IsExternalAccountInfoPresent; + private ExternalAccountType m_ExternalAccountIdType; + private System.IntPtr m_ExternalAccountId; + private System.IntPtr m_ExternalAccountDisplayName; + private System.IntPtr m_Platform; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String ApplicationId + { + get + { + Utf8String value; + Helper.Get(m_ApplicationId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ApplicationId); + } + } + + public Utf8String ClientId + { + get + { + Utf8String value; + Helper.Get(m_ClientId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientId); + } + } + + public Utf8String ProductId + { + get + { + Utf8String value; + Helper.Get(m_ProductId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ProductId); + } + } + + public Utf8String SandboxId + { + get + { + Utf8String value; + Helper.Get(m_SandboxId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_SandboxId); + } + } + + public Utf8String DeploymentId + { + get + { + Utf8String value; + Helper.Get(m_DeploymentId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DeploymentId); + } + } + + public Utf8String DisplayName + { + get + { + Utf8String value; + Helper.Get(m_DisplayName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DisplayName); + } + } + + public bool IsExternalAccountInfoPresent + { + get + { + bool value; + Helper.Get(m_IsExternalAccountInfoPresent, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IsExternalAccountInfoPresent); + } + } + + public ExternalAccountType ExternalAccountIdType + { + get + { + return m_ExternalAccountIdType; + } + + set + { + m_ExternalAccountIdType = value; + } + } + + public Utf8String ExternalAccountId + { + get + { + Utf8String value; + Helper.Get(m_ExternalAccountId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ExternalAccountId); + } + } + + public Utf8String ExternalAccountDisplayName + { + get + { + Utf8String value; + Helper.Get(m_ExternalAccountDisplayName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ExternalAccountDisplayName); + } + } + + public Utf8String Platform + { + get + { + Utf8String value; + Helper.Get(m_Platform, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Platform); + } + } + + public void Set(ref VerifyIdTokenCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + ApplicationId = other.ApplicationId; + ClientId = other.ClientId; + ProductId = other.ProductId; + SandboxId = other.SandboxId; + DeploymentId = other.DeploymentId; + DisplayName = other.DisplayName; + IsExternalAccountInfoPresent = other.IsExternalAccountInfoPresent; + ExternalAccountIdType = other.ExternalAccountIdType; + ExternalAccountId = other.ExternalAccountId; + ExternalAccountDisplayName = other.ExternalAccountDisplayName; + Platform = other.Platform; + } + + public void Set(ref VerifyIdTokenCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + ApplicationId = other.Value.ApplicationId; + ClientId = other.Value.ClientId; + ProductId = other.Value.ProductId; + SandboxId = other.Value.SandboxId; + DeploymentId = other.Value.DeploymentId; + DisplayName = other.Value.DisplayName; + IsExternalAccountInfoPresent = other.Value.IsExternalAccountInfoPresent; + ExternalAccountIdType = other.Value.ExternalAccountIdType; + ExternalAccountId = other.Value.ExternalAccountId; + ExternalAccountDisplayName = other.Value.ExternalAccountDisplayName; + Platform = other.Value.Platform; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_ApplicationId); + Helper.Dispose(ref m_ClientId); + Helper.Dispose(ref m_ProductId); + Helper.Dispose(ref m_SandboxId); + Helper.Dispose(ref m_DeploymentId); + Helper.Dispose(ref m_DisplayName); + Helper.Dispose(ref m_ExternalAccountId); + Helper.Dispose(ref m_ExternalAccountDisplayName); + Helper.Dispose(ref m_Platform); + } + + public void Get(out VerifyIdTokenCallbackInfo output) + { + output = new VerifyIdTokenCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyIdTokenOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyIdTokenOptions.cs new file mode 100644 index 00000000..0192e0f1 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyIdTokenOptions.cs @@ -0,0 +1,52 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Input parameters for the function. + /// + public struct VerifyIdTokenOptions + { + /// + /// The ID token to verify. + /// Use to populate the AccountId field of this struct. + /// + public IdToken? IdToken { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct VerifyIdTokenOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_IdToken; + + public IdToken? IdToken + { + set + { + Helper.Set(ref value, ref m_IdToken); + } + } + + public void Set(ref VerifyIdTokenOptions other) + { + m_ApiVersion = AuthInterface.VerifyidtokenApiLatest; + IdToken = other.IdToken; + } + + public void Set(ref VerifyIdTokenOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.VerifyidtokenApiLatest; + IdToken = other.Value.IdToken; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_IdToken); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthCallbackInfo.cs index 85245c69..e08b2156 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Output parameters for the Function. - /// - public class VerifyUserAuthCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(VerifyUserAuthCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as VerifyUserAuthCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct VerifyUserAuthCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Output parameters for the Function. + /// + public struct VerifyUserAuthCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref VerifyUserAuthCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct VerifyUserAuthCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref VerifyUserAuthCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref VerifyUserAuthCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out VerifyUserAuthCallbackInfo output) + { + output = new VerifyUserAuthCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthCallbackInfo.cs.meta deleted file mode 100644 index d96ca6a2..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2616921a24e1f5c48b2e35e9cd239982 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthOptions.cs index 9355e319..0ca33e02 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthOptions.cs @@ -1,51 +1,52 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Input parameters for the function. - /// This operation is destructive, the pointer will remain the same but the data pointers inside will update - /// - public class VerifyUserAuthOptions - { - /// - /// Auth token to verify against the backend service - /// - public Token AuthToken { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct VerifyUserAuthOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_AuthToken; - - public Token AuthToken - { - set - { - Helper.TryMarshalSet(ref m_AuthToken, value); - } - } - - public void Set(VerifyUserAuthOptions other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.VerifyuserauthApiLatest; - AuthToken = other.AuthToken; - } - } - - public void Set(object other) - { - Set(other as VerifyUserAuthOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AuthToken); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Input parameters for the function. + /// This operation is destructive, the pointer will remain the same but the data pointers inside will update + /// + public struct VerifyUserAuthOptions + { + /// + /// Auth token to verify against the backend service + /// + public Token? AuthToken { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct VerifyUserAuthOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_AuthToken; + + public Token? AuthToken + { + set + { + Helper.Set(ref value, ref m_AuthToken); + } + } + + public void Set(ref VerifyUserAuthOptions other) + { + m_ApiVersion = AuthInterface.VerifyuserauthApiLatest; + AuthToken = other.AuthToken; + } + + public void Set(ref VerifyUserAuthOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.VerifyuserauthApiLatest; + AuthToken = other.Value.AuthToken; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AuthToken); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthOptions.cs.meta deleted file mode 100644 index 40812fcd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Auth/VerifyUserAuthOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bc7a451b49cf43f4a8209accf72373e3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Bindings.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Bindings.cs index a4cbcbeb..93abd520 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Bindings.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Bindings.cs @@ -1,5864 +1,8291 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -#if UNITY_EDITOR - #define EOS_EDITOR -#endif - -#if EOS_EDITOR - #define EOS_DYNAMIC_BINDINGS -#endif - -using System; -using System.Runtime.InteropServices; - -namespace Epic.OnlineServices -{ - public static class Bindings - { -#if EOS_DYNAMIC_BINDINGS - /// - /// Hooks the dynamic SDK API bindings. EOS_DYNAMIC_BINDINGS or EOS_EDITOR must be set. - /// - /// The library handle to find functions in. The type is platform dependent, but would typically be . - /// A delegate that gets a function pointer using the given library handle and function name. - public static void Hook(TLibraryHandle libraryHandle, Func getFunctionPointer) - { - System.IntPtr functionPointer; - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_AddNotifyAchievementsUnlocked)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_AddNotifyAchievementsUnlocked)); - EOS_Achievements_AddNotifyAchievementsUnlocked = (EOS_Achievements_AddNotifyAchievementsUnlockedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_AddNotifyAchievementsUnlockedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_AddNotifyAchievementsUnlockedV2)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_AddNotifyAchievementsUnlockedV2)); - EOS_Achievements_AddNotifyAchievementsUnlockedV2 = (EOS_Achievements_AddNotifyAchievementsUnlockedV2Callback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_AddNotifyAchievementsUnlockedV2Callback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_CopyAchievementDefinitionByAchievementId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_CopyAchievementDefinitionByAchievementId)); - EOS_Achievements_CopyAchievementDefinitionByAchievementId = (EOS_Achievements_CopyAchievementDefinitionByAchievementIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyAchievementDefinitionByAchievementIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_CopyAchievementDefinitionByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_CopyAchievementDefinitionByIndex)); - EOS_Achievements_CopyAchievementDefinitionByIndex = (EOS_Achievements_CopyAchievementDefinitionByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyAchievementDefinitionByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId)); - EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId = (EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_CopyAchievementDefinitionV2ByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_CopyAchievementDefinitionV2ByIndex)); - EOS_Achievements_CopyAchievementDefinitionV2ByIndex = (EOS_Achievements_CopyAchievementDefinitionV2ByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyAchievementDefinitionV2ByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_CopyPlayerAchievementByAchievementId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_CopyPlayerAchievementByAchievementId)); - EOS_Achievements_CopyPlayerAchievementByAchievementId = (EOS_Achievements_CopyPlayerAchievementByAchievementIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyPlayerAchievementByAchievementIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_CopyPlayerAchievementByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_CopyPlayerAchievementByIndex)); - EOS_Achievements_CopyPlayerAchievementByIndex = (EOS_Achievements_CopyPlayerAchievementByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyPlayerAchievementByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_CopyUnlockedAchievementByAchievementId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_CopyUnlockedAchievementByAchievementId)); - EOS_Achievements_CopyUnlockedAchievementByAchievementId = (EOS_Achievements_CopyUnlockedAchievementByAchievementIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyUnlockedAchievementByAchievementIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_CopyUnlockedAchievementByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_CopyUnlockedAchievementByIndex)); - EOS_Achievements_CopyUnlockedAchievementByIndex = (EOS_Achievements_CopyUnlockedAchievementByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyUnlockedAchievementByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_DefinitionV2_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_DefinitionV2_Release)); - EOS_Achievements_DefinitionV2_Release = (EOS_Achievements_DefinitionV2_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_DefinitionV2_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_Definition_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_Definition_Release)); - EOS_Achievements_Definition_Release = (EOS_Achievements_Definition_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_Definition_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_GetAchievementDefinitionCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_GetAchievementDefinitionCount)); - EOS_Achievements_GetAchievementDefinitionCount = (EOS_Achievements_GetAchievementDefinitionCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_GetAchievementDefinitionCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_GetPlayerAchievementCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_GetPlayerAchievementCount)); - EOS_Achievements_GetPlayerAchievementCount = (EOS_Achievements_GetPlayerAchievementCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_GetPlayerAchievementCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_GetUnlockedAchievementCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_GetUnlockedAchievementCount)); - EOS_Achievements_GetUnlockedAchievementCount = (EOS_Achievements_GetUnlockedAchievementCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_GetUnlockedAchievementCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_PlayerAchievement_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_PlayerAchievement_Release)); - EOS_Achievements_PlayerAchievement_Release = (EOS_Achievements_PlayerAchievement_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_PlayerAchievement_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_QueryDefinitions)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_QueryDefinitions)); - EOS_Achievements_QueryDefinitions = (EOS_Achievements_QueryDefinitionsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_QueryDefinitionsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_QueryPlayerAchievements)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_QueryPlayerAchievements)); - EOS_Achievements_QueryPlayerAchievements = (EOS_Achievements_QueryPlayerAchievementsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_QueryPlayerAchievementsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_RemoveNotifyAchievementsUnlocked)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_RemoveNotifyAchievementsUnlocked)); - EOS_Achievements_RemoveNotifyAchievementsUnlocked = (EOS_Achievements_RemoveNotifyAchievementsUnlockedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_RemoveNotifyAchievementsUnlockedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_UnlockAchievements)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_UnlockAchievements)); - EOS_Achievements_UnlockAchievements = (EOS_Achievements_UnlockAchievementsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_UnlockAchievementsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Achievements_UnlockedAchievement_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Achievements_UnlockedAchievement_Release)); - EOS_Achievements_UnlockedAchievement_Release = (EOS_Achievements_UnlockedAchievement_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_UnlockedAchievement_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_ActiveSession_CopyInfo)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_ActiveSession_CopyInfo)); - EOS_ActiveSession_CopyInfo = (EOS_ActiveSession_CopyInfoCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ActiveSession_CopyInfoCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_ActiveSession_GetRegisteredPlayerByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_ActiveSession_GetRegisteredPlayerByIndex)); - EOS_ActiveSession_GetRegisteredPlayerByIndex = (EOS_ActiveSession_GetRegisteredPlayerByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ActiveSession_GetRegisteredPlayerByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_ActiveSession_GetRegisteredPlayerCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_ActiveSession_GetRegisteredPlayerCount)); - EOS_ActiveSession_GetRegisteredPlayerCount = (EOS_ActiveSession_GetRegisteredPlayerCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ActiveSession_GetRegisteredPlayerCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_ActiveSession_Info_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_ActiveSession_Info_Release)); - EOS_ActiveSession_Info_Release = (EOS_ActiveSession_Info_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ActiveSession_Info_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_ActiveSession_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_ActiveSession_Release)); - EOS_ActiveSession_Release = (EOS_ActiveSession_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ActiveSession_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_AddExternalIntegrityCatalog)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_AddExternalIntegrityCatalog)); - EOS_AntiCheatClient_AddExternalIntegrityCatalog = (EOS_AntiCheatClient_AddExternalIntegrityCatalogCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_AddExternalIntegrityCatalogCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_AddNotifyMessageToPeer)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_AddNotifyMessageToPeer)); - EOS_AntiCheatClient_AddNotifyMessageToPeer = (EOS_AntiCheatClient_AddNotifyMessageToPeerCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_AddNotifyMessageToPeerCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_AddNotifyMessageToServer)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_AddNotifyMessageToServer)); - EOS_AntiCheatClient_AddNotifyMessageToServer = (EOS_AntiCheatClient_AddNotifyMessageToServerCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_AddNotifyMessageToServerCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_AddNotifyPeerActionRequired)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_AddNotifyPeerActionRequired)); - EOS_AntiCheatClient_AddNotifyPeerActionRequired = (EOS_AntiCheatClient_AddNotifyPeerActionRequiredCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_AddNotifyPeerActionRequiredCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged)); - EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged = (EOS_AntiCheatClient_AddNotifyPeerAuthStatusChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_AddNotifyPeerAuthStatusChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_BeginSession)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_BeginSession)); - EOS_AntiCheatClient_BeginSession = (EOS_AntiCheatClient_BeginSessionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_BeginSessionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_EndSession)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_EndSession)); - EOS_AntiCheatClient_EndSession = (EOS_AntiCheatClient_EndSessionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_EndSessionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_GetProtectMessageOutputLength)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_GetProtectMessageOutputLength)); - EOS_AntiCheatClient_GetProtectMessageOutputLength = (EOS_AntiCheatClient_GetProtectMessageOutputLengthCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_GetProtectMessageOutputLengthCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_PollStatus)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_PollStatus)); - EOS_AntiCheatClient_PollStatus = (EOS_AntiCheatClient_PollStatusCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_PollStatusCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_ProtectMessage)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_ProtectMessage)); - EOS_AntiCheatClient_ProtectMessage = (EOS_AntiCheatClient_ProtectMessageCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_ProtectMessageCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_ReceiveMessageFromPeer)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_ReceiveMessageFromPeer)); - EOS_AntiCheatClient_ReceiveMessageFromPeer = (EOS_AntiCheatClient_ReceiveMessageFromPeerCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_ReceiveMessageFromPeerCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_ReceiveMessageFromServer)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_ReceiveMessageFromServer)); - EOS_AntiCheatClient_ReceiveMessageFromServer = (EOS_AntiCheatClient_ReceiveMessageFromServerCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_ReceiveMessageFromServerCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_RegisterPeer)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_RegisterPeer)); - EOS_AntiCheatClient_RegisterPeer = (EOS_AntiCheatClient_RegisterPeerCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_RegisterPeerCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_RemoveNotifyMessageToPeer)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_RemoveNotifyMessageToPeer)); - EOS_AntiCheatClient_RemoveNotifyMessageToPeer = (EOS_AntiCheatClient_RemoveNotifyMessageToPeerCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_RemoveNotifyMessageToPeerCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_RemoveNotifyMessageToServer)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_RemoveNotifyMessageToServer)); - EOS_AntiCheatClient_RemoveNotifyMessageToServer = (EOS_AntiCheatClient_RemoveNotifyMessageToServerCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_RemoveNotifyMessageToServerCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_RemoveNotifyPeerActionRequired)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_RemoveNotifyPeerActionRequired)); - EOS_AntiCheatClient_RemoveNotifyPeerActionRequired = (EOS_AntiCheatClient_RemoveNotifyPeerActionRequiredCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_RemoveNotifyPeerActionRequiredCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged)); - EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged = (EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_UnprotectMessage)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_UnprotectMessage)); - EOS_AntiCheatClient_UnprotectMessage = (EOS_AntiCheatClient_UnprotectMessageCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_UnprotectMessageCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatClient_UnregisterPeer)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatClient_UnregisterPeer)); - EOS_AntiCheatClient_UnregisterPeer = (EOS_AntiCheatClient_UnregisterPeerCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_UnregisterPeerCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_AddNotifyClientActionRequired)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_AddNotifyClientActionRequired)); - EOS_AntiCheatServer_AddNotifyClientActionRequired = (EOS_AntiCheatServer_AddNotifyClientActionRequiredCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_AddNotifyClientActionRequiredCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged)); - EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged = (EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_AddNotifyMessageToClient)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_AddNotifyMessageToClient)); - EOS_AntiCheatServer_AddNotifyMessageToClient = (EOS_AntiCheatServer_AddNotifyMessageToClientCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_AddNotifyMessageToClientCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_BeginSession)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_BeginSession)); - EOS_AntiCheatServer_BeginSession = (EOS_AntiCheatServer_BeginSessionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_BeginSessionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_EndSession)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_EndSession)); - EOS_AntiCheatServer_EndSession = (EOS_AntiCheatServer_EndSessionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_EndSessionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_GetProtectMessageOutputLength)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_GetProtectMessageOutputLength)); - EOS_AntiCheatServer_GetProtectMessageOutputLength = (EOS_AntiCheatServer_GetProtectMessageOutputLengthCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_GetProtectMessageOutputLengthCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_LogEvent)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_LogEvent)); - EOS_AntiCheatServer_LogEvent = (EOS_AntiCheatServer_LogEventCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogEventCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_LogGameRoundEnd)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_LogGameRoundEnd)); - EOS_AntiCheatServer_LogGameRoundEnd = (EOS_AntiCheatServer_LogGameRoundEndCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogGameRoundEndCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_LogGameRoundStart)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_LogGameRoundStart)); - EOS_AntiCheatServer_LogGameRoundStart = (EOS_AntiCheatServer_LogGameRoundStartCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogGameRoundStartCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_LogPlayerDespawn)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_LogPlayerDespawn)); - EOS_AntiCheatServer_LogPlayerDespawn = (EOS_AntiCheatServer_LogPlayerDespawnCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerDespawnCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_LogPlayerRevive)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_LogPlayerRevive)); - EOS_AntiCheatServer_LogPlayerRevive = (EOS_AntiCheatServer_LogPlayerReviveCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerReviveCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_LogPlayerSpawn)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_LogPlayerSpawn)); - EOS_AntiCheatServer_LogPlayerSpawn = (EOS_AntiCheatServer_LogPlayerSpawnCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerSpawnCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_LogPlayerTakeDamage)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_LogPlayerTakeDamage)); - EOS_AntiCheatServer_LogPlayerTakeDamage = (EOS_AntiCheatServer_LogPlayerTakeDamageCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerTakeDamageCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_LogPlayerTick)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_LogPlayerTick)); - EOS_AntiCheatServer_LogPlayerTick = (EOS_AntiCheatServer_LogPlayerTickCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerTickCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_LogPlayerUseAbility)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_LogPlayerUseAbility)); - EOS_AntiCheatServer_LogPlayerUseAbility = (EOS_AntiCheatServer_LogPlayerUseAbilityCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerUseAbilityCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_LogPlayerUseWeapon)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_LogPlayerUseWeapon)); - EOS_AntiCheatServer_LogPlayerUseWeapon = (EOS_AntiCheatServer_LogPlayerUseWeaponCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerUseWeaponCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_ProtectMessage)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_ProtectMessage)); - EOS_AntiCheatServer_ProtectMessage = (EOS_AntiCheatServer_ProtectMessageCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_ProtectMessageCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_ReceiveMessageFromClient)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_ReceiveMessageFromClient)); - EOS_AntiCheatServer_ReceiveMessageFromClient = (EOS_AntiCheatServer_ReceiveMessageFromClientCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_ReceiveMessageFromClientCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_RegisterClient)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_RegisterClient)); - EOS_AntiCheatServer_RegisterClient = (EOS_AntiCheatServer_RegisterClientCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_RegisterClientCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_RegisterEvent)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_RegisterEvent)); - EOS_AntiCheatServer_RegisterEvent = (EOS_AntiCheatServer_RegisterEventCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_RegisterEventCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_RemoveNotifyClientActionRequired)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_RemoveNotifyClientActionRequired)); - EOS_AntiCheatServer_RemoveNotifyClientActionRequired = (EOS_AntiCheatServer_RemoveNotifyClientActionRequiredCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_RemoveNotifyClientActionRequiredCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged)); - EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged = (EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_RemoveNotifyMessageToClient)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_RemoveNotifyMessageToClient)); - EOS_AntiCheatServer_RemoveNotifyMessageToClient = (EOS_AntiCheatServer_RemoveNotifyMessageToClientCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_RemoveNotifyMessageToClientCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_SetClientDetails)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_SetClientDetails)); - EOS_AntiCheatServer_SetClientDetails = (EOS_AntiCheatServer_SetClientDetailsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_SetClientDetailsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_SetClientNetworkState)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_SetClientNetworkState)); - EOS_AntiCheatServer_SetClientNetworkState = (EOS_AntiCheatServer_SetClientNetworkStateCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_SetClientNetworkStateCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_SetGameSessionId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_SetGameSessionId)); - EOS_AntiCheatServer_SetGameSessionId = (EOS_AntiCheatServer_SetGameSessionIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_SetGameSessionIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_UnprotectMessage)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_UnprotectMessage)); - EOS_AntiCheatServer_UnprotectMessage = (EOS_AntiCheatServer_UnprotectMessageCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_UnprotectMessageCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_AntiCheatServer_UnregisterClient)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_AntiCheatServer_UnregisterClient)); - EOS_AntiCheatServer_UnregisterClient = (EOS_AntiCheatServer_UnregisterClientCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_UnregisterClientCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Auth_AddNotifyLoginStatusChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Auth_AddNotifyLoginStatusChanged)); - EOS_Auth_AddNotifyLoginStatusChanged = (EOS_Auth_AddNotifyLoginStatusChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_AddNotifyLoginStatusChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Auth_CopyUserAuthToken)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Auth_CopyUserAuthToken)); - EOS_Auth_CopyUserAuthToken = (EOS_Auth_CopyUserAuthTokenCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_CopyUserAuthTokenCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Auth_DeletePersistentAuth)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Auth_DeletePersistentAuth)); - EOS_Auth_DeletePersistentAuth = (EOS_Auth_DeletePersistentAuthCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_DeletePersistentAuthCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Auth_GetLoggedInAccountByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Auth_GetLoggedInAccountByIndex)); - EOS_Auth_GetLoggedInAccountByIndex = (EOS_Auth_GetLoggedInAccountByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_GetLoggedInAccountByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Auth_GetLoggedInAccountsCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Auth_GetLoggedInAccountsCount)); - EOS_Auth_GetLoggedInAccountsCount = (EOS_Auth_GetLoggedInAccountsCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_GetLoggedInAccountsCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Auth_GetLoginStatus)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Auth_GetLoginStatus)); - EOS_Auth_GetLoginStatus = (EOS_Auth_GetLoginStatusCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_GetLoginStatusCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Auth_LinkAccount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Auth_LinkAccount)); - EOS_Auth_LinkAccount = (EOS_Auth_LinkAccountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_LinkAccountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Auth_Login)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Auth_Login)); - EOS_Auth_Login = (EOS_Auth_LoginCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_LoginCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Auth_Logout)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Auth_Logout)); - EOS_Auth_Logout = (EOS_Auth_LogoutCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_LogoutCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Auth_RemoveNotifyLoginStatusChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Auth_RemoveNotifyLoginStatusChanged)); - EOS_Auth_RemoveNotifyLoginStatusChanged = (EOS_Auth_RemoveNotifyLoginStatusChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_RemoveNotifyLoginStatusChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Auth_Token_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Auth_Token_Release)); - EOS_Auth_Token_Release = (EOS_Auth_Token_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_Token_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Auth_VerifyUserAuth)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Auth_VerifyUserAuth)); - EOS_Auth_VerifyUserAuth = (EOS_Auth_VerifyUserAuthCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_VerifyUserAuthCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_ByteArray_ToString)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_ByteArray_ToString)); - EOS_ByteArray_ToString = (EOS_ByteArray_ToStringCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ByteArray_ToStringCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_AddNotifyAuthExpiration)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_AddNotifyAuthExpiration)); - EOS_Connect_AddNotifyAuthExpiration = (EOS_Connect_AddNotifyAuthExpirationCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_AddNotifyAuthExpirationCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_AddNotifyLoginStatusChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_AddNotifyLoginStatusChanged)); - EOS_Connect_AddNotifyLoginStatusChanged = (EOS_Connect_AddNotifyLoginStatusChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_AddNotifyLoginStatusChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_CopyProductUserExternalAccountByAccountId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_CopyProductUserExternalAccountByAccountId)); - EOS_Connect_CopyProductUserExternalAccountByAccountId = (EOS_Connect_CopyProductUserExternalAccountByAccountIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_CopyProductUserExternalAccountByAccountIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_CopyProductUserExternalAccountByAccountType)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_CopyProductUserExternalAccountByAccountType)); - EOS_Connect_CopyProductUserExternalAccountByAccountType = (EOS_Connect_CopyProductUserExternalAccountByAccountTypeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_CopyProductUserExternalAccountByAccountTypeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_CopyProductUserExternalAccountByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_CopyProductUserExternalAccountByIndex)); - EOS_Connect_CopyProductUserExternalAccountByIndex = (EOS_Connect_CopyProductUserExternalAccountByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_CopyProductUserExternalAccountByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_CopyProductUserInfo)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_CopyProductUserInfo)); - EOS_Connect_CopyProductUserInfo = (EOS_Connect_CopyProductUserInfoCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_CopyProductUserInfoCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_CreateDeviceId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_CreateDeviceId)); - EOS_Connect_CreateDeviceId = (EOS_Connect_CreateDeviceIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_CreateDeviceIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_CreateUser)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_CreateUser)); - EOS_Connect_CreateUser = (EOS_Connect_CreateUserCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_CreateUserCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_DeleteDeviceId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_DeleteDeviceId)); - EOS_Connect_DeleteDeviceId = (EOS_Connect_DeleteDeviceIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_DeleteDeviceIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_ExternalAccountInfo_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_ExternalAccountInfo_Release)); - EOS_Connect_ExternalAccountInfo_Release = (EOS_Connect_ExternalAccountInfo_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_ExternalAccountInfo_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_GetExternalAccountMapping)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_GetExternalAccountMapping)); - EOS_Connect_GetExternalAccountMapping = (EOS_Connect_GetExternalAccountMappingCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_GetExternalAccountMappingCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_GetLoggedInUserByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_GetLoggedInUserByIndex)); - EOS_Connect_GetLoggedInUserByIndex = (EOS_Connect_GetLoggedInUserByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_GetLoggedInUserByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_GetLoggedInUsersCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_GetLoggedInUsersCount)); - EOS_Connect_GetLoggedInUsersCount = (EOS_Connect_GetLoggedInUsersCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_GetLoggedInUsersCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_GetLoginStatus)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_GetLoginStatus)); - EOS_Connect_GetLoginStatus = (EOS_Connect_GetLoginStatusCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_GetLoginStatusCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_GetProductUserExternalAccountCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_GetProductUserExternalAccountCount)); - EOS_Connect_GetProductUserExternalAccountCount = (EOS_Connect_GetProductUserExternalAccountCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_GetProductUserExternalAccountCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_GetProductUserIdMapping)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_GetProductUserIdMapping)); - EOS_Connect_GetProductUserIdMapping = (EOS_Connect_GetProductUserIdMappingCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_GetProductUserIdMappingCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_LinkAccount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_LinkAccount)); - EOS_Connect_LinkAccount = (EOS_Connect_LinkAccountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_LinkAccountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_Login)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_Login)); - EOS_Connect_Login = (EOS_Connect_LoginCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_LoginCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_QueryExternalAccountMappings)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_QueryExternalAccountMappings)); - EOS_Connect_QueryExternalAccountMappings = (EOS_Connect_QueryExternalAccountMappingsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_QueryExternalAccountMappingsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_QueryProductUserIdMappings)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_QueryProductUserIdMappings)); - EOS_Connect_QueryProductUserIdMappings = (EOS_Connect_QueryProductUserIdMappingsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_QueryProductUserIdMappingsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_RemoveNotifyAuthExpiration)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_RemoveNotifyAuthExpiration)); - EOS_Connect_RemoveNotifyAuthExpiration = (EOS_Connect_RemoveNotifyAuthExpirationCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_RemoveNotifyAuthExpirationCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_RemoveNotifyLoginStatusChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_RemoveNotifyLoginStatusChanged)); - EOS_Connect_RemoveNotifyLoginStatusChanged = (EOS_Connect_RemoveNotifyLoginStatusChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_RemoveNotifyLoginStatusChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_TransferDeviceIdAccount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_TransferDeviceIdAccount)); - EOS_Connect_TransferDeviceIdAccount = (EOS_Connect_TransferDeviceIdAccountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_TransferDeviceIdAccountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Connect_UnlinkAccount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Connect_UnlinkAccount)); - EOS_Connect_UnlinkAccount = (EOS_Connect_UnlinkAccountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_UnlinkAccountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_ContinuanceToken_ToString)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_ContinuanceToken_ToString)); - EOS_ContinuanceToken_ToString = (EOS_ContinuanceToken_ToStringCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ContinuanceToken_ToStringCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_EResult_IsOperationComplete)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_EResult_IsOperationComplete)); - EOS_EResult_IsOperationComplete = (EOS_EResult_IsOperationCompleteCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_EResult_IsOperationCompleteCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_EResult_ToString)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_EResult_ToString)); - EOS_EResult_ToString = (EOS_EResult_ToStringCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_EResult_ToStringCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CatalogItem_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CatalogItem_Release)); - EOS_Ecom_CatalogItem_Release = (EOS_Ecom_CatalogItem_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CatalogItem_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CatalogOffer_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CatalogOffer_Release)); - EOS_Ecom_CatalogOffer_Release = (EOS_Ecom_CatalogOffer_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CatalogOffer_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CatalogRelease_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CatalogRelease_Release)); - EOS_Ecom_CatalogRelease_Release = (EOS_Ecom_CatalogRelease_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CatalogRelease_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_Checkout)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_Checkout)); - EOS_Ecom_Checkout = (EOS_Ecom_CheckoutCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CheckoutCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CopyEntitlementById)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CopyEntitlementById)); - EOS_Ecom_CopyEntitlementById = (EOS_Ecom_CopyEntitlementByIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyEntitlementByIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CopyEntitlementByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CopyEntitlementByIndex)); - EOS_Ecom_CopyEntitlementByIndex = (EOS_Ecom_CopyEntitlementByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyEntitlementByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CopyEntitlementByNameAndIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CopyEntitlementByNameAndIndex)); - EOS_Ecom_CopyEntitlementByNameAndIndex = (EOS_Ecom_CopyEntitlementByNameAndIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyEntitlementByNameAndIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CopyItemById)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CopyItemById)); - EOS_Ecom_CopyItemById = (EOS_Ecom_CopyItemByIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyItemByIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CopyItemImageInfoByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CopyItemImageInfoByIndex)); - EOS_Ecom_CopyItemImageInfoByIndex = (EOS_Ecom_CopyItemImageInfoByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyItemImageInfoByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CopyItemReleaseByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CopyItemReleaseByIndex)); - EOS_Ecom_CopyItemReleaseByIndex = (EOS_Ecom_CopyItemReleaseByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyItemReleaseByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CopyOfferById)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CopyOfferById)); - EOS_Ecom_CopyOfferById = (EOS_Ecom_CopyOfferByIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyOfferByIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CopyOfferByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CopyOfferByIndex)); - EOS_Ecom_CopyOfferByIndex = (EOS_Ecom_CopyOfferByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyOfferByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CopyOfferImageInfoByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CopyOfferImageInfoByIndex)); - EOS_Ecom_CopyOfferImageInfoByIndex = (EOS_Ecom_CopyOfferImageInfoByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyOfferImageInfoByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CopyOfferItemByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CopyOfferItemByIndex)); - EOS_Ecom_CopyOfferItemByIndex = (EOS_Ecom_CopyOfferItemByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyOfferItemByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CopyTransactionById)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CopyTransactionById)); - EOS_Ecom_CopyTransactionById = (EOS_Ecom_CopyTransactionByIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyTransactionByIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_CopyTransactionByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_CopyTransactionByIndex)); - EOS_Ecom_CopyTransactionByIndex = (EOS_Ecom_CopyTransactionByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyTransactionByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_Entitlement_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_Entitlement_Release)); - EOS_Ecom_Entitlement_Release = (EOS_Ecom_Entitlement_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_Entitlement_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_GetEntitlementsByNameCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_GetEntitlementsByNameCount)); - EOS_Ecom_GetEntitlementsByNameCount = (EOS_Ecom_GetEntitlementsByNameCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetEntitlementsByNameCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_GetEntitlementsCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_GetEntitlementsCount)); - EOS_Ecom_GetEntitlementsCount = (EOS_Ecom_GetEntitlementsCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetEntitlementsCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_GetItemImageInfoCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_GetItemImageInfoCount)); - EOS_Ecom_GetItemImageInfoCount = (EOS_Ecom_GetItemImageInfoCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetItemImageInfoCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_GetItemReleaseCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_GetItemReleaseCount)); - EOS_Ecom_GetItemReleaseCount = (EOS_Ecom_GetItemReleaseCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetItemReleaseCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_GetOfferCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_GetOfferCount)); - EOS_Ecom_GetOfferCount = (EOS_Ecom_GetOfferCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetOfferCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_GetOfferImageInfoCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_GetOfferImageInfoCount)); - EOS_Ecom_GetOfferImageInfoCount = (EOS_Ecom_GetOfferImageInfoCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetOfferImageInfoCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_GetOfferItemCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_GetOfferItemCount)); - EOS_Ecom_GetOfferItemCount = (EOS_Ecom_GetOfferItemCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetOfferItemCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_GetTransactionCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_GetTransactionCount)); - EOS_Ecom_GetTransactionCount = (EOS_Ecom_GetTransactionCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetTransactionCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_KeyImageInfo_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_KeyImageInfo_Release)); - EOS_Ecom_KeyImageInfo_Release = (EOS_Ecom_KeyImageInfo_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_KeyImageInfo_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_QueryEntitlements)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_QueryEntitlements)); - EOS_Ecom_QueryEntitlements = (EOS_Ecom_QueryEntitlementsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_QueryEntitlementsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_QueryOffers)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_QueryOffers)); - EOS_Ecom_QueryOffers = (EOS_Ecom_QueryOffersCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_QueryOffersCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_QueryOwnership)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_QueryOwnership)); - EOS_Ecom_QueryOwnership = (EOS_Ecom_QueryOwnershipCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_QueryOwnershipCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_QueryOwnershipToken)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_QueryOwnershipToken)); - EOS_Ecom_QueryOwnershipToken = (EOS_Ecom_QueryOwnershipTokenCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_QueryOwnershipTokenCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_RedeemEntitlements)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_RedeemEntitlements)); - EOS_Ecom_RedeemEntitlements = (EOS_Ecom_RedeemEntitlementsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_RedeemEntitlementsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_Transaction_CopyEntitlementByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_Transaction_CopyEntitlementByIndex)); - EOS_Ecom_Transaction_CopyEntitlementByIndex = (EOS_Ecom_Transaction_CopyEntitlementByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_Transaction_CopyEntitlementByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_Transaction_GetEntitlementsCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_Transaction_GetEntitlementsCount)); - EOS_Ecom_Transaction_GetEntitlementsCount = (EOS_Ecom_Transaction_GetEntitlementsCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_Transaction_GetEntitlementsCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_Transaction_GetTransactionId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_Transaction_GetTransactionId)); - EOS_Ecom_Transaction_GetTransactionId = (EOS_Ecom_Transaction_GetTransactionIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_Transaction_GetTransactionIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Ecom_Transaction_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Ecom_Transaction_Release)); - EOS_Ecom_Transaction_Release = (EOS_Ecom_Transaction_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_Transaction_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_EpicAccountId_FromString)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_EpicAccountId_FromString)); - EOS_EpicAccountId_FromString = (EOS_EpicAccountId_FromStringCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_EpicAccountId_FromStringCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_EpicAccountId_IsValid)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_EpicAccountId_IsValid)); - EOS_EpicAccountId_IsValid = (EOS_EpicAccountId_IsValidCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_EpicAccountId_IsValidCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_EpicAccountId_ToString)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_EpicAccountId_ToString)); - EOS_EpicAccountId_ToString = (EOS_EpicAccountId_ToStringCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_EpicAccountId_ToStringCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Friends_AcceptInvite)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Friends_AcceptInvite)); - EOS_Friends_AcceptInvite = (EOS_Friends_AcceptInviteCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_AcceptInviteCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Friends_AddNotifyFriendsUpdate)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Friends_AddNotifyFriendsUpdate)); - EOS_Friends_AddNotifyFriendsUpdate = (EOS_Friends_AddNotifyFriendsUpdateCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_AddNotifyFriendsUpdateCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Friends_GetFriendAtIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Friends_GetFriendAtIndex)); - EOS_Friends_GetFriendAtIndex = (EOS_Friends_GetFriendAtIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_GetFriendAtIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Friends_GetFriendsCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Friends_GetFriendsCount)); - EOS_Friends_GetFriendsCount = (EOS_Friends_GetFriendsCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_GetFriendsCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Friends_GetStatus)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Friends_GetStatus)); - EOS_Friends_GetStatus = (EOS_Friends_GetStatusCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_GetStatusCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Friends_QueryFriends)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Friends_QueryFriends)); - EOS_Friends_QueryFriends = (EOS_Friends_QueryFriendsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_QueryFriendsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Friends_RejectInvite)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Friends_RejectInvite)); - EOS_Friends_RejectInvite = (EOS_Friends_RejectInviteCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_RejectInviteCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Friends_RemoveNotifyFriendsUpdate)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Friends_RemoveNotifyFriendsUpdate)); - EOS_Friends_RemoveNotifyFriendsUpdate = (EOS_Friends_RemoveNotifyFriendsUpdateCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_RemoveNotifyFriendsUpdateCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Friends_SendInvite)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Friends_SendInvite)); - EOS_Friends_SendInvite = (EOS_Friends_SendInviteCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_SendInviteCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Initialize)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Initialize)); - EOS_Initialize = (EOS_InitializeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_InitializeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_KWS_AddNotifyPermissionsUpdateReceived)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_KWS_AddNotifyPermissionsUpdateReceived)); - EOS_KWS_AddNotifyPermissionsUpdateReceived = (EOS_KWS_AddNotifyPermissionsUpdateReceivedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_AddNotifyPermissionsUpdateReceivedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_KWS_CopyPermissionByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_KWS_CopyPermissionByIndex)); - EOS_KWS_CopyPermissionByIndex = (EOS_KWS_CopyPermissionByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_CopyPermissionByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_KWS_CreateUser)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_KWS_CreateUser)); - EOS_KWS_CreateUser = (EOS_KWS_CreateUserCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_CreateUserCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_KWS_GetPermissionByKey)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_KWS_GetPermissionByKey)); - EOS_KWS_GetPermissionByKey = (EOS_KWS_GetPermissionByKeyCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_GetPermissionByKeyCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_KWS_GetPermissionsCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_KWS_GetPermissionsCount)); - EOS_KWS_GetPermissionsCount = (EOS_KWS_GetPermissionsCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_GetPermissionsCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_KWS_PermissionStatus_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_KWS_PermissionStatus_Release)); - EOS_KWS_PermissionStatus_Release = (EOS_KWS_PermissionStatus_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_PermissionStatus_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_KWS_QueryAgeGate)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_KWS_QueryAgeGate)); - EOS_KWS_QueryAgeGate = (EOS_KWS_QueryAgeGateCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_QueryAgeGateCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_KWS_QueryPermissions)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_KWS_QueryPermissions)); - EOS_KWS_QueryPermissions = (EOS_KWS_QueryPermissionsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_QueryPermissionsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_KWS_RemoveNotifyPermissionsUpdateReceived)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_KWS_RemoveNotifyPermissionsUpdateReceived)); - EOS_KWS_RemoveNotifyPermissionsUpdateReceived = (EOS_KWS_RemoveNotifyPermissionsUpdateReceivedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_RemoveNotifyPermissionsUpdateReceivedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_KWS_RequestPermissions)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_KWS_RequestPermissions)); - EOS_KWS_RequestPermissions = (EOS_KWS_RequestPermissionsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_RequestPermissionsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_KWS_UpdateParentEmail)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_KWS_UpdateParentEmail)); - EOS_KWS_UpdateParentEmail = (EOS_KWS_UpdateParentEmailCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_UpdateParentEmailCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_CopyLeaderboardDefinitionByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_CopyLeaderboardDefinitionByIndex)); - EOS_Leaderboards_CopyLeaderboardDefinitionByIndex = (EOS_Leaderboards_CopyLeaderboardDefinitionByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_CopyLeaderboardDefinitionByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId)); - EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId = (EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_CopyLeaderboardRecordByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_CopyLeaderboardRecordByIndex)); - EOS_Leaderboards_CopyLeaderboardRecordByIndex = (EOS_Leaderboards_CopyLeaderboardRecordByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_CopyLeaderboardRecordByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_CopyLeaderboardRecordByUserId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_CopyLeaderboardRecordByUserId)); - EOS_Leaderboards_CopyLeaderboardRecordByUserId = (EOS_Leaderboards_CopyLeaderboardRecordByUserIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_CopyLeaderboardRecordByUserIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_CopyLeaderboardUserScoreByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_CopyLeaderboardUserScoreByIndex)); - EOS_Leaderboards_CopyLeaderboardUserScoreByIndex = (EOS_Leaderboards_CopyLeaderboardUserScoreByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_CopyLeaderboardUserScoreByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_CopyLeaderboardUserScoreByUserId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_CopyLeaderboardUserScoreByUserId)); - EOS_Leaderboards_CopyLeaderboardUserScoreByUserId = (EOS_Leaderboards_CopyLeaderboardUserScoreByUserIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_CopyLeaderboardUserScoreByUserIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_Definition_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_Definition_Release)); - EOS_Leaderboards_Definition_Release = (EOS_Leaderboards_Definition_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_Definition_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_GetLeaderboardDefinitionCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_GetLeaderboardDefinitionCount)); - EOS_Leaderboards_GetLeaderboardDefinitionCount = (EOS_Leaderboards_GetLeaderboardDefinitionCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_GetLeaderboardDefinitionCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_GetLeaderboardRecordCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_GetLeaderboardRecordCount)); - EOS_Leaderboards_GetLeaderboardRecordCount = (EOS_Leaderboards_GetLeaderboardRecordCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_GetLeaderboardRecordCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_GetLeaderboardUserScoreCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_GetLeaderboardUserScoreCount)); - EOS_Leaderboards_GetLeaderboardUserScoreCount = (EOS_Leaderboards_GetLeaderboardUserScoreCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_GetLeaderboardUserScoreCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_LeaderboardDefinition_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_LeaderboardDefinition_Release)); - EOS_Leaderboards_LeaderboardDefinition_Release = (EOS_Leaderboards_LeaderboardDefinition_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_LeaderboardDefinition_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_LeaderboardRecord_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_LeaderboardRecord_Release)); - EOS_Leaderboards_LeaderboardRecord_Release = (EOS_Leaderboards_LeaderboardRecord_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_LeaderboardRecord_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_LeaderboardUserScore_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_LeaderboardUserScore_Release)); - EOS_Leaderboards_LeaderboardUserScore_Release = (EOS_Leaderboards_LeaderboardUserScore_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_LeaderboardUserScore_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_QueryLeaderboardDefinitions)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_QueryLeaderboardDefinitions)); - EOS_Leaderboards_QueryLeaderboardDefinitions = (EOS_Leaderboards_QueryLeaderboardDefinitionsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_QueryLeaderboardDefinitionsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_QueryLeaderboardRanks)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_QueryLeaderboardRanks)); - EOS_Leaderboards_QueryLeaderboardRanks = (EOS_Leaderboards_QueryLeaderboardRanksCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_QueryLeaderboardRanksCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Leaderboards_QueryLeaderboardUserScores)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Leaderboards_QueryLeaderboardUserScores)); - EOS_Leaderboards_QueryLeaderboardUserScores = (EOS_Leaderboards_QueryLeaderboardUserScoresCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_QueryLeaderboardUserScoresCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyDetails_CopyAttributeByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyDetails_CopyAttributeByIndex)); - EOS_LobbyDetails_CopyAttributeByIndex = (EOS_LobbyDetails_CopyAttributeByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_CopyAttributeByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyDetails_CopyAttributeByKey)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyDetails_CopyAttributeByKey)); - EOS_LobbyDetails_CopyAttributeByKey = (EOS_LobbyDetails_CopyAttributeByKeyCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_CopyAttributeByKeyCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyDetails_CopyInfo)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyDetails_CopyInfo)); - EOS_LobbyDetails_CopyInfo = (EOS_LobbyDetails_CopyInfoCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_CopyInfoCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyDetails_CopyMemberAttributeByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyDetails_CopyMemberAttributeByIndex)); - EOS_LobbyDetails_CopyMemberAttributeByIndex = (EOS_LobbyDetails_CopyMemberAttributeByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_CopyMemberAttributeByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyDetails_CopyMemberAttributeByKey)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyDetails_CopyMemberAttributeByKey)); - EOS_LobbyDetails_CopyMemberAttributeByKey = (EOS_LobbyDetails_CopyMemberAttributeByKeyCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_CopyMemberAttributeByKeyCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyDetails_GetAttributeCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyDetails_GetAttributeCount)); - EOS_LobbyDetails_GetAttributeCount = (EOS_LobbyDetails_GetAttributeCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_GetAttributeCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyDetails_GetLobbyOwner)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyDetails_GetLobbyOwner)); - EOS_LobbyDetails_GetLobbyOwner = (EOS_LobbyDetails_GetLobbyOwnerCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_GetLobbyOwnerCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyDetails_GetMemberAttributeCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyDetails_GetMemberAttributeCount)); - EOS_LobbyDetails_GetMemberAttributeCount = (EOS_LobbyDetails_GetMemberAttributeCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_GetMemberAttributeCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyDetails_GetMemberByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyDetails_GetMemberByIndex)); - EOS_LobbyDetails_GetMemberByIndex = (EOS_LobbyDetails_GetMemberByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_GetMemberByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyDetails_GetMemberCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyDetails_GetMemberCount)); - EOS_LobbyDetails_GetMemberCount = (EOS_LobbyDetails_GetMemberCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_GetMemberCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyDetails_Info_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyDetails_Info_Release)); - EOS_LobbyDetails_Info_Release = (EOS_LobbyDetails_Info_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_Info_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyDetails_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyDetails_Release)); - EOS_LobbyDetails_Release = (EOS_LobbyDetails_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyModification_AddAttribute)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyModification_AddAttribute)); - EOS_LobbyModification_AddAttribute = (EOS_LobbyModification_AddAttributeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_AddAttributeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyModification_AddMemberAttribute)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyModification_AddMemberAttribute)); - EOS_LobbyModification_AddMemberAttribute = (EOS_LobbyModification_AddMemberAttributeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_AddMemberAttributeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyModification_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyModification_Release)); - EOS_LobbyModification_Release = (EOS_LobbyModification_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyModification_RemoveAttribute)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyModification_RemoveAttribute)); - EOS_LobbyModification_RemoveAttribute = (EOS_LobbyModification_RemoveAttributeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_RemoveAttributeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyModification_RemoveMemberAttribute)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyModification_RemoveMemberAttribute)); - EOS_LobbyModification_RemoveMemberAttribute = (EOS_LobbyModification_RemoveMemberAttributeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_RemoveMemberAttributeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyModification_SetBucketId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyModification_SetBucketId)); - EOS_LobbyModification_SetBucketId = (EOS_LobbyModification_SetBucketIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_SetBucketIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyModification_SetInvitesAllowed)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyModification_SetInvitesAllowed)); - EOS_LobbyModification_SetInvitesAllowed = (EOS_LobbyModification_SetInvitesAllowedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_SetInvitesAllowedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyModification_SetMaxMembers)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyModification_SetMaxMembers)); - EOS_LobbyModification_SetMaxMembers = (EOS_LobbyModification_SetMaxMembersCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_SetMaxMembersCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbyModification_SetPermissionLevel)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbyModification_SetPermissionLevel)); - EOS_LobbyModification_SetPermissionLevel = (EOS_LobbyModification_SetPermissionLevelCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_SetPermissionLevelCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbySearch_CopySearchResultByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbySearch_CopySearchResultByIndex)); - EOS_LobbySearch_CopySearchResultByIndex = (EOS_LobbySearch_CopySearchResultByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_CopySearchResultByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbySearch_Find)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbySearch_Find)); - EOS_LobbySearch_Find = (EOS_LobbySearch_FindCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_FindCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbySearch_GetSearchResultCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbySearch_GetSearchResultCount)); - EOS_LobbySearch_GetSearchResultCount = (EOS_LobbySearch_GetSearchResultCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_GetSearchResultCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbySearch_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbySearch_Release)); - EOS_LobbySearch_Release = (EOS_LobbySearch_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbySearch_RemoveParameter)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbySearch_RemoveParameter)); - EOS_LobbySearch_RemoveParameter = (EOS_LobbySearch_RemoveParameterCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_RemoveParameterCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbySearch_SetLobbyId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbySearch_SetLobbyId)); - EOS_LobbySearch_SetLobbyId = (EOS_LobbySearch_SetLobbyIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_SetLobbyIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbySearch_SetMaxResults)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbySearch_SetMaxResults)); - EOS_LobbySearch_SetMaxResults = (EOS_LobbySearch_SetMaxResultsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_SetMaxResultsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbySearch_SetParameter)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbySearch_SetParameter)); - EOS_LobbySearch_SetParameter = (EOS_LobbySearch_SetParameterCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_SetParameterCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_LobbySearch_SetTargetUserId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_LobbySearch_SetTargetUserId)); - EOS_LobbySearch_SetTargetUserId = (EOS_LobbySearch_SetTargetUserIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_SetTargetUserIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_AddNotifyJoinLobbyAccepted)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_AddNotifyJoinLobbyAccepted)); - EOS_Lobby_AddNotifyJoinLobbyAccepted = (EOS_Lobby_AddNotifyJoinLobbyAcceptedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyJoinLobbyAcceptedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_AddNotifyLobbyInviteAccepted)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_AddNotifyLobbyInviteAccepted)); - EOS_Lobby_AddNotifyLobbyInviteAccepted = (EOS_Lobby_AddNotifyLobbyInviteAcceptedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyLobbyInviteAcceptedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_AddNotifyLobbyInviteReceived)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_AddNotifyLobbyInviteReceived)); - EOS_Lobby_AddNotifyLobbyInviteReceived = (EOS_Lobby_AddNotifyLobbyInviteReceivedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyLobbyInviteReceivedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_AddNotifyLobbyMemberStatusReceived)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_AddNotifyLobbyMemberStatusReceived)); - EOS_Lobby_AddNotifyLobbyMemberStatusReceived = (EOS_Lobby_AddNotifyLobbyMemberStatusReceivedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyLobbyMemberStatusReceivedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_AddNotifyLobbyMemberUpdateReceived)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_AddNotifyLobbyMemberUpdateReceived)); - EOS_Lobby_AddNotifyLobbyMemberUpdateReceived = (EOS_Lobby_AddNotifyLobbyMemberUpdateReceivedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyLobbyMemberUpdateReceivedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_AddNotifyLobbyUpdateReceived)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_AddNotifyLobbyUpdateReceived)); - EOS_Lobby_AddNotifyLobbyUpdateReceived = (EOS_Lobby_AddNotifyLobbyUpdateReceivedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyLobbyUpdateReceivedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_AddNotifyRTCRoomConnectionChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_AddNotifyRTCRoomConnectionChanged)); - EOS_Lobby_AddNotifyRTCRoomConnectionChanged = (EOS_Lobby_AddNotifyRTCRoomConnectionChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyRTCRoomConnectionChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_Attribute_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_Attribute_Release)); - EOS_Lobby_Attribute_Release = (EOS_Lobby_Attribute_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_Attribute_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_CopyLobbyDetailsHandle)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_CopyLobbyDetailsHandle)); - EOS_Lobby_CopyLobbyDetailsHandle = (EOS_Lobby_CopyLobbyDetailsHandleCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_CopyLobbyDetailsHandleCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_CopyLobbyDetailsHandleByInviteId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_CopyLobbyDetailsHandleByInviteId)); - EOS_Lobby_CopyLobbyDetailsHandleByInviteId = (EOS_Lobby_CopyLobbyDetailsHandleByInviteIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_CopyLobbyDetailsHandleByInviteIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_CopyLobbyDetailsHandleByUiEventId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_CopyLobbyDetailsHandleByUiEventId)); - EOS_Lobby_CopyLobbyDetailsHandleByUiEventId = (EOS_Lobby_CopyLobbyDetailsHandleByUiEventIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_CopyLobbyDetailsHandleByUiEventIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_CreateLobby)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_CreateLobby)); - EOS_Lobby_CreateLobby = (EOS_Lobby_CreateLobbyCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_CreateLobbyCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_CreateLobbySearch)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_CreateLobbySearch)); - EOS_Lobby_CreateLobbySearch = (EOS_Lobby_CreateLobbySearchCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_CreateLobbySearchCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_DestroyLobby)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_DestroyLobby)); - EOS_Lobby_DestroyLobby = (EOS_Lobby_DestroyLobbyCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_DestroyLobbyCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_GetInviteCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_GetInviteCount)); - EOS_Lobby_GetInviteCount = (EOS_Lobby_GetInviteCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_GetInviteCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_GetInviteIdByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_GetInviteIdByIndex)); - EOS_Lobby_GetInviteIdByIndex = (EOS_Lobby_GetInviteIdByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_GetInviteIdByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_GetRTCRoomName)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_GetRTCRoomName)); - EOS_Lobby_GetRTCRoomName = (EOS_Lobby_GetRTCRoomNameCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_GetRTCRoomNameCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_IsRTCRoomConnected)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_IsRTCRoomConnected)); - EOS_Lobby_IsRTCRoomConnected = (EOS_Lobby_IsRTCRoomConnectedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_IsRTCRoomConnectedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_JoinLobby)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_JoinLobby)); - EOS_Lobby_JoinLobby = (EOS_Lobby_JoinLobbyCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_JoinLobbyCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_KickMember)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_KickMember)); - EOS_Lobby_KickMember = (EOS_Lobby_KickMemberCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_KickMemberCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_LeaveLobby)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_LeaveLobby)); - EOS_Lobby_LeaveLobby = (EOS_Lobby_LeaveLobbyCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_LeaveLobbyCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_PromoteMember)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_PromoteMember)); - EOS_Lobby_PromoteMember = (EOS_Lobby_PromoteMemberCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_PromoteMemberCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_QueryInvites)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_QueryInvites)); - EOS_Lobby_QueryInvites = (EOS_Lobby_QueryInvitesCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_QueryInvitesCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_RejectInvite)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_RejectInvite)); - EOS_Lobby_RejectInvite = (EOS_Lobby_RejectInviteCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RejectInviteCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_RemoveNotifyJoinLobbyAccepted)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_RemoveNotifyJoinLobbyAccepted)); - EOS_Lobby_RemoveNotifyJoinLobbyAccepted = (EOS_Lobby_RemoveNotifyJoinLobbyAcceptedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyJoinLobbyAcceptedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_RemoveNotifyLobbyInviteAccepted)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_RemoveNotifyLobbyInviteAccepted)); - EOS_Lobby_RemoveNotifyLobbyInviteAccepted = (EOS_Lobby_RemoveNotifyLobbyInviteAcceptedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyLobbyInviteAcceptedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_RemoveNotifyLobbyInviteReceived)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_RemoveNotifyLobbyInviteReceived)); - EOS_Lobby_RemoveNotifyLobbyInviteReceived = (EOS_Lobby_RemoveNotifyLobbyInviteReceivedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyLobbyInviteReceivedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived)); - EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived = (EOS_Lobby_RemoveNotifyLobbyMemberStatusReceivedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyLobbyMemberStatusReceivedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived)); - EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived = (EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceivedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceivedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_RemoveNotifyLobbyUpdateReceived)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_RemoveNotifyLobbyUpdateReceived)); - EOS_Lobby_RemoveNotifyLobbyUpdateReceived = (EOS_Lobby_RemoveNotifyLobbyUpdateReceivedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyLobbyUpdateReceivedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged)); - EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged = (EOS_Lobby_RemoveNotifyRTCRoomConnectionChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyRTCRoomConnectionChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_SendInvite)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_SendInvite)); - EOS_Lobby_SendInvite = (EOS_Lobby_SendInviteCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_SendInviteCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_UpdateLobby)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_UpdateLobby)); - EOS_Lobby_UpdateLobby = (EOS_Lobby_UpdateLobbyCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_UpdateLobbyCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Lobby_UpdateLobbyModification)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Lobby_UpdateLobbyModification)); - EOS_Lobby_UpdateLobbyModification = (EOS_Lobby_UpdateLobbyModificationCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_UpdateLobbyModificationCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Logging_SetCallback)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Logging_SetCallback)); - EOS_Logging_SetCallback = (EOS_Logging_SetCallbackCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Logging_SetCallbackCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Logging_SetLogLevel)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Logging_SetLogLevel)); - EOS_Logging_SetLogLevel = (EOS_Logging_SetLogLevelCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Logging_SetLogLevelCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Metrics_BeginPlayerSession)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Metrics_BeginPlayerSession)); - EOS_Metrics_BeginPlayerSession = (EOS_Metrics_BeginPlayerSessionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Metrics_BeginPlayerSessionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Metrics_EndPlayerSession)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Metrics_EndPlayerSession)); - EOS_Metrics_EndPlayerSession = (EOS_Metrics_EndPlayerSessionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Metrics_EndPlayerSessionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Mods_CopyModInfo)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Mods_CopyModInfo)); - EOS_Mods_CopyModInfo = (EOS_Mods_CopyModInfoCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Mods_CopyModInfoCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Mods_EnumerateMods)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Mods_EnumerateMods)); - EOS_Mods_EnumerateMods = (EOS_Mods_EnumerateModsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Mods_EnumerateModsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Mods_InstallMod)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Mods_InstallMod)); - EOS_Mods_InstallMod = (EOS_Mods_InstallModCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Mods_InstallModCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Mods_ModInfo_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Mods_ModInfo_Release)); - EOS_Mods_ModInfo_Release = (EOS_Mods_ModInfo_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Mods_ModInfo_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Mods_UninstallMod)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Mods_UninstallMod)); - EOS_Mods_UninstallMod = (EOS_Mods_UninstallModCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Mods_UninstallModCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Mods_UpdateMod)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Mods_UpdateMod)); - EOS_Mods_UpdateMod = (EOS_Mods_UpdateModCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Mods_UpdateModCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_AcceptConnection)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_AcceptConnection)); - EOS_P2P_AcceptConnection = (EOS_P2P_AcceptConnectionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_AcceptConnectionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_AddNotifyIncomingPacketQueueFull)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_AddNotifyIncomingPacketQueueFull)); - EOS_P2P_AddNotifyIncomingPacketQueueFull = (EOS_P2P_AddNotifyIncomingPacketQueueFullCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_AddNotifyIncomingPacketQueueFullCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_AddNotifyPeerConnectionClosed)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_AddNotifyPeerConnectionClosed)); - EOS_P2P_AddNotifyPeerConnectionClosed = (EOS_P2P_AddNotifyPeerConnectionClosedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_AddNotifyPeerConnectionClosedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_AddNotifyPeerConnectionRequest)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_AddNotifyPeerConnectionRequest)); - EOS_P2P_AddNotifyPeerConnectionRequest = (EOS_P2P_AddNotifyPeerConnectionRequestCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_AddNotifyPeerConnectionRequestCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_CloseConnection)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_CloseConnection)); - EOS_P2P_CloseConnection = (EOS_P2P_CloseConnectionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_CloseConnectionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_CloseConnections)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_CloseConnections)); - EOS_P2P_CloseConnections = (EOS_P2P_CloseConnectionsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_CloseConnectionsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_GetNATType)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_GetNATType)); - EOS_P2P_GetNATType = (EOS_P2P_GetNATTypeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_GetNATTypeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_GetNextReceivedPacketSize)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_GetNextReceivedPacketSize)); - EOS_P2P_GetNextReceivedPacketSize = (EOS_P2P_GetNextReceivedPacketSizeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_GetNextReceivedPacketSizeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_GetPacketQueueInfo)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_GetPacketQueueInfo)); - EOS_P2P_GetPacketQueueInfo = (EOS_P2P_GetPacketQueueInfoCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_GetPacketQueueInfoCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_GetPortRange)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_GetPortRange)); - EOS_P2P_GetPortRange = (EOS_P2P_GetPortRangeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_GetPortRangeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_GetRelayControl)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_GetRelayControl)); - EOS_P2P_GetRelayControl = (EOS_P2P_GetRelayControlCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_GetRelayControlCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_QueryNATType)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_QueryNATType)); - EOS_P2P_QueryNATType = (EOS_P2P_QueryNATTypeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_QueryNATTypeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_ReceivePacket)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_ReceivePacket)); - EOS_P2P_ReceivePacket = (EOS_P2P_ReceivePacketCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_ReceivePacketCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_RemoveNotifyIncomingPacketQueueFull)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_RemoveNotifyIncomingPacketQueueFull)); - EOS_P2P_RemoveNotifyIncomingPacketQueueFull = (EOS_P2P_RemoveNotifyIncomingPacketQueueFullCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_RemoveNotifyIncomingPacketQueueFullCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_RemoveNotifyPeerConnectionClosed)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_RemoveNotifyPeerConnectionClosed)); - EOS_P2P_RemoveNotifyPeerConnectionClosed = (EOS_P2P_RemoveNotifyPeerConnectionClosedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_RemoveNotifyPeerConnectionClosedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_RemoveNotifyPeerConnectionRequest)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_RemoveNotifyPeerConnectionRequest)); - EOS_P2P_RemoveNotifyPeerConnectionRequest = (EOS_P2P_RemoveNotifyPeerConnectionRequestCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_RemoveNotifyPeerConnectionRequestCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_SendPacket)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_SendPacket)); - EOS_P2P_SendPacket = (EOS_P2P_SendPacketCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_SendPacketCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_SetPacketQueueSize)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_SetPacketQueueSize)); - EOS_P2P_SetPacketQueueSize = (EOS_P2P_SetPacketQueueSizeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_SetPacketQueueSizeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_SetPortRange)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_SetPortRange)); - EOS_P2P_SetPortRange = (EOS_P2P_SetPortRangeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_SetPortRangeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_P2P_SetRelayControl)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_P2P_SetRelayControl)); - EOS_P2P_SetRelayControl = (EOS_P2P_SetRelayControlCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_SetRelayControlCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_CheckForLauncherAndRestart)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_CheckForLauncherAndRestart)); - EOS_Platform_CheckForLauncherAndRestart = (EOS_Platform_CheckForLauncherAndRestartCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_CheckForLauncherAndRestartCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_Create)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_Create)); - EOS_Platform_Create = (EOS_Platform_CreateCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_CreateCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetAchievementsInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetAchievementsInterface)); - EOS_Platform_GetAchievementsInterface = (EOS_Platform_GetAchievementsInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetAchievementsInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetActiveCountryCode)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetActiveCountryCode)); - EOS_Platform_GetActiveCountryCode = (EOS_Platform_GetActiveCountryCodeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetActiveCountryCodeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetActiveLocaleCode)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetActiveLocaleCode)); - EOS_Platform_GetActiveLocaleCode = (EOS_Platform_GetActiveLocaleCodeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetActiveLocaleCodeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetAntiCheatClientInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetAntiCheatClientInterface)); - EOS_Platform_GetAntiCheatClientInterface = (EOS_Platform_GetAntiCheatClientInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetAntiCheatClientInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetAntiCheatServerInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetAntiCheatServerInterface)); - EOS_Platform_GetAntiCheatServerInterface = (EOS_Platform_GetAntiCheatServerInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetAntiCheatServerInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetAuthInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetAuthInterface)); - EOS_Platform_GetAuthInterface = (EOS_Platform_GetAuthInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetAuthInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetConnectInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetConnectInterface)); - EOS_Platform_GetConnectInterface = (EOS_Platform_GetConnectInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetConnectInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetEcomInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetEcomInterface)); - EOS_Platform_GetEcomInterface = (EOS_Platform_GetEcomInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetEcomInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetFriendsInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetFriendsInterface)); - EOS_Platform_GetFriendsInterface = (EOS_Platform_GetFriendsInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetFriendsInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetKWSInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetKWSInterface)); - EOS_Platform_GetKWSInterface = (EOS_Platform_GetKWSInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetKWSInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetLeaderboardsInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetLeaderboardsInterface)); - EOS_Platform_GetLeaderboardsInterface = (EOS_Platform_GetLeaderboardsInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetLeaderboardsInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetLobbyInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetLobbyInterface)); - EOS_Platform_GetLobbyInterface = (EOS_Platform_GetLobbyInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetLobbyInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetMetricsInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetMetricsInterface)); - EOS_Platform_GetMetricsInterface = (EOS_Platform_GetMetricsInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetMetricsInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetModsInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetModsInterface)); - EOS_Platform_GetModsInterface = (EOS_Platform_GetModsInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetModsInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetOverrideCountryCode)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetOverrideCountryCode)); - EOS_Platform_GetOverrideCountryCode = (EOS_Platform_GetOverrideCountryCodeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetOverrideCountryCodeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetOverrideLocaleCode)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetOverrideLocaleCode)); - EOS_Platform_GetOverrideLocaleCode = (EOS_Platform_GetOverrideLocaleCodeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetOverrideLocaleCodeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetP2PInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetP2PInterface)); - EOS_Platform_GetP2PInterface = (EOS_Platform_GetP2PInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetP2PInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetPlayerDataStorageInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetPlayerDataStorageInterface)); - EOS_Platform_GetPlayerDataStorageInterface = (EOS_Platform_GetPlayerDataStorageInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetPlayerDataStorageInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetPresenceInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetPresenceInterface)); - EOS_Platform_GetPresenceInterface = (EOS_Platform_GetPresenceInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetPresenceInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetRTCAdminInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetRTCAdminInterface)); - EOS_Platform_GetRTCAdminInterface = (EOS_Platform_GetRTCAdminInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetRTCAdminInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetRTCInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetRTCInterface)); - EOS_Platform_GetRTCInterface = (EOS_Platform_GetRTCInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetRTCInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetReportsInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetReportsInterface)); - EOS_Platform_GetReportsInterface = (EOS_Platform_GetReportsInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetReportsInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetSanctionsInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetSanctionsInterface)); - EOS_Platform_GetSanctionsInterface = (EOS_Platform_GetSanctionsInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetSanctionsInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetSessionsInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetSessionsInterface)); - EOS_Platform_GetSessionsInterface = (EOS_Platform_GetSessionsInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetSessionsInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetStatsInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetStatsInterface)); - EOS_Platform_GetStatsInterface = (EOS_Platform_GetStatsInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetStatsInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetTitleStorageInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetTitleStorageInterface)); - EOS_Platform_GetTitleStorageInterface = (EOS_Platform_GetTitleStorageInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetTitleStorageInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetUIInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetUIInterface)); - EOS_Platform_GetUIInterface = (EOS_Platform_GetUIInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetUIInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_GetUserInfoInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_GetUserInfoInterface)); - EOS_Platform_GetUserInfoInterface = (EOS_Platform_GetUserInfoInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetUserInfoInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_Release)); - EOS_Platform_Release = (EOS_Platform_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_SetOverrideCountryCode)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_SetOverrideCountryCode)); - EOS_Platform_SetOverrideCountryCode = (EOS_Platform_SetOverrideCountryCodeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_SetOverrideCountryCodeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_SetOverrideLocaleCode)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_SetOverrideLocaleCode)); - EOS_Platform_SetOverrideLocaleCode = (EOS_Platform_SetOverrideLocaleCodeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_SetOverrideLocaleCodeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Platform_Tick)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Platform_Tick)); - EOS_Platform_Tick = (EOS_Platform_TickCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_TickCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorageFileTransferRequest_CancelRequest)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorageFileTransferRequest_CancelRequest)); - EOS_PlayerDataStorageFileTransferRequest_CancelRequest = (EOS_PlayerDataStorageFileTransferRequest_CancelRequestCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorageFileTransferRequest_CancelRequestCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState)); - EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState = (EOS_PlayerDataStorageFileTransferRequest_GetFileRequestStateCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorageFileTransferRequest_GetFileRequestStateCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorageFileTransferRequest_GetFilename)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorageFileTransferRequest_GetFilename)); - EOS_PlayerDataStorageFileTransferRequest_GetFilename = (EOS_PlayerDataStorageFileTransferRequest_GetFilenameCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorageFileTransferRequest_GetFilenameCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorageFileTransferRequest_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorageFileTransferRequest_Release)); - EOS_PlayerDataStorageFileTransferRequest_Release = (EOS_PlayerDataStorageFileTransferRequest_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorageFileTransferRequest_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorage_CopyFileMetadataAtIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorage_CopyFileMetadataAtIndex)); - EOS_PlayerDataStorage_CopyFileMetadataAtIndex = (EOS_PlayerDataStorage_CopyFileMetadataAtIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_CopyFileMetadataAtIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorage_CopyFileMetadataByFilename)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorage_CopyFileMetadataByFilename)); - EOS_PlayerDataStorage_CopyFileMetadataByFilename = (EOS_PlayerDataStorage_CopyFileMetadataByFilenameCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_CopyFileMetadataByFilenameCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorage_DeleteCache)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorage_DeleteCache)); - EOS_PlayerDataStorage_DeleteCache = (EOS_PlayerDataStorage_DeleteCacheCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_DeleteCacheCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorage_DeleteFile)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorage_DeleteFile)); - EOS_PlayerDataStorage_DeleteFile = (EOS_PlayerDataStorage_DeleteFileCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_DeleteFileCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorage_DuplicateFile)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorage_DuplicateFile)); - EOS_PlayerDataStorage_DuplicateFile = (EOS_PlayerDataStorage_DuplicateFileCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_DuplicateFileCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorage_FileMetadata_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorage_FileMetadata_Release)); - EOS_PlayerDataStorage_FileMetadata_Release = (EOS_PlayerDataStorage_FileMetadata_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_FileMetadata_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorage_GetFileMetadataCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorage_GetFileMetadataCount)); - EOS_PlayerDataStorage_GetFileMetadataCount = (EOS_PlayerDataStorage_GetFileMetadataCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_GetFileMetadataCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorage_QueryFile)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorage_QueryFile)); - EOS_PlayerDataStorage_QueryFile = (EOS_PlayerDataStorage_QueryFileCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_QueryFileCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorage_QueryFileList)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorage_QueryFileList)); - EOS_PlayerDataStorage_QueryFileList = (EOS_PlayerDataStorage_QueryFileListCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_QueryFileListCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorage_ReadFile)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorage_ReadFile)); - EOS_PlayerDataStorage_ReadFile = (EOS_PlayerDataStorage_ReadFileCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_ReadFileCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PlayerDataStorage_WriteFile)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PlayerDataStorage_WriteFile)); - EOS_PlayerDataStorage_WriteFile = (EOS_PlayerDataStorage_WriteFileCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_WriteFileCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PresenceModification_DeleteData)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PresenceModification_DeleteData)); - EOS_PresenceModification_DeleteData = (EOS_PresenceModification_DeleteDataCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PresenceModification_DeleteDataCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PresenceModification_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PresenceModification_Release)); - EOS_PresenceModification_Release = (EOS_PresenceModification_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PresenceModification_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PresenceModification_SetData)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PresenceModification_SetData)); - EOS_PresenceModification_SetData = (EOS_PresenceModification_SetDataCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PresenceModification_SetDataCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PresenceModification_SetJoinInfo)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PresenceModification_SetJoinInfo)); - EOS_PresenceModification_SetJoinInfo = (EOS_PresenceModification_SetJoinInfoCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PresenceModification_SetJoinInfoCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PresenceModification_SetRawRichText)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PresenceModification_SetRawRichText)); - EOS_PresenceModification_SetRawRichText = (EOS_PresenceModification_SetRawRichTextCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PresenceModification_SetRawRichTextCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_PresenceModification_SetStatus)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_PresenceModification_SetStatus)); - EOS_PresenceModification_SetStatus = (EOS_PresenceModification_SetStatusCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PresenceModification_SetStatusCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Presence_AddNotifyJoinGameAccepted)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Presence_AddNotifyJoinGameAccepted)); - EOS_Presence_AddNotifyJoinGameAccepted = (EOS_Presence_AddNotifyJoinGameAcceptedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_AddNotifyJoinGameAcceptedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Presence_AddNotifyOnPresenceChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Presence_AddNotifyOnPresenceChanged)); - EOS_Presence_AddNotifyOnPresenceChanged = (EOS_Presence_AddNotifyOnPresenceChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_AddNotifyOnPresenceChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Presence_CopyPresence)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Presence_CopyPresence)); - EOS_Presence_CopyPresence = (EOS_Presence_CopyPresenceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_CopyPresenceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Presence_CreatePresenceModification)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Presence_CreatePresenceModification)); - EOS_Presence_CreatePresenceModification = (EOS_Presence_CreatePresenceModificationCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_CreatePresenceModificationCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Presence_GetJoinInfo)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Presence_GetJoinInfo)); - EOS_Presence_GetJoinInfo = (EOS_Presence_GetJoinInfoCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_GetJoinInfoCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Presence_HasPresence)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Presence_HasPresence)); - EOS_Presence_HasPresence = (EOS_Presence_HasPresenceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_HasPresenceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Presence_Info_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Presence_Info_Release)); - EOS_Presence_Info_Release = (EOS_Presence_Info_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_Info_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Presence_QueryPresence)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Presence_QueryPresence)); - EOS_Presence_QueryPresence = (EOS_Presence_QueryPresenceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_QueryPresenceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Presence_RemoveNotifyJoinGameAccepted)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Presence_RemoveNotifyJoinGameAccepted)); - EOS_Presence_RemoveNotifyJoinGameAccepted = (EOS_Presence_RemoveNotifyJoinGameAcceptedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_RemoveNotifyJoinGameAcceptedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Presence_RemoveNotifyOnPresenceChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Presence_RemoveNotifyOnPresenceChanged)); - EOS_Presence_RemoveNotifyOnPresenceChanged = (EOS_Presence_RemoveNotifyOnPresenceChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_RemoveNotifyOnPresenceChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Presence_SetPresence)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Presence_SetPresence)); - EOS_Presence_SetPresence = (EOS_Presence_SetPresenceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_SetPresenceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_ProductUserId_FromString)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_ProductUserId_FromString)); - EOS_ProductUserId_FromString = (EOS_ProductUserId_FromStringCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ProductUserId_FromStringCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_ProductUserId_IsValid)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_ProductUserId_IsValid)); - EOS_ProductUserId_IsValid = (EOS_ProductUserId_IsValidCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ProductUserId_IsValidCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_ProductUserId_ToString)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_ProductUserId_ToString)); - EOS_ProductUserId_ToString = (EOS_ProductUserId_ToStringCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ProductUserId_ToStringCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAdmin_CopyUserTokenByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAdmin_CopyUserTokenByIndex)); - EOS_RTCAdmin_CopyUserTokenByIndex = (EOS_RTCAdmin_CopyUserTokenByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAdmin_CopyUserTokenByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAdmin_CopyUserTokenByUserId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAdmin_CopyUserTokenByUserId)); - EOS_RTCAdmin_CopyUserTokenByUserId = (EOS_RTCAdmin_CopyUserTokenByUserIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAdmin_CopyUserTokenByUserIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAdmin_Kick)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAdmin_Kick)); - EOS_RTCAdmin_Kick = (EOS_RTCAdmin_KickCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAdmin_KickCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAdmin_QueryJoinRoomToken)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAdmin_QueryJoinRoomToken)); - EOS_RTCAdmin_QueryJoinRoomToken = (EOS_RTCAdmin_QueryJoinRoomTokenCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAdmin_QueryJoinRoomTokenCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAdmin_SetParticipantHardMute)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAdmin_SetParticipantHardMute)); - EOS_RTCAdmin_SetParticipantHardMute = (EOS_RTCAdmin_SetParticipantHardMuteCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAdmin_SetParticipantHardMuteCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAdmin_UserToken_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAdmin_UserToken_Release)); - EOS_RTCAdmin_UserToken_Release = (EOS_RTCAdmin_UserToken_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAdmin_UserToken_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_AddNotifyAudioBeforeRender)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_AddNotifyAudioBeforeRender)); - EOS_RTCAudio_AddNotifyAudioBeforeRender = (EOS_RTCAudio_AddNotifyAudioBeforeRenderCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_AddNotifyAudioBeforeRenderCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_AddNotifyAudioBeforeSend)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_AddNotifyAudioBeforeSend)); - EOS_RTCAudio_AddNotifyAudioBeforeSend = (EOS_RTCAudio_AddNotifyAudioBeforeSendCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_AddNotifyAudioBeforeSendCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_AddNotifyAudioDevicesChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_AddNotifyAudioDevicesChanged)); - EOS_RTCAudio_AddNotifyAudioDevicesChanged = (EOS_RTCAudio_AddNotifyAudioDevicesChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_AddNotifyAudioDevicesChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_AddNotifyAudioInputState)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_AddNotifyAudioInputState)); - EOS_RTCAudio_AddNotifyAudioInputState = (EOS_RTCAudio_AddNotifyAudioInputStateCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_AddNotifyAudioInputStateCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_AddNotifyAudioOutputState)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_AddNotifyAudioOutputState)); - EOS_RTCAudio_AddNotifyAudioOutputState = (EOS_RTCAudio_AddNotifyAudioOutputStateCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_AddNotifyAudioOutputStateCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_AddNotifyParticipantUpdated)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_AddNotifyParticipantUpdated)); - EOS_RTCAudio_AddNotifyParticipantUpdated = (EOS_RTCAudio_AddNotifyParticipantUpdatedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_AddNotifyParticipantUpdatedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_GetAudioInputDeviceByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_GetAudioInputDeviceByIndex)); - EOS_RTCAudio_GetAudioInputDeviceByIndex = (EOS_RTCAudio_GetAudioInputDeviceByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_GetAudioInputDeviceByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_GetAudioInputDevicesCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_GetAudioInputDevicesCount)); - EOS_RTCAudio_GetAudioInputDevicesCount = (EOS_RTCAudio_GetAudioInputDevicesCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_GetAudioInputDevicesCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_GetAudioOutputDeviceByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_GetAudioOutputDeviceByIndex)); - EOS_RTCAudio_GetAudioOutputDeviceByIndex = (EOS_RTCAudio_GetAudioOutputDeviceByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_GetAudioOutputDeviceByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_GetAudioOutputDevicesCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_GetAudioOutputDevicesCount)); - EOS_RTCAudio_GetAudioOutputDevicesCount = (EOS_RTCAudio_GetAudioOutputDevicesCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_GetAudioOutputDevicesCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_RegisterPlatformAudioUser)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_RegisterPlatformAudioUser)); - EOS_RTCAudio_RegisterPlatformAudioUser = (EOS_RTCAudio_RegisterPlatformAudioUserCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RegisterPlatformAudioUserCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_RemoveNotifyAudioBeforeRender)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_RemoveNotifyAudioBeforeRender)); - EOS_RTCAudio_RemoveNotifyAudioBeforeRender = (EOS_RTCAudio_RemoveNotifyAudioBeforeRenderCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RemoveNotifyAudioBeforeRenderCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_RemoveNotifyAudioBeforeSend)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_RemoveNotifyAudioBeforeSend)); - EOS_RTCAudio_RemoveNotifyAudioBeforeSend = (EOS_RTCAudio_RemoveNotifyAudioBeforeSendCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RemoveNotifyAudioBeforeSendCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_RemoveNotifyAudioDevicesChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_RemoveNotifyAudioDevicesChanged)); - EOS_RTCAudio_RemoveNotifyAudioDevicesChanged = (EOS_RTCAudio_RemoveNotifyAudioDevicesChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RemoveNotifyAudioDevicesChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_RemoveNotifyAudioInputState)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_RemoveNotifyAudioInputState)); - EOS_RTCAudio_RemoveNotifyAudioInputState = (EOS_RTCAudio_RemoveNotifyAudioInputStateCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RemoveNotifyAudioInputStateCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_RemoveNotifyAudioOutputState)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_RemoveNotifyAudioOutputState)); - EOS_RTCAudio_RemoveNotifyAudioOutputState = (EOS_RTCAudio_RemoveNotifyAudioOutputStateCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RemoveNotifyAudioOutputStateCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_RemoveNotifyParticipantUpdated)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_RemoveNotifyParticipantUpdated)); - EOS_RTCAudio_RemoveNotifyParticipantUpdated = (EOS_RTCAudio_RemoveNotifyParticipantUpdatedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RemoveNotifyParticipantUpdatedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_SendAudio)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_SendAudio)); - EOS_RTCAudio_SendAudio = (EOS_RTCAudio_SendAudioCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_SendAudioCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_SetAudioInputSettings)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_SetAudioInputSettings)); - EOS_RTCAudio_SetAudioInputSettings = (EOS_RTCAudio_SetAudioInputSettingsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_SetAudioInputSettingsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_SetAudioOutputSettings)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_SetAudioOutputSettings)); - EOS_RTCAudio_SetAudioOutputSettings = (EOS_RTCAudio_SetAudioOutputSettingsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_SetAudioOutputSettingsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_UnregisterPlatformAudioUser)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_UnregisterPlatformAudioUser)); - EOS_RTCAudio_UnregisterPlatformAudioUser = (EOS_RTCAudio_UnregisterPlatformAudioUserCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_UnregisterPlatformAudioUserCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_UpdateReceiving)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_UpdateReceiving)); - EOS_RTCAudio_UpdateReceiving = (EOS_RTCAudio_UpdateReceivingCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_UpdateReceivingCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTCAudio_UpdateSending)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTCAudio_UpdateSending)); - EOS_RTCAudio_UpdateSending = (EOS_RTCAudio_UpdateSendingCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_UpdateSendingCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTC_AddNotifyDisconnected)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTC_AddNotifyDisconnected)); - EOS_RTC_AddNotifyDisconnected = (EOS_RTC_AddNotifyDisconnectedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_AddNotifyDisconnectedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTC_AddNotifyParticipantStatusChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTC_AddNotifyParticipantStatusChanged)); - EOS_RTC_AddNotifyParticipantStatusChanged = (EOS_RTC_AddNotifyParticipantStatusChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_AddNotifyParticipantStatusChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTC_BlockParticipant)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTC_BlockParticipant)); - EOS_RTC_BlockParticipant = (EOS_RTC_BlockParticipantCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_BlockParticipantCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTC_GetAudioInterface)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTC_GetAudioInterface)); - EOS_RTC_GetAudioInterface = (EOS_RTC_GetAudioInterfaceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_GetAudioInterfaceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTC_JoinRoom)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTC_JoinRoom)); - EOS_RTC_JoinRoom = (EOS_RTC_JoinRoomCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_JoinRoomCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTC_LeaveRoom)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTC_LeaveRoom)); - EOS_RTC_LeaveRoom = (EOS_RTC_LeaveRoomCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_LeaveRoomCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTC_RemoveNotifyDisconnected)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTC_RemoveNotifyDisconnected)); - EOS_RTC_RemoveNotifyDisconnected = (EOS_RTC_RemoveNotifyDisconnectedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_RemoveNotifyDisconnectedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_RTC_RemoveNotifyParticipantStatusChanged)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_RTC_RemoveNotifyParticipantStatusChanged)); - EOS_RTC_RemoveNotifyParticipantStatusChanged = (EOS_RTC_RemoveNotifyParticipantStatusChangedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_RemoveNotifyParticipantStatusChangedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Reports_SendPlayerBehaviorReport)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Reports_SendPlayerBehaviorReport)); - EOS_Reports_SendPlayerBehaviorReport = (EOS_Reports_SendPlayerBehaviorReportCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Reports_SendPlayerBehaviorReportCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sanctions_CopyPlayerSanctionByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sanctions_CopyPlayerSanctionByIndex)); - EOS_Sanctions_CopyPlayerSanctionByIndex = (EOS_Sanctions_CopyPlayerSanctionByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sanctions_CopyPlayerSanctionByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sanctions_GetPlayerSanctionCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sanctions_GetPlayerSanctionCount)); - EOS_Sanctions_GetPlayerSanctionCount = (EOS_Sanctions_GetPlayerSanctionCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sanctions_GetPlayerSanctionCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sanctions_PlayerSanction_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sanctions_PlayerSanction_Release)); - EOS_Sanctions_PlayerSanction_Release = (EOS_Sanctions_PlayerSanction_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sanctions_PlayerSanction_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sanctions_QueryActivePlayerSanctions)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sanctions_QueryActivePlayerSanctions)); - EOS_Sanctions_QueryActivePlayerSanctions = (EOS_Sanctions_QueryActivePlayerSanctionsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sanctions_QueryActivePlayerSanctionsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionDetails_Attribute_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionDetails_Attribute_Release)); - EOS_SessionDetails_Attribute_Release = (EOS_SessionDetails_Attribute_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_Attribute_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionDetails_CopyInfo)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionDetails_CopyInfo)); - EOS_SessionDetails_CopyInfo = (EOS_SessionDetails_CopyInfoCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_CopyInfoCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionDetails_CopySessionAttributeByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionDetails_CopySessionAttributeByIndex)); - EOS_SessionDetails_CopySessionAttributeByIndex = (EOS_SessionDetails_CopySessionAttributeByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_CopySessionAttributeByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionDetails_CopySessionAttributeByKey)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionDetails_CopySessionAttributeByKey)); - EOS_SessionDetails_CopySessionAttributeByKey = (EOS_SessionDetails_CopySessionAttributeByKeyCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_CopySessionAttributeByKeyCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionDetails_GetSessionAttributeCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionDetails_GetSessionAttributeCount)); - EOS_SessionDetails_GetSessionAttributeCount = (EOS_SessionDetails_GetSessionAttributeCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_GetSessionAttributeCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionDetails_Info_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionDetails_Info_Release)); - EOS_SessionDetails_Info_Release = (EOS_SessionDetails_Info_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_Info_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionDetails_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionDetails_Release)); - EOS_SessionDetails_Release = (EOS_SessionDetails_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionModification_AddAttribute)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionModification_AddAttribute)); - EOS_SessionModification_AddAttribute = (EOS_SessionModification_AddAttributeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_AddAttributeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionModification_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionModification_Release)); - EOS_SessionModification_Release = (EOS_SessionModification_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionModification_RemoveAttribute)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionModification_RemoveAttribute)); - EOS_SessionModification_RemoveAttribute = (EOS_SessionModification_RemoveAttributeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_RemoveAttributeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionModification_SetBucketId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionModification_SetBucketId)); - EOS_SessionModification_SetBucketId = (EOS_SessionModification_SetBucketIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_SetBucketIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionModification_SetHostAddress)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionModification_SetHostAddress)); - EOS_SessionModification_SetHostAddress = (EOS_SessionModification_SetHostAddressCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_SetHostAddressCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionModification_SetInvitesAllowed)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionModification_SetInvitesAllowed)); - EOS_SessionModification_SetInvitesAllowed = (EOS_SessionModification_SetInvitesAllowedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_SetInvitesAllowedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionModification_SetJoinInProgressAllowed)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionModification_SetJoinInProgressAllowed)); - EOS_SessionModification_SetJoinInProgressAllowed = (EOS_SessionModification_SetJoinInProgressAllowedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_SetJoinInProgressAllowedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionModification_SetMaxPlayers)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionModification_SetMaxPlayers)); - EOS_SessionModification_SetMaxPlayers = (EOS_SessionModification_SetMaxPlayersCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_SetMaxPlayersCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionModification_SetPermissionLevel)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionModification_SetPermissionLevel)); - EOS_SessionModification_SetPermissionLevel = (EOS_SessionModification_SetPermissionLevelCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_SetPermissionLevelCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionSearch_CopySearchResultByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionSearch_CopySearchResultByIndex)); - EOS_SessionSearch_CopySearchResultByIndex = (EOS_SessionSearch_CopySearchResultByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_CopySearchResultByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionSearch_Find)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionSearch_Find)); - EOS_SessionSearch_Find = (EOS_SessionSearch_FindCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_FindCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionSearch_GetSearchResultCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionSearch_GetSearchResultCount)); - EOS_SessionSearch_GetSearchResultCount = (EOS_SessionSearch_GetSearchResultCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_GetSearchResultCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionSearch_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionSearch_Release)); - EOS_SessionSearch_Release = (EOS_SessionSearch_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionSearch_RemoveParameter)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionSearch_RemoveParameter)); - EOS_SessionSearch_RemoveParameter = (EOS_SessionSearch_RemoveParameterCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_RemoveParameterCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionSearch_SetMaxResults)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionSearch_SetMaxResults)); - EOS_SessionSearch_SetMaxResults = (EOS_SessionSearch_SetMaxResultsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_SetMaxResultsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionSearch_SetParameter)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionSearch_SetParameter)); - EOS_SessionSearch_SetParameter = (EOS_SessionSearch_SetParameterCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_SetParameterCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionSearch_SetSessionId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionSearch_SetSessionId)); - EOS_SessionSearch_SetSessionId = (EOS_SessionSearch_SetSessionIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_SetSessionIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_SessionSearch_SetTargetUserId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_SessionSearch_SetTargetUserId)); - EOS_SessionSearch_SetTargetUserId = (EOS_SessionSearch_SetTargetUserIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_SetTargetUserIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_AddNotifyJoinSessionAccepted)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_AddNotifyJoinSessionAccepted)); - EOS_Sessions_AddNotifyJoinSessionAccepted = (EOS_Sessions_AddNotifyJoinSessionAcceptedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_AddNotifyJoinSessionAcceptedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_AddNotifySessionInviteAccepted)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_AddNotifySessionInviteAccepted)); - EOS_Sessions_AddNotifySessionInviteAccepted = (EOS_Sessions_AddNotifySessionInviteAcceptedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_AddNotifySessionInviteAcceptedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_AddNotifySessionInviteReceived)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_AddNotifySessionInviteReceived)); - EOS_Sessions_AddNotifySessionInviteReceived = (EOS_Sessions_AddNotifySessionInviteReceivedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_AddNotifySessionInviteReceivedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_CopyActiveSessionHandle)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_CopyActiveSessionHandle)); - EOS_Sessions_CopyActiveSessionHandle = (EOS_Sessions_CopyActiveSessionHandleCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_CopyActiveSessionHandleCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_CopySessionHandleByInviteId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_CopySessionHandleByInviteId)); - EOS_Sessions_CopySessionHandleByInviteId = (EOS_Sessions_CopySessionHandleByInviteIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_CopySessionHandleByInviteIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_CopySessionHandleByUiEventId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_CopySessionHandleByUiEventId)); - EOS_Sessions_CopySessionHandleByUiEventId = (EOS_Sessions_CopySessionHandleByUiEventIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_CopySessionHandleByUiEventIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_CopySessionHandleForPresence)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_CopySessionHandleForPresence)); - EOS_Sessions_CopySessionHandleForPresence = (EOS_Sessions_CopySessionHandleForPresenceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_CopySessionHandleForPresenceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_CreateSessionModification)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_CreateSessionModification)); - EOS_Sessions_CreateSessionModification = (EOS_Sessions_CreateSessionModificationCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_CreateSessionModificationCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_CreateSessionSearch)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_CreateSessionSearch)); - EOS_Sessions_CreateSessionSearch = (EOS_Sessions_CreateSessionSearchCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_CreateSessionSearchCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_DestroySession)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_DestroySession)); - EOS_Sessions_DestroySession = (EOS_Sessions_DestroySessionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_DestroySessionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_DumpSessionState)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_DumpSessionState)); - EOS_Sessions_DumpSessionState = (EOS_Sessions_DumpSessionStateCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_DumpSessionStateCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_EndSession)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_EndSession)); - EOS_Sessions_EndSession = (EOS_Sessions_EndSessionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_EndSessionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_GetInviteCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_GetInviteCount)); - EOS_Sessions_GetInviteCount = (EOS_Sessions_GetInviteCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_GetInviteCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_GetInviteIdByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_GetInviteIdByIndex)); - EOS_Sessions_GetInviteIdByIndex = (EOS_Sessions_GetInviteIdByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_GetInviteIdByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_IsUserInSession)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_IsUserInSession)); - EOS_Sessions_IsUserInSession = (EOS_Sessions_IsUserInSessionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_IsUserInSessionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_JoinSession)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_JoinSession)); - EOS_Sessions_JoinSession = (EOS_Sessions_JoinSessionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_JoinSessionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_QueryInvites)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_QueryInvites)); - EOS_Sessions_QueryInvites = (EOS_Sessions_QueryInvitesCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_QueryInvitesCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_RegisterPlayers)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_RegisterPlayers)); - EOS_Sessions_RegisterPlayers = (EOS_Sessions_RegisterPlayersCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_RegisterPlayersCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_RejectInvite)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_RejectInvite)); - EOS_Sessions_RejectInvite = (EOS_Sessions_RejectInviteCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_RejectInviteCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_RemoveNotifyJoinSessionAccepted)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_RemoveNotifyJoinSessionAccepted)); - EOS_Sessions_RemoveNotifyJoinSessionAccepted = (EOS_Sessions_RemoveNotifyJoinSessionAcceptedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_RemoveNotifyJoinSessionAcceptedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_RemoveNotifySessionInviteAccepted)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_RemoveNotifySessionInviteAccepted)); - EOS_Sessions_RemoveNotifySessionInviteAccepted = (EOS_Sessions_RemoveNotifySessionInviteAcceptedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_RemoveNotifySessionInviteAcceptedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_RemoveNotifySessionInviteReceived)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_RemoveNotifySessionInviteReceived)); - EOS_Sessions_RemoveNotifySessionInviteReceived = (EOS_Sessions_RemoveNotifySessionInviteReceivedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_RemoveNotifySessionInviteReceivedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_SendInvite)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_SendInvite)); - EOS_Sessions_SendInvite = (EOS_Sessions_SendInviteCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_SendInviteCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_StartSession)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_StartSession)); - EOS_Sessions_StartSession = (EOS_Sessions_StartSessionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_StartSessionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_UnregisterPlayers)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_UnregisterPlayers)); - EOS_Sessions_UnregisterPlayers = (EOS_Sessions_UnregisterPlayersCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_UnregisterPlayersCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_UpdateSession)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_UpdateSession)); - EOS_Sessions_UpdateSession = (EOS_Sessions_UpdateSessionCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_UpdateSessionCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Sessions_UpdateSessionModification)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Sessions_UpdateSessionModification)); - EOS_Sessions_UpdateSessionModification = (EOS_Sessions_UpdateSessionModificationCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_UpdateSessionModificationCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Shutdown)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Shutdown)); - EOS_Shutdown = (EOS_ShutdownCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ShutdownCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Stats_CopyStatByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Stats_CopyStatByIndex)); - EOS_Stats_CopyStatByIndex = (EOS_Stats_CopyStatByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Stats_CopyStatByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Stats_CopyStatByName)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Stats_CopyStatByName)); - EOS_Stats_CopyStatByName = (EOS_Stats_CopyStatByNameCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Stats_CopyStatByNameCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Stats_GetStatsCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Stats_GetStatsCount)); - EOS_Stats_GetStatsCount = (EOS_Stats_GetStatsCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Stats_GetStatsCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Stats_IngestStat)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Stats_IngestStat)); - EOS_Stats_IngestStat = (EOS_Stats_IngestStatCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Stats_IngestStatCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Stats_QueryStats)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Stats_QueryStats)); - EOS_Stats_QueryStats = (EOS_Stats_QueryStatsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Stats_QueryStatsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_Stats_Stat_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_Stats_Stat_Release)); - EOS_Stats_Stat_Release = (EOS_Stats_Stat_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Stats_Stat_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_TitleStorageFileTransferRequest_CancelRequest)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_TitleStorageFileTransferRequest_CancelRequest)); - EOS_TitleStorageFileTransferRequest_CancelRequest = (EOS_TitleStorageFileTransferRequest_CancelRequestCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorageFileTransferRequest_CancelRequestCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_TitleStorageFileTransferRequest_GetFileRequestState)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_TitleStorageFileTransferRequest_GetFileRequestState)); - EOS_TitleStorageFileTransferRequest_GetFileRequestState = (EOS_TitleStorageFileTransferRequest_GetFileRequestStateCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorageFileTransferRequest_GetFileRequestStateCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_TitleStorageFileTransferRequest_GetFilename)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_TitleStorageFileTransferRequest_GetFilename)); - EOS_TitleStorageFileTransferRequest_GetFilename = (EOS_TitleStorageFileTransferRequest_GetFilenameCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorageFileTransferRequest_GetFilenameCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_TitleStorageFileTransferRequest_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_TitleStorageFileTransferRequest_Release)); - EOS_TitleStorageFileTransferRequest_Release = (EOS_TitleStorageFileTransferRequest_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorageFileTransferRequest_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_TitleStorage_CopyFileMetadataAtIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_TitleStorage_CopyFileMetadataAtIndex)); - EOS_TitleStorage_CopyFileMetadataAtIndex = (EOS_TitleStorage_CopyFileMetadataAtIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_CopyFileMetadataAtIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_TitleStorage_CopyFileMetadataByFilename)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_TitleStorage_CopyFileMetadataByFilename)); - EOS_TitleStorage_CopyFileMetadataByFilename = (EOS_TitleStorage_CopyFileMetadataByFilenameCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_CopyFileMetadataByFilenameCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_TitleStorage_DeleteCache)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_TitleStorage_DeleteCache)); - EOS_TitleStorage_DeleteCache = (EOS_TitleStorage_DeleteCacheCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_DeleteCacheCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_TitleStorage_FileMetadata_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_TitleStorage_FileMetadata_Release)); - EOS_TitleStorage_FileMetadata_Release = (EOS_TitleStorage_FileMetadata_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_FileMetadata_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_TitleStorage_GetFileMetadataCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_TitleStorage_GetFileMetadataCount)); - EOS_TitleStorage_GetFileMetadataCount = (EOS_TitleStorage_GetFileMetadataCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_GetFileMetadataCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_TitleStorage_QueryFile)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_TitleStorage_QueryFile)); - EOS_TitleStorage_QueryFile = (EOS_TitleStorage_QueryFileCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_QueryFileCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_TitleStorage_QueryFileList)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_TitleStorage_QueryFileList)); - EOS_TitleStorage_QueryFileList = (EOS_TitleStorage_QueryFileListCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_QueryFileListCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_TitleStorage_ReadFile)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_TitleStorage_ReadFile)); - EOS_TitleStorage_ReadFile = (EOS_TitleStorage_ReadFileCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_ReadFileCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UI_AcknowledgeEventId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UI_AcknowledgeEventId)); - EOS_UI_AcknowledgeEventId = (EOS_UI_AcknowledgeEventIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_AcknowledgeEventIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UI_AddNotifyDisplaySettingsUpdated)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UI_AddNotifyDisplaySettingsUpdated)); - EOS_UI_AddNotifyDisplaySettingsUpdated = (EOS_UI_AddNotifyDisplaySettingsUpdatedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_AddNotifyDisplaySettingsUpdatedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UI_GetFriendsVisible)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UI_GetFriendsVisible)); - EOS_UI_GetFriendsVisible = (EOS_UI_GetFriendsVisibleCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_GetFriendsVisibleCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UI_GetNotificationLocationPreference)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UI_GetNotificationLocationPreference)); - EOS_UI_GetNotificationLocationPreference = (EOS_UI_GetNotificationLocationPreferenceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_GetNotificationLocationPreferenceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UI_GetToggleFriendsKey)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UI_GetToggleFriendsKey)); - EOS_UI_GetToggleFriendsKey = (EOS_UI_GetToggleFriendsKeyCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_GetToggleFriendsKeyCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UI_HideFriends)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UI_HideFriends)); - EOS_UI_HideFriends = (EOS_UI_HideFriendsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_HideFriendsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UI_IsValidKeyCombination)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UI_IsValidKeyCombination)); - EOS_UI_IsValidKeyCombination = (EOS_UI_IsValidKeyCombinationCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_IsValidKeyCombinationCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UI_RemoveNotifyDisplaySettingsUpdated)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UI_RemoveNotifyDisplaySettingsUpdated)); - EOS_UI_RemoveNotifyDisplaySettingsUpdated = (EOS_UI_RemoveNotifyDisplaySettingsUpdatedCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_RemoveNotifyDisplaySettingsUpdatedCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UI_SetDisplayPreference)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UI_SetDisplayPreference)); - EOS_UI_SetDisplayPreference = (EOS_UI_SetDisplayPreferenceCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_SetDisplayPreferenceCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UI_SetToggleFriendsKey)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UI_SetToggleFriendsKey)); - EOS_UI_SetToggleFriendsKey = (EOS_UI_SetToggleFriendsKeyCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_SetToggleFriendsKeyCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UI_ShowFriends)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UI_ShowFriends)); - EOS_UI_ShowFriends = (EOS_UI_ShowFriendsCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_ShowFriendsCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UserInfo_CopyExternalUserInfoByAccountId)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UserInfo_CopyExternalUserInfoByAccountId)); - EOS_UserInfo_CopyExternalUserInfoByAccountId = (EOS_UserInfo_CopyExternalUserInfoByAccountIdCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_CopyExternalUserInfoByAccountIdCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UserInfo_CopyExternalUserInfoByAccountType)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UserInfo_CopyExternalUserInfoByAccountType)); - EOS_UserInfo_CopyExternalUserInfoByAccountType = (EOS_UserInfo_CopyExternalUserInfoByAccountTypeCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_CopyExternalUserInfoByAccountTypeCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UserInfo_CopyExternalUserInfoByIndex)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UserInfo_CopyExternalUserInfoByIndex)); - EOS_UserInfo_CopyExternalUserInfoByIndex = (EOS_UserInfo_CopyExternalUserInfoByIndexCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_CopyExternalUserInfoByIndexCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UserInfo_CopyUserInfo)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UserInfo_CopyUserInfo)); - EOS_UserInfo_CopyUserInfo = (EOS_UserInfo_CopyUserInfoCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_CopyUserInfoCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UserInfo_ExternalUserInfo_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UserInfo_ExternalUserInfo_Release)); - EOS_UserInfo_ExternalUserInfo_Release = (EOS_UserInfo_ExternalUserInfo_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_ExternalUserInfo_ReleaseCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UserInfo_GetExternalUserInfoCount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UserInfo_GetExternalUserInfoCount)); - EOS_UserInfo_GetExternalUserInfoCount = (EOS_UserInfo_GetExternalUserInfoCountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_GetExternalUserInfoCountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UserInfo_QueryUserInfo)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UserInfo_QueryUserInfo)); - EOS_UserInfo_QueryUserInfo = (EOS_UserInfo_QueryUserInfoCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_QueryUserInfoCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UserInfo_QueryUserInfoByDisplayName)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UserInfo_QueryUserInfoByDisplayName)); - EOS_UserInfo_QueryUserInfoByDisplayName = (EOS_UserInfo_QueryUserInfoByDisplayNameCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_QueryUserInfoByDisplayNameCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UserInfo_QueryUserInfoByExternalAccount)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UserInfo_QueryUserInfoByExternalAccount)); - EOS_UserInfo_QueryUserInfoByExternalAccount = (EOS_UserInfo_QueryUserInfoByExternalAccountCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_QueryUserInfoByExternalAccountCallback)); - - functionPointer = getFunctionPointer(libraryHandle, nameof(EOS_UserInfo_Release)); - if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(nameof(EOS_UserInfo_Release)); - EOS_UserInfo_Release = (EOS_UserInfo_ReleaseCallback)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_ReleaseCallback)); - } -#endif - -#if EOS_DYNAMIC_BINDINGS - /// - /// Unhooks the dynamic SDK API bindings. EOS_DYNAMIC_BINDINGS or EOS_EDITOR must be set. - /// - public static void Unhook() - { - EOS_Achievements_AddNotifyAchievementsUnlocked = null; - EOS_Achievements_AddNotifyAchievementsUnlockedV2 = null; - EOS_Achievements_CopyAchievementDefinitionByAchievementId = null; - EOS_Achievements_CopyAchievementDefinitionByIndex = null; - EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId = null; - EOS_Achievements_CopyAchievementDefinitionV2ByIndex = null; - EOS_Achievements_CopyPlayerAchievementByAchievementId = null; - EOS_Achievements_CopyPlayerAchievementByIndex = null; - EOS_Achievements_CopyUnlockedAchievementByAchievementId = null; - EOS_Achievements_CopyUnlockedAchievementByIndex = null; - EOS_Achievements_DefinitionV2_Release = null; - EOS_Achievements_Definition_Release = null; - EOS_Achievements_GetAchievementDefinitionCount = null; - EOS_Achievements_GetPlayerAchievementCount = null; - EOS_Achievements_GetUnlockedAchievementCount = null; - EOS_Achievements_PlayerAchievement_Release = null; - EOS_Achievements_QueryDefinitions = null; - EOS_Achievements_QueryPlayerAchievements = null; - EOS_Achievements_RemoveNotifyAchievementsUnlocked = null; - EOS_Achievements_UnlockAchievements = null; - EOS_Achievements_UnlockedAchievement_Release = null; - EOS_ActiveSession_CopyInfo = null; - EOS_ActiveSession_GetRegisteredPlayerByIndex = null; - EOS_ActiveSession_GetRegisteredPlayerCount = null; - EOS_ActiveSession_Info_Release = null; - EOS_ActiveSession_Release = null; - EOS_AntiCheatClient_AddExternalIntegrityCatalog = null; - EOS_AntiCheatClient_AddNotifyMessageToPeer = null; - EOS_AntiCheatClient_AddNotifyMessageToServer = null; - EOS_AntiCheatClient_AddNotifyPeerActionRequired = null; - EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged = null; - EOS_AntiCheatClient_BeginSession = null; - EOS_AntiCheatClient_EndSession = null; - EOS_AntiCheatClient_GetProtectMessageOutputLength = null; - EOS_AntiCheatClient_PollStatus = null; - EOS_AntiCheatClient_ProtectMessage = null; - EOS_AntiCheatClient_ReceiveMessageFromPeer = null; - EOS_AntiCheatClient_ReceiveMessageFromServer = null; - EOS_AntiCheatClient_RegisterPeer = null; - EOS_AntiCheatClient_RemoveNotifyMessageToPeer = null; - EOS_AntiCheatClient_RemoveNotifyMessageToServer = null; - EOS_AntiCheatClient_RemoveNotifyPeerActionRequired = null; - EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged = null; - EOS_AntiCheatClient_UnprotectMessage = null; - EOS_AntiCheatClient_UnregisterPeer = null; - EOS_AntiCheatServer_AddNotifyClientActionRequired = null; - EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged = null; - EOS_AntiCheatServer_AddNotifyMessageToClient = null; - EOS_AntiCheatServer_BeginSession = null; - EOS_AntiCheatServer_EndSession = null; - EOS_AntiCheatServer_GetProtectMessageOutputLength = null; - EOS_AntiCheatServer_LogEvent = null; - EOS_AntiCheatServer_LogGameRoundEnd = null; - EOS_AntiCheatServer_LogGameRoundStart = null; - EOS_AntiCheatServer_LogPlayerDespawn = null; - EOS_AntiCheatServer_LogPlayerRevive = null; - EOS_AntiCheatServer_LogPlayerSpawn = null; - EOS_AntiCheatServer_LogPlayerTakeDamage = null; - EOS_AntiCheatServer_LogPlayerTick = null; - EOS_AntiCheatServer_LogPlayerUseAbility = null; - EOS_AntiCheatServer_LogPlayerUseWeapon = null; - EOS_AntiCheatServer_ProtectMessage = null; - EOS_AntiCheatServer_ReceiveMessageFromClient = null; - EOS_AntiCheatServer_RegisterClient = null; - EOS_AntiCheatServer_RegisterEvent = null; - EOS_AntiCheatServer_RemoveNotifyClientActionRequired = null; - EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged = null; - EOS_AntiCheatServer_RemoveNotifyMessageToClient = null; - EOS_AntiCheatServer_SetClientDetails = null; - EOS_AntiCheatServer_SetClientNetworkState = null; - EOS_AntiCheatServer_SetGameSessionId = null; - EOS_AntiCheatServer_UnprotectMessage = null; - EOS_AntiCheatServer_UnregisterClient = null; - EOS_Auth_AddNotifyLoginStatusChanged = null; - EOS_Auth_CopyUserAuthToken = null; - EOS_Auth_DeletePersistentAuth = null; - EOS_Auth_GetLoggedInAccountByIndex = null; - EOS_Auth_GetLoggedInAccountsCount = null; - EOS_Auth_GetLoginStatus = null; - EOS_Auth_LinkAccount = null; - EOS_Auth_Login = null; - EOS_Auth_Logout = null; - EOS_Auth_RemoveNotifyLoginStatusChanged = null; - EOS_Auth_Token_Release = null; - EOS_Auth_VerifyUserAuth = null; - EOS_ByteArray_ToString = null; - EOS_Connect_AddNotifyAuthExpiration = null; - EOS_Connect_AddNotifyLoginStatusChanged = null; - EOS_Connect_CopyProductUserExternalAccountByAccountId = null; - EOS_Connect_CopyProductUserExternalAccountByAccountType = null; - EOS_Connect_CopyProductUserExternalAccountByIndex = null; - EOS_Connect_CopyProductUserInfo = null; - EOS_Connect_CreateDeviceId = null; - EOS_Connect_CreateUser = null; - EOS_Connect_DeleteDeviceId = null; - EOS_Connect_ExternalAccountInfo_Release = null; - EOS_Connect_GetExternalAccountMapping = null; - EOS_Connect_GetLoggedInUserByIndex = null; - EOS_Connect_GetLoggedInUsersCount = null; - EOS_Connect_GetLoginStatus = null; - EOS_Connect_GetProductUserExternalAccountCount = null; - EOS_Connect_GetProductUserIdMapping = null; - EOS_Connect_LinkAccount = null; - EOS_Connect_Login = null; - EOS_Connect_QueryExternalAccountMappings = null; - EOS_Connect_QueryProductUserIdMappings = null; - EOS_Connect_RemoveNotifyAuthExpiration = null; - EOS_Connect_RemoveNotifyLoginStatusChanged = null; - EOS_Connect_TransferDeviceIdAccount = null; - EOS_Connect_UnlinkAccount = null; - EOS_ContinuanceToken_ToString = null; - EOS_EResult_IsOperationComplete = null; - EOS_EResult_ToString = null; - EOS_Ecom_CatalogItem_Release = null; - EOS_Ecom_CatalogOffer_Release = null; - EOS_Ecom_CatalogRelease_Release = null; - EOS_Ecom_Checkout = null; - EOS_Ecom_CopyEntitlementById = null; - EOS_Ecom_CopyEntitlementByIndex = null; - EOS_Ecom_CopyEntitlementByNameAndIndex = null; - EOS_Ecom_CopyItemById = null; - EOS_Ecom_CopyItemImageInfoByIndex = null; - EOS_Ecom_CopyItemReleaseByIndex = null; - EOS_Ecom_CopyOfferById = null; - EOS_Ecom_CopyOfferByIndex = null; - EOS_Ecom_CopyOfferImageInfoByIndex = null; - EOS_Ecom_CopyOfferItemByIndex = null; - EOS_Ecom_CopyTransactionById = null; - EOS_Ecom_CopyTransactionByIndex = null; - EOS_Ecom_Entitlement_Release = null; - EOS_Ecom_GetEntitlementsByNameCount = null; - EOS_Ecom_GetEntitlementsCount = null; - EOS_Ecom_GetItemImageInfoCount = null; - EOS_Ecom_GetItemReleaseCount = null; - EOS_Ecom_GetOfferCount = null; - EOS_Ecom_GetOfferImageInfoCount = null; - EOS_Ecom_GetOfferItemCount = null; - EOS_Ecom_GetTransactionCount = null; - EOS_Ecom_KeyImageInfo_Release = null; - EOS_Ecom_QueryEntitlements = null; - EOS_Ecom_QueryOffers = null; - EOS_Ecom_QueryOwnership = null; - EOS_Ecom_QueryOwnershipToken = null; - EOS_Ecom_RedeemEntitlements = null; - EOS_Ecom_Transaction_CopyEntitlementByIndex = null; - EOS_Ecom_Transaction_GetEntitlementsCount = null; - EOS_Ecom_Transaction_GetTransactionId = null; - EOS_Ecom_Transaction_Release = null; - EOS_EpicAccountId_FromString = null; - EOS_EpicAccountId_IsValid = null; - EOS_EpicAccountId_ToString = null; - EOS_Friends_AcceptInvite = null; - EOS_Friends_AddNotifyFriendsUpdate = null; - EOS_Friends_GetFriendAtIndex = null; - EOS_Friends_GetFriendsCount = null; - EOS_Friends_GetStatus = null; - EOS_Friends_QueryFriends = null; - EOS_Friends_RejectInvite = null; - EOS_Friends_RemoveNotifyFriendsUpdate = null; - EOS_Friends_SendInvite = null; - EOS_Initialize = null; - EOS_KWS_AddNotifyPermissionsUpdateReceived = null; - EOS_KWS_CopyPermissionByIndex = null; - EOS_KWS_CreateUser = null; - EOS_KWS_GetPermissionByKey = null; - EOS_KWS_GetPermissionsCount = null; - EOS_KWS_PermissionStatus_Release = null; - EOS_KWS_QueryAgeGate = null; - EOS_KWS_QueryPermissions = null; - EOS_KWS_RemoveNotifyPermissionsUpdateReceived = null; - EOS_KWS_RequestPermissions = null; - EOS_KWS_UpdateParentEmail = null; - EOS_Leaderboards_CopyLeaderboardDefinitionByIndex = null; - EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId = null; - EOS_Leaderboards_CopyLeaderboardRecordByIndex = null; - EOS_Leaderboards_CopyLeaderboardRecordByUserId = null; - EOS_Leaderboards_CopyLeaderboardUserScoreByIndex = null; - EOS_Leaderboards_CopyLeaderboardUserScoreByUserId = null; - EOS_Leaderboards_Definition_Release = null; - EOS_Leaderboards_GetLeaderboardDefinitionCount = null; - EOS_Leaderboards_GetLeaderboardRecordCount = null; - EOS_Leaderboards_GetLeaderboardUserScoreCount = null; - EOS_Leaderboards_LeaderboardDefinition_Release = null; - EOS_Leaderboards_LeaderboardRecord_Release = null; - EOS_Leaderboards_LeaderboardUserScore_Release = null; - EOS_Leaderboards_QueryLeaderboardDefinitions = null; - EOS_Leaderboards_QueryLeaderboardRanks = null; - EOS_Leaderboards_QueryLeaderboardUserScores = null; - EOS_LobbyDetails_CopyAttributeByIndex = null; - EOS_LobbyDetails_CopyAttributeByKey = null; - EOS_LobbyDetails_CopyInfo = null; - EOS_LobbyDetails_CopyMemberAttributeByIndex = null; - EOS_LobbyDetails_CopyMemberAttributeByKey = null; - EOS_LobbyDetails_GetAttributeCount = null; - EOS_LobbyDetails_GetLobbyOwner = null; - EOS_LobbyDetails_GetMemberAttributeCount = null; - EOS_LobbyDetails_GetMemberByIndex = null; - EOS_LobbyDetails_GetMemberCount = null; - EOS_LobbyDetails_Info_Release = null; - EOS_LobbyDetails_Release = null; - EOS_LobbyModification_AddAttribute = null; - EOS_LobbyModification_AddMemberAttribute = null; - EOS_LobbyModification_Release = null; - EOS_LobbyModification_RemoveAttribute = null; - EOS_LobbyModification_RemoveMemberAttribute = null; - EOS_LobbyModification_SetBucketId = null; - EOS_LobbyModification_SetInvitesAllowed = null; - EOS_LobbyModification_SetMaxMembers = null; - EOS_LobbyModification_SetPermissionLevel = null; - EOS_LobbySearch_CopySearchResultByIndex = null; - EOS_LobbySearch_Find = null; - EOS_LobbySearch_GetSearchResultCount = null; - EOS_LobbySearch_Release = null; - EOS_LobbySearch_RemoveParameter = null; - EOS_LobbySearch_SetLobbyId = null; - EOS_LobbySearch_SetMaxResults = null; - EOS_LobbySearch_SetParameter = null; - EOS_LobbySearch_SetTargetUserId = null; - EOS_Lobby_AddNotifyJoinLobbyAccepted = null; - EOS_Lobby_AddNotifyLobbyInviteAccepted = null; - EOS_Lobby_AddNotifyLobbyInviteReceived = null; - EOS_Lobby_AddNotifyLobbyMemberStatusReceived = null; - EOS_Lobby_AddNotifyLobbyMemberUpdateReceived = null; - EOS_Lobby_AddNotifyLobbyUpdateReceived = null; - EOS_Lobby_AddNotifyRTCRoomConnectionChanged = null; - EOS_Lobby_Attribute_Release = null; - EOS_Lobby_CopyLobbyDetailsHandle = null; - EOS_Lobby_CopyLobbyDetailsHandleByInviteId = null; - EOS_Lobby_CopyLobbyDetailsHandleByUiEventId = null; - EOS_Lobby_CreateLobby = null; - EOS_Lobby_CreateLobbySearch = null; - EOS_Lobby_DestroyLobby = null; - EOS_Lobby_GetInviteCount = null; - EOS_Lobby_GetInviteIdByIndex = null; - EOS_Lobby_GetRTCRoomName = null; - EOS_Lobby_IsRTCRoomConnected = null; - EOS_Lobby_JoinLobby = null; - EOS_Lobby_KickMember = null; - EOS_Lobby_LeaveLobby = null; - EOS_Lobby_PromoteMember = null; - EOS_Lobby_QueryInvites = null; - EOS_Lobby_RejectInvite = null; - EOS_Lobby_RemoveNotifyJoinLobbyAccepted = null; - EOS_Lobby_RemoveNotifyLobbyInviteAccepted = null; - EOS_Lobby_RemoveNotifyLobbyInviteReceived = null; - EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived = null; - EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived = null; - EOS_Lobby_RemoveNotifyLobbyUpdateReceived = null; - EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged = null; - EOS_Lobby_SendInvite = null; - EOS_Lobby_UpdateLobby = null; - EOS_Lobby_UpdateLobbyModification = null; - EOS_Logging_SetCallback = null; - EOS_Logging_SetLogLevel = null; - EOS_Metrics_BeginPlayerSession = null; - EOS_Metrics_EndPlayerSession = null; - EOS_Mods_CopyModInfo = null; - EOS_Mods_EnumerateMods = null; - EOS_Mods_InstallMod = null; - EOS_Mods_ModInfo_Release = null; - EOS_Mods_UninstallMod = null; - EOS_Mods_UpdateMod = null; - EOS_P2P_AcceptConnection = null; - EOS_P2P_AddNotifyIncomingPacketQueueFull = null; - EOS_P2P_AddNotifyPeerConnectionClosed = null; - EOS_P2P_AddNotifyPeerConnectionRequest = null; - EOS_P2P_CloseConnection = null; - EOS_P2P_CloseConnections = null; - EOS_P2P_GetNATType = null; - EOS_P2P_GetNextReceivedPacketSize = null; - EOS_P2P_GetPacketQueueInfo = null; - EOS_P2P_GetPortRange = null; - EOS_P2P_GetRelayControl = null; - EOS_P2P_QueryNATType = null; - EOS_P2P_ReceivePacket = null; - EOS_P2P_RemoveNotifyIncomingPacketQueueFull = null; - EOS_P2P_RemoveNotifyPeerConnectionClosed = null; - EOS_P2P_RemoveNotifyPeerConnectionRequest = null; - EOS_P2P_SendPacket = null; - EOS_P2P_SetPacketQueueSize = null; - EOS_P2P_SetPortRange = null; - EOS_P2P_SetRelayControl = null; - EOS_Platform_CheckForLauncherAndRestart = null; - EOS_Platform_Create = null; - EOS_Platform_GetAchievementsInterface = null; - EOS_Platform_GetActiveCountryCode = null; - EOS_Platform_GetActiveLocaleCode = null; - EOS_Platform_GetAntiCheatClientInterface = null; - EOS_Platform_GetAntiCheatServerInterface = null; - EOS_Platform_GetAuthInterface = null; - EOS_Platform_GetConnectInterface = null; - EOS_Platform_GetEcomInterface = null; - EOS_Platform_GetFriendsInterface = null; - EOS_Platform_GetKWSInterface = null; - EOS_Platform_GetLeaderboardsInterface = null; - EOS_Platform_GetLobbyInterface = null; - EOS_Platform_GetMetricsInterface = null; - EOS_Platform_GetModsInterface = null; - EOS_Platform_GetOverrideCountryCode = null; - EOS_Platform_GetOverrideLocaleCode = null; - EOS_Platform_GetP2PInterface = null; - EOS_Platform_GetPlayerDataStorageInterface = null; - EOS_Platform_GetPresenceInterface = null; - EOS_Platform_GetRTCAdminInterface = null; - EOS_Platform_GetRTCInterface = null; - EOS_Platform_GetReportsInterface = null; - EOS_Platform_GetSanctionsInterface = null; - EOS_Platform_GetSessionsInterface = null; - EOS_Platform_GetStatsInterface = null; - EOS_Platform_GetTitleStorageInterface = null; - EOS_Platform_GetUIInterface = null; - EOS_Platform_GetUserInfoInterface = null; - EOS_Platform_Release = null; - EOS_Platform_SetOverrideCountryCode = null; - EOS_Platform_SetOverrideLocaleCode = null; - EOS_Platform_Tick = null; - EOS_PlayerDataStorageFileTransferRequest_CancelRequest = null; - EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState = null; - EOS_PlayerDataStorageFileTransferRequest_GetFilename = null; - EOS_PlayerDataStorageFileTransferRequest_Release = null; - EOS_PlayerDataStorage_CopyFileMetadataAtIndex = null; - EOS_PlayerDataStorage_CopyFileMetadataByFilename = null; - EOS_PlayerDataStorage_DeleteCache = null; - EOS_PlayerDataStorage_DeleteFile = null; - EOS_PlayerDataStorage_DuplicateFile = null; - EOS_PlayerDataStorage_FileMetadata_Release = null; - EOS_PlayerDataStorage_GetFileMetadataCount = null; - EOS_PlayerDataStorage_QueryFile = null; - EOS_PlayerDataStorage_QueryFileList = null; - EOS_PlayerDataStorage_ReadFile = null; - EOS_PlayerDataStorage_WriteFile = null; - EOS_PresenceModification_DeleteData = null; - EOS_PresenceModification_Release = null; - EOS_PresenceModification_SetData = null; - EOS_PresenceModification_SetJoinInfo = null; - EOS_PresenceModification_SetRawRichText = null; - EOS_PresenceModification_SetStatus = null; - EOS_Presence_AddNotifyJoinGameAccepted = null; - EOS_Presence_AddNotifyOnPresenceChanged = null; - EOS_Presence_CopyPresence = null; - EOS_Presence_CreatePresenceModification = null; - EOS_Presence_GetJoinInfo = null; - EOS_Presence_HasPresence = null; - EOS_Presence_Info_Release = null; - EOS_Presence_QueryPresence = null; - EOS_Presence_RemoveNotifyJoinGameAccepted = null; - EOS_Presence_RemoveNotifyOnPresenceChanged = null; - EOS_Presence_SetPresence = null; - EOS_ProductUserId_FromString = null; - EOS_ProductUserId_IsValid = null; - EOS_ProductUserId_ToString = null; - EOS_RTCAdmin_CopyUserTokenByIndex = null; - EOS_RTCAdmin_CopyUserTokenByUserId = null; - EOS_RTCAdmin_Kick = null; - EOS_RTCAdmin_QueryJoinRoomToken = null; - EOS_RTCAdmin_SetParticipantHardMute = null; - EOS_RTCAdmin_UserToken_Release = null; - EOS_RTCAudio_AddNotifyAudioBeforeRender = null; - EOS_RTCAudio_AddNotifyAudioBeforeSend = null; - EOS_RTCAudio_AddNotifyAudioDevicesChanged = null; - EOS_RTCAudio_AddNotifyAudioInputState = null; - EOS_RTCAudio_AddNotifyAudioOutputState = null; - EOS_RTCAudio_AddNotifyParticipantUpdated = null; - EOS_RTCAudio_GetAudioInputDeviceByIndex = null; - EOS_RTCAudio_GetAudioInputDevicesCount = null; - EOS_RTCAudio_GetAudioOutputDeviceByIndex = null; - EOS_RTCAudio_GetAudioOutputDevicesCount = null; - EOS_RTCAudio_RegisterPlatformAudioUser = null; - EOS_RTCAudio_RemoveNotifyAudioBeforeRender = null; - EOS_RTCAudio_RemoveNotifyAudioBeforeSend = null; - EOS_RTCAudio_RemoveNotifyAudioDevicesChanged = null; - EOS_RTCAudio_RemoveNotifyAudioInputState = null; - EOS_RTCAudio_RemoveNotifyAudioOutputState = null; - EOS_RTCAudio_RemoveNotifyParticipantUpdated = null; - EOS_RTCAudio_SendAudio = null; - EOS_RTCAudio_SetAudioInputSettings = null; - EOS_RTCAudio_SetAudioOutputSettings = null; - EOS_RTCAudio_UnregisterPlatformAudioUser = null; - EOS_RTCAudio_UpdateReceiving = null; - EOS_RTCAudio_UpdateSending = null; - EOS_RTC_AddNotifyDisconnected = null; - EOS_RTC_AddNotifyParticipantStatusChanged = null; - EOS_RTC_BlockParticipant = null; - EOS_RTC_GetAudioInterface = null; - EOS_RTC_JoinRoom = null; - EOS_RTC_LeaveRoom = null; - EOS_RTC_RemoveNotifyDisconnected = null; - EOS_RTC_RemoveNotifyParticipantStatusChanged = null; - EOS_Reports_SendPlayerBehaviorReport = null; - EOS_Sanctions_CopyPlayerSanctionByIndex = null; - EOS_Sanctions_GetPlayerSanctionCount = null; - EOS_Sanctions_PlayerSanction_Release = null; - EOS_Sanctions_QueryActivePlayerSanctions = null; - EOS_SessionDetails_Attribute_Release = null; - EOS_SessionDetails_CopyInfo = null; - EOS_SessionDetails_CopySessionAttributeByIndex = null; - EOS_SessionDetails_CopySessionAttributeByKey = null; - EOS_SessionDetails_GetSessionAttributeCount = null; - EOS_SessionDetails_Info_Release = null; - EOS_SessionDetails_Release = null; - EOS_SessionModification_AddAttribute = null; - EOS_SessionModification_Release = null; - EOS_SessionModification_RemoveAttribute = null; - EOS_SessionModification_SetBucketId = null; - EOS_SessionModification_SetHostAddress = null; - EOS_SessionModification_SetInvitesAllowed = null; - EOS_SessionModification_SetJoinInProgressAllowed = null; - EOS_SessionModification_SetMaxPlayers = null; - EOS_SessionModification_SetPermissionLevel = null; - EOS_SessionSearch_CopySearchResultByIndex = null; - EOS_SessionSearch_Find = null; - EOS_SessionSearch_GetSearchResultCount = null; - EOS_SessionSearch_Release = null; - EOS_SessionSearch_RemoveParameter = null; - EOS_SessionSearch_SetMaxResults = null; - EOS_SessionSearch_SetParameter = null; - EOS_SessionSearch_SetSessionId = null; - EOS_SessionSearch_SetTargetUserId = null; - EOS_Sessions_AddNotifyJoinSessionAccepted = null; - EOS_Sessions_AddNotifySessionInviteAccepted = null; - EOS_Sessions_AddNotifySessionInviteReceived = null; - EOS_Sessions_CopyActiveSessionHandle = null; - EOS_Sessions_CopySessionHandleByInviteId = null; - EOS_Sessions_CopySessionHandleByUiEventId = null; - EOS_Sessions_CopySessionHandleForPresence = null; - EOS_Sessions_CreateSessionModification = null; - EOS_Sessions_CreateSessionSearch = null; - EOS_Sessions_DestroySession = null; - EOS_Sessions_DumpSessionState = null; - EOS_Sessions_EndSession = null; - EOS_Sessions_GetInviteCount = null; - EOS_Sessions_GetInviteIdByIndex = null; - EOS_Sessions_IsUserInSession = null; - EOS_Sessions_JoinSession = null; - EOS_Sessions_QueryInvites = null; - EOS_Sessions_RegisterPlayers = null; - EOS_Sessions_RejectInvite = null; - EOS_Sessions_RemoveNotifyJoinSessionAccepted = null; - EOS_Sessions_RemoveNotifySessionInviteAccepted = null; - EOS_Sessions_RemoveNotifySessionInviteReceived = null; - EOS_Sessions_SendInvite = null; - EOS_Sessions_StartSession = null; - EOS_Sessions_UnregisterPlayers = null; - EOS_Sessions_UpdateSession = null; - EOS_Sessions_UpdateSessionModification = null; - EOS_Shutdown = null; - EOS_Stats_CopyStatByIndex = null; - EOS_Stats_CopyStatByName = null; - EOS_Stats_GetStatsCount = null; - EOS_Stats_IngestStat = null; - EOS_Stats_QueryStats = null; - EOS_Stats_Stat_Release = null; - EOS_TitleStorageFileTransferRequest_CancelRequest = null; - EOS_TitleStorageFileTransferRequest_GetFileRequestState = null; - EOS_TitleStorageFileTransferRequest_GetFilename = null; - EOS_TitleStorageFileTransferRequest_Release = null; - EOS_TitleStorage_CopyFileMetadataAtIndex = null; - EOS_TitleStorage_CopyFileMetadataByFilename = null; - EOS_TitleStorage_DeleteCache = null; - EOS_TitleStorage_FileMetadata_Release = null; - EOS_TitleStorage_GetFileMetadataCount = null; - EOS_TitleStorage_QueryFile = null; - EOS_TitleStorage_QueryFileList = null; - EOS_TitleStorage_ReadFile = null; - EOS_UI_AcknowledgeEventId = null; - EOS_UI_AddNotifyDisplaySettingsUpdated = null; - EOS_UI_GetFriendsVisible = null; - EOS_UI_GetNotificationLocationPreference = null; - EOS_UI_GetToggleFriendsKey = null; - EOS_UI_HideFriends = null; - EOS_UI_IsValidKeyCombination = null; - EOS_UI_RemoveNotifyDisplaySettingsUpdated = null; - EOS_UI_SetDisplayPreference = null; - EOS_UI_SetToggleFriendsKey = null; - EOS_UI_ShowFriends = null; - EOS_UserInfo_CopyExternalUserInfoByAccountId = null; - EOS_UserInfo_CopyExternalUserInfoByAccountType = null; - EOS_UserInfo_CopyExternalUserInfoByIndex = null; - EOS_UserInfo_CopyUserInfo = null; - EOS_UserInfo_ExternalUserInfo_Release = null; - EOS_UserInfo_GetExternalUserInfoCount = null; - EOS_UserInfo_QueryUserInfo = null; - EOS_UserInfo_QueryUserInfoByDisplayName = null; - EOS_UserInfo_QueryUserInfoByExternalAccount = null; - EOS_UserInfo_Release = null; - } -#endif - -#if EOS_DYNAMIC_BINDINGS - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Achievements_AddNotifyAchievementsUnlockedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Achievements.OnAchievementsUnlockedCallbackInternal notificationFn); - internal static EOS_Achievements_AddNotifyAchievementsUnlockedCallback EOS_Achievements_AddNotifyAchievementsUnlocked; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Achievements_AddNotifyAchievementsUnlockedV2Callback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Achievements.OnAchievementsUnlockedCallbackV2Internal notificationFn); - internal static EOS_Achievements_AddNotifyAchievementsUnlockedV2Callback EOS_Achievements_AddNotifyAchievementsUnlockedV2; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Achievements_CopyAchievementDefinitionByAchievementIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outDefinition); - internal static EOS_Achievements_CopyAchievementDefinitionByAchievementIdCallback EOS_Achievements_CopyAchievementDefinitionByAchievementId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Achievements_CopyAchievementDefinitionByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outDefinition); - internal static EOS_Achievements_CopyAchievementDefinitionByIndexCallback EOS_Achievements_CopyAchievementDefinitionByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outDefinition); - internal static EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdCallback EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Achievements_CopyAchievementDefinitionV2ByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outDefinition); - internal static EOS_Achievements_CopyAchievementDefinitionV2ByIndexCallback EOS_Achievements_CopyAchievementDefinitionV2ByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Achievements_CopyPlayerAchievementByAchievementIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAchievement); - internal static EOS_Achievements_CopyPlayerAchievementByAchievementIdCallback EOS_Achievements_CopyPlayerAchievementByAchievementId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Achievements_CopyPlayerAchievementByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAchievement); - internal static EOS_Achievements_CopyPlayerAchievementByIndexCallback EOS_Achievements_CopyPlayerAchievementByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Achievements_CopyUnlockedAchievementByAchievementIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAchievement); - internal static EOS_Achievements_CopyUnlockedAchievementByAchievementIdCallback EOS_Achievements_CopyUnlockedAchievementByAchievementId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Achievements_CopyUnlockedAchievementByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAchievement); - internal static EOS_Achievements_CopyUnlockedAchievementByIndexCallback EOS_Achievements_CopyUnlockedAchievementByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Achievements_DefinitionV2_ReleaseCallback(System.IntPtr achievementDefinition); - internal static EOS_Achievements_DefinitionV2_ReleaseCallback EOS_Achievements_DefinitionV2_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Achievements_Definition_ReleaseCallback(System.IntPtr achievementDefinition); - internal static EOS_Achievements_Definition_ReleaseCallback EOS_Achievements_Definition_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Achievements_GetAchievementDefinitionCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Achievements_GetAchievementDefinitionCountCallback EOS_Achievements_GetAchievementDefinitionCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Achievements_GetPlayerAchievementCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Achievements_GetPlayerAchievementCountCallback EOS_Achievements_GetPlayerAchievementCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Achievements_GetUnlockedAchievementCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Achievements_GetUnlockedAchievementCountCallback EOS_Achievements_GetUnlockedAchievementCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Achievements_PlayerAchievement_ReleaseCallback(System.IntPtr achievement); - internal static EOS_Achievements_PlayerAchievement_ReleaseCallback EOS_Achievements_PlayerAchievement_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Achievements_QueryDefinitionsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Achievements.OnQueryDefinitionsCompleteCallbackInternal completionDelegate); - internal static EOS_Achievements_QueryDefinitionsCallback EOS_Achievements_QueryDefinitions; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Achievements_QueryPlayerAchievementsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Achievements.OnQueryPlayerAchievementsCompleteCallbackInternal completionDelegate); - internal static EOS_Achievements_QueryPlayerAchievementsCallback EOS_Achievements_QueryPlayerAchievements; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Achievements_RemoveNotifyAchievementsUnlockedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Achievements_RemoveNotifyAchievementsUnlockedCallback EOS_Achievements_RemoveNotifyAchievementsUnlocked; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Achievements_UnlockAchievementsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Achievements.OnUnlockAchievementsCompleteCallbackInternal completionDelegate); - internal static EOS_Achievements_UnlockAchievementsCallback EOS_Achievements_UnlockAchievements; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Achievements_UnlockedAchievement_ReleaseCallback(System.IntPtr achievement); - internal static EOS_Achievements_UnlockedAchievement_ReleaseCallback EOS_Achievements_UnlockedAchievement_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_ActiveSession_CopyInfoCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outActiveSessionInfo); - internal static EOS_ActiveSession_CopyInfoCallback EOS_ActiveSession_CopyInfo; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_ActiveSession_GetRegisteredPlayerByIndexCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_ActiveSession_GetRegisteredPlayerByIndexCallback EOS_ActiveSession_GetRegisteredPlayerByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_ActiveSession_GetRegisteredPlayerCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_ActiveSession_GetRegisteredPlayerCountCallback EOS_ActiveSession_GetRegisteredPlayerCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_ActiveSession_Info_ReleaseCallback(System.IntPtr activeSessionInfo); - internal static EOS_ActiveSession_Info_ReleaseCallback EOS_ActiveSession_Info_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_ActiveSession_ReleaseCallback(System.IntPtr activeSessionHandle); - internal static EOS_ActiveSession_ReleaseCallback EOS_ActiveSession_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatClient_AddExternalIntegrityCatalogCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatClient_AddExternalIntegrityCatalogCallback EOS_AntiCheatClient_AddExternalIntegrityCatalog; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_AntiCheatClient_AddNotifyMessageToPeerCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatClient.OnMessageToPeerCallbackInternal notificationFn); - internal static EOS_AntiCheatClient_AddNotifyMessageToPeerCallback EOS_AntiCheatClient_AddNotifyMessageToPeer; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_AntiCheatClient_AddNotifyMessageToServerCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatClient.OnMessageToServerCallbackInternal notificationFn); - internal static EOS_AntiCheatClient_AddNotifyMessageToServerCallback EOS_AntiCheatClient_AddNotifyMessageToServer; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_AntiCheatClient_AddNotifyPeerActionRequiredCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatClient.OnPeerActionRequiredCallbackInternal notificationFn); - internal static EOS_AntiCheatClient_AddNotifyPeerActionRequiredCallback EOS_AntiCheatClient_AddNotifyPeerActionRequired; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_AntiCheatClient_AddNotifyPeerAuthStatusChangedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatClient.OnPeerAuthStatusChangedCallbackInternal notificationFn); - internal static EOS_AntiCheatClient_AddNotifyPeerAuthStatusChangedCallback EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatClient_BeginSessionCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatClient_BeginSessionCallback EOS_AntiCheatClient_BeginSession; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatClient_EndSessionCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatClient_EndSessionCallback EOS_AntiCheatClient_EndSession; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatClient_GetProtectMessageOutputLengthCallback(System.IntPtr handle, System.IntPtr options, ref uint outBufferLengthBytes); - internal static EOS_AntiCheatClient_GetProtectMessageOutputLengthCallback EOS_AntiCheatClient_GetProtectMessageOutputLength; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatClient_PollStatusCallback(System.IntPtr handle, System.IntPtr options, AntiCheatClient.AntiCheatClientViolationType violationType, System.IntPtr outMessage); - internal static EOS_AntiCheatClient_PollStatusCallback EOS_AntiCheatClient_PollStatus; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatClient_ProtectMessageCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref uint outBufferLengthBytes); - internal static EOS_AntiCheatClient_ProtectMessageCallback EOS_AntiCheatClient_ProtectMessage; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatClient_ReceiveMessageFromPeerCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatClient_ReceiveMessageFromPeerCallback EOS_AntiCheatClient_ReceiveMessageFromPeer; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatClient_ReceiveMessageFromServerCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatClient_ReceiveMessageFromServerCallback EOS_AntiCheatClient_ReceiveMessageFromServer; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatClient_RegisterPeerCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatClient_RegisterPeerCallback EOS_AntiCheatClient_RegisterPeer; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_AntiCheatClient_RemoveNotifyMessageToPeerCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_AntiCheatClient_RemoveNotifyMessageToPeerCallback EOS_AntiCheatClient_RemoveNotifyMessageToPeer; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_AntiCheatClient_RemoveNotifyMessageToServerCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_AntiCheatClient_RemoveNotifyMessageToServerCallback EOS_AntiCheatClient_RemoveNotifyMessageToServer; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_AntiCheatClient_RemoveNotifyPeerActionRequiredCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_AntiCheatClient_RemoveNotifyPeerActionRequiredCallback EOS_AntiCheatClient_RemoveNotifyPeerActionRequired; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedCallback EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatClient_UnprotectMessageCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref uint outBufferLengthBytes); - internal static EOS_AntiCheatClient_UnprotectMessageCallback EOS_AntiCheatClient_UnprotectMessage; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatClient_UnregisterPeerCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatClient_UnregisterPeerCallback EOS_AntiCheatClient_UnregisterPeer; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_AntiCheatServer_AddNotifyClientActionRequiredCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatServer.OnClientActionRequiredCallbackInternal notificationFn); - internal static EOS_AntiCheatServer_AddNotifyClientActionRequiredCallback EOS_AntiCheatServer_AddNotifyClientActionRequired; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatServer.OnClientAuthStatusChangedCallbackInternal notificationFn); - internal static EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedCallback EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_AntiCheatServer_AddNotifyMessageToClientCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatServer.OnMessageToClientCallbackInternal notificationFn); - internal static EOS_AntiCheatServer_AddNotifyMessageToClientCallback EOS_AntiCheatServer_AddNotifyMessageToClient; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_BeginSessionCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_BeginSessionCallback EOS_AntiCheatServer_BeginSession; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_EndSessionCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_EndSessionCallback EOS_AntiCheatServer_EndSession; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_GetProtectMessageOutputLengthCallback(System.IntPtr handle, System.IntPtr options, ref uint outBufferLengthBytes); - internal static EOS_AntiCheatServer_GetProtectMessageOutputLengthCallback EOS_AntiCheatServer_GetProtectMessageOutputLength; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_LogEventCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_LogEventCallback EOS_AntiCheatServer_LogEvent; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_LogGameRoundEndCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_LogGameRoundEndCallback EOS_AntiCheatServer_LogGameRoundEnd; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_LogGameRoundStartCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_LogGameRoundStartCallback EOS_AntiCheatServer_LogGameRoundStart; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_LogPlayerDespawnCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_LogPlayerDespawnCallback EOS_AntiCheatServer_LogPlayerDespawn; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_LogPlayerReviveCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_LogPlayerReviveCallback EOS_AntiCheatServer_LogPlayerRevive; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_LogPlayerSpawnCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_LogPlayerSpawnCallback EOS_AntiCheatServer_LogPlayerSpawn; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_LogPlayerTakeDamageCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_LogPlayerTakeDamageCallback EOS_AntiCheatServer_LogPlayerTakeDamage; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_LogPlayerTickCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_LogPlayerTickCallback EOS_AntiCheatServer_LogPlayerTick; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_LogPlayerUseAbilityCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_LogPlayerUseAbilityCallback EOS_AntiCheatServer_LogPlayerUseAbility; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_LogPlayerUseWeaponCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_LogPlayerUseWeaponCallback EOS_AntiCheatServer_LogPlayerUseWeapon; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_ProtectMessageCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref uint outBufferLengthBytes); - internal static EOS_AntiCheatServer_ProtectMessageCallback EOS_AntiCheatServer_ProtectMessage; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_ReceiveMessageFromClientCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_ReceiveMessageFromClientCallback EOS_AntiCheatServer_ReceiveMessageFromClient; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_RegisterClientCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_RegisterClientCallback EOS_AntiCheatServer_RegisterClient; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_RegisterEventCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_RegisterEventCallback EOS_AntiCheatServer_RegisterEvent; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_AntiCheatServer_RemoveNotifyClientActionRequiredCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_AntiCheatServer_RemoveNotifyClientActionRequiredCallback EOS_AntiCheatServer_RemoveNotifyClientActionRequired; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChangedCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChangedCallback EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_AntiCheatServer_RemoveNotifyMessageToClientCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_AntiCheatServer_RemoveNotifyMessageToClientCallback EOS_AntiCheatServer_RemoveNotifyMessageToClient; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_SetClientDetailsCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_SetClientDetailsCallback EOS_AntiCheatServer_SetClientDetails; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_SetClientNetworkStateCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_SetClientNetworkStateCallback EOS_AntiCheatServer_SetClientNetworkState; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_SetGameSessionIdCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_SetGameSessionIdCallback EOS_AntiCheatServer_SetGameSessionId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_UnprotectMessageCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref uint outBufferLengthBytes); - internal static EOS_AntiCheatServer_UnprotectMessageCallback EOS_AntiCheatServer_UnprotectMessage; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_AntiCheatServer_UnregisterClientCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_AntiCheatServer_UnregisterClientCallback EOS_AntiCheatServer_UnregisterClient; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Auth_AddNotifyLoginStatusChangedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Auth.OnLoginStatusChangedCallbackInternal notification); - internal static EOS_Auth_AddNotifyLoginStatusChangedCallback EOS_Auth_AddNotifyLoginStatusChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Auth_CopyUserAuthTokenCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr localUserId, ref System.IntPtr outUserAuthToken); - internal static EOS_Auth_CopyUserAuthTokenCallback EOS_Auth_CopyUserAuthToken; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Auth_DeletePersistentAuthCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Auth.OnDeletePersistentAuthCallbackInternal completionDelegate); - internal static EOS_Auth_DeletePersistentAuthCallback EOS_Auth_DeletePersistentAuth; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Auth_GetLoggedInAccountByIndexCallback(System.IntPtr handle, int index); - internal static EOS_Auth_GetLoggedInAccountByIndexCallback EOS_Auth_GetLoggedInAccountByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate int EOS_Auth_GetLoggedInAccountsCountCallback(System.IntPtr handle); - internal static EOS_Auth_GetLoggedInAccountsCountCallback EOS_Auth_GetLoggedInAccountsCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate LoginStatus EOS_Auth_GetLoginStatusCallback(System.IntPtr handle, System.IntPtr localUserId); - internal static EOS_Auth_GetLoginStatusCallback EOS_Auth_GetLoginStatus; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Auth_LinkAccountCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Auth.OnLinkAccountCallbackInternal completionDelegate); - internal static EOS_Auth_LinkAccountCallback EOS_Auth_LinkAccount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Auth_LoginCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Auth.OnLoginCallbackInternal completionDelegate); - internal static EOS_Auth_LoginCallback EOS_Auth_Login; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Auth_LogoutCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Auth.OnLogoutCallbackInternal completionDelegate); - internal static EOS_Auth_LogoutCallback EOS_Auth_Logout; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Auth_RemoveNotifyLoginStatusChangedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Auth_RemoveNotifyLoginStatusChangedCallback EOS_Auth_RemoveNotifyLoginStatusChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Auth_Token_ReleaseCallback(System.IntPtr authToken); - internal static EOS_Auth_Token_ReleaseCallback EOS_Auth_Token_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Auth_VerifyUserAuthCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Auth.OnVerifyUserAuthCallbackInternal completionDelegate); - internal static EOS_Auth_VerifyUserAuthCallback EOS_Auth_VerifyUserAuth; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_ByteArray_ToStringCallback(System.IntPtr byteArray, uint length, System.IntPtr outBuffer, ref uint inOutBufferLength); - internal static EOS_ByteArray_ToStringCallback EOS_ByteArray_ToString; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Connect_AddNotifyAuthExpirationCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnAuthExpirationCallbackInternal notification); - internal static EOS_Connect_AddNotifyAuthExpirationCallback EOS_Connect_AddNotifyAuthExpiration; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Connect_AddNotifyLoginStatusChangedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnLoginStatusChangedCallbackInternal notification); - internal static EOS_Connect_AddNotifyLoginStatusChangedCallback EOS_Connect_AddNotifyLoginStatusChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Connect_CopyProductUserExternalAccountByAccountIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalAccountInfo); - internal static EOS_Connect_CopyProductUserExternalAccountByAccountIdCallback EOS_Connect_CopyProductUserExternalAccountByAccountId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Connect_CopyProductUserExternalAccountByAccountTypeCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalAccountInfo); - internal static EOS_Connect_CopyProductUserExternalAccountByAccountTypeCallback EOS_Connect_CopyProductUserExternalAccountByAccountType; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Connect_CopyProductUserExternalAccountByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalAccountInfo); - internal static EOS_Connect_CopyProductUserExternalAccountByIndexCallback EOS_Connect_CopyProductUserExternalAccountByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Connect_CopyProductUserInfoCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalAccountInfo); - internal static EOS_Connect_CopyProductUserInfoCallback EOS_Connect_CopyProductUserInfo; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Connect_CreateDeviceIdCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnCreateDeviceIdCallbackInternal completionDelegate); - internal static EOS_Connect_CreateDeviceIdCallback EOS_Connect_CreateDeviceId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Connect_CreateUserCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnCreateUserCallbackInternal completionDelegate); - internal static EOS_Connect_CreateUserCallback EOS_Connect_CreateUser; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Connect_DeleteDeviceIdCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnDeleteDeviceIdCallbackInternal completionDelegate); - internal static EOS_Connect_DeleteDeviceIdCallback EOS_Connect_DeleteDeviceId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Connect_ExternalAccountInfo_ReleaseCallback(System.IntPtr externalAccountInfo); - internal static EOS_Connect_ExternalAccountInfo_ReleaseCallback EOS_Connect_ExternalAccountInfo_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Connect_GetExternalAccountMappingCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Connect_GetExternalAccountMappingCallback EOS_Connect_GetExternalAccountMapping; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Connect_GetLoggedInUserByIndexCallback(System.IntPtr handle, int index); - internal static EOS_Connect_GetLoggedInUserByIndexCallback EOS_Connect_GetLoggedInUserByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate int EOS_Connect_GetLoggedInUsersCountCallback(System.IntPtr handle); - internal static EOS_Connect_GetLoggedInUsersCountCallback EOS_Connect_GetLoggedInUsersCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate LoginStatus EOS_Connect_GetLoginStatusCallback(System.IntPtr handle, System.IntPtr localUserId); - internal static EOS_Connect_GetLoginStatusCallback EOS_Connect_GetLoginStatus; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Connect_GetProductUserExternalAccountCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Connect_GetProductUserExternalAccountCountCallback EOS_Connect_GetProductUserExternalAccountCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Connect_GetProductUserIdMappingCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref int inOutBufferLength); - internal static EOS_Connect_GetProductUserIdMappingCallback EOS_Connect_GetProductUserIdMapping; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Connect_LinkAccountCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnLinkAccountCallbackInternal completionDelegate); - internal static EOS_Connect_LinkAccountCallback EOS_Connect_LinkAccount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Connect_LoginCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnLoginCallbackInternal completionDelegate); - internal static EOS_Connect_LoginCallback EOS_Connect_Login; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Connect_QueryExternalAccountMappingsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnQueryExternalAccountMappingsCallbackInternal completionDelegate); - internal static EOS_Connect_QueryExternalAccountMappingsCallback EOS_Connect_QueryExternalAccountMappings; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Connect_QueryProductUserIdMappingsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnQueryProductUserIdMappingsCallbackInternal completionDelegate); - internal static EOS_Connect_QueryProductUserIdMappingsCallback EOS_Connect_QueryProductUserIdMappings; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Connect_RemoveNotifyAuthExpirationCallback(System.IntPtr handle, ulong inId); - internal static EOS_Connect_RemoveNotifyAuthExpirationCallback EOS_Connect_RemoveNotifyAuthExpiration; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Connect_RemoveNotifyLoginStatusChangedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Connect_RemoveNotifyLoginStatusChangedCallback EOS_Connect_RemoveNotifyLoginStatusChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Connect_TransferDeviceIdAccountCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnTransferDeviceIdAccountCallbackInternal completionDelegate); - internal static EOS_Connect_TransferDeviceIdAccountCallback EOS_Connect_TransferDeviceIdAccount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Connect_UnlinkAccountCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnUnlinkAccountCallbackInternal completionDelegate); - internal static EOS_Connect_UnlinkAccountCallback EOS_Connect_UnlinkAccount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_ContinuanceToken_ToStringCallback(System.IntPtr continuanceToken, System.IntPtr outBuffer, ref int inOutBufferLength); - internal static EOS_ContinuanceToken_ToStringCallback EOS_ContinuanceToken_ToString; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate int EOS_EResult_IsOperationCompleteCallback(Result result); - internal static EOS_EResult_IsOperationCompleteCallback EOS_EResult_IsOperationComplete; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_EResult_ToStringCallback(Result result); - internal static EOS_EResult_ToStringCallback EOS_EResult_ToString; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Ecom_CatalogItem_ReleaseCallback(System.IntPtr catalogItem); - internal static EOS_Ecom_CatalogItem_ReleaseCallback EOS_Ecom_CatalogItem_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Ecom_CatalogOffer_ReleaseCallback(System.IntPtr catalogOffer); - internal static EOS_Ecom_CatalogOffer_ReleaseCallback EOS_Ecom_CatalogOffer_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Ecom_CatalogRelease_ReleaseCallback(System.IntPtr catalogRelease); - internal static EOS_Ecom_CatalogRelease_ReleaseCallback EOS_Ecom_CatalogRelease_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Ecom_CheckoutCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Ecom.OnCheckoutCallbackInternal completionDelegate); - internal static EOS_Ecom_CheckoutCallback EOS_Ecom_Checkout; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_CopyEntitlementByIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outEntitlement); - internal static EOS_Ecom_CopyEntitlementByIdCallback EOS_Ecom_CopyEntitlementById; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_CopyEntitlementByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outEntitlement); - internal static EOS_Ecom_CopyEntitlementByIndexCallback EOS_Ecom_CopyEntitlementByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_CopyEntitlementByNameAndIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outEntitlement); - internal static EOS_Ecom_CopyEntitlementByNameAndIndexCallback EOS_Ecom_CopyEntitlementByNameAndIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_CopyItemByIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outItem); - internal static EOS_Ecom_CopyItemByIdCallback EOS_Ecom_CopyItemById; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_CopyItemImageInfoByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outImageInfo); - internal static EOS_Ecom_CopyItemImageInfoByIndexCallback EOS_Ecom_CopyItemImageInfoByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_CopyItemReleaseByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outRelease); - internal static EOS_Ecom_CopyItemReleaseByIndexCallback EOS_Ecom_CopyItemReleaseByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_CopyOfferByIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outOffer); - internal static EOS_Ecom_CopyOfferByIdCallback EOS_Ecom_CopyOfferById; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_CopyOfferByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outOffer); - internal static EOS_Ecom_CopyOfferByIndexCallback EOS_Ecom_CopyOfferByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_CopyOfferImageInfoByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outImageInfo); - internal static EOS_Ecom_CopyOfferImageInfoByIndexCallback EOS_Ecom_CopyOfferImageInfoByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_CopyOfferItemByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outItem); - internal static EOS_Ecom_CopyOfferItemByIndexCallback EOS_Ecom_CopyOfferItemByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_CopyTransactionByIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outTransaction); - internal static EOS_Ecom_CopyTransactionByIdCallback EOS_Ecom_CopyTransactionById; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_CopyTransactionByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outTransaction); - internal static EOS_Ecom_CopyTransactionByIndexCallback EOS_Ecom_CopyTransactionByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Ecom_Entitlement_ReleaseCallback(System.IntPtr entitlement); - internal static EOS_Ecom_Entitlement_ReleaseCallback EOS_Ecom_Entitlement_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Ecom_GetEntitlementsByNameCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Ecom_GetEntitlementsByNameCountCallback EOS_Ecom_GetEntitlementsByNameCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Ecom_GetEntitlementsCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Ecom_GetEntitlementsCountCallback EOS_Ecom_GetEntitlementsCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Ecom_GetItemImageInfoCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Ecom_GetItemImageInfoCountCallback EOS_Ecom_GetItemImageInfoCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Ecom_GetItemReleaseCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Ecom_GetItemReleaseCountCallback EOS_Ecom_GetItemReleaseCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Ecom_GetOfferCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Ecom_GetOfferCountCallback EOS_Ecom_GetOfferCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Ecom_GetOfferImageInfoCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Ecom_GetOfferImageInfoCountCallback EOS_Ecom_GetOfferImageInfoCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Ecom_GetOfferItemCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Ecom_GetOfferItemCountCallback EOS_Ecom_GetOfferItemCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Ecom_GetTransactionCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Ecom_GetTransactionCountCallback EOS_Ecom_GetTransactionCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Ecom_KeyImageInfo_ReleaseCallback(System.IntPtr keyImageInfo); - internal static EOS_Ecom_KeyImageInfo_ReleaseCallback EOS_Ecom_KeyImageInfo_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Ecom_QueryEntitlementsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Ecom.OnQueryEntitlementsCallbackInternal completionDelegate); - internal static EOS_Ecom_QueryEntitlementsCallback EOS_Ecom_QueryEntitlements; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Ecom_QueryOffersCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Ecom.OnQueryOffersCallbackInternal completionDelegate); - internal static EOS_Ecom_QueryOffersCallback EOS_Ecom_QueryOffers; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Ecom_QueryOwnershipCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Ecom.OnQueryOwnershipCallbackInternal completionDelegate); - internal static EOS_Ecom_QueryOwnershipCallback EOS_Ecom_QueryOwnership; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Ecom_QueryOwnershipTokenCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Ecom.OnQueryOwnershipTokenCallbackInternal completionDelegate); - internal static EOS_Ecom_QueryOwnershipTokenCallback EOS_Ecom_QueryOwnershipToken; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Ecom_RedeemEntitlementsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Ecom.OnRedeemEntitlementsCallbackInternal completionDelegate); - internal static EOS_Ecom_RedeemEntitlementsCallback EOS_Ecom_RedeemEntitlements; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_Transaction_CopyEntitlementByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outEntitlement); - internal static EOS_Ecom_Transaction_CopyEntitlementByIndexCallback EOS_Ecom_Transaction_CopyEntitlementByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Ecom_Transaction_GetEntitlementsCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Ecom_Transaction_GetEntitlementsCountCallback EOS_Ecom_Transaction_GetEntitlementsCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Ecom_Transaction_GetTransactionIdCallback(System.IntPtr handle, System.IntPtr outBuffer, ref int inOutBufferLength); - internal static EOS_Ecom_Transaction_GetTransactionIdCallback EOS_Ecom_Transaction_GetTransactionId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Ecom_Transaction_ReleaseCallback(System.IntPtr transaction); - internal static EOS_Ecom_Transaction_ReleaseCallback EOS_Ecom_Transaction_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_EpicAccountId_FromStringCallback(System.IntPtr accountIdString); - internal static EOS_EpicAccountId_FromStringCallback EOS_EpicAccountId_FromString; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate int EOS_EpicAccountId_IsValidCallback(System.IntPtr accountId); - internal static EOS_EpicAccountId_IsValidCallback EOS_EpicAccountId_IsValid; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_EpicAccountId_ToStringCallback(System.IntPtr accountId, System.IntPtr outBuffer, ref int inOutBufferLength); - internal static EOS_EpicAccountId_ToStringCallback EOS_EpicAccountId_ToString; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Friends_AcceptInviteCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Friends.OnAcceptInviteCallbackInternal completionDelegate); - internal static EOS_Friends_AcceptInviteCallback EOS_Friends_AcceptInvite; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Friends_AddNotifyFriendsUpdateCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Friends.OnFriendsUpdateCallbackInternal friendsUpdateHandler); - internal static EOS_Friends_AddNotifyFriendsUpdateCallback EOS_Friends_AddNotifyFriendsUpdate; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Friends_GetFriendAtIndexCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Friends_GetFriendAtIndexCallback EOS_Friends_GetFriendAtIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate int EOS_Friends_GetFriendsCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Friends_GetFriendsCountCallback EOS_Friends_GetFriendsCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Friends.FriendsStatus EOS_Friends_GetStatusCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Friends_GetStatusCallback EOS_Friends_GetStatus; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Friends_QueryFriendsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Friends.OnQueryFriendsCallbackInternal completionDelegate); - internal static EOS_Friends_QueryFriendsCallback EOS_Friends_QueryFriends; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Friends_RejectInviteCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Friends.OnRejectInviteCallbackInternal completionDelegate); - internal static EOS_Friends_RejectInviteCallback EOS_Friends_RejectInvite; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Friends_RemoveNotifyFriendsUpdateCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_Friends_RemoveNotifyFriendsUpdateCallback EOS_Friends_RemoveNotifyFriendsUpdate; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Friends_SendInviteCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Friends.OnSendInviteCallbackInternal completionDelegate); - internal static EOS_Friends_SendInviteCallback EOS_Friends_SendInvite; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_InitializeCallback(System.IntPtr options); - internal static EOS_InitializeCallback EOS_Initialize; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_KWS_AddNotifyPermissionsUpdateReceivedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, KWS.OnPermissionsUpdateReceivedCallbackInternal notificationFn); - internal static EOS_KWS_AddNotifyPermissionsUpdateReceivedCallback EOS_KWS_AddNotifyPermissionsUpdateReceived; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_KWS_CopyPermissionByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outPermission); - internal static EOS_KWS_CopyPermissionByIndexCallback EOS_KWS_CopyPermissionByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_KWS_CreateUserCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, KWS.OnCreateUserCallbackInternal completionDelegate); - internal static EOS_KWS_CreateUserCallback EOS_KWS_CreateUser; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_KWS_GetPermissionByKeyCallback(System.IntPtr handle, System.IntPtr options, ref KWS.KWSPermissionStatus outPermission); - internal static EOS_KWS_GetPermissionByKeyCallback EOS_KWS_GetPermissionByKey; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate int EOS_KWS_GetPermissionsCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_KWS_GetPermissionsCountCallback EOS_KWS_GetPermissionsCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_KWS_PermissionStatus_ReleaseCallback(System.IntPtr permissionStatus); - internal static EOS_KWS_PermissionStatus_ReleaseCallback EOS_KWS_PermissionStatus_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_KWS_QueryAgeGateCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, KWS.OnQueryAgeGateCallbackInternal completionDelegate); - internal static EOS_KWS_QueryAgeGateCallback EOS_KWS_QueryAgeGate; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_KWS_QueryPermissionsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, KWS.OnQueryPermissionsCallbackInternal completionDelegate); - internal static EOS_KWS_QueryPermissionsCallback EOS_KWS_QueryPermissions; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_KWS_RemoveNotifyPermissionsUpdateReceivedCallback(System.IntPtr handle, ulong inId); - internal static EOS_KWS_RemoveNotifyPermissionsUpdateReceivedCallback EOS_KWS_RemoveNotifyPermissionsUpdateReceived; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_KWS_RequestPermissionsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, KWS.OnRequestPermissionsCallbackInternal completionDelegate); - internal static EOS_KWS_RequestPermissionsCallback EOS_KWS_RequestPermissions; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_KWS_UpdateParentEmailCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, KWS.OnUpdateParentEmailCallbackInternal completionDelegate); - internal static EOS_KWS_UpdateParentEmailCallback EOS_KWS_UpdateParentEmail; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Leaderboards_CopyLeaderboardDefinitionByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLeaderboardDefinition); - internal static EOS_Leaderboards_CopyLeaderboardDefinitionByIndexCallback EOS_Leaderboards_CopyLeaderboardDefinitionByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLeaderboardDefinition); - internal static EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardIdCallback EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Leaderboards_CopyLeaderboardRecordByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLeaderboardRecord); - internal static EOS_Leaderboards_CopyLeaderboardRecordByIndexCallback EOS_Leaderboards_CopyLeaderboardRecordByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Leaderboards_CopyLeaderboardRecordByUserIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLeaderboardRecord); - internal static EOS_Leaderboards_CopyLeaderboardRecordByUserIdCallback EOS_Leaderboards_CopyLeaderboardRecordByUserId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Leaderboards_CopyLeaderboardUserScoreByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLeaderboardUserScore); - internal static EOS_Leaderboards_CopyLeaderboardUserScoreByIndexCallback EOS_Leaderboards_CopyLeaderboardUserScoreByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Leaderboards_CopyLeaderboardUserScoreByUserIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLeaderboardUserScore); - internal static EOS_Leaderboards_CopyLeaderboardUserScoreByUserIdCallback EOS_Leaderboards_CopyLeaderboardUserScoreByUserId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Leaderboards_Definition_ReleaseCallback(System.IntPtr leaderboardDefinition); - internal static EOS_Leaderboards_Definition_ReleaseCallback EOS_Leaderboards_Definition_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Leaderboards_GetLeaderboardDefinitionCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Leaderboards_GetLeaderboardDefinitionCountCallback EOS_Leaderboards_GetLeaderboardDefinitionCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Leaderboards_GetLeaderboardRecordCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Leaderboards_GetLeaderboardRecordCountCallback EOS_Leaderboards_GetLeaderboardRecordCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Leaderboards_GetLeaderboardUserScoreCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Leaderboards_GetLeaderboardUserScoreCountCallback EOS_Leaderboards_GetLeaderboardUserScoreCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Leaderboards_LeaderboardDefinition_ReleaseCallback(System.IntPtr leaderboardDefinition); - internal static EOS_Leaderboards_LeaderboardDefinition_ReleaseCallback EOS_Leaderboards_LeaderboardDefinition_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Leaderboards_LeaderboardRecord_ReleaseCallback(System.IntPtr leaderboardRecord); - internal static EOS_Leaderboards_LeaderboardRecord_ReleaseCallback EOS_Leaderboards_LeaderboardRecord_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Leaderboards_LeaderboardUserScore_ReleaseCallback(System.IntPtr leaderboardUserScore); - internal static EOS_Leaderboards_LeaderboardUserScore_ReleaseCallback EOS_Leaderboards_LeaderboardUserScore_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Leaderboards_QueryLeaderboardDefinitionsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Leaderboards.OnQueryLeaderboardDefinitionsCompleteCallbackInternal completionDelegate); - internal static EOS_Leaderboards_QueryLeaderboardDefinitionsCallback EOS_Leaderboards_QueryLeaderboardDefinitions; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Leaderboards_QueryLeaderboardRanksCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Leaderboards.OnQueryLeaderboardRanksCompleteCallbackInternal completionDelegate); - internal static EOS_Leaderboards_QueryLeaderboardRanksCallback EOS_Leaderboards_QueryLeaderboardRanks; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Leaderboards_QueryLeaderboardUserScoresCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Leaderboards.OnQueryLeaderboardUserScoresCompleteCallbackInternal completionDelegate); - internal static EOS_Leaderboards_QueryLeaderboardUserScoresCallback EOS_Leaderboards_QueryLeaderboardUserScores; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbyDetails_CopyAttributeByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAttribute); - internal static EOS_LobbyDetails_CopyAttributeByIndexCallback EOS_LobbyDetails_CopyAttributeByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbyDetails_CopyAttributeByKeyCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAttribute); - internal static EOS_LobbyDetails_CopyAttributeByKeyCallback EOS_LobbyDetails_CopyAttributeByKey; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbyDetails_CopyInfoCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbyDetailsInfo); - internal static EOS_LobbyDetails_CopyInfoCallback EOS_LobbyDetails_CopyInfo; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbyDetails_CopyMemberAttributeByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAttribute); - internal static EOS_LobbyDetails_CopyMemberAttributeByIndexCallback EOS_LobbyDetails_CopyMemberAttributeByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbyDetails_CopyMemberAttributeByKeyCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAttribute); - internal static EOS_LobbyDetails_CopyMemberAttributeByKeyCallback EOS_LobbyDetails_CopyMemberAttributeByKey; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_LobbyDetails_GetAttributeCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbyDetails_GetAttributeCountCallback EOS_LobbyDetails_GetAttributeCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_LobbyDetails_GetLobbyOwnerCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbyDetails_GetLobbyOwnerCallback EOS_LobbyDetails_GetLobbyOwner; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_LobbyDetails_GetMemberAttributeCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbyDetails_GetMemberAttributeCountCallback EOS_LobbyDetails_GetMemberAttributeCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_LobbyDetails_GetMemberByIndexCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbyDetails_GetMemberByIndexCallback EOS_LobbyDetails_GetMemberByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_LobbyDetails_GetMemberCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbyDetails_GetMemberCountCallback EOS_LobbyDetails_GetMemberCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_LobbyDetails_Info_ReleaseCallback(System.IntPtr lobbyDetailsInfo); - internal static EOS_LobbyDetails_Info_ReleaseCallback EOS_LobbyDetails_Info_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_LobbyDetails_ReleaseCallback(System.IntPtr lobbyHandle); - internal static EOS_LobbyDetails_ReleaseCallback EOS_LobbyDetails_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbyModification_AddAttributeCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbyModification_AddAttributeCallback EOS_LobbyModification_AddAttribute; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbyModification_AddMemberAttributeCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbyModification_AddMemberAttributeCallback EOS_LobbyModification_AddMemberAttribute; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_LobbyModification_ReleaseCallback(System.IntPtr lobbyModificationHandle); - internal static EOS_LobbyModification_ReleaseCallback EOS_LobbyModification_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbyModification_RemoveAttributeCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbyModification_RemoveAttributeCallback EOS_LobbyModification_RemoveAttribute; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbyModification_RemoveMemberAttributeCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbyModification_RemoveMemberAttributeCallback EOS_LobbyModification_RemoveMemberAttribute; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbyModification_SetBucketIdCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbyModification_SetBucketIdCallback EOS_LobbyModification_SetBucketId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbyModification_SetInvitesAllowedCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbyModification_SetInvitesAllowedCallback EOS_LobbyModification_SetInvitesAllowed; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbyModification_SetMaxMembersCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbyModification_SetMaxMembersCallback EOS_LobbyModification_SetMaxMembers; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbyModification_SetPermissionLevelCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbyModification_SetPermissionLevelCallback EOS_LobbyModification_SetPermissionLevel; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbySearch_CopySearchResultByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbyDetailsHandle); - internal static EOS_LobbySearch_CopySearchResultByIndexCallback EOS_LobbySearch_CopySearchResultByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_LobbySearch_FindCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.LobbySearchOnFindCallbackInternal completionDelegate); - internal static EOS_LobbySearch_FindCallback EOS_LobbySearch_Find; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_LobbySearch_GetSearchResultCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbySearch_GetSearchResultCountCallback EOS_LobbySearch_GetSearchResultCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_LobbySearch_ReleaseCallback(System.IntPtr lobbySearchHandle); - internal static EOS_LobbySearch_ReleaseCallback EOS_LobbySearch_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbySearch_RemoveParameterCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbySearch_RemoveParameterCallback EOS_LobbySearch_RemoveParameter; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbySearch_SetLobbyIdCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbySearch_SetLobbyIdCallback EOS_LobbySearch_SetLobbyId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbySearch_SetMaxResultsCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbySearch_SetMaxResultsCallback EOS_LobbySearch_SetMaxResults; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbySearch_SetParameterCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbySearch_SetParameterCallback EOS_LobbySearch_SetParameter; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_LobbySearch_SetTargetUserIdCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_LobbySearch_SetTargetUserIdCallback EOS_LobbySearch_SetTargetUserId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Lobby_AddNotifyJoinLobbyAcceptedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnJoinLobbyAcceptedCallbackInternal notificationFn); - internal static EOS_Lobby_AddNotifyJoinLobbyAcceptedCallback EOS_Lobby_AddNotifyJoinLobbyAccepted; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Lobby_AddNotifyLobbyInviteAcceptedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnLobbyInviteAcceptedCallbackInternal notificationFn); - internal static EOS_Lobby_AddNotifyLobbyInviteAcceptedCallback EOS_Lobby_AddNotifyLobbyInviteAccepted; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Lobby_AddNotifyLobbyInviteReceivedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnLobbyInviteReceivedCallbackInternal notificationFn); - internal static EOS_Lobby_AddNotifyLobbyInviteReceivedCallback EOS_Lobby_AddNotifyLobbyInviteReceived; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Lobby_AddNotifyLobbyMemberStatusReceivedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnLobbyMemberStatusReceivedCallbackInternal notificationFn); - internal static EOS_Lobby_AddNotifyLobbyMemberStatusReceivedCallback EOS_Lobby_AddNotifyLobbyMemberStatusReceived; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Lobby_AddNotifyLobbyMemberUpdateReceivedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnLobbyMemberUpdateReceivedCallbackInternal notificationFn); - internal static EOS_Lobby_AddNotifyLobbyMemberUpdateReceivedCallback EOS_Lobby_AddNotifyLobbyMemberUpdateReceived; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Lobby_AddNotifyLobbyUpdateReceivedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnLobbyUpdateReceivedCallbackInternal notificationFn); - internal static EOS_Lobby_AddNotifyLobbyUpdateReceivedCallback EOS_Lobby_AddNotifyLobbyUpdateReceived; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Lobby_AddNotifyRTCRoomConnectionChangedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnRTCRoomConnectionChangedCallbackInternal notificationFn); - internal static EOS_Lobby_AddNotifyRTCRoomConnectionChangedCallback EOS_Lobby_AddNotifyRTCRoomConnectionChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_Attribute_ReleaseCallback(System.IntPtr lobbyAttribute); - internal static EOS_Lobby_Attribute_ReleaseCallback EOS_Lobby_Attribute_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Lobby_CopyLobbyDetailsHandleCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbyDetailsHandle); - internal static EOS_Lobby_CopyLobbyDetailsHandleCallback EOS_Lobby_CopyLobbyDetailsHandle; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Lobby_CopyLobbyDetailsHandleByInviteIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbyDetailsHandle); - internal static EOS_Lobby_CopyLobbyDetailsHandleByInviteIdCallback EOS_Lobby_CopyLobbyDetailsHandleByInviteId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Lobby_CopyLobbyDetailsHandleByUiEventIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbyDetailsHandle); - internal static EOS_Lobby_CopyLobbyDetailsHandleByUiEventIdCallback EOS_Lobby_CopyLobbyDetailsHandleByUiEventId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_CreateLobbyCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnCreateLobbyCallbackInternal completionDelegate); - internal static EOS_Lobby_CreateLobbyCallback EOS_Lobby_CreateLobby; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Lobby_CreateLobbySearchCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbySearchHandle); - internal static EOS_Lobby_CreateLobbySearchCallback EOS_Lobby_CreateLobbySearch; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_DestroyLobbyCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnDestroyLobbyCallbackInternal completionDelegate); - internal static EOS_Lobby_DestroyLobbyCallback EOS_Lobby_DestroyLobby; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Lobby_GetInviteCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Lobby_GetInviteCountCallback EOS_Lobby_GetInviteCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Lobby_GetInviteIdByIndexCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref int inOutBufferLength); - internal static EOS_Lobby_GetInviteIdByIndexCallback EOS_Lobby_GetInviteIdByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Lobby_GetRTCRoomNameCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref uint inOutBufferLength); - internal static EOS_Lobby_GetRTCRoomNameCallback EOS_Lobby_GetRTCRoomName; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Lobby_IsRTCRoomConnectedCallback(System.IntPtr handle, System.IntPtr options, ref int bOutIsConnected); - internal static EOS_Lobby_IsRTCRoomConnectedCallback EOS_Lobby_IsRTCRoomConnected; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_JoinLobbyCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnJoinLobbyCallbackInternal completionDelegate); - internal static EOS_Lobby_JoinLobbyCallback EOS_Lobby_JoinLobby; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_KickMemberCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnKickMemberCallbackInternal completionDelegate); - internal static EOS_Lobby_KickMemberCallback EOS_Lobby_KickMember; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_LeaveLobbyCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnLeaveLobbyCallbackInternal completionDelegate); - internal static EOS_Lobby_LeaveLobbyCallback EOS_Lobby_LeaveLobby; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_PromoteMemberCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnPromoteMemberCallbackInternal completionDelegate); - internal static EOS_Lobby_PromoteMemberCallback EOS_Lobby_PromoteMember; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_QueryInvitesCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnQueryInvitesCallbackInternal completionDelegate); - internal static EOS_Lobby_QueryInvitesCallback EOS_Lobby_QueryInvites; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_RejectInviteCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnRejectInviteCallbackInternal completionDelegate); - internal static EOS_Lobby_RejectInviteCallback EOS_Lobby_RejectInvite; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_RemoveNotifyJoinLobbyAcceptedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Lobby_RemoveNotifyJoinLobbyAcceptedCallback EOS_Lobby_RemoveNotifyJoinLobbyAccepted; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_RemoveNotifyLobbyInviteAcceptedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Lobby_RemoveNotifyLobbyInviteAcceptedCallback EOS_Lobby_RemoveNotifyLobbyInviteAccepted; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_RemoveNotifyLobbyInviteReceivedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Lobby_RemoveNotifyLobbyInviteReceivedCallback EOS_Lobby_RemoveNotifyLobbyInviteReceived; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_RemoveNotifyLobbyMemberStatusReceivedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Lobby_RemoveNotifyLobbyMemberStatusReceivedCallback EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceivedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceivedCallback EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_RemoveNotifyLobbyUpdateReceivedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Lobby_RemoveNotifyLobbyUpdateReceivedCallback EOS_Lobby_RemoveNotifyLobbyUpdateReceived; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_RemoveNotifyRTCRoomConnectionChangedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Lobby_RemoveNotifyRTCRoomConnectionChangedCallback EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_SendInviteCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnSendInviteCallbackInternal completionDelegate); - internal static EOS_Lobby_SendInviteCallback EOS_Lobby_SendInvite; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Lobby_UpdateLobbyCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnUpdateLobbyCallbackInternal completionDelegate); - internal static EOS_Lobby_UpdateLobbyCallback EOS_Lobby_UpdateLobby; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Lobby_UpdateLobbyModificationCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbyModificationHandle); - internal static EOS_Lobby_UpdateLobbyModificationCallback EOS_Lobby_UpdateLobbyModification; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Logging_SetCallbackCallback(Logging.LogMessageFuncInternal callback); - internal static EOS_Logging_SetCallbackCallback EOS_Logging_SetCallback; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Logging_SetLogLevelCallback(Logging.LogCategory logCategory, Logging.LogLevel logLevel); - internal static EOS_Logging_SetLogLevelCallback EOS_Logging_SetLogLevel; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Metrics_BeginPlayerSessionCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Metrics_BeginPlayerSessionCallback EOS_Metrics_BeginPlayerSession; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Metrics_EndPlayerSessionCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Metrics_EndPlayerSessionCallback EOS_Metrics_EndPlayerSession; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Mods_CopyModInfoCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outEnumeratedMods); - internal static EOS_Mods_CopyModInfoCallback EOS_Mods_CopyModInfo; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Mods_EnumerateModsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Mods.OnEnumerateModsCallbackInternal completionDelegate); - internal static EOS_Mods_EnumerateModsCallback EOS_Mods_EnumerateMods; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Mods_InstallModCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Mods.OnInstallModCallbackInternal completionDelegate); - internal static EOS_Mods_InstallModCallback EOS_Mods_InstallMod; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Mods_ModInfo_ReleaseCallback(System.IntPtr modInfo); - internal static EOS_Mods_ModInfo_ReleaseCallback EOS_Mods_ModInfo_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Mods_UninstallModCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Mods.OnUninstallModCallbackInternal completionDelegate); - internal static EOS_Mods_UninstallModCallback EOS_Mods_UninstallMod; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Mods_UpdateModCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Mods.OnUpdateModCallbackInternal completionDelegate); - internal static EOS_Mods_UpdateModCallback EOS_Mods_UpdateMod; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_P2P_AcceptConnectionCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_P2P_AcceptConnectionCallback EOS_P2P_AcceptConnection; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_P2P_AddNotifyIncomingPacketQueueFullCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, P2P.OnIncomingPacketQueueFullCallbackInternal incomingPacketQueueFullHandler); - internal static EOS_P2P_AddNotifyIncomingPacketQueueFullCallback EOS_P2P_AddNotifyIncomingPacketQueueFull; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_P2P_AddNotifyPeerConnectionClosedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, P2P.OnRemoteConnectionClosedCallbackInternal connectionClosedHandler); - internal static EOS_P2P_AddNotifyPeerConnectionClosedCallback EOS_P2P_AddNotifyPeerConnectionClosed; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_P2P_AddNotifyPeerConnectionRequestCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, P2P.OnIncomingConnectionRequestCallbackInternal connectionRequestHandler); - internal static EOS_P2P_AddNotifyPeerConnectionRequestCallback EOS_P2P_AddNotifyPeerConnectionRequest; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_P2P_CloseConnectionCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_P2P_CloseConnectionCallback EOS_P2P_CloseConnection; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_P2P_CloseConnectionsCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_P2P_CloseConnectionsCallback EOS_P2P_CloseConnections; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_P2P_GetNATTypeCallback(System.IntPtr handle, System.IntPtr options, ref P2P.NATType outNATType); - internal static EOS_P2P_GetNATTypeCallback EOS_P2P_GetNATType; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_P2P_GetNextReceivedPacketSizeCallback(System.IntPtr handle, System.IntPtr options, ref uint outPacketSizeBytes); - internal static EOS_P2P_GetNextReceivedPacketSizeCallback EOS_P2P_GetNextReceivedPacketSize; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_P2P_GetPacketQueueInfoCallback(System.IntPtr handle, System.IntPtr options, ref P2P.PacketQueueInfoInternal outPacketQueueInfo); - internal static EOS_P2P_GetPacketQueueInfoCallback EOS_P2P_GetPacketQueueInfo; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_P2P_GetPortRangeCallback(System.IntPtr handle, System.IntPtr options, ref ushort outPort, ref ushort outNumAdditionalPortsToTry); - internal static EOS_P2P_GetPortRangeCallback EOS_P2P_GetPortRange; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_P2P_GetRelayControlCallback(System.IntPtr handle, System.IntPtr options, ref P2P.RelayControl outRelayControl); - internal static EOS_P2P_GetRelayControlCallback EOS_P2P_GetRelayControl; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_P2P_QueryNATTypeCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, P2P.OnQueryNATTypeCompleteCallbackInternal completionDelegate); - internal static EOS_P2P_QueryNATTypeCallback EOS_P2P_QueryNATType; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_P2P_ReceivePacketCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outPeerId, ref P2P.SocketIdInternal outSocketId, ref byte outChannel, System.IntPtr outData, ref uint outBytesWritten); - internal static EOS_P2P_ReceivePacketCallback EOS_P2P_ReceivePacket; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_P2P_RemoveNotifyIncomingPacketQueueFullCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_P2P_RemoveNotifyIncomingPacketQueueFullCallback EOS_P2P_RemoveNotifyIncomingPacketQueueFull; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_P2P_RemoveNotifyPeerConnectionClosedCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_P2P_RemoveNotifyPeerConnectionClosedCallback EOS_P2P_RemoveNotifyPeerConnectionClosed; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_P2P_RemoveNotifyPeerConnectionRequestCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_P2P_RemoveNotifyPeerConnectionRequestCallback EOS_P2P_RemoveNotifyPeerConnectionRequest; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_P2P_SendPacketCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_P2P_SendPacketCallback EOS_P2P_SendPacket; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_P2P_SetPacketQueueSizeCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_P2P_SetPacketQueueSizeCallback EOS_P2P_SetPacketQueueSize; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_P2P_SetPortRangeCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_P2P_SetPortRangeCallback EOS_P2P_SetPortRange; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_P2P_SetRelayControlCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_P2P_SetRelayControlCallback EOS_P2P_SetRelayControl; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Platform_CheckForLauncherAndRestartCallback(System.IntPtr handle); - internal static EOS_Platform_CheckForLauncherAndRestartCallback EOS_Platform_CheckForLauncherAndRestart; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_CreateCallback(System.IntPtr options); - internal static EOS_Platform_CreateCallback EOS_Platform_Create; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetAchievementsInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetAchievementsInterfaceCallback EOS_Platform_GetAchievementsInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Platform_GetActiveCountryCodeCallback(System.IntPtr handle, System.IntPtr localUserId, System.IntPtr outBuffer, ref int inOutBufferLength); - internal static EOS_Platform_GetActiveCountryCodeCallback EOS_Platform_GetActiveCountryCode; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Platform_GetActiveLocaleCodeCallback(System.IntPtr handle, System.IntPtr localUserId, System.IntPtr outBuffer, ref int inOutBufferLength); - internal static EOS_Platform_GetActiveLocaleCodeCallback EOS_Platform_GetActiveLocaleCode; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetAntiCheatClientInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetAntiCheatClientInterfaceCallback EOS_Platform_GetAntiCheatClientInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetAntiCheatServerInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetAntiCheatServerInterfaceCallback EOS_Platform_GetAntiCheatServerInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetAuthInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetAuthInterfaceCallback EOS_Platform_GetAuthInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetConnectInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetConnectInterfaceCallback EOS_Platform_GetConnectInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetEcomInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetEcomInterfaceCallback EOS_Platform_GetEcomInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetFriendsInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetFriendsInterfaceCallback EOS_Platform_GetFriendsInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetKWSInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetKWSInterfaceCallback EOS_Platform_GetKWSInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetLeaderboardsInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetLeaderboardsInterfaceCallback EOS_Platform_GetLeaderboardsInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetLobbyInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetLobbyInterfaceCallback EOS_Platform_GetLobbyInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetMetricsInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetMetricsInterfaceCallback EOS_Platform_GetMetricsInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetModsInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetModsInterfaceCallback EOS_Platform_GetModsInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Platform_GetOverrideCountryCodeCallback(System.IntPtr handle, System.IntPtr outBuffer, ref int inOutBufferLength); - internal static EOS_Platform_GetOverrideCountryCodeCallback EOS_Platform_GetOverrideCountryCode; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Platform_GetOverrideLocaleCodeCallback(System.IntPtr handle, System.IntPtr outBuffer, ref int inOutBufferLength); - internal static EOS_Platform_GetOverrideLocaleCodeCallback EOS_Platform_GetOverrideLocaleCode; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetP2PInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetP2PInterfaceCallback EOS_Platform_GetP2PInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetPlayerDataStorageInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetPlayerDataStorageInterfaceCallback EOS_Platform_GetPlayerDataStorageInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetPresenceInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetPresenceInterfaceCallback EOS_Platform_GetPresenceInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetRTCAdminInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetRTCAdminInterfaceCallback EOS_Platform_GetRTCAdminInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetRTCInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetRTCInterfaceCallback EOS_Platform_GetRTCInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetReportsInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetReportsInterfaceCallback EOS_Platform_GetReportsInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetSanctionsInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetSanctionsInterfaceCallback EOS_Platform_GetSanctionsInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetSessionsInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetSessionsInterfaceCallback EOS_Platform_GetSessionsInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetStatsInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetStatsInterfaceCallback EOS_Platform_GetStatsInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetTitleStorageInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetTitleStorageInterfaceCallback EOS_Platform_GetTitleStorageInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetUIInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetUIInterfaceCallback EOS_Platform_GetUIInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_Platform_GetUserInfoInterfaceCallback(System.IntPtr handle); - internal static EOS_Platform_GetUserInfoInterfaceCallback EOS_Platform_GetUserInfoInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Platform_ReleaseCallback(System.IntPtr handle); - internal static EOS_Platform_ReleaseCallback EOS_Platform_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Platform_SetOverrideCountryCodeCallback(System.IntPtr handle, System.IntPtr newCountryCode); - internal static EOS_Platform_SetOverrideCountryCodeCallback EOS_Platform_SetOverrideCountryCode; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Platform_SetOverrideLocaleCodeCallback(System.IntPtr handle, System.IntPtr newLocaleCode); - internal static EOS_Platform_SetOverrideLocaleCodeCallback EOS_Platform_SetOverrideLocaleCode; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Platform_TickCallback(System.IntPtr handle); - internal static EOS_Platform_TickCallback EOS_Platform_Tick; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_PlayerDataStorageFileTransferRequest_CancelRequestCallback(System.IntPtr handle); - internal static EOS_PlayerDataStorageFileTransferRequest_CancelRequestCallback EOS_PlayerDataStorageFileTransferRequest_CancelRequest; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_PlayerDataStorageFileTransferRequest_GetFileRequestStateCallback(System.IntPtr handle); - internal static EOS_PlayerDataStorageFileTransferRequest_GetFileRequestStateCallback EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_PlayerDataStorageFileTransferRequest_GetFilenameCallback(System.IntPtr handle, uint filenameStringBufferSizeBytes, System.IntPtr outStringBuffer, ref int outStringLength); - internal static EOS_PlayerDataStorageFileTransferRequest_GetFilenameCallback EOS_PlayerDataStorageFileTransferRequest_GetFilename; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_PlayerDataStorageFileTransferRequest_ReleaseCallback(System.IntPtr playerDataStorageFileTransferHandle); - internal static EOS_PlayerDataStorageFileTransferRequest_ReleaseCallback EOS_PlayerDataStorageFileTransferRequest_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_PlayerDataStorage_CopyFileMetadataAtIndexCallback(System.IntPtr handle, System.IntPtr copyFileMetadataOptions, ref System.IntPtr outMetadata); - internal static EOS_PlayerDataStorage_CopyFileMetadataAtIndexCallback EOS_PlayerDataStorage_CopyFileMetadataAtIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_PlayerDataStorage_CopyFileMetadataByFilenameCallback(System.IntPtr handle, System.IntPtr copyFileMetadataOptions, ref System.IntPtr outMetadata); - internal static EOS_PlayerDataStorage_CopyFileMetadataByFilenameCallback EOS_PlayerDataStorage_CopyFileMetadataByFilename; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_PlayerDataStorage_DeleteCacheCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, PlayerDataStorage.OnDeleteCacheCompleteCallbackInternal completionCallback); - internal static EOS_PlayerDataStorage_DeleteCacheCallback EOS_PlayerDataStorage_DeleteCache; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_PlayerDataStorage_DeleteFileCallback(System.IntPtr handle, System.IntPtr deleteOptions, System.IntPtr clientData, PlayerDataStorage.OnDeleteFileCompleteCallbackInternal completionCallback); - internal static EOS_PlayerDataStorage_DeleteFileCallback EOS_PlayerDataStorage_DeleteFile; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_PlayerDataStorage_DuplicateFileCallback(System.IntPtr handle, System.IntPtr duplicateOptions, System.IntPtr clientData, PlayerDataStorage.OnDuplicateFileCompleteCallbackInternal completionCallback); - internal static EOS_PlayerDataStorage_DuplicateFileCallback EOS_PlayerDataStorage_DuplicateFile; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_PlayerDataStorage_FileMetadata_ReleaseCallback(System.IntPtr fileMetadata); - internal static EOS_PlayerDataStorage_FileMetadata_ReleaseCallback EOS_PlayerDataStorage_FileMetadata_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_PlayerDataStorage_GetFileMetadataCountCallback(System.IntPtr handle, System.IntPtr getFileMetadataCountOptions, ref int outFileMetadataCount); - internal static EOS_PlayerDataStorage_GetFileMetadataCountCallback EOS_PlayerDataStorage_GetFileMetadataCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_PlayerDataStorage_QueryFileCallback(System.IntPtr handle, System.IntPtr queryFileOptions, System.IntPtr clientData, PlayerDataStorage.OnQueryFileCompleteCallbackInternal completionCallback); - internal static EOS_PlayerDataStorage_QueryFileCallback EOS_PlayerDataStorage_QueryFile; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_PlayerDataStorage_QueryFileListCallback(System.IntPtr handle, System.IntPtr queryFileListOptions, System.IntPtr clientData, PlayerDataStorage.OnQueryFileListCompleteCallbackInternal completionCallback); - internal static EOS_PlayerDataStorage_QueryFileListCallback EOS_PlayerDataStorage_QueryFileList; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_PlayerDataStorage_ReadFileCallback(System.IntPtr handle, System.IntPtr readOptions, System.IntPtr clientData, PlayerDataStorage.OnReadFileCompleteCallbackInternal completionCallback); - internal static EOS_PlayerDataStorage_ReadFileCallback EOS_PlayerDataStorage_ReadFile; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_PlayerDataStorage_WriteFileCallback(System.IntPtr handle, System.IntPtr writeOptions, System.IntPtr clientData, PlayerDataStorage.OnWriteFileCompleteCallbackInternal completionCallback); - internal static EOS_PlayerDataStorage_WriteFileCallback EOS_PlayerDataStorage_WriteFile; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_PresenceModification_DeleteDataCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_PresenceModification_DeleteDataCallback EOS_PresenceModification_DeleteData; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_PresenceModification_ReleaseCallback(System.IntPtr presenceModificationHandle); - internal static EOS_PresenceModification_ReleaseCallback EOS_PresenceModification_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_PresenceModification_SetDataCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_PresenceModification_SetDataCallback EOS_PresenceModification_SetData; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_PresenceModification_SetJoinInfoCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_PresenceModification_SetJoinInfoCallback EOS_PresenceModification_SetJoinInfo; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_PresenceModification_SetRawRichTextCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_PresenceModification_SetRawRichTextCallback EOS_PresenceModification_SetRawRichText; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_PresenceModification_SetStatusCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_PresenceModification_SetStatusCallback EOS_PresenceModification_SetStatus; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Presence_AddNotifyJoinGameAcceptedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Presence.OnJoinGameAcceptedCallbackInternal notificationFn); - internal static EOS_Presence_AddNotifyJoinGameAcceptedCallback EOS_Presence_AddNotifyJoinGameAccepted; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Presence_AddNotifyOnPresenceChangedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Presence.OnPresenceChangedCallbackInternal notificationHandler); - internal static EOS_Presence_AddNotifyOnPresenceChangedCallback EOS_Presence_AddNotifyOnPresenceChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Presence_CopyPresenceCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outPresence); - internal static EOS_Presence_CopyPresenceCallback EOS_Presence_CopyPresence; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Presence_CreatePresenceModificationCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outPresenceModificationHandle); - internal static EOS_Presence_CreatePresenceModificationCallback EOS_Presence_CreatePresenceModification; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Presence_GetJoinInfoCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref int inOutBufferLength); - internal static EOS_Presence_GetJoinInfoCallback EOS_Presence_GetJoinInfo; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate int EOS_Presence_HasPresenceCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Presence_HasPresenceCallback EOS_Presence_HasPresence; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Presence_Info_ReleaseCallback(System.IntPtr presenceInfo); - internal static EOS_Presence_Info_ReleaseCallback EOS_Presence_Info_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Presence_QueryPresenceCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Presence.OnQueryPresenceCompleteCallbackInternal completionDelegate); - internal static EOS_Presence_QueryPresenceCallback EOS_Presence_QueryPresence; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Presence_RemoveNotifyJoinGameAcceptedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Presence_RemoveNotifyJoinGameAcceptedCallback EOS_Presence_RemoveNotifyJoinGameAccepted; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Presence_RemoveNotifyOnPresenceChangedCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_Presence_RemoveNotifyOnPresenceChangedCallback EOS_Presence_RemoveNotifyOnPresenceChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Presence_SetPresenceCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Presence.SetPresenceCompleteCallbackInternal completionDelegate); - internal static EOS_Presence_SetPresenceCallback EOS_Presence_SetPresence; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_ProductUserId_FromStringCallback(System.IntPtr productUserIdString); - internal static EOS_ProductUserId_FromStringCallback EOS_ProductUserId_FromString; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate int EOS_ProductUserId_IsValidCallback(System.IntPtr accountId); - internal static EOS_ProductUserId_IsValidCallback EOS_ProductUserId_IsValid; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_ProductUserId_ToStringCallback(System.IntPtr accountId, System.IntPtr outBuffer, ref int inOutBufferLength); - internal static EOS_ProductUserId_ToStringCallback EOS_ProductUserId_ToString; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_RTCAdmin_CopyUserTokenByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outUserToken); - internal static EOS_RTCAdmin_CopyUserTokenByIndexCallback EOS_RTCAdmin_CopyUserTokenByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_RTCAdmin_CopyUserTokenByUserIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outUserToken); - internal static EOS_RTCAdmin_CopyUserTokenByUserIdCallback EOS_RTCAdmin_CopyUserTokenByUserId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTCAdmin_KickCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAdmin.OnKickCompleteCallbackInternal completionDelegate); - internal static EOS_RTCAdmin_KickCallback EOS_RTCAdmin_Kick; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTCAdmin_QueryJoinRoomTokenCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAdmin.OnQueryJoinRoomTokenCompleteCallbackInternal completionDelegate); - internal static EOS_RTCAdmin_QueryJoinRoomTokenCallback EOS_RTCAdmin_QueryJoinRoomToken; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTCAdmin_SetParticipantHardMuteCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAdmin.OnSetParticipantHardMuteCompleteCallbackInternal completionDelegate); - internal static EOS_RTCAdmin_SetParticipantHardMuteCallback EOS_RTCAdmin_SetParticipantHardMute; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTCAdmin_UserToken_ReleaseCallback(System.IntPtr userToken); - internal static EOS_RTCAdmin_UserToken_ReleaseCallback EOS_RTCAdmin_UserToken_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_RTCAudio_AddNotifyAudioBeforeRenderCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnAudioBeforeRenderCallbackInternal completionDelegate); - internal static EOS_RTCAudio_AddNotifyAudioBeforeRenderCallback EOS_RTCAudio_AddNotifyAudioBeforeRender; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_RTCAudio_AddNotifyAudioBeforeSendCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnAudioBeforeSendCallbackInternal completionDelegate); - internal static EOS_RTCAudio_AddNotifyAudioBeforeSendCallback EOS_RTCAudio_AddNotifyAudioBeforeSend; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_RTCAudio_AddNotifyAudioDevicesChangedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnAudioDevicesChangedCallbackInternal completionDelegate); - internal static EOS_RTCAudio_AddNotifyAudioDevicesChangedCallback EOS_RTCAudio_AddNotifyAudioDevicesChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_RTCAudio_AddNotifyAudioInputStateCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnAudioInputStateCallbackInternal completionDelegate); - internal static EOS_RTCAudio_AddNotifyAudioInputStateCallback EOS_RTCAudio_AddNotifyAudioInputState; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_RTCAudio_AddNotifyAudioOutputStateCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnAudioOutputStateCallbackInternal completionDelegate); - internal static EOS_RTCAudio_AddNotifyAudioOutputStateCallback EOS_RTCAudio_AddNotifyAudioOutputState; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_RTCAudio_AddNotifyParticipantUpdatedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnParticipantUpdatedCallbackInternal completionDelegate); - internal static EOS_RTCAudio_AddNotifyParticipantUpdatedCallback EOS_RTCAudio_AddNotifyParticipantUpdated; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_RTCAudio_GetAudioInputDeviceByIndexCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_RTCAudio_GetAudioInputDeviceByIndexCallback EOS_RTCAudio_GetAudioInputDeviceByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_RTCAudio_GetAudioInputDevicesCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_RTCAudio_GetAudioInputDevicesCountCallback EOS_RTCAudio_GetAudioInputDevicesCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_RTCAudio_GetAudioOutputDeviceByIndexCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_RTCAudio_GetAudioOutputDeviceByIndexCallback EOS_RTCAudio_GetAudioOutputDeviceByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_RTCAudio_GetAudioOutputDevicesCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_RTCAudio_GetAudioOutputDevicesCountCallback EOS_RTCAudio_GetAudioOutputDevicesCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_RTCAudio_RegisterPlatformAudioUserCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_RTCAudio_RegisterPlatformAudioUserCallback EOS_RTCAudio_RegisterPlatformAudioUser; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTCAudio_RemoveNotifyAudioBeforeRenderCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_RTCAudio_RemoveNotifyAudioBeforeRenderCallback EOS_RTCAudio_RemoveNotifyAudioBeforeRender; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTCAudio_RemoveNotifyAudioBeforeSendCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_RTCAudio_RemoveNotifyAudioBeforeSendCallback EOS_RTCAudio_RemoveNotifyAudioBeforeSend; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTCAudio_RemoveNotifyAudioDevicesChangedCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_RTCAudio_RemoveNotifyAudioDevicesChangedCallback EOS_RTCAudio_RemoveNotifyAudioDevicesChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTCAudio_RemoveNotifyAudioInputStateCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_RTCAudio_RemoveNotifyAudioInputStateCallback EOS_RTCAudio_RemoveNotifyAudioInputState; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTCAudio_RemoveNotifyAudioOutputStateCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_RTCAudio_RemoveNotifyAudioOutputStateCallback EOS_RTCAudio_RemoveNotifyAudioOutputState; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTCAudio_RemoveNotifyParticipantUpdatedCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_RTCAudio_RemoveNotifyParticipantUpdatedCallback EOS_RTCAudio_RemoveNotifyParticipantUpdated; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_RTCAudio_SendAudioCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_RTCAudio_SendAudioCallback EOS_RTCAudio_SendAudio; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_RTCAudio_SetAudioInputSettingsCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_RTCAudio_SetAudioInputSettingsCallback EOS_RTCAudio_SetAudioInputSettings; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_RTCAudio_SetAudioOutputSettingsCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_RTCAudio_SetAudioOutputSettingsCallback EOS_RTCAudio_SetAudioOutputSettings; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_RTCAudio_UnregisterPlatformAudioUserCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_RTCAudio_UnregisterPlatformAudioUserCallback EOS_RTCAudio_UnregisterPlatformAudioUser; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTCAudio_UpdateReceivingCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnUpdateReceivingCallbackInternal completionDelegate); - internal static EOS_RTCAudio_UpdateReceivingCallback EOS_RTCAudio_UpdateReceiving; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTCAudio_UpdateSendingCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnUpdateSendingCallbackInternal completionDelegate); - internal static EOS_RTCAudio_UpdateSendingCallback EOS_RTCAudio_UpdateSending; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_RTC_AddNotifyDisconnectedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTC.OnDisconnectedCallbackInternal completionDelegate); - internal static EOS_RTC_AddNotifyDisconnectedCallback EOS_RTC_AddNotifyDisconnected; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_RTC_AddNotifyParticipantStatusChangedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTC.OnParticipantStatusChangedCallbackInternal completionDelegate); - internal static EOS_RTC_AddNotifyParticipantStatusChangedCallback EOS_RTC_AddNotifyParticipantStatusChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTC_BlockParticipantCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTC.OnBlockParticipantCallbackInternal completionDelegate); - internal static EOS_RTC_BlockParticipantCallback EOS_RTC_BlockParticipant; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_RTC_GetAudioInterfaceCallback(System.IntPtr handle); - internal static EOS_RTC_GetAudioInterfaceCallback EOS_RTC_GetAudioInterface; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTC_JoinRoomCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTC.OnJoinRoomCallbackInternal completionDelegate); - internal static EOS_RTC_JoinRoomCallback EOS_RTC_JoinRoom; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTC_LeaveRoomCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTC.OnLeaveRoomCallbackInternal completionDelegate); - internal static EOS_RTC_LeaveRoomCallback EOS_RTC_LeaveRoom; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTC_RemoveNotifyDisconnectedCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_RTC_RemoveNotifyDisconnectedCallback EOS_RTC_RemoveNotifyDisconnected; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_RTC_RemoveNotifyParticipantStatusChangedCallback(System.IntPtr handle, ulong notificationId); - internal static EOS_RTC_RemoveNotifyParticipantStatusChangedCallback EOS_RTC_RemoveNotifyParticipantStatusChanged; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Reports_SendPlayerBehaviorReportCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Reports.OnSendPlayerBehaviorReportCompleteCallbackInternal completionDelegate); - internal static EOS_Reports_SendPlayerBehaviorReportCallback EOS_Reports_SendPlayerBehaviorReport; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Sanctions_CopyPlayerSanctionByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSanction); - internal static EOS_Sanctions_CopyPlayerSanctionByIndexCallback EOS_Sanctions_CopyPlayerSanctionByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Sanctions_GetPlayerSanctionCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Sanctions_GetPlayerSanctionCountCallback EOS_Sanctions_GetPlayerSanctionCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sanctions_PlayerSanction_ReleaseCallback(System.IntPtr sanction); - internal static EOS_Sanctions_PlayerSanction_ReleaseCallback EOS_Sanctions_PlayerSanction_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sanctions_QueryActivePlayerSanctionsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sanctions.OnQueryActivePlayerSanctionsCallbackInternal completionDelegate); - internal static EOS_Sanctions_QueryActivePlayerSanctionsCallback EOS_Sanctions_QueryActivePlayerSanctions; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_SessionDetails_Attribute_ReleaseCallback(System.IntPtr sessionAttribute); - internal static EOS_SessionDetails_Attribute_ReleaseCallback EOS_SessionDetails_Attribute_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionDetails_CopyInfoCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionInfo); - internal static EOS_SessionDetails_CopyInfoCallback EOS_SessionDetails_CopyInfo; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionDetails_CopySessionAttributeByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionAttribute); - internal static EOS_SessionDetails_CopySessionAttributeByIndexCallback EOS_SessionDetails_CopySessionAttributeByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionDetails_CopySessionAttributeByKeyCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionAttribute); - internal static EOS_SessionDetails_CopySessionAttributeByKeyCallback EOS_SessionDetails_CopySessionAttributeByKey; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_SessionDetails_GetSessionAttributeCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionDetails_GetSessionAttributeCountCallback EOS_SessionDetails_GetSessionAttributeCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_SessionDetails_Info_ReleaseCallback(System.IntPtr sessionInfo); - internal static EOS_SessionDetails_Info_ReleaseCallback EOS_SessionDetails_Info_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_SessionDetails_ReleaseCallback(System.IntPtr sessionHandle); - internal static EOS_SessionDetails_ReleaseCallback EOS_SessionDetails_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionModification_AddAttributeCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionModification_AddAttributeCallback EOS_SessionModification_AddAttribute; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_SessionModification_ReleaseCallback(System.IntPtr sessionModificationHandle); - internal static EOS_SessionModification_ReleaseCallback EOS_SessionModification_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionModification_RemoveAttributeCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionModification_RemoveAttributeCallback EOS_SessionModification_RemoveAttribute; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionModification_SetBucketIdCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionModification_SetBucketIdCallback EOS_SessionModification_SetBucketId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionModification_SetHostAddressCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionModification_SetHostAddressCallback EOS_SessionModification_SetHostAddress; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionModification_SetInvitesAllowedCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionModification_SetInvitesAllowedCallback EOS_SessionModification_SetInvitesAllowed; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionModification_SetJoinInProgressAllowedCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionModification_SetJoinInProgressAllowedCallback EOS_SessionModification_SetJoinInProgressAllowed; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionModification_SetMaxPlayersCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionModification_SetMaxPlayersCallback EOS_SessionModification_SetMaxPlayers; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionModification_SetPermissionLevelCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionModification_SetPermissionLevelCallback EOS_SessionModification_SetPermissionLevel; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionSearch_CopySearchResultByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionHandle); - internal static EOS_SessionSearch_CopySearchResultByIndexCallback EOS_SessionSearch_CopySearchResultByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_SessionSearch_FindCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.SessionSearchOnFindCallbackInternal completionDelegate); - internal static EOS_SessionSearch_FindCallback EOS_SessionSearch_Find; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_SessionSearch_GetSearchResultCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionSearch_GetSearchResultCountCallback EOS_SessionSearch_GetSearchResultCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_SessionSearch_ReleaseCallback(System.IntPtr sessionSearchHandle); - internal static EOS_SessionSearch_ReleaseCallback EOS_SessionSearch_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionSearch_RemoveParameterCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionSearch_RemoveParameterCallback EOS_SessionSearch_RemoveParameter; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionSearch_SetMaxResultsCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionSearch_SetMaxResultsCallback EOS_SessionSearch_SetMaxResults; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionSearch_SetParameterCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionSearch_SetParameterCallback EOS_SessionSearch_SetParameter; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionSearch_SetSessionIdCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionSearch_SetSessionIdCallback EOS_SessionSearch_SetSessionId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_SessionSearch_SetTargetUserIdCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_SessionSearch_SetTargetUserIdCallback EOS_SessionSearch_SetTargetUserId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Sessions_AddNotifyJoinSessionAcceptedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnJoinSessionAcceptedCallbackInternal notificationFn); - internal static EOS_Sessions_AddNotifyJoinSessionAcceptedCallback EOS_Sessions_AddNotifyJoinSessionAccepted; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Sessions_AddNotifySessionInviteAcceptedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnSessionInviteAcceptedCallbackInternal notificationFn); - internal static EOS_Sessions_AddNotifySessionInviteAcceptedCallback EOS_Sessions_AddNotifySessionInviteAccepted; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_Sessions_AddNotifySessionInviteReceivedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnSessionInviteReceivedCallbackInternal notificationFn); - internal static EOS_Sessions_AddNotifySessionInviteReceivedCallback EOS_Sessions_AddNotifySessionInviteReceived; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Sessions_CopyActiveSessionHandleCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionHandle); - internal static EOS_Sessions_CopyActiveSessionHandleCallback EOS_Sessions_CopyActiveSessionHandle; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Sessions_CopySessionHandleByInviteIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionHandle); - internal static EOS_Sessions_CopySessionHandleByInviteIdCallback EOS_Sessions_CopySessionHandleByInviteId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Sessions_CopySessionHandleByUiEventIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionHandle); - internal static EOS_Sessions_CopySessionHandleByUiEventIdCallback EOS_Sessions_CopySessionHandleByUiEventId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Sessions_CopySessionHandleForPresenceCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionHandle); - internal static EOS_Sessions_CopySessionHandleForPresenceCallback EOS_Sessions_CopySessionHandleForPresence; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Sessions_CreateSessionModificationCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionModificationHandle); - internal static EOS_Sessions_CreateSessionModificationCallback EOS_Sessions_CreateSessionModification; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Sessions_CreateSessionSearchCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionSearchHandle); - internal static EOS_Sessions_CreateSessionSearchCallback EOS_Sessions_CreateSessionSearch; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sessions_DestroySessionCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnDestroySessionCallbackInternal completionDelegate); - internal static EOS_Sessions_DestroySessionCallback EOS_Sessions_DestroySession; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Sessions_DumpSessionStateCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Sessions_DumpSessionStateCallback EOS_Sessions_DumpSessionState; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sessions_EndSessionCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnEndSessionCallbackInternal completionDelegate); - internal static EOS_Sessions_EndSessionCallback EOS_Sessions_EndSession; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Sessions_GetInviteCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Sessions_GetInviteCountCallback EOS_Sessions_GetInviteCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Sessions_GetInviteIdByIndexCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref int inOutBufferLength); - internal static EOS_Sessions_GetInviteIdByIndexCallback EOS_Sessions_GetInviteIdByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Sessions_IsUserInSessionCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Sessions_IsUserInSessionCallback EOS_Sessions_IsUserInSession; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sessions_JoinSessionCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnJoinSessionCallbackInternal completionDelegate); - internal static EOS_Sessions_JoinSessionCallback EOS_Sessions_JoinSession; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sessions_QueryInvitesCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnQueryInvitesCallbackInternal completionDelegate); - internal static EOS_Sessions_QueryInvitesCallback EOS_Sessions_QueryInvites; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sessions_RegisterPlayersCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnRegisterPlayersCallbackInternal completionDelegate); - internal static EOS_Sessions_RegisterPlayersCallback EOS_Sessions_RegisterPlayers; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sessions_RejectInviteCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnRejectInviteCallbackInternal completionDelegate); - internal static EOS_Sessions_RejectInviteCallback EOS_Sessions_RejectInvite; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sessions_RemoveNotifyJoinSessionAcceptedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Sessions_RemoveNotifyJoinSessionAcceptedCallback EOS_Sessions_RemoveNotifyJoinSessionAccepted; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sessions_RemoveNotifySessionInviteAcceptedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Sessions_RemoveNotifySessionInviteAcceptedCallback EOS_Sessions_RemoveNotifySessionInviteAccepted; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sessions_RemoveNotifySessionInviteReceivedCallback(System.IntPtr handle, ulong inId); - internal static EOS_Sessions_RemoveNotifySessionInviteReceivedCallback EOS_Sessions_RemoveNotifySessionInviteReceived; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sessions_SendInviteCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnSendInviteCallbackInternal completionDelegate); - internal static EOS_Sessions_SendInviteCallback EOS_Sessions_SendInvite; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sessions_StartSessionCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnStartSessionCallbackInternal completionDelegate); - internal static EOS_Sessions_StartSessionCallback EOS_Sessions_StartSession; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sessions_UnregisterPlayersCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnUnregisterPlayersCallbackInternal completionDelegate); - internal static EOS_Sessions_UnregisterPlayersCallback EOS_Sessions_UnregisterPlayers; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Sessions_UpdateSessionCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnUpdateSessionCallbackInternal completionDelegate); - internal static EOS_Sessions_UpdateSessionCallback EOS_Sessions_UpdateSession; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Sessions_UpdateSessionModificationCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionModificationHandle); - internal static EOS_Sessions_UpdateSessionModificationCallback EOS_Sessions_UpdateSessionModification; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_ShutdownCallback(); - internal static EOS_ShutdownCallback EOS_Shutdown; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Stats_CopyStatByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outStat); - internal static EOS_Stats_CopyStatByIndexCallback EOS_Stats_CopyStatByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_Stats_CopyStatByNameCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outStat); - internal static EOS_Stats_CopyStatByNameCallback EOS_Stats_CopyStatByName; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_Stats_GetStatsCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_Stats_GetStatsCountCallback EOS_Stats_GetStatsCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Stats_IngestStatCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Stats.OnIngestStatCompleteCallbackInternal completionDelegate); - internal static EOS_Stats_IngestStatCallback EOS_Stats_IngestStat; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Stats_QueryStatsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Stats.OnQueryStatsCompleteCallbackInternal completionDelegate); - internal static EOS_Stats_QueryStatsCallback EOS_Stats_QueryStats; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_Stats_Stat_ReleaseCallback(System.IntPtr stat); - internal static EOS_Stats_Stat_ReleaseCallback EOS_Stats_Stat_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_TitleStorageFileTransferRequest_CancelRequestCallback(System.IntPtr handle); - internal static EOS_TitleStorageFileTransferRequest_CancelRequestCallback EOS_TitleStorageFileTransferRequest_CancelRequest; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_TitleStorageFileTransferRequest_GetFileRequestStateCallback(System.IntPtr handle); - internal static EOS_TitleStorageFileTransferRequest_GetFileRequestStateCallback EOS_TitleStorageFileTransferRequest_GetFileRequestState; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_TitleStorageFileTransferRequest_GetFilenameCallback(System.IntPtr handle, uint filenameStringBufferSizeBytes, System.IntPtr outStringBuffer, ref int outStringLength); - internal static EOS_TitleStorageFileTransferRequest_GetFilenameCallback EOS_TitleStorageFileTransferRequest_GetFilename; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_TitleStorageFileTransferRequest_ReleaseCallback(System.IntPtr titleStorageFileTransferHandle); - internal static EOS_TitleStorageFileTransferRequest_ReleaseCallback EOS_TitleStorageFileTransferRequest_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_TitleStorage_CopyFileMetadataAtIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outMetadata); - internal static EOS_TitleStorage_CopyFileMetadataAtIndexCallback EOS_TitleStorage_CopyFileMetadataAtIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_TitleStorage_CopyFileMetadataByFilenameCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outMetadata); - internal static EOS_TitleStorage_CopyFileMetadataByFilenameCallback EOS_TitleStorage_CopyFileMetadataByFilename; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_TitleStorage_DeleteCacheCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, TitleStorage.OnDeleteCacheCompleteCallbackInternal completionCallback); - internal static EOS_TitleStorage_DeleteCacheCallback EOS_TitleStorage_DeleteCache; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_TitleStorage_FileMetadata_ReleaseCallback(System.IntPtr fileMetadata); - internal static EOS_TitleStorage_FileMetadata_ReleaseCallback EOS_TitleStorage_FileMetadata_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_TitleStorage_GetFileMetadataCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_TitleStorage_GetFileMetadataCountCallback EOS_TitleStorage_GetFileMetadataCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_TitleStorage_QueryFileCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, TitleStorage.OnQueryFileCompleteCallbackInternal completionCallback); - internal static EOS_TitleStorage_QueryFileCallback EOS_TitleStorage_QueryFile; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_TitleStorage_QueryFileListCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, TitleStorage.OnQueryFileListCompleteCallbackInternal completionCallback); - internal static EOS_TitleStorage_QueryFileListCallback EOS_TitleStorage_QueryFileList; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate System.IntPtr EOS_TitleStorage_ReadFileCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, TitleStorage.OnReadFileCompleteCallbackInternal completionCallback); - internal static EOS_TitleStorage_ReadFileCallback EOS_TitleStorage_ReadFile; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_UI_AcknowledgeEventIdCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_UI_AcknowledgeEventIdCallback EOS_UI_AcknowledgeEventId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ulong EOS_UI_AddNotifyDisplaySettingsUpdatedCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, UI.OnDisplaySettingsUpdatedCallbackInternal notificationFn); - internal static EOS_UI_AddNotifyDisplaySettingsUpdatedCallback EOS_UI_AddNotifyDisplaySettingsUpdated; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate int EOS_UI_GetFriendsVisibleCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_UI_GetFriendsVisibleCallback EOS_UI_GetFriendsVisible; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate UI.NotificationLocation EOS_UI_GetNotificationLocationPreferenceCallback(System.IntPtr handle); - internal static EOS_UI_GetNotificationLocationPreferenceCallback EOS_UI_GetNotificationLocationPreference; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate UI.KeyCombination EOS_UI_GetToggleFriendsKeyCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_UI_GetToggleFriendsKeyCallback EOS_UI_GetToggleFriendsKey; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_UI_HideFriendsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, UI.OnHideFriendsCallbackInternal completionDelegate); - internal static EOS_UI_HideFriendsCallback EOS_UI_HideFriends; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate int EOS_UI_IsValidKeyCombinationCallback(System.IntPtr handle, UI.KeyCombination keyCombination); - internal static EOS_UI_IsValidKeyCombinationCallback EOS_UI_IsValidKeyCombination; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_UI_RemoveNotifyDisplaySettingsUpdatedCallback(System.IntPtr handle, ulong id); - internal static EOS_UI_RemoveNotifyDisplaySettingsUpdatedCallback EOS_UI_RemoveNotifyDisplaySettingsUpdated; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_UI_SetDisplayPreferenceCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_UI_SetDisplayPreferenceCallback EOS_UI_SetDisplayPreference; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_UI_SetToggleFriendsKeyCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_UI_SetToggleFriendsKeyCallback EOS_UI_SetToggleFriendsKey; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_UI_ShowFriendsCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, UI.OnShowFriendsCallbackInternal completionDelegate); - internal static EOS_UI_ShowFriendsCallback EOS_UI_ShowFriends; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_UserInfo_CopyExternalUserInfoByAccountIdCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalUserInfo); - internal static EOS_UserInfo_CopyExternalUserInfoByAccountIdCallback EOS_UserInfo_CopyExternalUserInfoByAccountId; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_UserInfo_CopyExternalUserInfoByAccountTypeCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalUserInfo); - internal static EOS_UserInfo_CopyExternalUserInfoByAccountTypeCallback EOS_UserInfo_CopyExternalUserInfoByAccountType; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_UserInfo_CopyExternalUserInfoByIndexCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalUserInfo); - internal static EOS_UserInfo_CopyExternalUserInfoByIndexCallback EOS_UserInfo_CopyExternalUserInfoByIndex; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate Result EOS_UserInfo_CopyUserInfoCallback(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outUserInfo); - internal static EOS_UserInfo_CopyUserInfoCallback EOS_UserInfo_CopyUserInfo; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_UserInfo_ExternalUserInfo_ReleaseCallback(System.IntPtr externalUserInfo); - internal static EOS_UserInfo_ExternalUserInfo_ReleaseCallback EOS_UserInfo_ExternalUserInfo_Release; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate uint EOS_UserInfo_GetExternalUserInfoCountCallback(System.IntPtr handle, System.IntPtr options); - internal static EOS_UserInfo_GetExternalUserInfoCountCallback EOS_UserInfo_GetExternalUserInfoCount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_UserInfo_QueryUserInfoCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, UserInfo.OnQueryUserInfoCallbackInternal completionDelegate); - internal static EOS_UserInfo_QueryUserInfoCallback EOS_UserInfo_QueryUserInfo; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_UserInfo_QueryUserInfoByDisplayNameCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, UserInfo.OnQueryUserInfoByDisplayNameCallbackInternal completionDelegate); - internal static EOS_UserInfo_QueryUserInfoByDisplayNameCallback EOS_UserInfo_QueryUserInfoByDisplayName; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_UserInfo_QueryUserInfoByExternalAccountCallback(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, UserInfo.OnQueryUserInfoByExternalAccountCallbackInternal completionDelegate); - internal static EOS_UserInfo_QueryUserInfoByExternalAccountCallback EOS_UserInfo_QueryUserInfoByExternalAccount; - - [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void EOS_UserInfo_ReleaseCallback(System.IntPtr userInfo); - internal static EOS_UserInfo_ReleaseCallback EOS_UserInfo_Release; -#endif - -#if !EOS_DYNAMIC_BINDINGS - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Achievements_AddNotifyAchievementsUnlocked(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Achievements.OnAchievementsUnlockedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Achievements_AddNotifyAchievementsUnlockedV2(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Achievements.OnAchievementsUnlockedCallbackV2Internal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Achievements_CopyAchievementDefinitionByAchievementId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outDefinition); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Achievements_CopyAchievementDefinitionByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outDefinition); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outDefinition); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Achievements_CopyAchievementDefinitionV2ByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outDefinition); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Achievements_CopyPlayerAchievementByAchievementId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAchievement); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Achievements_CopyPlayerAchievementByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAchievement); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Achievements_CopyUnlockedAchievementByAchievementId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAchievement); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Achievements_CopyUnlockedAchievementByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAchievement); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Achievements_DefinitionV2_Release(System.IntPtr achievementDefinition); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Achievements_Definition_Release(System.IntPtr achievementDefinition); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Achievements_GetAchievementDefinitionCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Achievements_GetPlayerAchievementCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Achievements_GetUnlockedAchievementCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Achievements_PlayerAchievement_Release(System.IntPtr achievement); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Achievements_QueryDefinitions(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Achievements.OnQueryDefinitionsCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Achievements_QueryPlayerAchievements(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Achievements.OnQueryPlayerAchievementsCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Achievements_RemoveNotifyAchievementsUnlocked(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Achievements_UnlockAchievements(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Achievements.OnUnlockAchievementsCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Achievements_UnlockedAchievement_Release(System.IntPtr achievement); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_ActiveSession_CopyInfo(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outActiveSessionInfo); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_ActiveSession_GetRegisteredPlayerByIndex(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_ActiveSession_GetRegisteredPlayerCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_ActiveSession_Info_Release(System.IntPtr activeSessionInfo); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_ActiveSession_Release(System.IntPtr activeSessionHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatClient_AddExternalIntegrityCatalog(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_AntiCheatClient_AddNotifyMessageToPeer(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatClient.OnMessageToPeerCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_AntiCheatClient_AddNotifyMessageToServer(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatClient.OnMessageToServerCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_AntiCheatClient_AddNotifyPeerActionRequired(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatClient.OnPeerActionRequiredCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatClient.OnPeerAuthStatusChangedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatClient_BeginSession(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatClient_EndSession(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatClient_GetProtectMessageOutputLength(System.IntPtr handle, System.IntPtr options, ref uint outBufferLengthBytes); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatClient_PollStatus(System.IntPtr handle, System.IntPtr options, AntiCheatClient.AntiCheatClientViolationType violationType, System.IntPtr outMessage); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatClient_ProtectMessage(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref uint outBufferLengthBytes); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatClient_ReceiveMessageFromPeer(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatClient_ReceiveMessageFromServer(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatClient_RegisterPeer(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_AntiCheatClient_RemoveNotifyMessageToPeer(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_AntiCheatClient_RemoveNotifyMessageToServer(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_AntiCheatClient_RemoveNotifyPeerActionRequired(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatClient_UnprotectMessage(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref uint outBufferLengthBytes); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatClient_UnregisterPeer(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_AntiCheatServer_AddNotifyClientActionRequired(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatServer.OnClientActionRequiredCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatServer.OnClientAuthStatusChangedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_AntiCheatServer_AddNotifyMessageToClient(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, AntiCheatServer.OnMessageToClientCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_BeginSession(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_EndSession(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_GetProtectMessageOutputLength(System.IntPtr handle, System.IntPtr options, ref uint outBufferLengthBytes); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_LogEvent(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_LogGameRoundEnd(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_LogGameRoundStart(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_LogPlayerDespawn(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_LogPlayerRevive(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_LogPlayerSpawn(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_LogPlayerTakeDamage(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_LogPlayerTick(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_LogPlayerUseAbility(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_LogPlayerUseWeapon(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_ProtectMessage(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref uint outBufferLengthBytes); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_ReceiveMessageFromClient(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_RegisterClient(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_RegisterEvent(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_AntiCheatServer_RemoveNotifyClientActionRequired(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_AntiCheatServer_RemoveNotifyMessageToClient(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_SetClientDetails(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_SetClientNetworkState(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_SetGameSessionId(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_UnprotectMessage(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref uint outBufferLengthBytes); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_AntiCheatServer_UnregisterClient(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Auth_AddNotifyLoginStatusChanged(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Auth.OnLoginStatusChangedCallbackInternal notification); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Auth_CopyUserAuthToken(System.IntPtr handle, System.IntPtr options, System.IntPtr localUserId, ref System.IntPtr outUserAuthToken); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Auth_DeletePersistentAuth(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Auth.OnDeletePersistentAuthCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Auth_GetLoggedInAccountByIndex(System.IntPtr handle, int index); - - [DllImport(Config.LibraryName)] - internal static extern int EOS_Auth_GetLoggedInAccountsCount(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern LoginStatus EOS_Auth_GetLoginStatus(System.IntPtr handle, System.IntPtr localUserId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Auth_LinkAccount(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Auth.OnLinkAccountCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Auth_Login(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Auth.OnLoginCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Auth_Logout(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Auth.OnLogoutCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Auth_RemoveNotifyLoginStatusChanged(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Auth_Token_Release(System.IntPtr authToken); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Auth_VerifyUserAuth(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Auth.OnVerifyUserAuthCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_ByteArray_ToString(System.IntPtr byteArray, uint length, System.IntPtr outBuffer, ref uint inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Connect_AddNotifyAuthExpiration(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnAuthExpirationCallbackInternal notification); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Connect_AddNotifyLoginStatusChanged(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnLoginStatusChangedCallbackInternal notification); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Connect_CopyProductUserExternalAccountByAccountId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalAccountInfo); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Connect_CopyProductUserExternalAccountByAccountType(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalAccountInfo); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Connect_CopyProductUserExternalAccountByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalAccountInfo); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Connect_CopyProductUserInfo(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalAccountInfo); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Connect_CreateDeviceId(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnCreateDeviceIdCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Connect_CreateUser(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnCreateUserCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Connect_DeleteDeviceId(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnDeleteDeviceIdCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Connect_ExternalAccountInfo_Release(System.IntPtr externalAccountInfo); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Connect_GetExternalAccountMapping(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Connect_GetLoggedInUserByIndex(System.IntPtr handle, int index); - - [DllImport(Config.LibraryName)] - internal static extern int EOS_Connect_GetLoggedInUsersCount(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern LoginStatus EOS_Connect_GetLoginStatus(System.IntPtr handle, System.IntPtr localUserId); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Connect_GetProductUserExternalAccountCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Connect_GetProductUserIdMapping(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref int inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Connect_LinkAccount(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnLinkAccountCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Connect_Login(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnLoginCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Connect_QueryExternalAccountMappings(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnQueryExternalAccountMappingsCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Connect_QueryProductUserIdMappings(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnQueryProductUserIdMappingsCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Connect_RemoveNotifyAuthExpiration(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Connect_RemoveNotifyLoginStatusChanged(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Connect_TransferDeviceIdAccount(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnTransferDeviceIdAccountCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Connect_UnlinkAccount(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Connect.OnUnlinkAccountCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_ContinuanceToken_ToString(System.IntPtr continuanceToken, System.IntPtr outBuffer, ref int inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern int EOS_EResult_IsOperationComplete(Result result); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_EResult_ToString(Result result); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Ecom_CatalogItem_Release(System.IntPtr catalogItem); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Ecom_CatalogOffer_Release(System.IntPtr catalogOffer); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Ecom_CatalogRelease_Release(System.IntPtr catalogRelease); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Ecom_Checkout(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Ecom.OnCheckoutCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_CopyEntitlementById(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outEntitlement); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_CopyEntitlementByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outEntitlement); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_CopyEntitlementByNameAndIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outEntitlement); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_CopyItemById(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outItem); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_CopyItemImageInfoByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outImageInfo); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_CopyItemReleaseByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outRelease); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_CopyOfferById(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outOffer); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_CopyOfferByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outOffer); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_CopyOfferImageInfoByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outImageInfo); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_CopyOfferItemByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outItem); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_CopyTransactionById(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outTransaction); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_CopyTransactionByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outTransaction); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Ecom_Entitlement_Release(System.IntPtr entitlement); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Ecom_GetEntitlementsByNameCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Ecom_GetEntitlementsCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Ecom_GetItemImageInfoCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Ecom_GetItemReleaseCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Ecom_GetOfferCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Ecom_GetOfferImageInfoCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Ecom_GetOfferItemCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Ecom_GetTransactionCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Ecom_KeyImageInfo_Release(System.IntPtr keyImageInfo); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Ecom_QueryEntitlements(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Ecom.OnQueryEntitlementsCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Ecom_QueryOffers(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Ecom.OnQueryOffersCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Ecom_QueryOwnership(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Ecom.OnQueryOwnershipCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Ecom_QueryOwnershipToken(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Ecom.OnQueryOwnershipTokenCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Ecom_RedeemEntitlements(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Ecom.OnRedeemEntitlementsCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_Transaction_CopyEntitlementByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outEntitlement); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Ecom_Transaction_GetEntitlementsCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Ecom_Transaction_GetTransactionId(System.IntPtr handle, System.IntPtr outBuffer, ref int inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Ecom_Transaction_Release(System.IntPtr transaction); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_EpicAccountId_FromString(System.IntPtr accountIdString); - - [DllImport(Config.LibraryName)] - internal static extern int EOS_EpicAccountId_IsValid(System.IntPtr accountId); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_EpicAccountId_ToString(System.IntPtr accountId, System.IntPtr outBuffer, ref int inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Friends_AcceptInvite(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Friends.OnAcceptInviteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Friends_AddNotifyFriendsUpdate(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Friends.OnFriendsUpdateCallbackInternal friendsUpdateHandler); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Friends_GetFriendAtIndex(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern int EOS_Friends_GetFriendsCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Friends.FriendsStatus EOS_Friends_GetStatus(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Friends_QueryFriends(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Friends.OnQueryFriendsCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Friends_RejectInvite(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Friends.OnRejectInviteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Friends_RemoveNotifyFriendsUpdate(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Friends_SendInvite(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Friends.OnSendInviteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Initialize(System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_KWS_AddNotifyPermissionsUpdateReceived(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, KWS.OnPermissionsUpdateReceivedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_KWS_CopyPermissionByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outPermission); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_KWS_CreateUser(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, KWS.OnCreateUserCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_KWS_GetPermissionByKey(System.IntPtr handle, System.IntPtr options, ref KWS.KWSPermissionStatus outPermission); - - [DllImport(Config.LibraryName)] - internal static extern int EOS_KWS_GetPermissionsCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_KWS_PermissionStatus_Release(System.IntPtr permissionStatus); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_KWS_QueryAgeGate(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, KWS.OnQueryAgeGateCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_KWS_QueryPermissions(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, KWS.OnQueryPermissionsCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_KWS_RemoveNotifyPermissionsUpdateReceived(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_KWS_RequestPermissions(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, KWS.OnRequestPermissionsCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_KWS_UpdateParentEmail(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, KWS.OnUpdateParentEmailCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Leaderboards_CopyLeaderboardDefinitionByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLeaderboardDefinition); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLeaderboardDefinition); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Leaderboards_CopyLeaderboardRecordByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLeaderboardRecord); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Leaderboards_CopyLeaderboardRecordByUserId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLeaderboardRecord); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Leaderboards_CopyLeaderboardUserScoreByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLeaderboardUserScore); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Leaderboards_CopyLeaderboardUserScoreByUserId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLeaderboardUserScore); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Leaderboards_Definition_Release(System.IntPtr leaderboardDefinition); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Leaderboards_GetLeaderboardDefinitionCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Leaderboards_GetLeaderboardRecordCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Leaderboards_GetLeaderboardUserScoreCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Leaderboards_LeaderboardDefinition_Release(System.IntPtr leaderboardDefinition); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Leaderboards_LeaderboardRecord_Release(System.IntPtr leaderboardRecord); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Leaderboards_LeaderboardUserScore_Release(System.IntPtr leaderboardUserScore); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Leaderboards_QueryLeaderboardDefinitions(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Leaderboards.OnQueryLeaderboardDefinitionsCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Leaderboards_QueryLeaderboardRanks(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Leaderboards.OnQueryLeaderboardRanksCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Leaderboards_QueryLeaderboardUserScores(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Leaderboards.OnQueryLeaderboardUserScoresCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbyDetails_CopyAttributeByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAttribute); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbyDetails_CopyAttributeByKey(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAttribute); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbyDetails_CopyInfo(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbyDetailsInfo); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbyDetails_CopyMemberAttributeByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAttribute); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbyDetails_CopyMemberAttributeByKey(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outAttribute); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_LobbyDetails_GetAttributeCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_LobbyDetails_GetLobbyOwner(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_LobbyDetails_GetMemberAttributeCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_LobbyDetails_GetMemberByIndex(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_LobbyDetails_GetMemberCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_LobbyDetails_Info_Release(System.IntPtr lobbyDetailsInfo); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_LobbyDetails_Release(System.IntPtr lobbyHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbyModification_AddAttribute(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbyModification_AddMemberAttribute(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_LobbyModification_Release(System.IntPtr lobbyModificationHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbyModification_RemoveAttribute(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbyModification_RemoveMemberAttribute(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbyModification_SetBucketId(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbyModification_SetInvitesAllowed(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbyModification_SetMaxMembers(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbyModification_SetPermissionLevel(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbySearch_CopySearchResultByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbyDetailsHandle); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_LobbySearch_Find(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.LobbySearchOnFindCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_LobbySearch_GetSearchResultCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_LobbySearch_Release(System.IntPtr lobbySearchHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbySearch_RemoveParameter(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbySearch_SetLobbyId(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbySearch_SetMaxResults(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbySearch_SetParameter(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_LobbySearch_SetTargetUserId(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Lobby_AddNotifyJoinLobbyAccepted(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnJoinLobbyAcceptedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Lobby_AddNotifyLobbyInviteAccepted(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnLobbyInviteAcceptedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Lobby_AddNotifyLobbyInviteReceived(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnLobbyInviteReceivedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Lobby_AddNotifyLobbyMemberStatusReceived(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnLobbyMemberStatusReceivedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Lobby_AddNotifyLobbyMemberUpdateReceived(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnLobbyMemberUpdateReceivedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Lobby_AddNotifyLobbyUpdateReceived(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnLobbyUpdateReceivedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Lobby_AddNotifyRTCRoomConnectionChanged(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnRTCRoomConnectionChangedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_Attribute_Release(System.IntPtr lobbyAttribute); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Lobby_CopyLobbyDetailsHandle(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbyDetailsHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Lobby_CopyLobbyDetailsHandleByInviteId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbyDetailsHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Lobby_CopyLobbyDetailsHandleByUiEventId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbyDetailsHandle); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_CreateLobby(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnCreateLobbyCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Lobby_CreateLobbySearch(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbySearchHandle); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_DestroyLobby(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnDestroyLobbyCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Lobby_GetInviteCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Lobby_GetInviteIdByIndex(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref int inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Lobby_GetRTCRoomName(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref uint inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Lobby_IsRTCRoomConnected(System.IntPtr handle, System.IntPtr options, ref int bOutIsConnected); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_JoinLobby(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnJoinLobbyCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_KickMember(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnKickMemberCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_LeaveLobby(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnLeaveLobbyCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_PromoteMember(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnPromoteMemberCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_QueryInvites(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnQueryInvitesCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_RejectInvite(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnRejectInviteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_RemoveNotifyJoinLobbyAccepted(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_RemoveNotifyLobbyInviteAccepted(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_RemoveNotifyLobbyInviteReceived(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_RemoveNotifyLobbyUpdateReceived(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_SendInvite(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnSendInviteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Lobby_UpdateLobby(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Lobby.OnUpdateLobbyCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Lobby_UpdateLobbyModification(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outLobbyModificationHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Logging_SetCallback(Logging.LogMessageFuncInternal callback); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Logging_SetLogLevel(Logging.LogCategory logCategory, Logging.LogLevel logLevel); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Metrics_BeginPlayerSession(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Metrics_EndPlayerSession(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Mods_CopyModInfo(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outEnumeratedMods); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Mods_EnumerateMods(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Mods.OnEnumerateModsCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Mods_InstallMod(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Mods.OnInstallModCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Mods_ModInfo_Release(System.IntPtr modInfo); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Mods_UninstallMod(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Mods.OnUninstallModCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Mods_UpdateMod(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Mods.OnUpdateModCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_P2P_AcceptConnection(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_P2P_AddNotifyIncomingPacketQueueFull(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, P2P.OnIncomingPacketQueueFullCallbackInternal incomingPacketQueueFullHandler); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_P2P_AddNotifyPeerConnectionClosed(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, P2P.OnRemoteConnectionClosedCallbackInternal connectionClosedHandler); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_P2P_AddNotifyPeerConnectionRequest(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, P2P.OnIncomingConnectionRequestCallbackInternal connectionRequestHandler); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_P2P_CloseConnection(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_P2P_CloseConnections(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_P2P_GetNATType(System.IntPtr handle, System.IntPtr options, ref P2P.NATType outNATType); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_P2P_GetNextReceivedPacketSize(System.IntPtr handle, System.IntPtr options, ref uint outPacketSizeBytes); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_P2P_GetPacketQueueInfo(System.IntPtr handle, System.IntPtr options, ref P2P.PacketQueueInfoInternal outPacketQueueInfo); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_P2P_GetPortRange(System.IntPtr handle, System.IntPtr options, ref ushort outPort, ref ushort outNumAdditionalPortsToTry); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_P2P_GetRelayControl(System.IntPtr handle, System.IntPtr options, ref P2P.RelayControl outRelayControl); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_P2P_QueryNATType(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, P2P.OnQueryNATTypeCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_P2P_ReceivePacket(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outPeerId, ref P2P.SocketIdInternal outSocketId, ref byte outChannel, System.IntPtr outData, ref uint outBytesWritten); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_P2P_RemoveNotifyIncomingPacketQueueFull(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_P2P_RemoveNotifyPeerConnectionClosed(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_P2P_RemoveNotifyPeerConnectionRequest(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_P2P_SendPacket(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_P2P_SetPacketQueueSize(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_P2P_SetPortRange(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_P2P_SetRelayControl(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Platform_CheckForLauncherAndRestart(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_Create(System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetAchievementsInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Platform_GetActiveCountryCode(System.IntPtr handle, System.IntPtr localUserId, System.IntPtr outBuffer, ref int inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Platform_GetActiveLocaleCode(System.IntPtr handle, System.IntPtr localUserId, System.IntPtr outBuffer, ref int inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetAntiCheatClientInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetAntiCheatServerInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetAuthInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetConnectInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetEcomInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetFriendsInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetKWSInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetLeaderboardsInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetLobbyInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetMetricsInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetModsInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Platform_GetOverrideCountryCode(System.IntPtr handle, System.IntPtr outBuffer, ref int inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Platform_GetOverrideLocaleCode(System.IntPtr handle, System.IntPtr outBuffer, ref int inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetP2PInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetPlayerDataStorageInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetPresenceInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetRTCAdminInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetRTCInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetReportsInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetSanctionsInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetSessionsInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetStatsInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetTitleStorageInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetUIInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_Platform_GetUserInfoInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Platform_Release(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Platform_SetOverrideCountryCode(System.IntPtr handle, System.IntPtr newCountryCode); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Platform_SetOverrideLocaleCode(System.IntPtr handle, System.IntPtr newLocaleCode); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Platform_Tick(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_PlayerDataStorageFileTransferRequest_CancelRequest(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_PlayerDataStorageFileTransferRequest_GetFilename(System.IntPtr handle, uint filenameStringBufferSizeBytes, System.IntPtr outStringBuffer, ref int outStringLength); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_PlayerDataStorageFileTransferRequest_Release(System.IntPtr playerDataStorageFileTransferHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_PlayerDataStorage_CopyFileMetadataAtIndex(System.IntPtr handle, System.IntPtr copyFileMetadataOptions, ref System.IntPtr outMetadata); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_PlayerDataStorage_CopyFileMetadataByFilename(System.IntPtr handle, System.IntPtr copyFileMetadataOptions, ref System.IntPtr outMetadata); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_PlayerDataStorage_DeleteCache(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, PlayerDataStorage.OnDeleteCacheCompleteCallbackInternal completionCallback); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_PlayerDataStorage_DeleteFile(System.IntPtr handle, System.IntPtr deleteOptions, System.IntPtr clientData, PlayerDataStorage.OnDeleteFileCompleteCallbackInternal completionCallback); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_PlayerDataStorage_DuplicateFile(System.IntPtr handle, System.IntPtr duplicateOptions, System.IntPtr clientData, PlayerDataStorage.OnDuplicateFileCompleteCallbackInternal completionCallback); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_PlayerDataStorage_FileMetadata_Release(System.IntPtr fileMetadata); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_PlayerDataStorage_GetFileMetadataCount(System.IntPtr handle, System.IntPtr getFileMetadataCountOptions, ref int outFileMetadataCount); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_PlayerDataStorage_QueryFile(System.IntPtr handle, System.IntPtr queryFileOptions, System.IntPtr clientData, PlayerDataStorage.OnQueryFileCompleteCallbackInternal completionCallback); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_PlayerDataStorage_QueryFileList(System.IntPtr handle, System.IntPtr queryFileListOptions, System.IntPtr clientData, PlayerDataStorage.OnQueryFileListCompleteCallbackInternal completionCallback); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_PlayerDataStorage_ReadFile(System.IntPtr handle, System.IntPtr readOptions, System.IntPtr clientData, PlayerDataStorage.OnReadFileCompleteCallbackInternal completionCallback); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_PlayerDataStorage_WriteFile(System.IntPtr handle, System.IntPtr writeOptions, System.IntPtr clientData, PlayerDataStorage.OnWriteFileCompleteCallbackInternal completionCallback); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_PresenceModification_DeleteData(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_PresenceModification_Release(System.IntPtr presenceModificationHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_PresenceModification_SetData(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_PresenceModification_SetJoinInfo(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_PresenceModification_SetRawRichText(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_PresenceModification_SetStatus(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Presence_AddNotifyJoinGameAccepted(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Presence.OnJoinGameAcceptedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Presence_AddNotifyOnPresenceChanged(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Presence.OnPresenceChangedCallbackInternal notificationHandler); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Presence_CopyPresence(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outPresence); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Presence_CreatePresenceModification(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outPresenceModificationHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Presence_GetJoinInfo(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref int inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern int EOS_Presence_HasPresence(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Presence_Info_Release(System.IntPtr presenceInfo); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Presence_QueryPresence(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Presence.OnQueryPresenceCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Presence_RemoveNotifyJoinGameAccepted(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Presence_RemoveNotifyOnPresenceChanged(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Presence_SetPresence(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Presence.SetPresenceCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_ProductUserId_FromString(System.IntPtr productUserIdString); - - [DllImport(Config.LibraryName)] - internal static extern int EOS_ProductUserId_IsValid(System.IntPtr accountId); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_ProductUserId_ToString(System.IntPtr accountId, System.IntPtr outBuffer, ref int inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_RTCAdmin_CopyUserTokenByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outUserToken); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_RTCAdmin_CopyUserTokenByUserId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outUserToken); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTCAdmin_Kick(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAdmin.OnKickCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTCAdmin_QueryJoinRoomToken(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAdmin.OnQueryJoinRoomTokenCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTCAdmin_SetParticipantHardMute(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAdmin.OnSetParticipantHardMuteCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTCAdmin_UserToken_Release(System.IntPtr userToken); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_RTCAudio_AddNotifyAudioBeforeRender(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnAudioBeforeRenderCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_RTCAudio_AddNotifyAudioBeforeSend(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnAudioBeforeSendCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_RTCAudio_AddNotifyAudioDevicesChanged(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnAudioDevicesChangedCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_RTCAudio_AddNotifyAudioInputState(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnAudioInputStateCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_RTCAudio_AddNotifyAudioOutputState(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnAudioOutputStateCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_RTCAudio_AddNotifyParticipantUpdated(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnParticipantUpdatedCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_RTCAudio_GetAudioInputDeviceByIndex(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_RTCAudio_GetAudioInputDevicesCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_RTCAudio_GetAudioOutputDeviceByIndex(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_RTCAudio_GetAudioOutputDevicesCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_RTCAudio_RegisterPlatformAudioUser(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTCAudio_RemoveNotifyAudioBeforeRender(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTCAudio_RemoveNotifyAudioBeforeSend(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTCAudio_RemoveNotifyAudioDevicesChanged(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTCAudio_RemoveNotifyAudioInputState(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTCAudio_RemoveNotifyAudioOutputState(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTCAudio_RemoveNotifyParticipantUpdated(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_RTCAudio_SendAudio(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_RTCAudio_SetAudioInputSettings(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_RTCAudio_SetAudioOutputSettings(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_RTCAudio_UnregisterPlatformAudioUser(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTCAudio_UpdateReceiving(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnUpdateReceivingCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTCAudio_UpdateSending(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTCAudio.OnUpdateSendingCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_RTC_AddNotifyDisconnected(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTC.OnDisconnectedCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_RTC_AddNotifyParticipantStatusChanged(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTC.OnParticipantStatusChangedCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTC_BlockParticipant(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTC.OnBlockParticipantCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_RTC_GetAudioInterface(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTC_JoinRoom(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTC.OnJoinRoomCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTC_LeaveRoom(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, RTC.OnLeaveRoomCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTC_RemoveNotifyDisconnected(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_RTC_RemoveNotifyParticipantStatusChanged(System.IntPtr handle, ulong notificationId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Reports_SendPlayerBehaviorReport(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Reports.OnSendPlayerBehaviorReportCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Sanctions_CopyPlayerSanctionByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSanction); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Sanctions_GetPlayerSanctionCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sanctions_PlayerSanction_Release(System.IntPtr sanction); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sanctions_QueryActivePlayerSanctions(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sanctions.OnQueryActivePlayerSanctionsCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_SessionDetails_Attribute_Release(System.IntPtr sessionAttribute); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionDetails_CopyInfo(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionInfo); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionDetails_CopySessionAttributeByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionAttribute); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionDetails_CopySessionAttributeByKey(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionAttribute); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_SessionDetails_GetSessionAttributeCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_SessionDetails_Info_Release(System.IntPtr sessionInfo); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_SessionDetails_Release(System.IntPtr sessionHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionModification_AddAttribute(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_SessionModification_Release(System.IntPtr sessionModificationHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionModification_RemoveAttribute(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionModification_SetBucketId(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionModification_SetHostAddress(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionModification_SetInvitesAllowed(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionModification_SetJoinInProgressAllowed(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionModification_SetMaxPlayers(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionModification_SetPermissionLevel(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionSearch_CopySearchResultByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionHandle); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_SessionSearch_Find(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.SessionSearchOnFindCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_SessionSearch_GetSearchResultCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_SessionSearch_Release(System.IntPtr sessionSearchHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionSearch_RemoveParameter(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionSearch_SetMaxResults(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionSearch_SetParameter(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionSearch_SetSessionId(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_SessionSearch_SetTargetUserId(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Sessions_AddNotifyJoinSessionAccepted(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnJoinSessionAcceptedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Sessions_AddNotifySessionInviteAccepted(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnSessionInviteAcceptedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_Sessions_AddNotifySessionInviteReceived(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnSessionInviteReceivedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Sessions_CopyActiveSessionHandle(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Sessions_CopySessionHandleByInviteId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Sessions_CopySessionHandleByUiEventId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Sessions_CopySessionHandleForPresence(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Sessions_CreateSessionModification(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionModificationHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Sessions_CreateSessionSearch(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionSearchHandle); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sessions_DestroySession(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnDestroySessionCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Sessions_DumpSessionState(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sessions_EndSession(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnEndSessionCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Sessions_GetInviteCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Sessions_GetInviteIdByIndex(System.IntPtr handle, System.IntPtr options, System.IntPtr outBuffer, ref int inOutBufferLength); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Sessions_IsUserInSession(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sessions_JoinSession(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnJoinSessionCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sessions_QueryInvites(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnQueryInvitesCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sessions_RegisterPlayers(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnRegisterPlayersCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sessions_RejectInvite(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnRejectInviteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sessions_RemoveNotifyJoinSessionAccepted(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sessions_RemoveNotifySessionInviteAccepted(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sessions_RemoveNotifySessionInviteReceived(System.IntPtr handle, ulong inId); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sessions_SendInvite(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnSendInviteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sessions_StartSession(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnStartSessionCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sessions_UnregisterPlayers(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnUnregisterPlayersCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Sessions_UpdateSession(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Sessions.OnUpdateSessionCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Sessions_UpdateSessionModification(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outSessionModificationHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Shutdown(); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Stats_CopyStatByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outStat); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_Stats_CopyStatByName(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outStat); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_Stats_GetStatsCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Stats_IngestStat(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Stats.OnIngestStatCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Stats_QueryStats(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, Stats.OnQueryStatsCompleteCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_Stats_Stat_Release(System.IntPtr stat); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_TitleStorageFileTransferRequest_CancelRequest(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_TitleStorageFileTransferRequest_GetFileRequestState(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_TitleStorageFileTransferRequest_GetFilename(System.IntPtr handle, uint filenameStringBufferSizeBytes, System.IntPtr outStringBuffer, ref int outStringLength); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_TitleStorageFileTransferRequest_Release(System.IntPtr titleStorageFileTransferHandle); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_TitleStorage_CopyFileMetadataAtIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outMetadata); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_TitleStorage_CopyFileMetadataByFilename(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outMetadata); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_TitleStorage_DeleteCache(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, TitleStorage.OnDeleteCacheCompleteCallbackInternal completionCallback); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_TitleStorage_FileMetadata_Release(System.IntPtr fileMetadata); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_TitleStorage_GetFileMetadataCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_TitleStorage_QueryFile(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, TitleStorage.OnQueryFileCompleteCallbackInternal completionCallback); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_TitleStorage_QueryFileList(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, TitleStorage.OnQueryFileListCompleteCallbackInternal completionCallback); - - [DllImport(Config.LibraryName)] - internal static extern System.IntPtr EOS_TitleStorage_ReadFile(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, TitleStorage.OnReadFileCompleteCallbackInternal completionCallback); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_UI_AcknowledgeEventId(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern ulong EOS_UI_AddNotifyDisplaySettingsUpdated(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, UI.OnDisplaySettingsUpdatedCallbackInternal notificationFn); - - [DllImport(Config.LibraryName)] - internal static extern int EOS_UI_GetFriendsVisible(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern UI.NotificationLocation EOS_UI_GetNotificationLocationPreference(System.IntPtr handle); - - [DllImport(Config.LibraryName)] - internal static extern UI.KeyCombination EOS_UI_GetToggleFriendsKey(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_UI_HideFriends(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, UI.OnHideFriendsCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern int EOS_UI_IsValidKeyCombination(System.IntPtr handle, UI.KeyCombination keyCombination); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_UI_RemoveNotifyDisplaySettingsUpdated(System.IntPtr handle, ulong id); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_UI_SetDisplayPreference(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_UI_SetToggleFriendsKey(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_UI_ShowFriends(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, UI.OnShowFriendsCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_UserInfo_CopyExternalUserInfoByAccountId(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalUserInfo); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_UserInfo_CopyExternalUserInfoByAccountType(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalUserInfo); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_UserInfo_CopyExternalUserInfoByIndex(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outExternalUserInfo); - - [DllImport(Config.LibraryName)] - internal static extern Result EOS_UserInfo_CopyUserInfo(System.IntPtr handle, System.IntPtr options, ref System.IntPtr outUserInfo); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_UserInfo_ExternalUserInfo_Release(System.IntPtr externalUserInfo); - - [DllImport(Config.LibraryName)] - internal static extern uint EOS_UserInfo_GetExternalUserInfoCount(System.IntPtr handle, System.IntPtr options); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_UserInfo_QueryUserInfo(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, UserInfo.OnQueryUserInfoCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_UserInfo_QueryUserInfoByDisplayName(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, UserInfo.OnQueryUserInfoByDisplayNameCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_UserInfo_QueryUserInfoByExternalAccount(System.IntPtr handle, System.IntPtr options, System.IntPtr clientData, UserInfo.OnQueryUserInfoByExternalAccountCallbackInternal completionDelegate); - - [DllImport(Config.LibraryName)] - internal static extern void EOS_UserInfo_Release(System.IntPtr userInfo); -#endif - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +#if DEBUG + #define EOS_DEBUG +#endif + +#if UNITY_EDITOR + #define EOS_EDITOR +#endif + +#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_PS4 || UNITY_XBOXONE || UNITY_SWITCH || UNITY_IOS || UNITY_ANDROID + #define EOS_UNITY +#endif + +#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN || PLATFORM_64BITS || PLATFORM_32BITS + #if UNITY_EDITOR_WIN || UNITY_64 || PLATFORM_64BITS + #define EOS_PLATFORM_WINDOWS_64 + #else + #define EOS_PLATFORM_WINDOWS_32 + #endif + +#elif UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX + #define EOS_PLATFORM_OSX + +#elif UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX + #define EOS_PLATFORM_LINUX + +#elif UNITY_PS4 + #define EOS_PLATFORM_PS4 + +#elif UNITY_XBOXONE + #define EOS_PLATFORM_XBOXONE + +#elif UNITY_SWITCH + #define EOS_PLATFORM_SWITCH + +#elif UNITY_IOS || __IOS__ + #define EOS_PLATFORM_IOS + +#elif UNITY_ANDROID || __ANDROID__ + #define EOS_PLATFORM_ANDROID + +#endif + +#if EOS_EDITOR + #define EOS_DYNAMIC_BINDINGS +#endif + +#if EOS_DYNAMIC_BINDINGS + #if EOS_PLATFORM_WINDOWS_32 + #define EOS_DYNAMIC_BINDINGS_NAME_TYPE3 + #elif EOS_PLATFORM_OSX + #define EOS_DYNAMIC_BINDINGS_NAME_TYPE2 + #else + #define EOS_DYNAMIC_BINDINGS_NAME_TYPE1 + #endif +#endif + +using System; +using System.Runtime.InteropServices; + +namespace Epic.OnlineServices +{ + public static class Bindings + { +#if EOS_DYNAMIC_BINDINGS_NAME_TYPE1 + private const string EOS_Achievements_AddNotifyAchievementsUnlockedName = "EOS_Achievements_AddNotifyAchievementsUnlocked"; + private const string EOS_Achievements_AddNotifyAchievementsUnlockedV2Name = "EOS_Achievements_AddNotifyAchievementsUnlockedV2"; + private const string EOS_Achievements_CopyAchievementDefinitionByAchievementIdName = "EOS_Achievements_CopyAchievementDefinitionByAchievementId"; + private const string EOS_Achievements_CopyAchievementDefinitionByIndexName = "EOS_Achievements_CopyAchievementDefinitionByIndex"; + private const string EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdName = "EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId"; + private const string EOS_Achievements_CopyAchievementDefinitionV2ByIndexName = "EOS_Achievements_CopyAchievementDefinitionV2ByIndex"; + private const string EOS_Achievements_CopyPlayerAchievementByAchievementIdName = "EOS_Achievements_CopyPlayerAchievementByAchievementId"; + private const string EOS_Achievements_CopyPlayerAchievementByIndexName = "EOS_Achievements_CopyPlayerAchievementByIndex"; + private const string EOS_Achievements_CopyUnlockedAchievementByAchievementIdName = "EOS_Achievements_CopyUnlockedAchievementByAchievementId"; + private const string EOS_Achievements_CopyUnlockedAchievementByIndexName = "EOS_Achievements_CopyUnlockedAchievementByIndex"; + private const string EOS_Achievements_DefinitionV2_ReleaseName = "EOS_Achievements_DefinitionV2_Release"; + private const string EOS_Achievements_Definition_ReleaseName = "EOS_Achievements_Definition_Release"; + private const string EOS_Achievements_GetAchievementDefinitionCountName = "EOS_Achievements_GetAchievementDefinitionCount"; + private const string EOS_Achievements_GetPlayerAchievementCountName = "EOS_Achievements_GetPlayerAchievementCount"; + private const string EOS_Achievements_GetUnlockedAchievementCountName = "EOS_Achievements_GetUnlockedAchievementCount"; + private const string EOS_Achievements_PlayerAchievement_ReleaseName = "EOS_Achievements_PlayerAchievement_Release"; + private const string EOS_Achievements_QueryDefinitionsName = "EOS_Achievements_QueryDefinitions"; + private const string EOS_Achievements_QueryPlayerAchievementsName = "EOS_Achievements_QueryPlayerAchievements"; + private const string EOS_Achievements_RemoveNotifyAchievementsUnlockedName = "EOS_Achievements_RemoveNotifyAchievementsUnlocked"; + private const string EOS_Achievements_UnlockAchievementsName = "EOS_Achievements_UnlockAchievements"; + private const string EOS_Achievements_UnlockedAchievement_ReleaseName = "EOS_Achievements_UnlockedAchievement_Release"; + private const string EOS_ActiveSession_CopyInfoName = "EOS_ActiveSession_CopyInfo"; + private const string EOS_ActiveSession_GetRegisteredPlayerByIndexName = "EOS_ActiveSession_GetRegisteredPlayerByIndex"; + private const string EOS_ActiveSession_GetRegisteredPlayerCountName = "EOS_ActiveSession_GetRegisteredPlayerCount"; + private const string EOS_ActiveSession_Info_ReleaseName = "EOS_ActiveSession_Info_Release"; + private const string EOS_ActiveSession_ReleaseName = "EOS_ActiveSession_Release"; + private const string EOS_AntiCheatClient_AddExternalIntegrityCatalogName = "EOS_AntiCheatClient_AddExternalIntegrityCatalog"; + private const string EOS_AntiCheatClient_AddNotifyClientIntegrityViolatedName = "EOS_AntiCheatClient_AddNotifyClientIntegrityViolated"; + private const string EOS_AntiCheatClient_AddNotifyMessageToPeerName = "EOS_AntiCheatClient_AddNotifyMessageToPeer"; + private const string EOS_AntiCheatClient_AddNotifyMessageToServerName = "EOS_AntiCheatClient_AddNotifyMessageToServer"; + private const string EOS_AntiCheatClient_AddNotifyPeerActionRequiredName = "EOS_AntiCheatClient_AddNotifyPeerActionRequired"; + private const string EOS_AntiCheatClient_AddNotifyPeerAuthStatusChangedName = "EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged"; + private const string EOS_AntiCheatClient_BeginSessionName = "EOS_AntiCheatClient_BeginSession"; + private const string EOS_AntiCheatClient_EndSessionName = "EOS_AntiCheatClient_EndSession"; + private const string EOS_AntiCheatClient_GetProtectMessageOutputLengthName = "EOS_AntiCheatClient_GetProtectMessageOutputLength"; + private const string EOS_AntiCheatClient_PollStatusName = "EOS_AntiCheatClient_PollStatus"; + private const string EOS_AntiCheatClient_ProtectMessageName = "EOS_AntiCheatClient_ProtectMessage"; + private const string EOS_AntiCheatClient_ReceiveMessageFromPeerName = "EOS_AntiCheatClient_ReceiveMessageFromPeer"; + private const string EOS_AntiCheatClient_ReceiveMessageFromServerName = "EOS_AntiCheatClient_ReceiveMessageFromServer"; + private const string EOS_AntiCheatClient_RegisterPeerName = "EOS_AntiCheatClient_RegisterPeer"; + private const string EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolatedName = "EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolated"; + private const string EOS_AntiCheatClient_RemoveNotifyMessageToPeerName = "EOS_AntiCheatClient_RemoveNotifyMessageToPeer"; + private const string EOS_AntiCheatClient_RemoveNotifyMessageToServerName = "EOS_AntiCheatClient_RemoveNotifyMessageToServer"; + private const string EOS_AntiCheatClient_RemoveNotifyPeerActionRequiredName = "EOS_AntiCheatClient_RemoveNotifyPeerActionRequired"; + private const string EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedName = "EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged"; + private const string EOS_AntiCheatClient_UnprotectMessageName = "EOS_AntiCheatClient_UnprotectMessage"; + private const string EOS_AntiCheatClient_UnregisterPeerName = "EOS_AntiCheatClient_UnregisterPeer"; + private const string EOS_AntiCheatServer_AddNotifyClientActionRequiredName = "EOS_AntiCheatServer_AddNotifyClientActionRequired"; + private const string EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedName = "EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged"; + private const string EOS_AntiCheatServer_AddNotifyMessageToClientName = "EOS_AntiCheatServer_AddNotifyMessageToClient"; + private const string EOS_AntiCheatServer_BeginSessionName = "EOS_AntiCheatServer_BeginSession"; + private const string EOS_AntiCheatServer_EndSessionName = "EOS_AntiCheatServer_EndSession"; + private const string EOS_AntiCheatServer_GetProtectMessageOutputLengthName = "EOS_AntiCheatServer_GetProtectMessageOutputLength"; + private const string EOS_AntiCheatServer_LogEventName = "EOS_AntiCheatServer_LogEvent"; + private const string EOS_AntiCheatServer_LogGameRoundEndName = "EOS_AntiCheatServer_LogGameRoundEnd"; + private const string EOS_AntiCheatServer_LogGameRoundStartName = "EOS_AntiCheatServer_LogGameRoundStart"; + private const string EOS_AntiCheatServer_LogPlayerDespawnName = "EOS_AntiCheatServer_LogPlayerDespawn"; + private const string EOS_AntiCheatServer_LogPlayerReviveName = "EOS_AntiCheatServer_LogPlayerRevive"; + private const string EOS_AntiCheatServer_LogPlayerSpawnName = "EOS_AntiCheatServer_LogPlayerSpawn"; + private const string EOS_AntiCheatServer_LogPlayerTakeDamageName = "EOS_AntiCheatServer_LogPlayerTakeDamage"; + private const string EOS_AntiCheatServer_LogPlayerTickName = "EOS_AntiCheatServer_LogPlayerTick"; + private const string EOS_AntiCheatServer_LogPlayerUseAbilityName = "EOS_AntiCheatServer_LogPlayerUseAbility"; + private const string EOS_AntiCheatServer_LogPlayerUseWeaponName = "EOS_AntiCheatServer_LogPlayerUseWeapon"; + private const string EOS_AntiCheatServer_ProtectMessageName = "EOS_AntiCheatServer_ProtectMessage"; + private const string EOS_AntiCheatServer_ReceiveMessageFromClientName = "EOS_AntiCheatServer_ReceiveMessageFromClient"; + private const string EOS_AntiCheatServer_RegisterClientName = "EOS_AntiCheatServer_RegisterClient"; + private const string EOS_AntiCheatServer_RegisterEventName = "EOS_AntiCheatServer_RegisterEvent"; + private const string EOS_AntiCheatServer_RemoveNotifyClientActionRequiredName = "EOS_AntiCheatServer_RemoveNotifyClientActionRequired"; + private const string EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChangedName = "EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged"; + private const string EOS_AntiCheatServer_RemoveNotifyMessageToClientName = "EOS_AntiCheatServer_RemoveNotifyMessageToClient"; + private const string EOS_AntiCheatServer_SetClientDetailsName = "EOS_AntiCheatServer_SetClientDetails"; + private const string EOS_AntiCheatServer_SetClientNetworkStateName = "EOS_AntiCheatServer_SetClientNetworkState"; + private const string EOS_AntiCheatServer_SetGameSessionIdName = "EOS_AntiCheatServer_SetGameSessionId"; + private const string EOS_AntiCheatServer_UnprotectMessageName = "EOS_AntiCheatServer_UnprotectMessage"; + private const string EOS_AntiCheatServer_UnregisterClientName = "EOS_AntiCheatServer_UnregisterClient"; + private const string EOS_Auth_AddNotifyLoginStatusChangedName = "EOS_Auth_AddNotifyLoginStatusChanged"; + private const string EOS_Auth_CopyIdTokenName = "EOS_Auth_CopyIdToken"; + private const string EOS_Auth_CopyUserAuthTokenName = "EOS_Auth_CopyUserAuthToken"; + private const string EOS_Auth_DeletePersistentAuthName = "EOS_Auth_DeletePersistentAuth"; + private const string EOS_Auth_GetLoggedInAccountByIndexName = "EOS_Auth_GetLoggedInAccountByIndex"; + private const string EOS_Auth_GetLoggedInAccountsCountName = "EOS_Auth_GetLoggedInAccountsCount"; + private const string EOS_Auth_GetLoginStatusName = "EOS_Auth_GetLoginStatus"; + private const string EOS_Auth_GetMergedAccountByIndexName = "EOS_Auth_GetMergedAccountByIndex"; + private const string EOS_Auth_GetMergedAccountsCountName = "EOS_Auth_GetMergedAccountsCount"; + private const string EOS_Auth_GetSelectedAccountIdName = "EOS_Auth_GetSelectedAccountId"; + private const string EOS_Auth_IdToken_ReleaseName = "EOS_Auth_IdToken_Release"; + private const string EOS_Auth_LinkAccountName = "EOS_Auth_LinkAccount"; + private const string EOS_Auth_LoginName = "EOS_Auth_Login"; + private const string EOS_Auth_LogoutName = "EOS_Auth_Logout"; + private const string EOS_Auth_QueryIdTokenName = "EOS_Auth_QueryIdToken"; + private const string EOS_Auth_RemoveNotifyLoginStatusChangedName = "EOS_Auth_RemoveNotifyLoginStatusChanged"; + private const string EOS_Auth_Token_ReleaseName = "EOS_Auth_Token_Release"; + private const string EOS_Auth_VerifyIdTokenName = "EOS_Auth_VerifyIdToken"; + private const string EOS_Auth_VerifyUserAuthName = "EOS_Auth_VerifyUserAuth"; + private const string EOS_ByteArray_ToStringName = "EOS_ByteArray_ToString"; + private const string EOS_Connect_AddNotifyAuthExpirationName = "EOS_Connect_AddNotifyAuthExpiration"; + private const string EOS_Connect_AddNotifyLoginStatusChangedName = "EOS_Connect_AddNotifyLoginStatusChanged"; + private const string EOS_Connect_CopyIdTokenName = "EOS_Connect_CopyIdToken"; + private const string EOS_Connect_CopyProductUserExternalAccountByAccountIdName = "EOS_Connect_CopyProductUserExternalAccountByAccountId"; + private const string EOS_Connect_CopyProductUserExternalAccountByAccountTypeName = "EOS_Connect_CopyProductUserExternalAccountByAccountType"; + private const string EOS_Connect_CopyProductUserExternalAccountByIndexName = "EOS_Connect_CopyProductUserExternalAccountByIndex"; + private const string EOS_Connect_CopyProductUserInfoName = "EOS_Connect_CopyProductUserInfo"; + private const string EOS_Connect_CreateDeviceIdName = "EOS_Connect_CreateDeviceId"; + private const string EOS_Connect_CreateUserName = "EOS_Connect_CreateUser"; + private const string EOS_Connect_DeleteDeviceIdName = "EOS_Connect_DeleteDeviceId"; + private const string EOS_Connect_ExternalAccountInfo_ReleaseName = "EOS_Connect_ExternalAccountInfo_Release"; + private const string EOS_Connect_GetExternalAccountMappingName = "EOS_Connect_GetExternalAccountMapping"; + private const string EOS_Connect_GetLoggedInUserByIndexName = "EOS_Connect_GetLoggedInUserByIndex"; + private const string EOS_Connect_GetLoggedInUsersCountName = "EOS_Connect_GetLoggedInUsersCount"; + private const string EOS_Connect_GetLoginStatusName = "EOS_Connect_GetLoginStatus"; + private const string EOS_Connect_GetProductUserExternalAccountCountName = "EOS_Connect_GetProductUserExternalAccountCount"; + private const string EOS_Connect_GetProductUserIdMappingName = "EOS_Connect_GetProductUserIdMapping"; + private const string EOS_Connect_IdToken_ReleaseName = "EOS_Connect_IdToken_Release"; + private const string EOS_Connect_LinkAccountName = "EOS_Connect_LinkAccount"; + private const string EOS_Connect_LoginName = "EOS_Connect_Login"; + private const string EOS_Connect_QueryExternalAccountMappingsName = "EOS_Connect_QueryExternalAccountMappings"; + private const string EOS_Connect_QueryProductUserIdMappingsName = "EOS_Connect_QueryProductUserIdMappings"; + private const string EOS_Connect_RemoveNotifyAuthExpirationName = "EOS_Connect_RemoveNotifyAuthExpiration"; + private const string EOS_Connect_RemoveNotifyLoginStatusChangedName = "EOS_Connect_RemoveNotifyLoginStatusChanged"; + private const string EOS_Connect_TransferDeviceIdAccountName = "EOS_Connect_TransferDeviceIdAccount"; + private const string EOS_Connect_UnlinkAccountName = "EOS_Connect_UnlinkAccount"; + private const string EOS_Connect_VerifyIdTokenName = "EOS_Connect_VerifyIdToken"; + private const string EOS_ContinuanceToken_ToStringName = "EOS_ContinuanceToken_ToString"; + private const string EOS_CustomInvites_AddNotifyCustomInviteAcceptedName = "EOS_CustomInvites_AddNotifyCustomInviteAccepted"; + private const string EOS_CustomInvites_AddNotifyCustomInviteReceivedName = "EOS_CustomInvites_AddNotifyCustomInviteReceived"; + private const string EOS_CustomInvites_AddNotifyCustomInviteRejectedName = "EOS_CustomInvites_AddNotifyCustomInviteRejected"; + private const string EOS_CustomInvites_FinalizeInviteName = "EOS_CustomInvites_FinalizeInvite"; + private const string EOS_CustomInvites_RemoveNotifyCustomInviteAcceptedName = "EOS_CustomInvites_RemoveNotifyCustomInviteAccepted"; + private const string EOS_CustomInvites_RemoveNotifyCustomInviteReceivedName = "EOS_CustomInvites_RemoveNotifyCustomInviteReceived"; + private const string EOS_CustomInvites_RemoveNotifyCustomInviteRejectedName = "EOS_CustomInvites_RemoveNotifyCustomInviteRejected"; + private const string EOS_CustomInvites_SendCustomInviteName = "EOS_CustomInvites_SendCustomInvite"; + private const string EOS_CustomInvites_SetCustomInviteName = "EOS_CustomInvites_SetCustomInvite"; + private const string EOS_EResult_IsOperationCompleteName = "EOS_EResult_IsOperationComplete"; + private const string EOS_EResult_ToStringName = "EOS_EResult_ToString"; + private const string EOS_Ecom_CatalogItem_ReleaseName = "EOS_Ecom_CatalogItem_Release"; + private const string EOS_Ecom_CatalogOffer_ReleaseName = "EOS_Ecom_CatalogOffer_Release"; + private const string EOS_Ecom_CatalogRelease_ReleaseName = "EOS_Ecom_CatalogRelease_Release"; + private const string EOS_Ecom_CheckoutName = "EOS_Ecom_Checkout"; + private const string EOS_Ecom_CopyEntitlementByIdName = "EOS_Ecom_CopyEntitlementById"; + private const string EOS_Ecom_CopyEntitlementByIndexName = "EOS_Ecom_CopyEntitlementByIndex"; + private const string EOS_Ecom_CopyEntitlementByNameAndIndexName = "EOS_Ecom_CopyEntitlementByNameAndIndex"; + private const string EOS_Ecom_CopyItemByIdName = "EOS_Ecom_CopyItemById"; + private const string EOS_Ecom_CopyItemImageInfoByIndexName = "EOS_Ecom_CopyItemImageInfoByIndex"; + private const string EOS_Ecom_CopyItemReleaseByIndexName = "EOS_Ecom_CopyItemReleaseByIndex"; + private const string EOS_Ecom_CopyLastRedeemedEntitlementByIndexName = "EOS_Ecom_CopyLastRedeemedEntitlementByIndex"; + private const string EOS_Ecom_CopyOfferByIdName = "EOS_Ecom_CopyOfferById"; + private const string EOS_Ecom_CopyOfferByIndexName = "EOS_Ecom_CopyOfferByIndex"; + private const string EOS_Ecom_CopyOfferImageInfoByIndexName = "EOS_Ecom_CopyOfferImageInfoByIndex"; + private const string EOS_Ecom_CopyOfferItemByIndexName = "EOS_Ecom_CopyOfferItemByIndex"; + private const string EOS_Ecom_CopyTransactionByIdName = "EOS_Ecom_CopyTransactionById"; + private const string EOS_Ecom_CopyTransactionByIndexName = "EOS_Ecom_CopyTransactionByIndex"; + private const string EOS_Ecom_Entitlement_ReleaseName = "EOS_Ecom_Entitlement_Release"; + private const string EOS_Ecom_GetEntitlementsByNameCountName = "EOS_Ecom_GetEntitlementsByNameCount"; + private const string EOS_Ecom_GetEntitlementsCountName = "EOS_Ecom_GetEntitlementsCount"; + private const string EOS_Ecom_GetItemImageInfoCountName = "EOS_Ecom_GetItemImageInfoCount"; + private const string EOS_Ecom_GetItemReleaseCountName = "EOS_Ecom_GetItemReleaseCount"; + private const string EOS_Ecom_GetLastRedeemedEntitlementsCountName = "EOS_Ecom_GetLastRedeemedEntitlementsCount"; + private const string EOS_Ecom_GetOfferCountName = "EOS_Ecom_GetOfferCount"; + private const string EOS_Ecom_GetOfferImageInfoCountName = "EOS_Ecom_GetOfferImageInfoCount"; + private const string EOS_Ecom_GetOfferItemCountName = "EOS_Ecom_GetOfferItemCount"; + private const string EOS_Ecom_GetTransactionCountName = "EOS_Ecom_GetTransactionCount"; + private const string EOS_Ecom_KeyImageInfo_ReleaseName = "EOS_Ecom_KeyImageInfo_Release"; + private const string EOS_Ecom_QueryEntitlementTokenName = "EOS_Ecom_QueryEntitlementToken"; + private const string EOS_Ecom_QueryEntitlementsName = "EOS_Ecom_QueryEntitlements"; + private const string EOS_Ecom_QueryOffersName = "EOS_Ecom_QueryOffers"; + private const string EOS_Ecom_QueryOwnershipName = "EOS_Ecom_QueryOwnership"; + private const string EOS_Ecom_QueryOwnershipTokenName = "EOS_Ecom_QueryOwnershipToken"; + private const string EOS_Ecom_RedeemEntitlementsName = "EOS_Ecom_RedeemEntitlements"; + private const string EOS_Ecom_Transaction_CopyEntitlementByIndexName = "EOS_Ecom_Transaction_CopyEntitlementByIndex"; + private const string EOS_Ecom_Transaction_GetEntitlementsCountName = "EOS_Ecom_Transaction_GetEntitlementsCount"; + private const string EOS_Ecom_Transaction_GetTransactionIdName = "EOS_Ecom_Transaction_GetTransactionId"; + private const string EOS_Ecom_Transaction_ReleaseName = "EOS_Ecom_Transaction_Release"; + private const string EOS_EpicAccountId_FromStringName = "EOS_EpicAccountId_FromString"; + private const string EOS_EpicAccountId_IsValidName = "EOS_EpicAccountId_IsValid"; + private const string EOS_EpicAccountId_ToStringName = "EOS_EpicAccountId_ToString"; + private const string EOS_Friends_AcceptInviteName = "EOS_Friends_AcceptInvite"; + private const string EOS_Friends_AddNotifyFriendsUpdateName = "EOS_Friends_AddNotifyFriendsUpdate"; + private const string EOS_Friends_GetFriendAtIndexName = "EOS_Friends_GetFriendAtIndex"; + private const string EOS_Friends_GetFriendsCountName = "EOS_Friends_GetFriendsCount"; + private const string EOS_Friends_GetStatusName = "EOS_Friends_GetStatus"; + private const string EOS_Friends_QueryFriendsName = "EOS_Friends_QueryFriends"; + private const string EOS_Friends_RejectInviteName = "EOS_Friends_RejectInvite"; + private const string EOS_Friends_RemoveNotifyFriendsUpdateName = "EOS_Friends_RemoveNotifyFriendsUpdate"; + private const string EOS_Friends_SendInviteName = "EOS_Friends_SendInvite"; + private const string EOS_GetVersionName = "EOS_GetVersion"; + private const string EOS_InitializeName = "EOS_Initialize"; + private const string EOS_IntegratedPlatformOptionsContainer_AddName = "EOS_IntegratedPlatformOptionsContainer_Add"; + private const string EOS_IntegratedPlatformOptionsContainer_ReleaseName = "EOS_IntegratedPlatformOptionsContainer_Release"; + private const string EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainerName = "EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainer"; + private const string EOS_KWS_AddNotifyPermissionsUpdateReceivedName = "EOS_KWS_AddNotifyPermissionsUpdateReceived"; + private const string EOS_KWS_CopyPermissionByIndexName = "EOS_KWS_CopyPermissionByIndex"; + private const string EOS_KWS_CreateUserName = "EOS_KWS_CreateUser"; + private const string EOS_KWS_GetPermissionByKeyName = "EOS_KWS_GetPermissionByKey"; + private const string EOS_KWS_GetPermissionsCountName = "EOS_KWS_GetPermissionsCount"; + private const string EOS_KWS_PermissionStatus_ReleaseName = "EOS_KWS_PermissionStatus_Release"; + private const string EOS_KWS_QueryAgeGateName = "EOS_KWS_QueryAgeGate"; + private const string EOS_KWS_QueryPermissionsName = "EOS_KWS_QueryPermissions"; + private const string EOS_KWS_RemoveNotifyPermissionsUpdateReceivedName = "EOS_KWS_RemoveNotifyPermissionsUpdateReceived"; + private const string EOS_KWS_RequestPermissionsName = "EOS_KWS_RequestPermissions"; + private const string EOS_KWS_UpdateParentEmailName = "EOS_KWS_UpdateParentEmail"; + private const string EOS_Leaderboards_CopyLeaderboardDefinitionByIndexName = "EOS_Leaderboards_CopyLeaderboardDefinitionByIndex"; + private const string EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardIdName = "EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId"; + private const string EOS_Leaderboards_CopyLeaderboardRecordByIndexName = "EOS_Leaderboards_CopyLeaderboardRecordByIndex"; + private const string EOS_Leaderboards_CopyLeaderboardRecordByUserIdName = "EOS_Leaderboards_CopyLeaderboardRecordByUserId"; + private const string EOS_Leaderboards_CopyLeaderboardUserScoreByIndexName = "EOS_Leaderboards_CopyLeaderboardUserScoreByIndex"; + private const string EOS_Leaderboards_CopyLeaderboardUserScoreByUserIdName = "EOS_Leaderboards_CopyLeaderboardUserScoreByUserId"; + private const string EOS_Leaderboards_Definition_ReleaseName = "EOS_Leaderboards_Definition_Release"; + private const string EOS_Leaderboards_GetLeaderboardDefinitionCountName = "EOS_Leaderboards_GetLeaderboardDefinitionCount"; + private const string EOS_Leaderboards_GetLeaderboardRecordCountName = "EOS_Leaderboards_GetLeaderboardRecordCount"; + private const string EOS_Leaderboards_GetLeaderboardUserScoreCountName = "EOS_Leaderboards_GetLeaderboardUserScoreCount"; + private const string EOS_Leaderboards_LeaderboardDefinition_ReleaseName = "EOS_Leaderboards_LeaderboardDefinition_Release"; + private const string EOS_Leaderboards_LeaderboardRecord_ReleaseName = "EOS_Leaderboards_LeaderboardRecord_Release"; + private const string EOS_Leaderboards_LeaderboardUserScore_ReleaseName = "EOS_Leaderboards_LeaderboardUserScore_Release"; + private const string EOS_Leaderboards_QueryLeaderboardDefinitionsName = "EOS_Leaderboards_QueryLeaderboardDefinitions"; + private const string EOS_Leaderboards_QueryLeaderboardRanksName = "EOS_Leaderboards_QueryLeaderboardRanks"; + private const string EOS_Leaderboards_QueryLeaderboardUserScoresName = "EOS_Leaderboards_QueryLeaderboardUserScores"; + private const string EOS_LobbyDetails_CopyAttributeByIndexName = "EOS_LobbyDetails_CopyAttributeByIndex"; + private const string EOS_LobbyDetails_CopyAttributeByKeyName = "EOS_LobbyDetails_CopyAttributeByKey"; + private const string EOS_LobbyDetails_CopyInfoName = "EOS_LobbyDetails_CopyInfo"; + private const string EOS_LobbyDetails_CopyMemberAttributeByIndexName = "EOS_LobbyDetails_CopyMemberAttributeByIndex"; + private const string EOS_LobbyDetails_CopyMemberAttributeByKeyName = "EOS_LobbyDetails_CopyMemberAttributeByKey"; + private const string EOS_LobbyDetails_GetAttributeCountName = "EOS_LobbyDetails_GetAttributeCount"; + private const string EOS_LobbyDetails_GetLobbyOwnerName = "EOS_LobbyDetails_GetLobbyOwner"; + private const string EOS_LobbyDetails_GetMemberAttributeCountName = "EOS_LobbyDetails_GetMemberAttributeCount"; + private const string EOS_LobbyDetails_GetMemberByIndexName = "EOS_LobbyDetails_GetMemberByIndex"; + private const string EOS_LobbyDetails_GetMemberCountName = "EOS_LobbyDetails_GetMemberCount"; + private const string EOS_LobbyDetails_Info_ReleaseName = "EOS_LobbyDetails_Info_Release"; + private const string EOS_LobbyDetails_ReleaseName = "EOS_LobbyDetails_Release"; + private const string EOS_LobbyModification_AddAttributeName = "EOS_LobbyModification_AddAttribute"; + private const string EOS_LobbyModification_AddMemberAttributeName = "EOS_LobbyModification_AddMemberAttribute"; + private const string EOS_LobbyModification_ReleaseName = "EOS_LobbyModification_Release"; + private const string EOS_LobbyModification_RemoveAttributeName = "EOS_LobbyModification_RemoveAttribute"; + private const string EOS_LobbyModification_RemoveMemberAttributeName = "EOS_LobbyModification_RemoveMemberAttribute"; + private const string EOS_LobbyModification_SetBucketIdName = "EOS_LobbyModification_SetBucketId"; + private const string EOS_LobbyModification_SetInvitesAllowedName = "EOS_LobbyModification_SetInvitesAllowed"; + private const string EOS_LobbyModification_SetMaxMembersName = "EOS_LobbyModification_SetMaxMembers"; + private const string EOS_LobbyModification_SetPermissionLevelName = "EOS_LobbyModification_SetPermissionLevel"; + private const string EOS_LobbySearch_CopySearchResultByIndexName = "EOS_LobbySearch_CopySearchResultByIndex"; + private const string EOS_LobbySearch_FindName = "EOS_LobbySearch_Find"; + private const string EOS_LobbySearch_GetSearchResultCountName = "EOS_LobbySearch_GetSearchResultCount"; + private const string EOS_LobbySearch_ReleaseName = "EOS_LobbySearch_Release"; + private const string EOS_LobbySearch_RemoveParameterName = "EOS_LobbySearch_RemoveParameter"; + private const string EOS_LobbySearch_SetLobbyIdName = "EOS_LobbySearch_SetLobbyId"; + private const string EOS_LobbySearch_SetMaxResultsName = "EOS_LobbySearch_SetMaxResults"; + private const string EOS_LobbySearch_SetParameterName = "EOS_LobbySearch_SetParameter"; + private const string EOS_LobbySearch_SetTargetUserIdName = "EOS_LobbySearch_SetTargetUserId"; + private const string EOS_Lobby_AddNotifyJoinLobbyAcceptedName = "EOS_Lobby_AddNotifyJoinLobbyAccepted"; + private const string EOS_Lobby_AddNotifyLobbyInviteAcceptedName = "EOS_Lobby_AddNotifyLobbyInviteAccepted"; + private const string EOS_Lobby_AddNotifyLobbyInviteReceivedName = "EOS_Lobby_AddNotifyLobbyInviteReceived"; + private const string EOS_Lobby_AddNotifyLobbyInviteRejectedName = "EOS_Lobby_AddNotifyLobbyInviteRejected"; + private const string EOS_Lobby_AddNotifyLobbyMemberStatusReceivedName = "EOS_Lobby_AddNotifyLobbyMemberStatusReceived"; + private const string EOS_Lobby_AddNotifyLobbyMemberUpdateReceivedName = "EOS_Lobby_AddNotifyLobbyMemberUpdateReceived"; + private const string EOS_Lobby_AddNotifyLobbyUpdateReceivedName = "EOS_Lobby_AddNotifyLobbyUpdateReceived"; + private const string EOS_Lobby_AddNotifyRTCRoomConnectionChangedName = "EOS_Lobby_AddNotifyRTCRoomConnectionChanged"; + private const string EOS_Lobby_AddNotifySendLobbyNativeInviteRequestedName = "EOS_Lobby_AddNotifySendLobbyNativeInviteRequested"; + private const string EOS_Lobby_Attribute_ReleaseName = "EOS_Lobby_Attribute_Release"; + private const string EOS_Lobby_CopyLobbyDetailsHandleName = "EOS_Lobby_CopyLobbyDetailsHandle"; + private const string EOS_Lobby_CopyLobbyDetailsHandleByInviteIdName = "EOS_Lobby_CopyLobbyDetailsHandleByInviteId"; + private const string EOS_Lobby_CopyLobbyDetailsHandleByUiEventIdName = "EOS_Lobby_CopyLobbyDetailsHandleByUiEventId"; + private const string EOS_Lobby_CreateLobbyName = "EOS_Lobby_CreateLobby"; + private const string EOS_Lobby_CreateLobbySearchName = "EOS_Lobby_CreateLobbySearch"; + private const string EOS_Lobby_DestroyLobbyName = "EOS_Lobby_DestroyLobby"; + private const string EOS_Lobby_GetInviteCountName = "EOS_Lobby_GetInviteCount"; + private const string EOS_Lobby_GetInviteIdByIndexName = "EOS_Lobby_GetInviteIdByIndex"; + private const string EOS_Lobby_GetRTCRoomNameName = "EOS_Lobby_GetRTCRoomName"; + private const string EOS_Lobby_HardMuteMemberName = "EOS_Lobby_HardMuteMember"; + private const string EOS_Lobby_IsRTCRoomConnectedName = "EOS_Lobby_IsRTCRoomConnected"; + private const string EOS_Lobby_JoinLobbyName = "EOS_Lobby_JoinLobby"; + private const string EOS_Lobby_JoinLobbyByIdName = "EOS_Lobby_JoinLobbyById"; + private const string EOS_Lobby_KickMemberName = "EOS_Lobby_KickMember"; + private const string EOS_Lobby_LeaveLobbyName = "EOS_Lobby_LeaveLobby"; + private const string EOS_Lobby_PromoteMemberName = "EOS_Lobby_PromoteMember"; + private const string EOS_Lobby_QueryInvitesName = "EOS_Lobby_QueryInvites"; + private const string EOS_Lobby_RejectInviteName = "EOS_Lobby_RejectInvite"; + private const string EOS_Lobby_RemoveNotifyJoinLobbyAcceptedName = "EOS_Lobby_RemoveNotifyJoinLobbyAccepted"; + private const string EOS_Lobby_RemoveNotifyLobbyInviteAcceptedName = "EOS_Lobby_RemoveNotifyLobbyInviteAccepted"; + private const string EOS_Lobby_RemoveNotifyLobbyInviteReceivedName = "EOS_Lobby_RemoveNotifyLobbyInviteReceived"; + private const string EOS_Lobby_RemoveNotifyLobbyInviteRejectedName = "EOS_Lobby_RemoveNotifyLobbyInviteRejected"; + private const string EOS_Lobby_RemoveNotifyLobbyMemberStatusReceivedName = "EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived"; + private const string EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceivedName = "EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived"; + private const string EOS_Lobby_RemoveNotifyLobbyUpdateReceivedName = "EOS_Lobby_RemoveNotifyLobbyUpdateReceived"; + private const string EOS_Lobby_RemoveNotifyRTCRoomConnectionChangedName = "EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged"; + private const string EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequestedName = "EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequested"; + private const string EOS_Lobby_SendInviteName = "EOS_Lobby_SendInvite"; + private const string EOS_Lobby_UpdateLobbyName = "EOS_Lobby_UpdateLobby"; + private const string EOS_Lobby_UpdateLobbyModificationName = "EOS_Lobby_UpdateLobbyModification"; + private const string EOS_Logging_SetCallbackName = "EOS_Logging_SetCallback"; + private const string EOS_Logging_SetLogLevelName = "EOS_Logging_SetLogLevel"; + private const string EOS_Metrics_BeginPlayerSessionName = "EOS_Metrics_BeginPlayerSession"; + private const string EOS_Metrics_EndPlayerSessionName = "EOS_Metrics_EndPlayerSession"; + private const string EOS_Mods_CopyModInfoName = "EOS_Mods_CopyModInfo"; + private const string EOS_Mods_EnumerateModsName = "EOS_Mods_EnumerateMods"; + private const string EOS_Mods_InstallModName = "EOS_Mods_InstallMod"; + private const string EOS_Mods_ModInfo_ReleaseName = "EOS_Mods_ModInfo_Release"; + private const string EOS_Mods_UninstallModName = "EOS_Mods_UninstallMod"; + private const string EOS_Mods_UpdateModName = "EOS_Mods_UpdateMod"; + private const string EOS_P2P_AcceptConnectionName = "EOS_P2P_AcceptConnection"; + private const string EOS_P2P_AddNotifyIncomingPacketQueueFullName = "EOS_P2P_AddNotifyIncomingPacketQueueFull"; + private const string EOS_P2P_AddNotifyPeerConnectionClosedName = "EOS_P2P_AddNotifyPeerConnectionClosed"; + private const string EOS_P2P_AddNotifyPeerConnectionEstablishedName = "EOS_P2P_AddNotifyPeerConnectionEstablished"; + private const string EOS_P2P_AddNotifyPeerConnectionInterruptedName = "EOS_P2P_AddNotifyPeerConnectionInterrupted"; + private const string EOS_P2P_AddNotifyPeerConnectionRequestName = "EOS_P2P_AddNotifyPeerConnectionRequest"; + private const string EOS_P2P_ClearPacketQueueName = "EOS_P2P_ClearPacketQueue"; + private const string EOS_P2P_CloseConnectionName = "EOS_P2P_CloseConnection"; + private const string EOS_P2P_CloseConnectionsName = "EOS_P2P_CloseConnections"; + private const string EOS_P2P_GetNATTypeName = "EOS_P2P_GetNATType"; + private const string EOS_P2P_GetNextReceivedPacketSizeName = "EOS_P2P_GetNextReceivedPacketSize"; + private const string EOS_P2P_GetPacketQueueInfoName = "EOS_P2P_GetPacketQueueInfo"; + private const string EOS_P2P_GetPortRangeName = "EOS_P2P_GetPortRange"; + private const string EOS_P2P_GetRelayControlName = "EOS_P2P_GetRelayControl"; + private const string EOS_P2P_QueryNATTypeName = "EOS_P2P_QueryNATType"; + private const string EOS_P2P_ReceivePacketName = "EOS_P2P_ReceivePacket"; + private const string EOS_P2P_RemoveNotifyIncomingPacketQueueFullName = "EOS_P2P_RemoveNotifyIncomingPacketQueueFull"; + private const string EOS_P2P_RemoveNotifyPeerConnectionClosedName = "EOS_P2P_RemoveNotifyPeerConnectionClosed"; + private const string EOS_P2P_RemoveNotifyPeerConnectionEstablishedName = "EOS_P2P_RemoveNotifyPeerConnectionEstablished"; + private const string EOS_P2P_RemoveNotifyPeerConnectionInterruptedName = "EOS_P2P_RemoveNotifyPeerConnectionInterrupted"; + private const string EOS_P2P_RemoveNotifyPeerConnectionRequestName = "EOS_P2P_RemoveNotifyPeerConnectionRequest"; + private const string EOS_P2P_SendPacketName = "EOS_P2P_SendPacket"; + private const string EOS_P2P_SetPacketQueueSizeName = "EOS_P2P_SetPacketQueueSize"; + private const string EOS_P2P_SetPortRangeName = "EOS_P2P_SetPortRange"; + private const string EOS_P2P_SetRelayControlName = "EOS_P2P_SetRelayControl"; + private const string EOS_Platform_CheckForLauncherAndRestartName = "EOS_Platform_CheckForLauncherAndRestart"; + private const string EOS_Platform_CreateName = "EOS_Platform_Create"; + private const string EOS_Platform_GetAchievementsInterfaceName = "EOS_Platform_GetAchievementsInterface"; + private const string EOS_Platform_GetActiveCountryCodeName = "EOS_Platform_GetActiveCountryCode"; + private const string EOS_Platform_GetActiveLocaleCodeName = "EOS_Platform_GetActiveLocaleCode"; + private const string EOS_Platform_GetAntiCheatClientInterfaceName = "EOS_Platform_GetAntiCheatClientInterface"; + private const string EOS_Platform_GetAntiCheatServerInterfaceName = "EOS_Platform_GetAntiCheatServerInterface"; + private const string EOS_Platform_GetApplicationStatusName = "EOS_Platform_GetApplicationStatus"; + private const string EOS_Platform_GetAuthInterfaceName = "EOS_Platform_GetAuthInterface"; + private const string EOS_Platform_GetConnectInterfaceName = "EOS_Platform_GetConnectInterface"; + private const string EOS_Platform_GetCustomInvitesInterfaceName = "EOS_Platform_GetCustomInvitesInterface"; + private const string EOS_Platform_GetDesktopCrossplayStatusName = "EOS_Platform_GetDesktopCrossplayStatus"; + private const string EOS_Platform_GetEcomInterfaceName = "EOS_Platform_GetEcomInterface"; + private const string EOS_Platform_GetFriendsInterfaceName = "EOS_Platform_GetFriendsInterface"; + private const string EOS_Platform_GetKWSInterfaceName = "EOS_Platform_GetKWSInterface"; + private const string EOS_Platform_GetLeaderboardsInterfaceName = "EOS_Platform_GetLeaderboardsInterface"; + private const string EOS_Platform_GetLobbyInterfaceName = "EOS_Platform_GetLobbyInterface"; + private const string EOS_Platform_GetMetricsInterfaceName = "EOS_Platform_GetMetricsInterface"; + private const string EOS_Platform_GetModsInterfaceName = "EOS_Platform_GetModsInterface"; + private const string EOS_Platform_GetNetworkStatusName = "EOS_Platform_GetNetworkStatus"; + private const string EOS_Platform_GetOverrideCountryCodeName = "EOS_Platform_GetOverrideCountryCode"; + private const string EOS_Platform_GetOverrideLocaleCodeName = "EOS_Platform_GetOverrideLocaleCode"; + private const string EOS_Platform_GetP2PInterfaceName = "EOS_Platform_GetP2PInterface"; + private const string EOS_Platform_GetPlayerDataStorageInterfaceName = "EOS_Platform_GetPlayerDataStorageInterface"; + private const string EOS_Platform_GetPresenceInterfaceName = "EOS_Platform_GetPresenceInterface"; + private const string EOS_Platform_GetProgressionSnapshotInterfaceName = "EOS_Platform_GetProgressionSnapshotInterface"; + private const string EOS_Platform_GetRTCAdminInterfaceName = "EOS_Platform_GetRTCAdminInterface"; + private const string EOS_Platform_GetRTCInterfaceName = "EOS_Platform_GetRTCInterface"; + private const string EOS_Platform_GetReportsInterfaceName = "EOS_Platform_GetReportsInterface"; + private const string EOS_Platform_GetSanctionsInterfaceName = "EOS_Platform_GetSanctionsInterface"; + private const string EOS_Platform_GetSessionsInterfaceName = "EOS_Platform_GetSessionsInterface"; + private const string EOS_Platform_GetStatsInterfaceName = "EOS_Platform_GetStatsInterface"; + private const string EOS_Platform_GetTitleStorageInterfaceName = "EOS_Platform_GetTitleStorageInterface"; + private const string EOS_Platform_GetUIInterfaceName = "EOS_Platform_GetUIInterface"; + private const string EOS_Platform_GetUserInfoInterfaceName = "EOS_Platform_GetUserInfoInterface"; + private const string EOS_Platform_ReleaseName = "EOS_Platform_Release"; + private const string EOS_Platform_SetApplicationStatusName = "EOS_Platform_SetApplicationStatus"; + private const string EOS_Platform_SetNetworkStatusName = "EOS_Platform_SetNetworkStatus"; + private const string EOS_Platform_SetOverrideCountryCodeName = "EOS_Platform_SetOverrideCountryCode"; + private const string EOS_Platform_SetOverrideLocaleCodeName = "EOS_Platform_SetOverrideLocaleCode"; + private const string EOS_Platform_TickName = "EOS_Platform_Tick"; + private const string EOS_PlayerDataStorageFileTransferRequest_CancelRequestName = "EOS_PlayerDataStorageFileTransferRequest_CancelRequest"; + private const string EOS_PlayerDataStorageFileTransferRequest_GetFileRequestStateName = "EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState"; + private const string EOS_PlayerDataStorageFileTransferRequest_GetFilenameName = "EOS_PlayerDataStorageFileTransferRequest_GetFilename"; + private const string EOS_PlayerDataStorageFileTransferRequest_ReleaseName = "EOS_PlayerDataStorageFileTransferRequest_Release"; + private const string EOS_PlayerDataStorage_CopyFileMetadataAtIndexName = "EOS_PlayerDataStorage_CopyFileMetadataAtIndex"; + private const string EOS_PlayerDataStorage_CopyFileMetadataByFilenameName = "EOS_PlayerDataStorage_CopyFileMetadataByFilename"; + private const string EOS_PlayerDataStorage_DeleteCacheName = "EOS_PlayerDataStorage_DeleteCache"; + private const string EOS_PlayerDataStorage_DeleteFileName = "EOS_PlayerDataStorage_DeleteFile"; + private const string EOS_PlayerDataStorage_DuplicateFileName = "EOS_PlayerDataStorage_DuplicateFile"; + private const string EOS_PlayerDataStorage_FileMetadata_ReleaseName = "EOS_PlayerDataStorage_FileMetadata_Release"; + private const string EOS_PlayerDataStorage_GetFileMetadataCountName = "EOS_PlayerDataStorage_GetFileMetadataCount"; + private const string EOS_PlayerDataStorage_QueryFileName = "EOS_PlayerDataStorage_QueryFile"; + private const string EOS_PlayerDataStorage_QueryFileListName = "EOS_PlayerDataStorage_QueryFileList"; + private const string EOS_PlayerDataStorage_ReadFileName = "EOS_PlayerDataStorage_ReadFile"; + private const string EOS_PlayerDataStorage_WriteFileName = "EOS_PlayerDataStorage_WriteFile"; + private const string EOS_PresenceModification_DeleteDataName = "EOS_PresenceModification_DeleteData"; + private const string EOS_PresenceModification_ReleaseName = "EOS_PresenceModification_Release"; + private const string EOS_PresenceModification_SetDataName = "EOS_PresenceModification_SetData"; + private const string EOS_PresenceModification_SetJoinInfoName = "EOS_PresenceModification_SetJoinInfo"; + private const string EOS_PresenceModification_SetRawRichTextName = "EOS_PresenceModification_SetRawRichText"; + private const string EOS_PresenceModification_SetStatusName = "EOS_PresenceModification_SetStatus"; + private const string EOS_Presence_AddNotifyJoinGameAcceptedName = "EOS_Presence_AddNotifyJoinGameAccepted"; + private const string EOS_Presence_AddNotifyOnPresenceChangedName = "EOS_Presence_AddNotifyOnPresenceChanged"; + private const string EOS_Presence_CopyPresenceName = "EOS_Presence_CopyPresence"; + private const string EOS_Presence_CreatePresenceModificationName = "EOS_Presence_CreatePresenceModification"; + private const string EOS_Presence_GetJoinInfoName = "EOS_Presence_GetJoinInfo"; + private const string EOS_Presence_HasPresenceName = "EOS_Presence_HasPresence"; + private const string EOS_Presence_Info_ReleaseName = "EOS_Presence_Info_Release"; + private const string EOS_Presence_QueryPresenceName = "EOS_Presence_QueryPresence"; + private const string EOS_Presence_RemoveNotifyJoinGameAcceptedName = "EOS_Presence_RemoveNotifyJoinGameAccepted"; + private const string EOS_Presence_RemoveNotifyOnPresenceChangedName = "EOS_Presence_RemoveNotifyOnPresenceChanged"; + private const string EOS_Presence_SetPresenceName = "EOS_Presence_SetPresence"; + private const string EOS_ProductUserId_FromStringName = "EOS_ProductUserId_FromString"; + private const string EOS_ProductUserId_IsValidName = "EOS_ProductUserId_IsValid"; + private const string EOS_ProductUserId_ToStringName = "EOS_ProductUserId_ToString"; + private const string EOS_ProgressionSnapshot_AddProgressionName = "EOS_ProgressionSnapshot_AddProgression"; + private const string EOS_ProgressionSnapshot_BeginSnapshotName = "EOS_ProgressionSnapshot_BeginSnapshot"; + private const string EOS_ProgressionSnapshot_DeleteSnapshotName = "EOS_ProgressionSnapshot_DeleteSnapshot"; + private const string EOS_ProgressionSnapshot_EndSnapshotName = "EOS_ProgressionSnapshot_EndSnapshot"; + private const string EOS_ProgressionSnapshot_SubmitSnapshotName = "EOS_ProgressionSnapshot_SubmitSnapshot"; + private const string EOS_RTCAdmin_CopyUserTokenByIndexName = "EOS_RTCAdmin_CopyUserTokenByIndex"; + private const string EOS_RTCAdmin_CopyUserTokenByUserIdName = "EOS_RTCAdmin_CopyUserTokenByUserId"; + private const string EOS_RTCAdmin_KickName = "EOS_RTCAdmin_Kick"; + private const string EOS_RTCAdmin_QueryJoinRoomTokenName = "EOS_RTCAdmin_QueryJoinRoomToken"; + private const string EOS_RTCAdmin_SetParticipantHardMuteName = "EOS_RTCAdmin_SetParticipantHardMute"; + private const string EOS_RTCAdmin_UserToken_ReleaseName = "EOS_RTCAdmin_UserToken_Release"; + private const string EOS_RTCAudio_AddNotifyAudioBeforeRenderName = "EOS_RTCAudio_AddNotifyAudioBeforeRender"; + private const string EOS_RTCAudio_AddNotifyAudioBeforeSendName = "EOS_RTCAudio_AddNotifyAudioBeforeSend"; + private const string EOS_RTCAudio_AddNotifyAudioDevicesChangedName = "EOS_RTCAudio_AddNotifyAudioDevicesChanged"; + private const string EOS_RTCAudio_AddNotifyAudioInputStateName = "EOS_RTCAudio_AddNotifyAudioInputState"; + private const string EOS_RTCAudio_AddNotifyAudioOutputStateName = "EOS_RTCAudio_AddNotifyAudioOutputState"; + private const string EOS_RTCAudio_AddNotifyParticipantUpdatedName = "EOS_RTCAudio_AddNotifyParticipantUpdated"; + private const string EOS_RTCAudio_GetAudioInputDeviceByIndexName = "EOS_RTCAudio_GetAudioInputDeviceByIndex"; + private const string EOS_RTCAudio_GetAudioInputDevicesCountName = "EOS_RTCAudio_GetAudioInputDevicesCount"; + private const string EOS_RTCAudio_GetAudioOutputDeviceByIndexName = "EOS_RTCAudio_GetAudioOutputDeviceByIndex"; + private const string EOS_RTCAudio_GetAudioOutputDevicesCountName = "EOS_RTCAudio_GetAudioOutputDevicesCount"; + private const string EOS_RTCAudio_RegisterPlatformAudioUserName = "EOS_RTCAudio_RegisterPlatformAudioUser"; + private const string EOS_RTCAudio_RemoveNotifyAudioBeforeRenderName = "EOS_RTCAudio_RemoveNotifyAudioBeforeRender"; + private const string EOS_RTCAudio_RemoveNotifyAudioBeforeSendName = "EOS_RTCAudio_RemoveNotifyAudioBeforeSend"; + private const string EOS_RTCAudio_RemoveNotifyAudioDevicesChangedName = "EOS_RTCAudio_RemoveNotifyAudioDevicesChanged"; + private const string EOS_RTCAudio_RemoveNotifyAudioInputStateName = "EOS_RTCAudio_RemoveNotifyAudioInputState"; + private const string EOS_RTCAudio_RemoveNotifyAudioOutputStateName = "EOS_RTCAudio_RemoveNotifyAudioOutputState"; + private const string EOS_RTCAudio_RemoveNotifyParticipantUpdatedName = "EOS_RTCAudio_RemoveNotifyParticipantUpdated"; + private const string EOS_RTCAudio_SendAudioName = "EOS_RTCAudio_SendAudio"; + private const string EOS_RTCAudio_SetAudioInputSettingsName = "EOS_RTCAudio_SetAudioInputSettings"; + private const string EOS_RTCAudio_SetAudioOutputSettingsName = "EOS_RTCAudio_SetAudioOutputSettings"; + private const string EOS_RTCAudio_UnregisterPlatformAudioUserName = "EOS_RTCAudio_UnregisterPlatformAudioUser"; + private const string EOS_RTCAudio_UpdateParticipantVolumeName = "EOS_RTCAudio_UpdateParticipantVolume"; + private const string EOS_RTCAudio_UpdateReceivingName = "EOS_RTCAudio_UpdateReceiving"; + private const string EOS_RTCAudio_UpdateReceivingVolumeName = "EOS_RTCAudio_UpdateReceivingVolume"; + private const string EOS_RTCAudio_UpdateSendingName = "EOS_RTCAudio_UpdateSending"; + private const string EOS_RTCAudio_UpdateSendingVolumeName = "EOS_RTCAudio_UpdateSendingVolume"; + private const string EOS_RTC_AddNotifyDisconnectedName = "EOS_RTC_AddNotifyDisconnected"; + private const string EOS_RTC_AddNotifyParticipantStatusChangedName = "EOS_RTC_AddNotifyParticipantStatusChanged"; + private const string EOS_RTC_BlockParticipantName = "EOS_RTC_BlockParticipant"; + private const string EOS_RTC_GetAudioInterfaceName = "EOS_RTC_GetAudioInterface"; + private const string EOS_RTC_JoinRoomName = "EOS_RTC_JoinRoom"; + private const string EOS_RTC_LeaveRoomName = "EOS_RTC_LeaveRoom"; + private const string EOS_RTC_RemoveNotifyDisconnectedName = "EOS_RTC_RemoveNotifyDisconnected"; + private const string EOS_RTC_RemoveNotifyParticipantStatusChangedName = "EOS_RTC_RemoveNotifyParticipantStatusChanged"; + private const string EOS_RTC_SetRoomSettingName = "EOS_RTC_SetRoomSetting"; + private const string EOS_RTC_SetSettingName = "EOS_RTC_SetSetting"; + private const string EOS_Reports_SendPlayerBehaviorReportName = "EOS_Reports_SendPlayerBehaviorReport"; + private const string EOS_Sanctions_CopyPlayerSanctionByIndexName = "EOS_Sanctions_CopyPlayerSanctionByIndex"; + private const string EOS_Sanctions_GetPlayerSanctionCountName = "EOS_Sanctions_GetPlayerSanctionCount"; + private const string EOS_Sanctions_PlayerSanction_ReleaseName = "EOS_Sanctions_PlayerSanction_Release"; + private const string EOS_Sanctions_QueryActivePlayerSanctionsName = "EOS_Sanctions_QueryActivePlayerSanctions"; + private const string EOS_SessionDetails_Attribute_ReleaseName = "EOS_SessionDetails_Attribute_Release"; + private const string EOS_SessionDetails_CopyInfoName = "EOS_SessionDetails_CopyInfo"; + private const string EOS_SessionDetails_CopySessionAttributeByIndexName = "EOS_SessionDetails_CopySessionAttributeByIndex"; + private const string EOS_SessionDetails_CopySessionAttributeByKeyName = "EOS_SessionDetails_CopySessionAttributeByKey"; + private const string EOS_SessionDetails_GetSessionAttributeCountName = "EOS_SessionDetails_GetSessionAttributeCount"; + private const string EOS_SessionDetails_Info_ReleaseName = "EOS_SessionDetails_Info_Release"; + private const string EOS_SessionDetails_ReleaseName = "EOS_SessionDetails_Release"; + private const string EOS_SessionModification_AddAttributeName = "EOS_SessionModification_AddAttribute"; + private const string EOS_SessionModification_ReleaseName = "EOS_SessionModification_Release"; + private const string EOS_SessionModification_RemoveAttributeName = "EOS_SessionModification_RemoveAttribute"; + private const string EOS_SessionModification_SetBucketIdName = "EOS_SessionModification_SetBucketId"; + private const string EOS_SessionModification_SetHostAddressName = "EOS_SessionModification_SetHostAddress"; + private const string EOS_SessionModification_SetInvitesAllowedName = "EOS_SessionModification_SetInvitesAllowed"; + private const string EOS_SessionModification_SetJoinInProgressAllowedName = "EOS_SessionModification_SetJoinInProgressAllowed"; + private const string EOS_SessionModification_SetMaxPlayersName = "EOS_SessionModification_SetMaxPlayers"; + private const string EOS_SessionModification_SetPermissionLevelName = "EOS_SessionModification_SetPermissionLevel"; + private const string EOS_SessionSearch_CopySearchResultByIndexName = "EOS_SessionSearch_CopySearchResultByIndex"; + private const string EOS_SessionSearch_FindName = "EOS_SessionSearch_Find"; + private const string EOS_SessionSearch_GetSearchResultCountName = "EOS_SessionSearch_GetSearchResultCount"; + private const string EOS_SessionSearch_ReleaseName = "EOS_SessionSearch_Release"; + private const string EOS_SessionSearch_RemoveParameterName = "EOS_SessionSearch_RemoveParameter"; + private const string EOS_SessionSearch_SetMaxResultsName = "EOS_SessionSearch_SetMaxResults"; + private const string EOS_SessionSearch_SetParameterName = "EOS_SessionSearch_SetParameter"; + private const string EOS_SessionSearch_SetSessionIdName = "EOS_SessionSearch_SetSessionId"; + private const string EOS_SessionSearch_SetTargetUserIdName = "EOS_SessionSearch_SetTargetUserId"; + private const string EOS_Sessions_AddNotifyJoinSessionAcceptedName = "EOS_Sessions_AddNotifyJoinSessionAccepted"; + private const string EOS_Sessions_AddNotifySessionInviteAcceptedName = "EOS_Sessions_AddNotifySessionInviteAccepted"; + private const string EOS_Sessions_AddNotifySessionInviteReceivedName = "EOS_Sessions_AddNotifySessionInviteReceived"; + private const string EOS_Sessions_CopyActiveSessionHandleName = "EOS_Sessions_CopyActiveSessionHandle"; + private const string EOS_Sessions_CopySessionHandleByInviteIdName = "EOS_Sessions_CopySessionHandleByInviteId"; + private const string EOS_Sessions_CopySessionHandleByUiEventIdName = "EOS_Sessions_CopySessionHandleByUiEventId"; + private const string EOS_Sessions_CopySessionHandleForPresenceName = "EOS_Sessions_CopySessionHandleForPresence"; + private const string EOS_Sessions_CreateSessionModificationName = "EOS_Sessions_CreateSessionModification"; + private const string EOS_Sessions_CreateSessionSearchName = "EOS_Sessions_CreateSessionSearch"; + private const string EOS_Sessions_DestroySessionName = "EOS_Sessions_DestroySession"; + private const string EOS_Sessions_DumpSessionStateName = "EOS_Sessions_DumpSessionState"; + private const string EOS_Sessions_EndSessionName = "EOS_Sessions_EndSession"; + private const string EOS_Sessions_GetInviteCountName = "EOS_Sessions_GetInviteCount"; + private const string EOS_Sessions_GetInviteIdByIndexName = "EOS_Sessions_GetInviteIdByIndex"; + private const string EOS_Sessions_IsUserInSessionName = "EOS_Sessions_IsUserInSession"; + private const string EOS_Sessions_JoinSessionName = "EOS_Sessions_JoinSession"; + private const string EOS_Sessions_QueryInvitesName = "EOS_Sessions_QueryInvites"; + private const string EOS_Sessions_RegisterPlayersName = "EOS_Sessions_RegisterPlayers"; + private const string EOS_Sessions_RejectInviteName = "EOS_Sessions_RejectInvite"; + private const string EOS_Sessions_RemoveNotifyJoinSessionAcceptedName = "EOS_Sessions_RemoveNotifyJoinSessionAccepted"; + private const string EOS_Sessions_RemoveNotifySessionInviteAcceptedName = "EOS_Sessions_RemoveNotifySessionInviteAccepted"; + private const string EOS_Sessions_RemoveNotifySessionInviteReceivedName = "EOS_Sessions_RemoveNotifySessionInviteReceived"; + private const string EOS_Sessions_SendInviteName = "EOS_Sessions_SendInvite"; + private const string EOS_Sessions_StartSessionName = "EOS_Sessions_StartSession"; + private const string EOS_Sessions_UnregisterPlayersName = "EOS_Sessions_UnregisterPlayers"; + private const string EOS_Sessions_UpdateSessionName = "EOS_Sessions_UpdateSession"; + private const string EOS_Sessions_UpdateSessionModificationName = "EOS_Sessions_UpdateSessionModification"; + private const string EOS_ShutdownName = "EOS_Shutdown"; + private const string EOS_Stats_CopyStatByIndexName = "EOS_Stats_CopyStatByIndex"; + private const string EOS_Stats_CopyStatByNameName = "EOS_Stats_CopyStatByName"; + private const string EOS_Stats_GetStatsCountName = "EOS_Stats_GetStatsCount"; + private const string EOS_Stats_IngestStatName = "EOS_Stats_IngestStat"; + private const string EOS_Stats_QueryStatsName = "EOS_Stats_QueryStats"; + private const string EOS_Stats_Stat_ReleaseName = "EOS_Stats_Stat_Release"; + private const string EOS_TitleStorageFileTransferRequest_CancelRequestName = "EOS_TitleStorageFileTransferRequest_CancelRequest"; + private const string EOS_TitleStorageFileTransferRequest_GetFileRequestStateName = "EOS_TitleStorageFileTransferRequest_GetFileRequestState"; + private const string EOS_TitleStorageFileTransferRequest_GetFilenameName = "EOS_TitleStorageFileTransferRequest_GetFilename"; + private const string EOS_TitleStorageFileTransferRequest_ReleaseName = "EOS_TitleStorageFileTransferRequest_Release"; + private const string EOS_TitleStorage_CopyFileMetadataAtIndexName = "EOS_TitleStorage_CopyFileMetadataAtIndex"; + private const string EOS_TitleStorage_CopyFileMetadataByFilenameName = "EOS_TitleStorage_CopyFileMetadataByFilename"; + private const string EOS_TitleStorage_DeleteCacheName = "EOS_TitleStorage_DeleteCache"; + private const string EOS_TitleStorage_FileMetadata_ReleaseName = "EOS_TitleStorage_FileMetadata_Release"; + private const string EOS_TitleStorage_GetFileMetadataCountName = "EOS_TitleStorage_GetFileMetadataCount"; + private const string EOS_TitleStorage_QueryFileName = "EOS_TitleStorage_QueryFile"; + private const string EOS_TitleStorage_QueryFileListName = "EOS_TitleStorage_QueryFileList"; + private const string EOS_TitleStorage_ReadFileName = "EOS_TitleStorage_ReadFile"; + private const string EOS_UI_AcknowledgeEventIdName = "EOS_UI_AcknowledgeEventId"; + private const string EOS_UI_AddNotifyDisplaySettingsUpdatedName = "EOS_UI_AddNotifyDisplaySettingsUpdated"; + private const string EOS_UI_GetFriendsExclusiveInputName = "EOS_UI_GetFriendsExclusiveInput"; + private const string EOS_UI_GetFriendsVisibleName = "EOS_UI_GetFriendsVisible"; + private const string EOS_UI_GetNotificationLocationPreferenceName = "EOS_UI_GetNotificationLocationPreference"; + private const string EOS_UI_GetToggleFriendsKeyName = "EOS_UI_GetToggleFriendsKey"; + private const string EOS_UI_HideFriendsName = "EOS_UI_HideFriends"; + private const string EOS_UI_IsSocialOverlayPausedName = "EOS_UI_IsSocialOverlayPaused"; + private const string EOS_UI_IsValidKeyCombinationName = "EOS_UI_IsValidKeyCombination"; + private const string EOS_UI_PauseSocialOverlayName = "EOS_UI_PauseSocialOverlay"; + private const string EOS_UI_RemoveNotifyDisplaySettingsUpdatedName = "EOS_UI_RemoveNotifyDisplaySettingsUpdated"; + private const string EOS_UI_SetDisplayPreferenceName = "EOS_UI_SetDisplayPreference"; + private const string EOS_UI_SetToggleFriendsKeyName = "EOS_UI_SetToggleFriendsKey"; + private const string EOS_UI_ShowBlockPlayerName = "EOS_UI_ShowBlockPlayer"; + private const string EOS_UI_ShowFriendsName = "EOS_UI_ShowFriends"; + private const string EOS_UI_ShowReportPlayerName = "EOS_UI_ShowReportPlayer"; + private const string EOS_UserInfo_CopyExternalUserInfoByAccountIdName = "EOS_UserInfo_CopyExternalUserInfoByAccountId"; + private const string EOS_UserInfo_CopyExternalUserInfoByAccountTypeName = "EOS_UserInfo_CopyExternalUserInfoByAccountType"; + private const string EOS_UserInfo_CopyExternalUserInfoByIndexName = "EOS_UserInfo_CopyExternalUserInfoByIndex"; + private const string EOS_UserInfo_CopyUserInfoName = "EOS_UserInfo_CopyUserInfo"; + private const string EOS_UserInfo_ExternalUserInfo_ReleaseName = "EOS_UserInfo_ExternalUserInfo_Release"; + private const string EOS_UserInfo_GetExternalUserInfoCountName = "EOS_UserInfo_GetExternalUserInfoCount"; + private const string EOS_UserInfo_QueryUserInfoName = "EOS_UserInfo_QueryUserInfo"; + private const string EOS_UserInfo_QueryUserInfoByDisplayNameName = "EOS_UserInfo_QueryUserInfoByDisplayName"; + private const string EOS_UserInfo_QueryUserInfoByExternalAccountName = "EOS_UserInfo_QueryUserInfoByExternalAccount"; + private const string EOS_UserInfo_ReleaseName = "EOS_UserInfo_Release"; +#endif + +#if EOS_DYNAMIC_BINDINGS_NAME_TYPE2 + private const string EOS_Achievements_AddNotifyAchievementsUnlockedName = "_EOS_Achievements_AddNotifyAchievementsUnlocked"; + private const string EOS_Achievements_AddNotifyAchievementsUnlockedV2Name = "_EOS_Achievements_AddNotifyAchievementsUnlockedV2"; + private const string EOS_Achievements_CopyAchievementDefinitionByAchievementIdName = "_EOS_Achievements_CopyAchievementDefinitionByAchievementId"; + private const string EOS_Achievements_CopyAchievementDefinitionByIndexName = "_EOS_Achievements_CopyAchievementDefinitionByIndex"; + private const string EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdName = "_EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId"; + private const string EOS_Achievements_CopyAchievementDefinitionV2ByIndexName = "_EOS_Achievements_CopyAchievementDefinitionV2ByIndex"; + private const string EOS_Achievements_CopyPlayerAchievementByAchievementIdName = "_EOS_Achievements_CopyPlayerAchievementByAchievementId"; + private const string EOS_Achievements_CopyPlayerAchievementByIndexName = "_EOS_Achievements_CopyPlayerAchievementByIndex"; + private const string EOS_Achievements_CopyUnlockedAchievementByAchievementIdName = "_EOS_Achievements_CopyUnlockedAchievementByAchievementId"; + private const string EOS_Achievements_CopyUnlockedAchievementByIndexName = "_EOS_Achievements_CopyUnlockedAchievementByIndex"; + private const string EOS_Achievements_DefinitionV2_ReleaseName = "_EOS_Achievements_DefinitionV2_Release"; + private const string EOS_Achievements_Definition_ReleaseName = "_EOS_Achievements_Definition_Release"; + private const string EOS_Achievements_GetAchievementDefinitionCountName = "_EOS_Achievements_GetAchievementDefinitionCount"; + private const string EOS_Achievements_GetPlayerAchievementCountName = "_EOS_Achievements_GetPlayerAchievementCount"; + private const string EOS_Achievements_GetUnlockedAchievementCountName = "_EOS_Achievements_GetUnlockedAchievementCount"; + private const string EOS_Achievements_PlayerAchievement_ReleaseName = "_EOS_Achievements_PlayerAchievement_Release"; + private const string EOS_Achievements_QueryDefinitionsName = "_EOS_Achievements_QueryDefinitions"; + private const string EOS_Achievements_QueryPlayerAchievementsName = "_EOS_Achievements_QueryPlayerAchievements"; + private const string EOS_Achievements_RemoveNotifyAchievementsUnlockedName = "_EOS_Achievements_RemoveNotifyAchievementsUnlocked"; + private const string EOS_Achievements_UnlockAchievementsName = "_EOS_Achievements_UnlockAchievements"; + private const string EOS_Achievements_UnlockedAchievement_ReleaseName = "_EOS_Achievements_UnlockedAchievement_Release"; + private const string EOS_ActiveSession_CopyInfoName = "_EOS_ActiveSession_CopyInfo"; + private const string EOS_ActiveSession_GetRegisteredPlayerByIndexName = "_EOS_ActiveSession_GetRegisteredPlayerByIndex"; + private const string EOS_ActiveSession_GetRegisteredPlayerCountName = "_EOS_ActiveSession_GetRegisteredPlayerCount"; + private const string EOS_ActiveSession_Info_ReleaseName = "_EOS_ActiveSession_Info_Release"; + private const string EOS_ActiveSession_ReleaseName = "_EOS_ActiveSession_Release"; + private const string EOS_AntiCheatClient_AddExternalIntegrityCatalogName = "_EOS_AntiCheatClient_AddExternalIntegrityCatalog"; + private const string EOS_AntiCheatClient_AddNotifyClientIntegrityViolatedName = "_EOS_AntiCheatClient_AddNotifyClientIntegrityViolated"; + private const string EOS_AntiCheatClient_AddNotifyMessageToPeerName = "_EOS_AntiCheatClient_AddNotifyMessageToPeer"; + private const string EOS_AntiCheatClient_AddNotifyMessageToServerName = "_EOS_AntiCheatClient_AddNotifyMessageToServer"; + private const string EOS_AntiCheatClient_AddNotifyPeerActionRequiredName = "_EOS_AntiCheatClient_AddNotifyPeerActionRequired"; + private const string EOS_AntiCheatClient_AddNotifyPeerAuthStatusChangedName = "_EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged"; + private const string EOS_AntiCheatClient_BeginSessionName = "_EOS_AntiCheatClient_BeginSession"; + private const string EOS_AntiCheatClient_EndSessionName = "_EOS_AntiCheatClient_EndSession"; + private const string EOS_AntiCheatClient_GetProtectMessageOutputLengthName = "_EOS_AntiCheatClient_GetProtectMessageOutputLength"; + private const string EOS_AntiCheatClient_PollStatusName = "_EOS_AntiCheatClient_PollStatus"; + private const string EOS_AntiCheatClient_ProtectMessageName = "_EOS_AntiCheatClient_ProtectMessage"; + private const string EOS_AntiCheatClient_ReceiveMessageFromPeerName = "_EOS_AntiCheatClient_ReceiveMessageFromPeer"; + private const string EOS_AntiCheatClient_ReceiveMessageFromServerName = "_EOS_AntiCheatClient_ReceiveMessageFromServer"; + private const string EOS_AntiCheatClient_RegisterPeerName = "_EOS_AntiCheatClient_RegisterPeer"; + private const string EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolatedName = "_EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolated"; + private const string EOS_AntiCheatClient_RemoveNotifyMessageToPeerName = "_EOS_AntiCheatClient_RemoveNotifyMessageToPeer"; + private const string EOS_AntiCheatClient_RemoveNotifyMessageToServerName = "_EOS_AntiCheatClient_RemoveNotifyMessageToServer"; + private const string EOS_AntiCheatClient_RemoveNotifyPeerActionRequiredName = "_EOS_AntiCheatClient_RemoveNotifyPeerActionRequired"; + private const string EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedName = "_EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged"; + private const string EOS_AntiCheatClient_UnprotectMessageName = "_EOS_AntiCheatClient_UnprotectMessage"; + private const string EOS_AntiCheatClient_UnregisterPeerName = "_EOS_AntiCheatClient_UnregisterPeer"; + private const string EOS_AntiCheatServer_AddNotifyClientActionRequiredName = "_EOS_AntiCheatServer_AddNotifyClientActionRequired"; + private const string EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedName = "_EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged"; + private const string EOS_AntiCheatServer_AddNotifyMessageToClientName = "_EOS_AntiCheatServer_AddNotifyMessageToClient"; + private const string EOS_AntiCheatServer_BeginSessionName = "_EOS_AntiCheatServer_BeginSession"; + private const string EOS_AntiCheatServer_EndSessionName = "_EOS_AntiCheatServer_EndSession"; + private const string EOS_AntiCheatServer_GetProtectMessageOutputLengthName = "_EOS_AntiCheatServer_GetProtectMessageOutputLength"; + private const string EOS_AntiCheatServer_LogEventName = "_EOS_AntiCheatServer_LogEvent"; + private const string EOS_AntiCheatServer_LogGameRoundEndName = "_EOS_AntiCheatServer_LogGameRoundEnd"; + private const string EOS_AntiCheatServer_LogGameRoundStartName = "_EOS_AntiCheatServer_LogGameRoundStart"; + private const string EOS_AntiCheatServer_LogPlayerDespawnName = "_EOS_AntiCheatServer_LogPlayerDespawn"; + private const string EOS_AntiCheatServer_LogPlayerReviveName = "_EOS_AntiCheatServer_LogPlayerRevive"; + private const string EOS_AntiCheatServer_LogPlayerSpawnName = "_EOS_AntiCheatServer_LogPlayerSpawn"; + private const string EOS_AntiCheatServer_LogPlayerTakeDamageName = "_EOS_AntiCheatServer_LogPlayerTakeDamage"; + private const string EOS_AntiCheatServer_LogPlayerTickName = "_EOS_AntiCheatServer_LogPlayerTick"; + private const string EOS_AntiCheatServer_LogPlayerUseAbilityName = "_EOS_AntiCheatServer_LogPlayerUseAbility"; + private const string EOS_AntiCheatServer_LogPlayerUseWeaponName = "_EOS_AntiCheatServer_LogPlayerUseWeapon"; + private const string EOS_AntiCheatServer_ProtectMessageName = "_EOS_AntiCheatServer_ProtectMessage"; + private const string EOS_AntiCheatServer_ReceiveMessageFromClientName = "_EOS_AntiCheatServer_ReceiveMessageFromClient"; + private const string EOS_AntiCheatServer_RegisterClientName = "_EOS_AntiCheatServer_RegisterClient"; + private const string EOS_AntiCheatServer_RegisterEventName = "_EOS_AntiCheatServer_RegisterEvent"; + private const string EOS_AntiCheatServer_RemoveNotifyClientActionRequiredName = "_EOS_AntiCheatServer_RemoveNotifyClientActionRequired"; + private const string EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChangedName = "_EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged"; + private const string EOS_AntiCheatServer_RemoveNotifyMessageToClientName = "_EOS_AntiCheatServer_RemoveNotifyMessageToClient"; + private const string EOS_AntiCheatServer_SetClientDetailsName = "_EOS_AntiCheatServer_SetClientDetails"; + private const string EOS_AntiCheatServer_SetClientNetworkStateName = "_EOS_AntiCheatServer_SetClientNetworkState"; + private const string EOS_AntiCheatServer_SetGameSessionIdName = "_EOS_AntiCheatServer_SetGameSessionId"; + private const string EOS_AntiCheatServer_UnprotectMessageName = "_EOS_AntiCheatServer_UnprotectMessage"; + private const string EOS_AntiCheatServer_UnregisterClientName = "_EOS_AntiCheatServer_UnregisterClient"; + private const string EOS_Auth_AddNotifyLoginStatusChangedName = "_EOS_Auth_AddNotifyLoginStatusChanged"; + private const string EOS_Auth_CopyIdTokenName = "_EOS_Auth_CopyIdToken"; + private const string EOS_Auth_CopyUserAuthTokenName = "_EOS_Auth_CopyUserAuthToken"; + private const string EOS_Auth_DeletePersistentAuthName = "_EOS_Auth_DeletePersistentAuth"; + private const string EOS_Auth_GetLoggedInAccountByIndexName = "_EOS_Auth_GetLoggedInAccountByIndex"; + private const string EOS_Auth_GetLoggedInAccountsCountName = "_EOS_Auth_GetLoggedInAccountsCount"; + private const string EOS_Auth_GetLoginStatusName = "_EOS_Auth_GetLoginStatus"; + private const string EOS_Auth_GetMergedAccountByIndexName = "_EOS_Auth_GetMergedAccountByIndex"; + private const string EOS_Auth_GetMergedAccountsCountName = "_EOS_Auth_GetMergedAccountsCount"; + private const string EOS_Auth_GetSelectedAccountIdName = "_EOS_Auth_GetSelectedAccountId"; + private const string EOS_Auth_IdToken_ReleaseName = "_EOS_Auth_IdToken_Release"; + private const string EOS_Auth_LinkAccountName = "_EOS_Auth_LinkAccount"; + private const string EOS_Auth_LoginName = "_EOS_Auth_Login"; + private const string EOS_Auth_LogoutName = "_EOS_Auth_Logout"; + private const string EOS_Auth_QueryIdTokenName = "_EOS_Auth_QueryIdToken"; + private const string EOS_Auth_RemoveNotifyLoginStatusChangedName = "_EOS_Auth_RemoveNotifyLoginStatusChanged"; + private const string EOS_Auth_Token_ReleaseName = "_EOS_Auth_Token_Release"; + private const string EOS_Auth_VerifyIdTokenName = "_EOS_Auth_VerifyIdToken"; + private const string EOS_Auth_VerifyUserAuthName = "_EOS_Auth_VerifyUserAuth"; + private const string EOS_ByteArray_ToStringName = "_EOS_ByteArray_ToString"; + private const string EOS_Connect_AddNotifyAuthExpirationName = "_EOS_Connect_AddNotifyAuthExpiration"; + private const string EOS_Connect_AddNotifyLoginStatusChangedName = "_EOS_Connect_AddNotifyLoginStatusChanged"; + private const string EOS_Connect_CopyIdTokenName = "_EOS_Connect_CopyIdToken"; + private const string EOS_Connect_CopyProductUserExternalAccountByAccountIdName = "_EOS_Connect_CopyProductUserExternalAccountByAccountId"; + private const string EOS_Connect_CopyProductUserExternalAccountByAccountTypeName = "_EOS_Connect_CopyProductUserExternalAccountByAccountType"; + private const string EOS_Connect_CopyProductUserExternalAccountByIndexName = "_EOS_Connect_CopyProductUserExternalAccountByIndex"; + private const string EOS_Connect_CopyProductUserInfoName = "_EOS_Connect_CopyProductUserInfo"; + private const string EOS_Connect_CreateDeviceIdName = "_EOS_Connect_CreateDeviceId"; + private const string EOS_Connect_CreateUserName = "_EOS_Connect_CreateUser"; + private const string EOS_Connect_DeleteDeviceIdName = "_EOS_Connect_DeleteDeviceId"; + private const string EOS_Connect_ExternalAccountInfo_ReleaseName = "_EOS_Connect_ExternalAccountInfo_Release"; + private const string EOS_Connect_GetExternalAccountMappingName = "_EOS_Connect_GetExternalAccountMapping"; + private const string EOS_Connect_GetLoggedInUserByIndexName = "_EOS_Connect_GetLoggedInUserByIndex"; + private const string EOS_Connect_GetLoggedInUsersCountName = "_EOS_Connect_GetLoggedInUsersCount"; + private const string EOS_Connect_GetLoginStatusName = "_EOS_Connect_GetLoginStatus"; + private const string EOS_Connect_GetProductUserExternalAccountCountName = "_EOS_Connect_GetProductUserExternalAccountCount"; + private const string EOS_Connect_GetProductUserIdMappingName = "_EOS_Connect_GetProductUserIdMapping"; + private const string EOS_Connect_IdToken_ReleaseName = "_EOS_Connect_IdToken_Release"; + private const string EOS_Connect_LinkAccountName = "_EOS_Connect_LinkAccount"; + private const string EOS_Connect_LoginName = "_EOS_Connect_Login"; + private const string EOS_Connect_QueryExternalAccountMappingsName = "_EOS_Connect_QueryExternalAccountMappings"; + private const string EOS_Connect_QueryProductUserIdMappingsName = "_EOS_Connect_QueryProductUserIdMappings"; + private const string EOS_Connect_RemoveNotifyAuthExpirationName = "_EOS_Connect_RemoveNotifyAuthExpiration"; + private const string EOS_Connect_RemoveNotifyLoginStatusChangedName = "_EOS_Connect_RemoveNotifyLoginStatusChanged"; + private const string EOS_Connect_TransferDeviceIdAccountName = "_EOS_Connect_TransferDeviceIdAccount"; + private const string EOS_Connect_UnlinkAccountName = "_EOS_Connect_UnlinkAccount"; + private const string EOS_Connect_VerifyIdTokenName = "_EOS_Connect_VerifyIdToken"; + private const string EOS_ContinuanceToken_ToStringName = "_EOS_ContinuanceToken_ToString"; + private const string EOS_CustomInvites_AddNotifyCustomInviteAcceptedName = "_EOS_CustomInvites_AddNotifyCustomInviteAccepted"; + private const string EOS_CustomInvites_AddNotifyCustomInviteReceivedName = "_EOS_CustomInvites_AddNotifyCustomInviteReceived"; + private const string EOS_CustomInvites_AddNotifyCustomInviteRejectedName = "_EOS_CustomInvites_AddNotifyCustomInviteRejected"; + private const string EOS_CustomInvites_FinalizeInviteName = "_EOS_CustomInvites_FinalizeInvite"; + private const string EOS_CustomInvites_RemoveNotifyCustomInviteAcceptedName = "_EOS_CustomInvites_RemoveNotifyCustomInviteAccepted"; + private const string EOS_CustomInvites_RemoveNotifyCustomInviteReceivedName = "_EOS_CustomInvites_RemoveNotifyCustomInviteReceived"; + private const string EOS_CustomInvites_RemoveNotifyCustomInviteRejectedName = "_EOS_CustomInvites_RemoveNotifyCustomInviteRejected"; + private const string EOS_CustomInvites_SendCustomInviteName = "_EOS_CustomInvites_SendCustomInvite"; + private const string EOS_CustomInvites_SetCustomInviteName = "_EOS_CustomInvites_SetCustomInvite"; + private const string EOS_EResult_IsOperationCompleteName = "_EOS_EResult_IsOperationComplete"; + private const string EOS_EResult_ToStringName = "_EOS_EResult_ToString"; + private const string EOS_Ecom_CatalogItem_ReleaseName = "_EOS_Ecom_CatalogItem_Release"; + private const string EOS_Ecom_CatalogOffer_ReleaseName = "_EOS_Ecom_CatalogOffer_Release"; + private const string EOS_Ecom_CatalogRelease_ReleaseName = "_EOS_Ecom_CatalogRelease_Release"; + private const string EOS_Ecom_CheckoutName = "_EOS_Ecom_Checkout"; + private const string EOS_Ecom_CopyEntitlementByIdName = "_EOS_Ecom_CopyEntitlementById"; + private const string EOS_Ecom_CopyEntitlementByIndexName = "_EOS_Ecom_CopyEntitlementByIndex"; + private const string EOS_Ecom_CopyEntitlementByNameAndIndexName = "_EOS_Ecom_CopyEntitlementByNameAndIndex"; + private const string EOS_Ecom_CopyItemByIdName = "_EOS_Ecom_CopyItemById"; + private const string EOS_Ecom_CopyItemImageInfoByIndexName = "_EOS_Ecom_CopyItemImageInfoByIndex"; + private const string EOS_Ecom_CopyItemReleaseByIndexName = "_EOS_Ecom_CopyItemReleaseByIndex"; + private const string EOS_Ecom_CopyLastRedeemedEntitlementByIndexName = "_EOS_Ecom_CopyLastRedeemedEntitlementByIndex"; + private const string EOS_Ecom_CopyOfferByIdName = "_EOS_Ecom_CopyOfferById"; + private const string EOS_Ecom_CopyOfferByIndexName = "_EOS_Ecom_CopyOfferByIndex"; + private const string EOS_Ecom_CopyOfferImageInfoByIndexName = "_EOS_Ecom_CopyOfferImageInfoByIndex"; + private const string EOS_Ecom_CopyOfferItemByIndexName = "_EOS_Ecom_CopyOfferItemByIndex"; + private const string EOS_Ecom_CopyTransactionByIdName = "_EOS_Ecom_CopyTransactionById"; + private const string EOS_Ecom_CopyTransactionByIndexName = "_EOS_Ecom_CopyTransactionByIndex"; + private const string EOS_Ecom_Entitlement_ReleaseName = "_EOS_Ecom_Entitlement_Release"; + private const string EOS_Ecom_GetEntitlementsByNameCountName = "_EOS_Ecom_GetEntitlementsByNameCount"; + private const string EOS_Ecom_GetEntitlementsCountName = "_EOS_Ecom_GetEntitlementsCount"; + private const string EOS_Ecom_GetItemImageInfoCountName = "_EOS_Ecom_GetItemImageInfoCount"; + private const string EOS_Ecom_GetItemReleaseCountName = "_EOS_Ecom_GetItemReleaseCount"; + private const string EOS_Ecom_GetLastRedeemedEntitlementsCountName = "_EOS_Ecom_GetLastRedeemedEntitlementsCount"; + private const string EOS_Ecom_GetOfferCountName = "_EOS_Ecom_GetOfferCount"; + private const string EOS_Ecom_GetOfferImageInfoCountName = "_EOS_Ecom_GetOfferImageInfoCount"; + private const string EOS_Ecom_GetOfferItemCountName = "_EOS_Ecom_GetOfferItemCount"; + private const string EOS_Ecom_GetTransactionCountName = "_EOS_Ecom_GetTransactionCount"; + private const string EOS_Ecom_KeyImageInfo_ReleaseName = "_EOS_Ecom_KeyImageInfo_Release"; + private const string EOS_Ecom_QueryEntitlementTokenName = "_EOS_Ecom_QueryEntitlementToken"; + private const string EOS_Ecom_QueryEntitlementsName = "_EOS_Ecom_QueryEntitlements"; + private const string EOS_Ecom_QueryOffersName = "_EOS_Ecom_QueryOffers"; + private const string EOS_Ecom_QueryOwnershipName = "_EOS_Ecom_QueryOwnership"; + private const string EOS_Ecom_QueryOwnershipTokenName = "_EOS_Ecom_QueryOwnershipToken"; + private const string EOS_Ecom_RedeemEntitlementsName = "_EOS_Ecom_RedeemEntitlements"; + private const string EOS_Ecom_Transaction_CopyEntitlementByIndexName = "_EOS_Ecom_Transaction_CopyEntitlementByIndex"; + private const string EOS_Ecom_Transaction_GetEntitlementsCountName = "_EOS_Ecom_Transaction_GetEntitlementsCount"; + private const string EOS_Ecom_Transaction_GetTransactionIdName = "_EOS_Ecom_Transaction_GetTransactionId"; + private const string EOS_Ecom_Transaction_ReleaseName = "_EOS_Ecom_Transaction_Release"; + private const string EOS_EpicAccountId_FromStringName = "_EOS_EpicAccountId_FromString"; + private const string EOS_EpicAccountId_IsValidName = "_EOS_EpicAccountId_IsValid"; + private const string EOS_EpicAccountId_ToStringName = "_EOS_EpicAccountId_ToString"; + private const string EOS_Friends_AcceptInviteName = "_EOS_Friends_AcceptInvite"; + private const string EOS_Friends_AddNotifyFriendsUpdateName = "_EOS_Friends_AddNotifyFriendsUpdate"; + private const string EOS_Friends_GetFriendAtIndexName = "_EOS_Friends_GetFriendAtIndex"; + private const string EOS_Friends_GetFriendsCountName = "_EOS_Friends_GetFriendsCount"; + private const string EOS_Friends_GetStatusName = "_EOS_Friends_GetStatus"; + private const string EOS_Friends_QueryFriendsName = "_EOS_Friends_QueryFriends"; + private const string EOS_Friends_RejectInviteName = "_EOS_Friends_RejectInvite"; + private const string EOS_Friends_RemoveNotifyFriendsUpdateName = "_EOS_Friends_RemoveNotifyFriendsUpdate"; + private const string EOS_Friends_SendInviteName = "_EOS_Friends_SendInvite"; + private const string EOS_GetVersionName = "_EOS_GetVersion"; + private const string EOS_InitializeName = "_EOS_Initialize"; + private const string EOS_IntegratedPlatformOptionsContainer_AddName = "_EOS_IntegratedPlatformOptionsContainer_Add"; + private const string EOS_IntegratedPlatformOptionsContainer_ReleaseName = "_EOS_IntegratedPlatformOptionsContainer_Release"; + private const string EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainerName = "_EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainer"; + private const string EOS_KWS_AddNotifyPermissionsUpdateReceivedName = "_EOS_KWS_AddNotifyPermissionsUpdateReceived"; + private const string EOS_KWS_CopyPermissionByIndexName = "_EOS_KWS_CopyPermissionByIndex"; + private const string EOS_KWS_CreateUserName = "_EOS_KWS_CreateUser"; + private const string EOS_KWS_GetPermissionByKeyName = "_EOS_KWS_GetPermissionByKey"; + private const string EOS_KWS_GetPermissionsCountName = "_EOS_KWS_GetPermissionsCount"; + private const string EOS_KWS_PermissionStatus_ReleaseName = "_EOS_KWS_PermissionStatus_Release"; + private const string EOS_KWS_QueryAgeGateName = "_EOS_KWS_QueryAgeGate"; + private const string EOS_KWS_QueryPermissionsName = "_EOS_KWS_QueryPermissions"; + private const string EOS_KWS_RemoveNotifyPermissionsUpdateReceivedName = "_EOS_KWS_RemoveNotifyPermissionsUpdateReceived"; + private const string EOS_KWS_RequestPermissionsName = "_EOS_KWS_RequestPermissions"; + private const string EOS_KWS_UpdateParentEmailName = "_EOS_KWS_UpdateParentEmail"; + private const string EOS_Leaderboards_CopyLeaderboardDefinitionByIndexName = "_EOS_Leaderboards_CopyLeaderboardDefinitionByIndex"; + private const string EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardIdName = "_EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId"; + private const string EOS_Leaderboards_CopyLeaderboardRecordByIndexName = "_EOS_Leaderboards_CopyLeaderboardRecordByIndex"; + private const string EOS_Leaderboards_CopyLeaderboardRecordByUserIdName = "_EOS_Leaderboards_CopyLeaderboardRecordByUserId"; + private const string EOS_Leaderboards_CopyLeaderboardUserScoreByIndexName = "_EOS_Leaderboards_CopyLeaderboardUserScoreByIndex"; + private const string EOS_Leaderboards_CopyLeaderboardUserScoreByUserIdName = "_EOS_Leaderboards_CopyLeaderboardUserScoreByUserId"; + private const string EOS_Leaderboards_Definition_ReleaseName = "_EOS_Leaderboards_Definition_Release"; + private const string EOS_Leaderboards_GetLeaderboardDefinitionCountName = "_EOS_Leaderboards_GetLeaderboardDefinitionCount"; + private const string EOS_Leaderboards_GetLeaderboardRecordCountName = "_EOS_Leaderboards_GetLeaderboardRecordCount"; + private const string EOS_Leaderboards_GetLeaderboardUserScoreCountName = "_EOS_Leaderboards_GetLeaderboardUserScoreCount"; + private const string EOS_Leaderboards_LeaderboardDefinition_ReleaseName = "_EOS_Leaderboards_LeaderboardDefinition_Release"; + private const string EOS_Leaderboards_LeaderboardRecord_ReleaseName = "_EOS_Leaderboards_LeaderboardRecord_Release"; + private const string EOS_Leaderboards_LeaderboardUserScore_ReleaseName = "_EOS_Leaderboards_LeaderboardUserScore_Release"; + private const string EOS_Leaderboards_QueryLeaderboardDefinitionsName = "_EOS_Leaderboards_QueryLeaderboardDefinitions"; + private const string EOS_Leaderboards_QueryLeaderboardRanksName = "_EOS_Leaderboards_QueryLeaderboardRanks"; + private const string EOS_Leaderboards_QueryLeaderboardUserScoresName = "_EOS_Leaderboards_QueryLeaderboardUserScores"; + private const string EOS_LobbyDetails_CopyAttributeByIndexName = "_EOS_LobbyDetails_CopyAttributeByIndex"; + private const string EOS_LobbyDetails_CopyAttributeByKeyName = "_EOS_LobbyDetails_CopyAttributeByKey"; + private const string EOS_LobbyDetails_CopyInfoName = "_EOS_LobbyDetails_CopyInfo"; + private const string EOS_LobbyDetails_CopyMemberAttributeByIndexName = "_EOS_LobbyDetails_CopyMemberAttributeByIndex"; + private const string EOS_LobbyDetails_CopyMemberAttributeByKeyName = "_EOS_LobbyDetails_CopyMemberAttributeByKey"; + private const string EOS_LobbyDetails_GetAttributeCountName = "_EOS_LobbyDetails_GetAttributeCount"; + private const string EOS_LobbyDetails_GetLobbyOwnerName = "_EOS_LobbyDetails_GetLobbyOwner"; + private const string EOS_LobbyDetails_GetMemberAttributeCountName = "_EOS_LobbyDetails_GetMemberAttributeCount"; + private const string EOS_LobbyDetails_GetMemberByIndexName = "_EOS_LobbyDetails_GetMemberByIndex"; + private const string EOS_LobbyDetails_GetMemberCountName = "_EOS_LobbyDetails_GetMemberCount"; + private const string EOS_LobbyDetails_Info_ReleaseName = "_EOS_LobbyDetails_Info_Release"; + private const string EOS_LobbyDetails_ReleaseName = "_EOS_LobbyDetails_Release"; + private const string EOS_LobbyModification_AddAttributeName = "_EOS_LobbyModification_AddAttribute"; + private const string EOS_LobbyModification_AddMemberAttributeName = "_EOS_LobbyModification_AddMemberAttribute"; + private const string EOS_LobbyModification_ReleaseName = "_EOS_LobbyModification_Release"; + private const string EOS_LobbyModification_RemoveAttributeName = "_EOS_LobbyModification_RemoveAttribute"; + private const string EOS_LobbyModification_RemoveMemberAttributeName = "_EOS_LobbyModification_RemoveMemberAttribute"; + private const string EOS_LobbyModification_SetBucketIdName = "_EOS_LobbyModification_SetBucketId"; + private const string EOS_LobbyModification_SetInvitesAllowedName = "_EOS_LobbyModification_SetInvitesAllowed"; + private const string EOS_LobbyModification_SetMaxMembersName = "_EOS_LobbyModification_SetMaxMembers"; + private const string EOS_LobbyModification_SetPermissionLevelName = "_EOS_LobbyModification_SetPermissionLevel"; + private const string EOS_LobbySearch_CopySearchResultByIndexName = "_EOS_LobbySearch_CopySearchResultByIndex"; + private const string EOS_LobbySearch_FindName = "_EOS_LobbySearch_Find"; + private const string EOS_LobbySearch_GetSearchResultCountName = "_EOS_LobbySearch_GetSearchResultCount"; + private const string EOS_LobbySearch_ReleaseName = "_EOS_LobbySearch_Release"; + private const string EOS_LobbySearch_RemoveParameterName = "_EOS_LobbySearch_RemoveParameter"; + private const string EOS_LobbySearch_SetLobbyIdName = "_EOS_LobbySearch_SetLobbyId"; + private const string EOS_LobbySearch_SetMaxResultsName = "_EOS_LobbySearch_SetMaxResults"; + private const string EOS_LobbySearch_SetParameterName = "_EOS_LobbySearch_SetParameter"; + private const string EOS_LobbySearch_SetTargetUserIdName = "_EOS_LobbySearch_SetTargetUserId"; + private const string EOS_Lobby_AddNotifyJoinLobbyAcceptedName = "_EOS_Lobby_AddNotifyJoinLobbyAccepted"; + private const string EOS_Lobby_AddNotifyLobbyInviteAcceptedName = "_EOS_Lobby_AddNotifyLobbyInviteAccepted"; + private const string EOS_Lobby_AddNotifyLobbyInviteReceivedName = "_EOS_Lobby_AddNotifyLobbyInviteReceived"; + private const string EOS_Lobby_AddNotifyLobbyInviteRejectedName = "_EOS_Lobby_AddNotifyLobbyInviteRejected"; + private const string EOS_Lobby_AddNotifyLobbyMemberStatusReceivedName = "_EOS_Lobby_AddNotifyLobbyMemberStatusReceived"; + private const string EOS_Lobby_AddNotifyLobbyMemberUpdateReceivedName = "_EOS_Lobby_AddNotifyLobbyMemberUpdateReceived"; + private const string EOS_Lobby_AddNotifyLobbyUpdateReceivedName = "_EOS_Lobby_AddNotifyLobbyUpdateReceived"; + private const string EOS_Lobby_AddNotifyRTCRoomConnectionChangedName = "_EOS_Lobby_AddNotifyRTCRoomConnectionChanged"; + private const string EOS_Lobby_AddNotifySendLobbyNativeInviteRequestedName = "_EOS_Lobby_AddNotifySendLobbyNativeInviteRequested"; + private const string EOS_Lobby_Attribute_ReleaseName = "_EOS_Lobby_Attribute_Release"; + private const string EOS_Lobby_CopyLobbyDetailsHandleName = "_EOS_Lobby_CopyLobbyDetailsHandle"; + private const string EOS_Lobby_CopyLobbyDetailsHandleByInviteIdName = "_EOS_Lobby_CopyLobbyDetailsHandleByInviteId"; + private const string EOS_Lobby_CopyLobbyDetailsHandleByUiEventIdName = "_EOS_Lobby_CopyLobbyDetailsHandleByUiEventId"; + private const string EOS_Lobby_CreateLobbyName = "_EOS_Lobby_CreateLobby"; + private const string EOS_Lobby_CreateLobbySearchName = "_EOS_Lobby_CreateLobbySearch"; + private const string EOS_Lobby_DestroyLobbyName = "_EOS_Lobby_DestroyLobby"; + private const string EOS_Lobby_GetInviteCountName = "_EOS_Lobby_GetInviteCount"; + private const string EOS_Lobby_GetInviteIdByIndexName = "_EOS_Lobby_GetInviteIdByIndex"; + private const string EOS_Lobby_GetRTCRoomNameName = "_EOS_Lobby_GetRTCRoomName"; + private const string EOS_Lobby_HardMuteMemberName = "_EOS_Lobby_HardMuteMember"; + private const string EOS_Lobby_IsRTCRoomConnectedName = "_EOS_Lobby_IsRTCRoomConnected"; + private const string EOS_Lobby_JoinLobbyName = "_EOS_Lobby_JoinLobby"; + private const string EOS_Lobby_JoinLobbyByIdName = "_EOS_Lobby_JoinLobbyById"; + private const string EOS_Lobby_KickMemberName = "_EOS_Lobby_KickMember"; + private const string EOS_Lobby_LeaveLobbyName = "_EOS_Lobby_LeaveLobby"; + private const string EOS_Lobby_PromoteMemberName = "_EOS_Lobby_PromoteMember"; + private const string EOS_Lobby_QueryInvitesName = "_EOS_Lobby_QueryInvites"; + private const string EOS_Lobby_RejectInviteName = "_EOS_Lobby_RejectInvite"; + private const string EOS_Lobby_RemoveNotifyJoinLobbyAcceptedName = "_EOS_Lobby_RemoveNotifyJoinLobbyAccepted"; + private const string EOS_Lobby_RemoveNotifyLobbyInviteAcceptedName = "_EOS_Lobby_RemoveNotifyLobbyInviteAccepted"; + private const string EOS_Lobby_RemoveNotifyLobbyInviteReceivedName = "_EOS_Lobby_RemoveNotifyLobbyInviteReceived"; + private const string EOS_Lobby_RemoveNotifyLobbyInviteRejectedName = "_EOS_Lobby_RemoveNotifyLobbyInviteRejected"; + private const string EOS_Lobby_RemoveNotifyLobbyMemberStatusReceivedName = "_EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived"; + private const string EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceivedName = "_EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived"; + private const string EOS_Lobby_RemoveNotifyLobbyUpdateReceivedName = "_EOS_Lobby_RemoveNotifyLobbyUpdateReceived"; + private const string EOS_Lobby_RemoveNotifyRTCRoomConnectionChangedName = "_EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged"; + private const string EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequestedName = "_EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequested"; + private const string EOS_Lobby_SendInviteName = "_EOS_Lobby_SendInvite"; + private const string EOS_Lobby_UpdateLobbyName = "_EOS_Lobby_UpdateLobby"; + private const string EOS_Lobby_UpdateLobbyModificationName = "_EOS_Lobby_UpdateLobbyModification"; + private const string EOS_Logging_SetCallbackName = "_EOS_Logging_SetCallback"; + private const string EOS_Logging_SetLogLevelName = "_EOS_Logging_SetLogLevel"; + private const string EOS_Metrics_BeginPlayerSessionName = "_EOS_Metrics_BeginPlayerSession"; + private const string EOS_Metrics_EndPlayerSessionName = "_EOS_Metrics_EndPlayerSession"; + private const string EOS_Mods_CopyModInfoName = "_EOS_Mods_CopyModInfo"; + private const string EOS_Mods_EnumerateModsName = "_EOS_Mods_EnumerateMods"; + private const string EOS_Mods_InstallModName = "_EOS_Mods_InstallMod"; + private const string EOS_Mods_ModInfo_ReleaseName = "_EOS_Mods_ModInfo_Release"; + private const string EOS_Mods_UninstallModName = "_EOS_Mods_UninstallMod"; + private const string EOS_Mods_UpdateModName = "_EOS_Mods_UpdateMod"; + private const string EOS_P2P_AcceptConnectionName = "_EOS_P2P_AcceptConnection"; + private const string EOS_P2P_AddNotifyIncomingPacketQueueFullName = "_EOS_P2P_AddNotifyIncomingPacketQueueFull"; + private const string EOS_P2P_AddNotifyPeerConnectionClosedName = "_EOS_P2P_AddNotifyPeerConnectionClosed"; + private const string EOS_P2P_AddNotifyPeerConnectionEstablishedName = "_EOS_P2P_AddNotifyPeerConnectionEstablished"; + private const string EOS_P2P_AddNotifyPeerConnectionInterruptedName = "_EOS_P2P_AddNotifyPeerConnectionInterrupted"; + private const string EOS_P2P_AddNotifyPeerConnectionRequestName = "_EOS_P2P_AddNotifyPeerConnectionRequest"; + private const string EOS_P2P_ClearPacketQueueName = "_EOS_P2P_ClearPacketQueue"; + private const string EOS_P2P_CloseConnectionName = "_EOS_P2P_CloseConnection"; + private const string EOS_P2P_CloseConnectionsName = "_EOS_P2P_CloseConnections"; + private const string EOS_P2P_GetNATTypeName = "_EOS_P2P_GetNATType"; + private const string EOS_P2P_GetNextReceivedPacketSizeName = "_EOS_P2P_GetNextReceivedPacketSize"; + private const string EOS_P2P_GetPacketQueueInfoName = "_EOS_P2P_GetPacketQueueInfo"; + private const string EOS_P2P_GetPortRangeName = "_EOS_P2P_GetPortRange"; + private const string EOS_P2P_GetRelayControlName = "_EOS_P2P_GetRelayControl"; + private const string EOS_P2P_QueryNATTypeName = "_EOS_P2P_QueryNATType"; + private const string EOS_P2P_ReceivePacketName = "_EOS_P2P_ReceivePacket"; + private const string EOS_P2P_RemoveNotifyIncomingPacketQueueFullName = "_EOS_P2P_RemoveNotifyIncomingPacketQueueFull"; + private const string EOS_P2P_RemoveNotifyPeerConnectionClosedName = "_EOS_P2P_RemoveNotifyPeerConnectionClosed"; + private const string EOS_P2P_RemoveNotifyPeerConnectionEstablishedName = "_EOS_P2P_RemoveNotifyPeerConnectionEstablished"; + private const string EOS_P2P_RemoveNotifyPeerConnectionInterruptedName = "_EOS_P2P_RemoveNotifyPeerConnectionInterrupted"; + private const string EOS_P2P_RemoveNotifyPeerConnectionRequestName = "_EOS_P2P_RemoveNotifyPeerConnectionRequest"; + private const string EOS_P2P_SendPacketName = "_EOS_P2P_SendPacket"; + private const string EOS_P2P_SetPacketQueueSizeName = "_EOS_P2P_SetPacketQueueSize"; + private const string EOS_P2P_SetPortRangeName = "_EOS_P2P_SetPortRange"; + private const string EOS_P2P_SetRelayControlName = "_EOS_P2P_SetRelayControl"; + private const string EOS_Platform_CheckForLauncherAndRestartName = "_EOS_Platform_CheckForLauncherAndRestart"; + private const string EOS_Platform_CreateName = "_EOS_Platform_Create"; + private const string EOS_Platform_GetAchievementsInterfaceName = "_EOS_Platform_GetAchievementsInterface"; + private const string EOS_Platform_GetActiveCountryCodeName = "_EOS_Platform_GetActiveCountryCode"; + private const string EOS_Platform_GetActiveLocaleCodeName = "_EOS_Platform_GetActiveLocaleCode"; + private const string EOS_Platform_GetAntiCheatClientInterfaceName = "_EOS_Platform_GetAntiCheatClientInterface"; + private const string EOS_Platform_GetAntiCheatServerInterfaceName = "_EOS_Platform_GetAntiCheatServerInterface"; + private const string EOS_Platform_GetApplicationStatusName = "_EOS_Platform_GetApplicationStatus"; + private const string EOS_Platform_GetAuthInterfaceName = "_EOS_Platform_GetAuthInterface"; + private const string EOS_Platform_GetConnectInterfaceName = "_EOS_Platform_GetConnectInterface"; + private const string EOS_Platform_GetCustomInvitesInterfaceName = "_EOS_Platform_GetCustomInvitesInterface"; + private const string EOS_Platform_GetDesktopCrossplayStatusName = "_EOS_Platform_GetDesktopCrossplayStatus"; + private const string EOS_Platform_GetEcomInterfaceName = "_EOS_Platform_GetEcomInterface"; + private const string EOS_Platform_GetFriendsInterfaceName = "_EOS_Platform_GetFriendsInterface"; + private const string EOS_Platform_GetKWSInterfaceName = "_EOS_Platform_GetKWSInterface"; + private const string EOS_Platform_GetLeaderboardsInterfaceName = "_EOS_Platform_GetLeaderboardsInterface"; + private const string EOS_Platform_GetLobbyInterfaceName = "_EOS_Platform_GetLobbyInterface"; + private const string EOS_Platform_GetMetricsInterfaceName = "_EOS_Platform_GetMetricsInterface"; + private const string EOS_Platform_GetModsInterfaceName = "_EOS_Platform_GetModsInterface"; + private const string EOS_Platform_GetNetworkStatusName = "_EOS_Platform_GetNetworkStatus"; + private const string EOS_Platform_GetOverrideCountryCodeName = "_EOS_Platform_GetOverrideCountryCode"; + private const string EOS_Platform_GetOverrideLocaleCodeName = "_EOS_Platform_GetOverrideLocaleCode"; + private const string EOS_Platform_GetP2PInterfaceName = "_EOS_Platform_GetP2PInterface"; + private const string EOS_Platform_GetPlayerDataStorageInterfaceName = "_EOS_Platform_GetPlayerDataStorageInterface"; + private const string EOS_Platform_GetPresenceInterfaceName = "_EOS_Platform_GetPresenceInterface"; + private const string EOS_Platform_GetProgressionSnapshotInterfaceName = "_EOS_Platform_GetProgressionSnapshotInterface"; + private const string EOS_Platform_GetRTCAdminInterfaceName = "_EOS_Platform_GetRTCAdminInterface"; + private const string EOS_Platform_GetRTCInterfaceName = "_EOS_Platform_GetRTCInterface"; + private const string EOS_Platform_GetReportsInterfaceName = "_EOS_Platform_GetReportsInterface"; + private const string EOS_Platform_GetSanctionsInterfaceName = "_EOS_Platform_GetSanctionsInterface"; + private const string EOS_Platform_GetSessionsInterfaceName = "_EOS_Platform_GetSessionsInterface"; + private const string EOS_Platform_GetStatsInterfaceName = "_EOS_Platform_GetStatsInterface"; + private const string EOS_Platform_GetTitleStorageInterfaceName = "_EOS_Platform_GetTitleStorageInterface"; + private const string EOS_Platform_GetUIInterfaceName = "_EOS_Platform_GetUIInterface"; + private const string EOS_Platform_GetUserInfoInterfaceName = "_EOS_Platform_GetUserInfoInterface"; + private const string EOS_Platform_ReleaseName = "_EOS_Platform_Release"; + private const string EOS_Platform_SetApplicationStatusName = "_EOS_Platform_SetApplicationStatus"; + private const string EOS_Platform_SetNetworkStatusName = "_EOS_Platform_SetNetworkStatus"; + private const string EOS_Platform_SetOverrideCountryCodeName = "_EOS_Platform_SetOverrideCountryCode"; + private const string EOS_Platform_SetOverrideLocaleCodeName = "_EOS_Platform_SetOverrideLocaleCode"; + private const string EOS_Platform_TickName = "_EOS_Platform_Tick"; + private const string EOS_PlayerDataStorageFileTransferRequest_CancelRequestName = "_EOS_PlayerDataStorageFileTransferRequest_CancelRequest"; + private const string EOS_PlayerDataStorageFileTransferRequest_GetFileRequestStateName = "_EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState"; + private const string EOS_PlayerDataStorageFileTransferRequest_GetFilenameName = "_EOS_PlayerDataStorageFileTransferRequest_GetFilename"; + private const string EOS_PlayerDataStorageFileTransferRequest_ReleaseName = "_EOS_PlayerDataStorageFileTransferRequest_Release"; + private const string EOS_PlayerDataStorage_CopyFileMetadataAtIndexName = "_EOS_PlayerDataStorage_CopyFileMetadataAtIndex"; + private const string EOS_PlayerDataStorage_CopyFileMetadataByFilenameName = "_EOS_PlayerDataStorage_CopyFileMetadataByFilename"; + private const string EOS_PlayerDataStorage_DeleteCacheName = "_EOS_PlayerDataStorage_DeleteCache"; + private const string EOS_PlayerDataStorage_DeleteFileName = "_EOS_PlayerDataStorage_DeleteFile"; + private const string EOS_PlayerDataStorage_DuplicateFileName = "_EOS_PlayerDataStorage_DuplicateFile"; + private const string EOS_PlayerDataStorage_FileMetadata_ReleaseName = "_EOS_PlayerDataStorage_FileMetadata_Release"; + private const string EOS_PlayerDataStorage_GetFileMetadataCountName = "_EOS_PlayerDataStorage_GetFileMetadataCount"; + private const string EOS_PlayerDataStorage_QueryFileName = "_EOS_PlayerDataStorage_QueryFile"; + private const string EOS_PlayerDataStorage_QueryFileListName = "_EOS_PlayerDataStorage_QueryFileList"; + private const string EOS_PlayerDataStorage_ReadFileName = "_EOS_PlayerDataStorage_ReadFile"; + private const string EOS_PlayerDataStorage_WriteFileName = "_EOS_PlayerDataStorage_WriteFile"; + private const string EOS_PresenceModification_DeleteDataName = "_EOS_PresenceModification_DeleteData"; + private const string EOS_PresenceModification_ReleaseName = "_EOS_PresenceModification_Release"; + private const string EOS_PresenceModification_SetDataName = "_EOS_PresenceModification_SetData"; + private const string EOS_PresenceModification_SetJoinInfoName = "_EOS_PresenceModification_SetJoinInfo"; + private const string EOS_PresenceModification_SetRawRichTextName = "_EOS_PresenceModification_SetRawRichText"; + private const string EOS_PresenceModification_SetStatusName = "_EOS_PresenceModification_SetStatus"; + private const string EOS_Presence_AddNotifyJoinGameAcceptedName = "_EOS_Presence_AddNotifyJoinGameAccepted"; + private const string EOS_Presence_AddNotifyOnPresenceChangedName = "_EOS_Presence_AddNotifyOnPresenceChanged"; + private const string EOS_Presence_CopyPresenceName = "_EOS_Presence_CopyPresence"; + private const string EOS_Presence_CreatePresenceModificationName = "_EOS_Presence_CreatePresenceModification"; + private const string EOS_Presence_GetJoinInfoName = "_EOS_Presence_GetJoinInfo"; + private const string EOS_Presence_HasPresenceName = "_EOS_Presence_HasPresence"; + private const string EOS_Presence_Info_ReleaseName = "_EOS_Presence_Info_Release"; + private const string EOS_Presence_QueryPresenceName = "_EOS_Presence_QueryPresence"; + private const string EOS_Presence_RemoveNotifyJoinGameAcceptedName = "_EOS_Presence_RemoveNotifyJoinGameAccepted"; + private const string EOS_Presence_RemoveNotifyOnPresenceChangedName = "_EOS_Presence_RemoveNotifyOnPresenceChanged"; + private const string EOS_Presence_SetPresenceName = "_EOS_Presence_SetPresence"; + private const string EOS_ProductUserId_FromStringName = "_EOS_ProductUserId_FromString"; + private const string EOS_ProductUserId_IsValidName = "_EOS_ProductUserId_IsValid"; + private const string EOS_ProductUserId_ToStringName = "_EOS_ProductUserId_ToString"; + private const string EOS_ProgressionSnapshot_AddProgressionName = "_EOS_ProgressionSnapshot_AddProgression"; + private const string EOS_ProgressionSnapshot_BeginSnapshotName = "_EOS_ProgressionSnapshot_BeginSnapshot"; + private const string EOS_ProgressionSnapshot_DeleteSnapshotName = "_EOS_ProgressionSnapshot_DeleteSnapshot"; + private const string EOS_ProgressionSnapshot_EndSnapshotName = "_EOS_ProgressionSnapshot_EndSnapshot"; + private const string EOS_ProgressionSnapshot_SubmitSnapshotName = "_EOS_ProgressionSnapshot_SubmitSnapshot"; + private const string EOS_RTCAdmin_CopyUserTokenByIndexName = "_EOS_RTCAdmin_CopyUserTokenByIndex"; + private const string EOS_RTCAdmin_CopyUserTokenByUserIdName = "_EOS_RTCAdmin_CopyUserTokenByUserId"; + private const string EOS_RTCAdmin_KickName = "_EOS_RTCAdmin_Kick"; + private const string EOS_RTCAdmin_QueryJoinRoomTokenName = "_EOS_RTCAdmin_QueryJoinRoomToken"; + private const string EOS_RTCAdmin_SetParticipantHardMuteName = "_EOS_RTCAdmin_SetParticipantHardMute"; + private const string EOS_RTCAdmin_UserToken_ReleaseName = "_EOS_RTCAdmin_UserToken_Release"; + private const string EOS_RTCAudio_AddNotifyAudioBeforeRenderName = "_EOS_RTCAudio_AddNotifyAudioBeforeRender"; + private const string EOS_RTCAudio_AddNotifyAudioBeforeSendName = "_EOS_RTCAudio_AddNotifyAudioBeforeSend"; + private const string EOS_RTCAudio_AddNotifyAudioDevicesChangedName = "_EOS_RTCAudio_AddNotifyAudioDevicesChanged"; + private const string EOS_RTCAudio_AddNotifyAudioInputStateName = "_EOS_RTCAudio_AddNotifyAudioInputState"; + private const string EOS_RTCAudio_AddNotifyAudioOutputStateName = "_EOS_RTCAudio_AddNotifyAudioOutputState"; + private const string EOS_RTCAudio_AddNotifyParticipantUpdatedName = "_EOS_RTCAudio_AddNotifyParticipantUpdated"; + private const string EOS_RTCAudio_GetAudioInputDeviceByIndexName = "_EOS_RTCAudio_GetAudioInputDeviceByIndex"; + private const string EOS_RTCAudio_GetAudioInputDevicesCountName = "_EOS_RTCAudio_GetAudioInputDevicesCount"; + private const string EOS_RTCAudio_GetAudioOutputDeviceByIndexName = "_EOS_RTCAudio_GetAudioOutputDeviceByIndex"; + private const string EOS_RTCAudio_GetAudioOutputDevicesCountName = "_EOS_RTCAudio_GetAudioOutputDevicesCount"; + private const string EOS_RTCAudio_RegisterPlatformAudioUserName = "_EOS_RTCAudio_RegisterPlatformAudioUser"; + private const string EOS_RTCAudio_RemoveNotifyAudioBeforeRenderName = "_EOS_RTCAudio_RemoveNotifyAudioBeforeRender"; + private const string EOS_RTCAudio_RemoveNotifyAudioBeforeSendName = "_EOS_RTCAudio_RemoveNotifyAudioBeforeSend"; + private const string EOS_RTCAudio_RemoveNotifyAudioDevicesChangedName = "_EOS_RTCAudio_RemoveNotifyAudioDevicesChanged"; + private const string EOS_RTCAudio_RemoveNotifyAudioInputStateName = "_EOS_RTCAudio_RemoveNotifyAudioInputState"; + private const string EOS_RTCAudio_RemoveNotifyAudioOutputStateName = "_EOS_RTCAudio_RemoveNotifyAudioOutputState"; + private const string EOS_RTCAudio_RemoveNotifyParticipantUpdatedName = "_EOS_RTCAudio_RemoveNotifyParticipantUpdated"; + private const string EOS_RTCAudio_SendAudioName = "_EOS_RTCAudio_SendAudio"; + private const string EOS_RTCAudio_SetAudioInputSettingsName = "_EOS_RTCAudio_SetAudioInputSettings"; + private const string EOS_RTCAudio_SetAudioOutputSettingsName = "_EOS_RTCAudio_SetAudioOutputSettings"; + private const string EOS_RTCAudio_UnregisterPlatformAudioUserName = "_EOS_RTCAudio_UnregisterPlatformAudioUser"; + private const string EOS_RTCAudio_UpdateParticipantVolumeName = "_EOS_RTCAudio_UpdateParticipantVolume"; + private const string EOS_RTCAudio_UpdateReceivingName = "_EOS_RTCAudio_UpdateReceiving"; + private const string EOS_RTCAudio_UpdateReceivingVolumeName = "_EOS_RTCAudio_UpdateReceivingVolume"; + private const string EOS_RTCAudio_UpdateSendingName = "_EOS_RTCAudio_UpdateSending"; + private const string EOS_RTCAudio_UpdateSendingVolumeName = "_EOS_RTCAudio_UpdateSendingVolume"; + private const string EOS_RTC_AddNotifyDisconnectedName = "_EOS_RTC_AddNotifyDisconnected"; + private const string EOS_RTC_AddNotifyParticipantStatusChangedName = "_EOS_RTC_AddNotifyParticipantStatusChanged"; + private const string EOS_RTC_BlockParticipantName = "_EOS_RTC_BlockParticipant"; + private const string EOS_RTC_GetAudioInterfaceName = "_EOS_RTC_GetAudioInterface"; + private const string EOS_RTC_JoinRoomName = "_EOS_RTC_JoinRoom"; + private const string EOS_RTC_LeaveRoomName = "_EOS_RTC_LeaveRoom"; + private const string EOS_RTC_RemoveNotifyDisconnectedName = "_EOS_RTC_RemoveNotifyDisconnected"; + private const string EOS_RTC_RemoveNotifyParticipantStatusChangedName = "_EOS_RTC_RemoveNotifyParticipantStatusChanged"; + private const string EOS_RTC_SetRoomSettingName = "_EOS_RTC_SetRoomSetting"; + private const string EOS_RTC_SetSettingName = "_EOS_RTC_SetSetting"; + private const string EOS_Reports_SendPlayerBehaviorReportName = "_EOS_Reports_SendPlayerBehaviorReport"; + private const string EOS_Sanctions_CopyPlayerSanctionByIndexName = "_EOS_Sanctions_CopyPlayerSanctionByIndex"; + private const string EOS_Sanctions_GetPlayerSanctionCountName = "_EOS_Sanctions_GetPlayerSanctionCount"; + private const string EOS_Sanctions_PlayerSanction_ReleaseName = "_EOS_Sanctions_PlayerSanction_Release"; + private const string EOS_Sanctions_QueryActivePlayerSanctionsName = "_EOS_Sanctions_QueryActivePlayerSanctions"; + private const string EOS_SessionDetails_Attribute_ReleaseName = "_EOS_SessionDetails_Attribute_Release"; + private const string EOS_SessionDetails_CopyInfoName = "_EOS_SessionDetails_CopyInfo"; + private const string EOS_SessionDetails_CopySessionAttributeByIndexName = "_EOS_SessionDetails_CopySessionAttributeByIndex"; + private const string EOS_SessionDetails_CopySessionAttributeByKeyName = "_EOS_SessionDetails_CopySessionAttributeByKey"; + private const string EOS_SessionDetails_GetSessionAttributeCountName = "_EOS_SessionDetails_GetSessionAttributeCount"; + private const string EOS_SessionDetails_Info_ReleaseName = "_EOS_SessionDetails_Info_Release"; + private const string EOS_SessionDetails_ReleaseName = "_EOS_SessionDetails_Release"; + private const string EOS_SessionModification_AddAttributeName = "_EOS_SessionModification_AddAttribute"; + private const string EOS_SessionModification_ReleaseName = "_EOS_SessionModification_Release"; + private const string EOS_SessionModification_RemoveAttributeName = "_EOS_SessionModification_RemoveAttribute"; + private const string EOS_SessionModification_SetBucketIdName = "_EOS_SessionModification_SetBucketId"; + private const string EOS_SessionModification_SetHostAddressName = "_EOS_SessionModification_SetHostAddress"; + private const string EOS_SessionModification_SetInvitesAllowedName = "_EOS_SessionModification_SetInvitesAllowed"; + private const string EOS_SessionModification_SetJoinInProgressAllowedName = "_EOS_SessionModification_SetJoinInProgressAllowed"; + private const string EOS_SessionModification_SetMaxPlayersName = "_EOS_SessionModification_SetMaxPlayers"; + private const string EOS_SessionModification_SetPermissionLevelName = "_EOS_SessionModification_SetPermissionLevel"; + private const string EOS_SessionSearch_CopySearchResultByIndexName = "_EOS_SessionSearch_CopySearchResultByIndex"; + private const string EOS_SessionSearch_FindName = "_EOS_SessionSearch_Find"; + private const string EOS_SessionSearch_GetSearchResultCountName = "_EOS_SessionSearch_GetSearchResultCount"; + private const string EOS_SessionSearch_ReleaseName = "_EOS_SessionSearch_Release"; + private const string EOS_SessionSearch_RemoveParameterName = "_EOS_SessionSearch_RemoveParameter"; + private const string EOS_SessionSearch_SetMaxResultsName = "_EOS_SessionSearch_SetMaxResults"; + private const string EOS_SessionSearch_SetParameterName = "_EOS_SessionSearch_SetParameter"; + private const string EOS_SessionSearch_SetSessionIdName = "_EOS_SessionSearch_SetSessionId"; + private const string EOS_SessionSearch_SetTargetUserIdName = "_EOS_SessionSearch_SetTargetUserId"; + private const string EOS_Sessions_AddNotifyJoinSessionAcceptedName = "_EOS_Sessions_AddNotifyJoinSessionAccepted"; + private const string EOS_Sessions_AddNotifySessionInviteAcceptedName = "_EOS_Sessions_AddNotifySessionInviteAccepted"; + private const string EOS_Sessions_AddNotifySessionInviteReceivedName = "_EOS_Sessions_AddNotifySessionInviteReceived"; + private const string EOS_Sessions_CopyActiveSessionHandleName = "_EOS_Sessions_CopyActiveSessionHandle"; + private const string EOS_Sessions_CopySessionHandleByInviteIdName = "_EOS_Sessions_CopySessionHandleByInviteId"; + private const string EOS_Sessions_CopySessionHandleByUiEventIdName = "_EOS_Sessions_CopySessionHandleByUiEventId"; + private const string EOS_Sessions_CopySessionHandleForPresenceName = "_EOS_Sessions_CopySessionHandleForPresence"; + private const string EOS_Sessions_CreateSessionModificationName = "_EOS_Sessions_CreateSessionModification"; + private const string EOS_Sessions_CreateSessionSearchName = "_EOS_Sessions_CreateSessionSearch"; + private const string EOS_Sessions_DestroySessionName = "_EOS_Sessions_DestroySession"; + private const string EOS_Sessions_DumpSessionStateName = "_EOS_Sessions_DumpSessionState"; + private const string EOS_Sessions_EndSessionName = "_EOS_Sessions_EndSession"; + private const string EOS_Sessions_GetInviteCountName = "_EOS_Sessions_GetInviteCount"; + private const string EOS_Sessions_GetInviteIdByIndexName = "_EOS_Sessions_GetInviteIdByIndex"; + private const string EOS_Sessions_IsUserInSessionName = "_EOS_Sessions_IsUserInSession"; + private const string EOS_Sessions_JoinSessionName = "_EOS_Sessions_JoinSession"; + private const string EOS_Sessions_QueryInvitesName = "_EOS_Sessions_QueryInvites"; + private const string EOS_Sessions_RegisterPlayersName = "_EOS_Sessions_RegisterPlayers"; + private const string EOS_Sessions_RejectInviteName = "_EOS_Sessions_RejectInvite"; + private const string EOS_Sessions_RemoveNotifyJoinSessionAcceptedName = "_EOS_Sessions_RemoveNotifyJoinSessionAccepted"; + private const string EOS_Sessions_RemoveNotifySessionInviteAcceptedName = "_EOS_Sessions_RemoveNotifySessionInviteAccepted"; + private const string EOS_Sessions_RemoveNotifySessionInviteReceivedName = "_EOS_Sessions_RemoveNotifySessionInviteReceived"; + private const string EOS_Sessions_SendInviteName = "_EOS_Sessions_SendInvite"; + private const string EOS_Sessions_StartSessionName = "_EOS_Sessions_StartSession"; + private const string EOS_Sessions_UnregisterPlayersName = "_EOS_Sessions_UnregisterPlayers"; + private const string EOS_Sessions_UpdateSessionName = "_EOS_Sessions_UpdateSession"; + private const string EOS_Sessions_UpdateSessionModificationName = "_EOS_Sessions_UpdateSessionModification"; + private const string EOS_ShutdownName = "_EOS_Shutdown"; + private const string EOS_Stats_CopyStatByIndexName = "_EOS_Stats_CopyStatByIndex"; + private const string EOS_Stats_CopyStatByNameName = "_EOS_Stats_CopyStatByName"; + private const string EOS_Stats_GetStatsCountName = "_EOS_Stats_GetStatsCount"; + private const string EOS_Stats_IngestStatName = "_EOS_Stats_IngestStat"; + private const string EOS_Stats_QueryStatsName = "_EOS_Stats_QueryStats"; + private const string EOS_Stats_Stat_ReleaseName = "_EOS_Stats_Stat_Release"; + private const string EOS_TitleStorageFileTransferRequest_CancelRequestName = "_EOS_TitleStorageFileTransferRequest_CancelRequest"; + private const string EOS_TitleStorageFileTransferRequest_GetFileRequestStateName = "_EOS_TitleStorageFileTransferRequest_GetFileRequestState"; + private const string EOS_TitleStorageFileTransferRequest_GetFilenameName = "_EOS_TitleStorageFileTransferRequest_GetFilename"; + private const string EOS_TitleStorageFileTransferRequest_ReleaseName = "_EOS_TitleStorageFileTransferRequest_Release"; + private const string EOS_TitleStorage_CopyFileMetadataAtIndexName = "_EOS_TitleStorage_CopyFileMetadataAtIndex"; + private const string EOS_TitleStorage_CopyFileMetadataByFilenameName = "_EOS_TitleStorage_CopyFileMetadataByFilename"; + private const string EOS_TitleStorage_DeleteCacheName = "_EOS_TitleStorage_DeleteCache"; + private const string EOS_TitleStorage_FileMetadata_ReleaseName = "_EOS_TitleStorage_FileMetadata_Release"; + private const string EOS_TitleStorage_GetFileMetadataCountName = "_EOS_TitleStorage_GetFileMetadataCount"; + private const string EOS_TitleStorage_QueryFileName = "_EOS_TitleStorage_QueryFile"; + private const string EOS_TitleStorage_QueryFileListName = "_EOS_TitleStorage_QueryFileList"; + private const string EOS_TitleStorage_ReadFileName = "_EOS_TitleStorage_ReadFile"; + private const string EOS_UI_AcknowledgeEventIdName = "_EOS_UI_AcknowledgeEventId"; + private const string EOS_UI_AddNotifyDisplaySettingsUpdatedName = "_EOS_UI_AddNotifyDisplaySettingsUpdated"; + private const string EOS_UI_GetFriendsExclusiveInputName = "_EOS_UI_GetFriendsExclusiveInput"; + private const string EOS_UI_GetFriendsVisibleName = "_EOS_UI_GetFriendsVisible"; + private const string EOS_UI_GetNotificationLocationPreferenceName = "_EOS_UI_GetNotificationLocationPreference"; + private const string EOS_UI_GetToggleFriendsKeyName = "_EOS_UI_GetToggleFriendsKey"; + private const string EOS_UI_HideFriendsName = "_EOS_UI_HideFriends"; + private const string EOS_UI_IsSocialOverlayPausedName = "_EOS_UI_IsSocialOverlayPaused"; + private const string EOS_UI_IsValidKeyCombinationName = "_EOS_UI_IsValidKeyCombination"; + private const string EOS_UI_PauseSocialOverlayName = "_EOS_UI_PauseSocialOverlay"; + private const string EOS_UI_RemoveNotifyDisplaySettingsUpdatedName = "_EOS_UI_RemoveNotifyDisplaySettingsUpdated"; + private const string EOS_UI_SetDisplayPreferenceName = "_EOS_UI_SetDisplayPreference"; + private const string EOS_UI_SetToggleFriendsKeyName = "_EOS_UI_SetToggleFriendsKey"; + private const string EOS_UI_ShowBlockPlayerName = "_EOS_UI_ShowBlockPlayer"; + private const string EOS_UI_ShowFriendsName = "_EOS_UI_ShowFriends"; + private const string EOS_UI_ShowReportPlayerName = "_EOS_UI_ShowReportPlayer"; + private const string EOS_UserInfo_CopyExternalUserInfoByAccountIdName = "_EOS_UserInfo_CopyExternalUserInfoByAccountId"; + private const string EOS_UserInfo_CopyExternalUserInfoByAccountTypeName = "_EOS_UserInfo_CopyExternalUserInfoByAccountType"; + private const string EOS_UserInfo_CopyExternalUserInfoByIndexName = "_EOS_UserInfo_CopyExternalUserInfoByIndex"; + private const string EOS_UserInfo_CopyUserInfoName = "_EOS_UserInfo_CopyUserInfo"; + private const string EOS_UserInfo_ExternalUserInfo_ReleaseName = "_EOS_UserInfo_ExternalUserInfo_Release"; + private const string EOS_UserInfo_GetExternalUserInfoCountName = "_EOS_UserInfo_GetExternalUserInfoCount"; + private const string EOS_UserInfo_QueryUserInfoName = "_EOS_UserInfo_QueryUserInfo"; + private const string EOS_UserInfo_QueryUserInfoByDisplayNameName = "_EOS_UserInfo_QueryUserInfoByDisplayName"; + private const string EOS_UserInfo_QueryUserInfoByExternalAccountName = "_EOS_UserInfo_QueryUserInfoByExternalAccount"; + private const string EOS_UserInfo_ReleaseName = "_EOS_UserInfo_Release"; +#endif + +#if EOS_DYNAMIC_BINDINGS_NAME_TYPE3 + private const string EOS_Achievements_AddNotifyAchievementsUnlockedName = "_EOS_Achievements_AddNotifyAchievementsUnlocked@16"; + private const string EOS_Achievements_AddNotifyAchievementsUnlockedV2Name = "_EOS_Achievements_AddNotifyAchievementsUnlockedV2@16"; + private const string EOS_Achievements_CopyAchievementDefinitionByAchievementIdName = "_EOS_Achievements_CopyAchievementDefinitionByAchievementId@12"; + private const string EOS_Achievements_CopyAchievementDefinitionByIndexName = "_EOS_Achievements_CopyAchievementDefinitionByIndex@12"; + private const string EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdName = "_EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId@12"; + private const string EOS_Achievements_CopyAchievementDefinitionV2ByIndexName = "_EOS_Achievements_CopyAchievementDefinitionV2ByIndex@12"; + private const string EOS_Achievements_CopyPlayerAchievementByAchievementIdName = "_EOS_Achievements_CopyPlayerAchievementByAchievementId@12"; + private const string EOS_Achievements_CopyPlayerAchievementByIndexName = "_EOS_Achievements_CopyPlayerAchievementByIndex@12"; + private const string EOS_Achievements_CopyUnlockedAchievementByAchievementIdName = "_EOS_Achievements_CopyUnlockedAchievementByAchievementId@12"; + private const string EOS_Achievements_CopyUnlockedAchievementByIndexName = "_EOS_Achievements_CopyUnlockedAchievementByIndex@12"; + private const string EOS_Achievements_DefinitionV2_ReleaseName = "_EOS_Achievements_DefinitionV2_Release@4"; + private const string EOS_Achievements_Definition_ReleaseName = "_EOS_Achievements_Definition_Release@4"; + private const string EOS_Achievements_GetAchievementDefinitionCountName = "_EOS_Achievements_GetAchievementDefinitionCount@8"; + private const string EOS_Achievements_GetPlayerAchievementCountName = "_EOS_Achievements_GetPlayerAchievementCount@8"; + private const string EOS_Achievements_GetUnlockedAchievementCountName = "_EOS_Achievements_GetUnlockedAchievementCount@8"; + private const string EOS_Achievements_PlayerAchievement_ReleaseName = "_EOS_Achievements_PlayerAchievement_Release@4"; + private const string EOS_Achievements_QueryDefinitionsName = "_EOS_Achievements_QueryDefinitions@16"; + private const string EOS_Achievements_QueryPlayerAchievementsName = "_EOS_Achievements_QueryPlayerAchievements@16"; + private const string EOS_Achievements_RemoveNotifyAchievementsUnlockedName = "_EOS_Achievements_RemoveNotifyAchievementsUnlocked@12"; + private const string EOS_Achievements_UnlockAchievementsName = "_EOS_Achievements_UnlockAchievements@16"; + private const string EOS_Achievements_UnlockedAchievement_ReleaseName = "_EOS_Achievements_UnlockedAchievement_Release@4"; + private const string EOS_ActiveSession_CopyInfoName = "_EOS_ActiveSession_CopyInfo@12"; + private const string EOS_ActiveSession_GetRegisteredPlayerByIndexName = "_EOS_ActiveSession_GetRegisteredPlayerByIndex@8"; + private const string EOS_ActiveSession_GetRegisteredPlayerCountName = "_EOS_ActiveSession_GetRegisteredPlayerCount@8"; + private const string EOS_ActiveSession_Info_ReleaseName = "_EOS_ActiveSession_Info_Release@4"; + private const string EOS_ActiveSession_ReleaseName = "_EOS_ActiveSession_Release@4"; + private const string EOS_AntiCheatClient_AddExternalIntegrityCatalogName = "_EOS_AntiCheatClient_AddExternalIntegrityCatalog@8"; + private const string EOS_AntiCheatClient_AddNotifyClientIntegrityViolatedName = "_EOS_AntiCheatClient_AddNotifyClientIntegrityViolated@16"; + private const string EOS_AntiCheatClient_AddNotifyMessageToPeerName = "_EOS_AntiCheatClient_AddNotifyMessageToPeer@16"; + private const string EOS_AntiCheatClient_AddNotifyMessageToServerName = "_EOS_AntiCheatClient_AddNotifyMessageToServer@16"; + private const string EOS_AntiCheatClient_AddNotifyPeerActionRequiredName = "_EOS_AntiCheatClient_AddNotifyPeerActionRequired@16"; + private const string EOS_AntiCheatClient_AddNotifyPeerAuthStatusChangedName = "_EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged@16"; + private const string EOS_AntiCheatClient_BeginSessionName = "_EOS_AntiCheatClient_BeginSession@8"; + private const string EOS_AntiCheatClient_EndSessionName = "_EOS_AntiCheatClient_EndSession@8"; + private const string EOS_AntiCheatClient_GetProtectMessageOutputLengthName = "_EOS_AntiCheatClient_GetProtectMessageOutputLength@12"; + private const string EOS_AntiCheatClient_PollStatusName = "_EOS_AntiCheatClient_PollStatus@16"; + private const string EOS_AntiCheatClient_ProtectMessageName = "_EOS_AntiCheatClient_ProtectMessage@16"; + private const string EOS_AntiCheatClient_ReceiveMessageFromPeerName = "_EOS_AntiCheatClient_ReceiveMessageFromPeer@8"; + private const string EOS_AntiCheatClient_ReceiveMessageFromServerName = "_EOS_AntiCheatClient_ReceiveMessageFromServer@8"; + private const string EOS_AntiCheatClient_RegisterPeerName = "_EOS_AntiCheatClient_RegisterPeer@8"; + private const string EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolatedName = "_EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolated@12"; + private const string EOS_AntiCheatClient_RemoveNotifyMessageToPeerName = "_EOS_AntiCheatClient_RemoveNotifyMessageToPeer@12"; + private const string EOS_AntiCheatClient_RemoveNotifyMessageToServerName = "_EOS_AntiCheatClient_RemoveNotifyMessageToServer@12"; + private const string EOS_AntiCheatClient_RemoveNotifyPeerActionRequiredName = "_EOS_AntiCheatClient_RemoveNotifyPeerActionRequired@12"; + private const string EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedName = "_EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged@12"; + private const string EOS_AntiCheatClient_UnprotectMessageName = "_EOS_AntiCheatClient_UnprotectMessage@16"; + private const string EOS_AntiCheatClient_UnregisterPeerName = "_EOS_AntiCheatClient_UnregisterPeer@8"; + private const string EOS_AntiCheatServer_AddNotifyClientActionRequiredName = "_EOS_AntiCheatServer_AddNotifyClientActionRequired@16"; + private const string EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedName = "_EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged@16"; + private const string EOS_AntiCheatServer_AddNotifyMessageToClientName = "_EOS_AntiCheatServer_AddNotifyMessageToClient@16"; + private const string EOS_AntiCheatServer_BeginSessionName = "_EOS_AntiCheatServer_BeginSession@8"; + private const string EOS_AntiCheatServer_EndSessionName = "_EOS_AntiCheatServer_EndSession@8"; + private const string EOS_AntiCheatServer_GetProtectMessageOutputLengthName = "_EOS_AntiCheatServer_GetProtectMessageOutputLength@12"; + private const string EOS_AntiCheatServer_LogEventName = "_EOS_AntiCheatServer_LogEvent@8"; + private const string EOS_AntiCheatServer_LogGameRoundEndName = "_EOS_AntiCheatServer_LogGameRoundEnd@8"; + private const string EOS_AntiCheatServer_LogGameRoundStartName = "_EOS_AntiCheatServer_LogGameRoundStart@8"; + private const string EOS_AntiCheatServer_LogPlayerDespawnName = "_EOS_AntiCheatServer_LogPlayerDespawn@8"; + private const string EOS_AntiCheatServer_LogPlayerReviveName = "_EOS_AntiCheatServer_LogPlayerRevive@8"; + private const string EOS_AntiCheatServer_LogPlayerSpawnName = "_EOS_AntiCheatServer_LogPlayerSpawn@8"; + private const string EOS_AntiCheatServer_LogPlayerTakeDamageName = "_EOS_AntiCheatServer_LogPlayerTakeDamage@8"; + private const string EOS_AntiCheatServer_LogPlayerTickName = "_EOS_AntiCheatServer_LogPlayerTick@8"; + private const string EOS_AntiCheatServer_LogPlayerUseAbilityName = "_EOS_AntiCheatServer_LogPlayerUseAbility@8"; + private const string EOS_AntiCheatServer_LogPlayerUseWeaponName = "_EOS_AntiCheatServer_LogPlayerUseWeapon@8"; + private const string EOS_AntiCheatServer_ProtectMessageName = "_EOS_AntiCheatServer_ProtectMessage@16"; + private const string EOS_AntiCheatServer_ReceiveMessageFromClientName = "_EOS_AntiCheatServer_ReceiveMessageFromClient@8"; + private const string EOS_AntiCheatServer_RegisterClientName = "_EOS_AntiCheatServer_RegisterClient@8"; + private const string EOS_AntiCheatServer_RegisterEventName = "_EOS_AntiCheatServer_RegisterEvent@8"; + private const string EOS_AntiCheatServer_RemoveNotifyClientActionRequiredName = "_EOS_AntiCheatServer_RemoveNotifyClientActionRequired@12"; + private const string EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChangedName = "_EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged@12"; + private const string EOS_AntiCheatServer_RemoveNotifyMessageToClientName = "_EOS_AntiCheatServer_RemoveNotifyMessageToClient@12"; + private const string EOS_AntiCheatServer_SetClientDetailsName = "_EOS_AntiCheatServer_SetClientDetails@8"; + private const string EOS_AntiCheatServer_SetClientNetworkStateName = "_EOS_AntiCheatServer_SetClientNetworkState@8"; + private const string EOS_AntiCheatServer_SetGameSessionIdName = "_EOS_AntiCheatServer_SetGameSessionId@8"; + private const string EOS_AntiCheatServer_UnprotectMessageName = "_EOS_AntiCheatServer_UnprotectMessage@16"; + private const string EOS_AntiCheatServer_UnregisterClientName = "_EOS_AntiCheatServer_UnregisterClient@8"; + private const string EOS_Auth_AddNotifyLoginStatusChangedName = "_EOS_Auth_AddNotifyLoginStatusChanged@16"; + private const string EOS_Auth_CopyIdTokenName = "_EOS_Auth_CopyIdToken@12"; + private const string EOS_Auth_CopyUserAuthTokenName = "_EOS_Auth_CopyUserAuthToken@16"; + private const string EOS_Auth_DeletePersistentAuthName = "_EOS_Auth_DeletePersistentAuth@16"; + private const string EOS_Auth_GetLoggedInAccountByIndexName = "_EOS_Auth_GetLoggedInAccountByIndex@8"; + private const string EOS_Auth_GetLoggedInAccountsCountName = "_EOS_Auth_GetLoggedInAccountsCount@4"; + private const string EOS_Auth_GetLoginStatusName = "_EOS_Auth_GetLoginStatus@8"; + private const string EOS_Auth_GetMergedAccountByIndexName = "_EOS_Auth_GetMergedAccountByIndex@12"; + private const string EOS_Auth_GetMergedAccountsCountName = "_EOS_Auth_GetMergedAccountsCount@8"; + private const string EOS_Auth_GetSelectedAccountIdName = "_EOS_Auth_GetSelectedAccountId@12"; + private const string EOS_Auth_IdToken_ReleaseName = "_EOS_Auth_IdToken_Release@4"; + private const string EOS_Auth_LinkAccountName = "_EOS_Auth_LinkAccount@16"; + private const string EOS_Auth_LoginName = "_EOS_Auth_Login@16"; + private const string EOS_Auth_LogoutName = "_EOS_Auth_Logout@16"; + private const string EOS_Auth_QueryIdTokenName = "_EOS_Auth_QueryIdToken@16"; + private const string EOS_Auth_RemoveNotifyLoginStatusChangedName = "_EOS_Auth_RemoveNotifyLoginStatusChanged@12"; + private const string EOS_Auth_Token_ReleaseName = "_EOS_Auth_Token_Release@4"; + private const string EOS_Auth_VerifyIdTokenName = "_EOS_Auth_VerifyIdToken@16"; + private const string EOS_Auth_VerifyUserAuthName = "_EOS_Auth_VerifyUserAuth@16"; + private const string EOS_ByteArray_ToStringName = "_EOS_ByteArray_ToString@16"; + private const string EOS_Connect_AddNotifyAuthExpirationName = "_EOS_Connect_AddNotifyAuthExpiration@16"; + private const string EOS_Connect_AddNotifyLoginStatusChangedName = "_EOS_Connect_AddNotifyLoginStatusChanged@16"; + private const string EOS_Connect_CopyIdTokenName = "_EOS_Connect_CopyIdToken@12"; + private const string EOS_Connect_CopyProductUserExternalAccountByAccountIdName = "_EOS_Connect_CopyProductUserExternalAccountByAccountId@12"; + private const string EOS_Connect_CopyProductUserExternalAccountByAccountTypeName = "_EOS_Connect_CopyProductUserExternalAccountByAccountType@12"; + private const string EOS_Connect_CopyProductUserExternalAccountByIndexName = "_EOS_Connect_CopyProductUserExternalAccountByIndex@12"; + private const string EOS_Connect_CopyProductUserInfoName = "_EOS_Connect_CopyProductUserInfo@12"; + private const string EOS_Connect_CreateDeviceIdName = "_EOS_Connect_CreateDeviceId@16"; + private const string EOS_Connect_CreateUserName = "_EOS_Connect_CreateUser@16"; + private const string EOS_Connect_DeleteDeviceIdName = "_EOS_Connect_DeleteDeviceId@16"; + private const string EOS_Connect_ExternalAccountInfo_ReleaseName = "_EOS_Connect_ExternalAccountInfo_Release@4"; + private const string EOS_Connect_GetExternalAccountMappingName = "_EOS_Connect_GetExternalAccountMapping@8"; + private const string EOS_Connect_GetLoggedInUserByIndexName = "_EOS_Connect_GetLoggedInUserByIndex@8"; + private const string EOS_Connect_GetLoggedInUsersCountName = "_EOS_Connect_GetLoggedInUsersCount@4"; + private const string EOS_Connect_GetLoginStatusName = "_EOS_Connect_GetLoginStatus@8"; + private const string EOS_Connect_GetProductUserExternalAccountCountName = "_EOS_Connect_GetProductUserExternalAccountCount@8"; + private const string EOS_Connect_GetProductUserIdMappingName = "_EOS_Connect_GetProductUserIdMapping@16"; + private const string EOS_Connect_IdToken_ReleaseName = "_EOS_Connect_IdToken_Release@4"; + private const string EOS_Connect_LinkAccountName = "_EOS_Connect_LinkAccount@16"; + private const string EOS_Connect_LoginName = "_EOS_Connect_Login@16"; + private const string EOS_Connect_QueryExternalAccountMappingsName = "_EOS_Connect_QueryExternalAccountMappings@16"; + private const string EOS_Connect_QueryProductUserIdMappingsName = "_EOS_Connect_QueryProductUserIdMappings@16"; + private const string EOS_Connect_RemoveNotifyAuthExpirationName = "_EOS_Connect_RemoveNotifyAuthExpiration@12"; + private const string EOS_Connect_RemoveNotifyLoginStatusChangedName = "_EOS_Connect_RemoveNotifyLoginStatusChanged@12"; + private const string EOS_Connect_TransferDeviceIdAccountName = "_EOS_Connect_TransferDeviceIdAccount@16"; + private const string EOS_Connect_UnlinkAccountName = "_EOS_Connect_UnlinkAccount@16"; + private const string EOS_Connect_VerifyIdTokenName = "_EOS_Connect_VerifyIdToken@16"; + private const string EOS_ContinuanceToken_ToStringName = "_EOS_ContinuanceToken_ToString@12"; + private const string EOS_CustomInvites_AddNotifyCustomInviteAcceptedName = "_EOS_CustomInvites_AddNotifyCustomInviteAccepted@16"; + private const string EOS_CustomInvites_AddNotifyCustomInviteReceivedName = "_EOS_CustomInvites_AddNotifyCustomInviteReceived@16"; + private const string EOS_CustomInvites_AddNotifyCustomInviteRejectedName = "_EOS_CustomInvites_AddNotifyCustomInviteRejected@16"; + private const string EOS_CustomInvites_FinalizeInviteName = "_EOS_CustomInvites_FinalizeInvite@8"; + private const string EOS_CustomInvites_RemoveNotifyCustomInviteAcceptedName = "_EOS_CustomInvites_RemoveNotifyCustomInviteAccepted@12"; + private const string EOS_CustomInvites_RemoveNotifyCustomInviteReceivedName = "_EOS_CustomInvites_RemoveNotifyCustomInviteReceived@12"; + private const string EOS_CustomInvites_RemoveNotifyCustomInviteRejectedName = "_EOS_CustomInvites_RemoveNotifyCustomInviteRejected@12"; + private const string EOS_CustomInvites_SendCustomInviteName = "_EOS_CustomInvites_SendCustomInvite@16"; + private const string EOS_CustomInvites_SetCustomInviteName = "_EOS_CustomInvites_SetCustomInvite@8"; + private const string EOS_EResult_IsOperationCompleteName = "_EOS_EResult_IsOperationComplete@4"; + private const string EOS_EResult_ToStringName = "_EOS_EResult_ToString@4"; + private const string EOS_Ecom_CatalogItem_ReleaseName = "_EOS_Ecom_CatalogItem_Release@4"; + private const string EOS_Ecom_CatalogOffer_ReleaseName = "_EOS_Ecom_CatalogOffer_Release@4"; + private const string EOS_Ecom_CatalogRelease_ReleaseName = "_EOS_Ecom_CatalogRelease_Release@4"; + private const string EOS_Ecom_CheckoutName = "_EOS_Ecom_Checkout@16"; + private const string EOS_Ecom_CopyEntitlementByIdName = "_EOS_Ecom_CopyEntitlementById@12"; + private const string EOS_Ecom_CopyEntitlementByIndexName = "_EOS_Ecom_CopyEntitlementByIndex@12"; + private const string EOS_Ecom_CopyEntitlementByNameAndIndexName = "_EOS_Ecom_CopyEntitlementByNameAndIndex@12"; + private const string EOS_Ecom_CopyItemByIdName = "_EOS_Ecom_CopyItemById@12"; + private const string EOS_Ecom_CopyItemImageInfoByIndexName = "_EOS_Ecom_CopyItemImageInfoByIndex@12"; + private const string EOS_Ecom_CopyItemReleaseByIndexName = "_EOS_Ecom_CopyItemReleaseByIndex@12"; + private const string EOS_Ecom_CopyLastRedeemedEntitlementByIndexName = "_EOS_Ecom_CopyLastRedeemedEntitlementByIndex@16"; + private const string EOS_Ecom_CopyOfferByIdName = "_EOS_Ecom_CopyOfferById@12"; + private const string EOS_Ecom_CopyOfferByIndexName = "_EOS_Ecom_CopyOfferByIndex@12"; + private const string EOS_Ecom_CopyOfferImageInfoByIndexName = "_EOS_Ecom_CopyOfferImageInfoByIndex@12"; + private const string EOS_Ecom_CopyOfferItemByIndexName = "_EOS_Ecom_CopyOfferItemByIndex@12"; + private const string EOS_Ecom_CopyTransactionByIdName = "_EOS_Ecom_CopyTransactionById@12"; + private const string EOS_Ecom_CopyTransactionByIndexName = "_EOS_Ecom_CopyTransactionByIndex@12"; + private const string EOS_Ecom_Entitlement_ReleaseName = "_EOS_Ecom_Entitlement_Release@4"; + private const string EOS_Ecom_GetEntitlementsByNameCountName = "_EOS_Ecom_GetEntitlementsByNameCount@8"; + private const string EOS_Ecom_GetEntitlementsCountName = "_EOS_Ecom_GetEntitlementsCount@8"; + private const string EOS_Ecom_GetItemImageInfoCountName = "_EOS_Ecom_GetItemImageInfoCount@8"; + private const string EOS_Ecom_GetItemReleaseCountName = "_EOS_Ecom_GetItemReleaseCount@8"; + private const string EOS_Ecom_GetLastRedeemedEntitlementsCountName = "_EOS_Ecom_GetLastRedeemedEntitlementsCount@8"; + private const string EOS_Ecom_GetOfferCountName = "_EOS_Ecom_GetOfferCount@8"; + private const string EOS_Ecom_GetOfferImageInfoCountName = "_EOS_Ecom_GetOfferImageInfoCount@8"; + private const string EOS_Ecom_GetOfferItemCountName = "_EOS_Ecom_GetOfferItemCount@8"; + private const string EOS_Ecom_GetTransactionCountName = "_EOS_Ecom_GetTransactionCount@8"; + private const string EOS_Ecom_KeyImageInfo_ReleaseName = "_EOS_Ecom_KeyImageInfo_Release@4"; + private const string EOS_Ecom_QueryEntitlementTokenName = "_EOS_Ecom_QueryEntitlementToken@16"; + private const string EOS_Ecom_QueryEntitlementsName = "_EOS_Ecom_QueryEntitlements@16"; + private const string EOS_Ecom_QueryOffersName = "_EOS_Ecom_QueryOffers@16"; + private const string EOS_Ecom_QueryOwnershipName = "_EOS_Ecom_QueryOwnership@16"; + private const string EOS_Ecom_QueryOwnershipTokenName = "_EOS_Ecom_QueryOwnershipToken@16"; + private const string EOS_Ecom_RedeemEntitlementsName = "_EOS_Ecom_RedeemEntitlements@16"; + private const string EOS_Ecom_Transaction_CopyEntitlementByIndexName = "_EOS_Ecom_Transaction_CopyEntitlementByIndex@12"; + private const string EOS_Ecom_Transaction_GetEntitlementsCountName = "_EOS_Ecom_Transaction_GetEntitlementsCount@8"; + private const string EOS_Ecom_Transaction_GetTransactionIdName = "_EOS_Ecom_Transaction_GetTransactionId@12"; + private const string EOS_Ecom_Transaction_ReleaseName = "_EOS_Ecom_Transaction_Release@4"; + private const string EOS_EpicAccountId_FromStringName = "_EOS_EpicAccountId_FromString@4"; + private const string EOS_EpicAccountId_IsValidName = "_EOS_EpicAccountId_IsValid@4"; + private const string EOS_EpicAccountId_ToStringName = "_EOS_EpicAccountId_ToString@12"; + private const string EOS_Friends_AcceptInviteName = "_EOS_Friends_AcceptInvite@16"; + private const string EOS_Friends_AddNotifyFriendsUpdateName = "_EOS_Friends_AddNotifyFriendsUpdate@16"; + private const string EOS_Friends_GetFriendAtIndexName = "_EOS_Friends_GetFriendAtIndex@8"; + private const string EOS_Friends_GetFriendsCountName = "_EOS_Friends_GetFriendsCount@8"; + private const string EOS_Friends_GetStatusName = "_EOS_Friends_GetStatus@8"; + private const string EOS_Friends_QueryFriendsName = "_EOS_Friends_QueryFriends@16"; + private const string EOS_Friends_RejectInviteName = "_EOS_Friends_RejectInvite@16"; + private const string EOS_Friends_RemoveNotifyFriendsUpdateName = "_EOS_Friends_RemoveNotifyFriendsUpdate@12"; + private const string EOS_Friends_SendInviteName = "_EOS_Friends_SendInvite@16"; + private const string EOS_GetVersionName = "_EOS_GetVersion@0"; + private const string EOS_InitializeName = "_EOS_Initialize@4"; + private const string EOS_IntegratedPlatformOptionsContainer_AddName = "_EOS_IntegratedPlatformOptionsContainer_Add@8"; + private const string EOS_IntegratedPlatformOptionsContainer_ReleaseName = "_EOS_IntegratedPlatformOptionsContainer_Release@4"; + private const string EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainerName = "_EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainer@8"; + private const string EOS_KWS_AddNotifyPermissionsUpdateReceivedName = "_EOS_KWS_AddNotifyPermissionsUpdateReceived@16"; + private const string EOS_KWS_CopyPermissionByIndexName = "_EOS_KWS_CopyPermissionByIndex@12"; + private const string EOS_KWS_CreateUserName = "_EOS_KWS_CreateUser@16"; + private const string EOS_KWS_GetPermissionByKeyName = "_EOS_KWS_GetPermissionByKey@12"; + private const string EOS_KWS_GetPermissionsCountName = "_EOS_KWS_GetPermissionsCount@8"; + private const string EOS_KWS_PermissionStatus_ReleaseName = "_EOS_KWS_PermissionStatus_Release@4"; + private const string EOS_KWS_QueryAgeGateName = "_EOS_KWS_QueryAgeGate@16"; + private const string EOS_KWS_QueryPermissionsName = "_EOS_KWS_QueryPermissions@16"; + private const string EOS_KWS_RemoveNotifyPermissionsUpdateReceivedName = "_EOS_KWS_RemoveNotifyPermissionsUpdateReceived@12"; + private const string EOS_KWS_RequestPermissionsName = "_EOS_KWS_RequestPermissions@16"; + private const string EOS_KWS_UpdateParentEmailName = "_EOS_KWS_UpdateParentEmail@16"; + private const string EOS_Leaderboards_CopyLeaderboardDefinitionByIndexName = "_EOS_Leaderboards_CopyLeaderboardDefinitionByIndex@12"; + private const string EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardIdName = "_EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId@12"; + private const string EOS_Leaderboards_CopyLeaderboardRecordByIndexName = "_EOS_Leaderboards_CopyLeaderboardRecordByIndex@12"; + private const string EOS_Leaderboards_CopyLeaderboardRecordByUserIdName = "_EOS_Leaderboards_CopyLeaderboardRecordByUserId@12"; + private const string EOS_Leaderboards_CopyLeaderboardUserScoreByIndexName = "_EOS_Leaderboards_CopyLeaderboardUserScoreByIndex@12"; + private const string EOS_Leaderboards_CopyLeaderboardUserScoreByUserIdName = "_EOS_Leaderboards_CopyLeaderboardUserScoreByUserId@12"; + private const string EOS_Leaderboards_Definition_ReleaseName = "_EOS_Leaderboards_Definition_Release@4"; + private const string EOS_Leaderboards_GetLeaderboardDefinitionCountName = "_EOS_Leaderboards_GetLeaderboardDefinitionCount@8"; + private const string EOS_Leaderboards_GetLeaderboardRecordCountName = "_EOS_Leaderboards_GetLeaderboardRecordCount@8"; + private const string EOS_Leaderboards_GetLeaderboardUserScoreCountName = "_EOS_Leaderboards_GetLeaderboardUserScoreCount@8"; + private const string EOS_Leaderboards_LeaderboardDefinition_ReleaseName = "_EOS_Leaderboards_LeaderboardDefinition_Release@4"; + private const string EOS_Leaderboards_LeaderboardRecord_ReleaseName = "_EOS_Leaderboards_LeaderboardRecord_Release@4"; + private const string EOS_Leaderboards_LeaderboardUserScore_ReleaseName = "_EOS_Leaderboards_LeaderboardUserScore_Release@4"; + private const string EOS_Leaderboards_QueryLeaderboardDefinitionsName = "_EOS_Leaderboards_QueryLeaderboardDefinitions@16"; + private const string EOS_Leaderboards_QueryLeaderboardRanksName = "_EOS_Leaderboards_QueryLeaderboardRanks@16"; + private const string EOS_Leaderboards_QueryLeaderboardUserScoresName = "_EOS_Leaderboards_QueryLeaderboardUserScores@16"; + private const string EOS_LobbyDetails_CopyAttributeByIndexName = "_EOS_LobbyDetails_CopyAttributeByIndex@12"; + private const string EOS_LobbyDetails_CopyAttributeByKeyName = "_EOS_LobbyDetails_CopyAttributeByKey@12"; + private const string EOS_LobbyDetails_CopyInfoName = "_EOS_LobbyDetails_CopyInfo@12"; + private const string EOS_LobbyDetails_CopyMemberAttributeByIndexName = "_EOS_LobbyDetails_CopyMemberAttributeByIndex@12"; + private const string EOS_LobbyDetails_CopyMemberAttributeByKeyName = "_EOS_LobbyDetails_CopyMemberAttributeByKey@12"; + private const string EOS_LobbyDetails_GetAttributeCountName = "_EOS_LobbyDetails_GetAttributeCount@8"; + private const string EOS_LobbyDetails_GetLobbyOwnerName = "_EOS_LobbyDetails_GetLobbyOwner@8"; + private const string EOS_LobbyDetails_GetMemberAttributeCountName = "_EOS_LobbyDetails_GetMemberAttributeCount@8"; + private const string EOS_LobbyDetails_GetMemberByIndexName = "_EOS_LobbyDetails_GetMemberByIndex@8"; + private const string EOS_LobbyDetails_GetMemberCountName = "_EOS_LobbyDetails_GetMemberCount@8"; + private const string EOS_LobbyDetails_Info_ReleaseName = "_EOS_LobbyDetails_Info_Release@4"; + private const string EOS_LobbyDetails_ReleaseName = "_EOS_LobbyDetails_Release@4"; + private const string EOS_LobbyModification_AddAttributeName = "_EOS_LobbyModification_AddAttribute@8"; + private const string EOS_LobbyModification_AddMemberAttributeName = "_EOS_LobbyModification_AddMemberAttribute@8"; + private const string EOS_LobbyModification_ReleaseName = "_EOS_LobbyModification_Release@4"; + private const string EOS_LobbyModification_RemoveAttributeName = "_EOS_LobbyModification_RemoveAttribute@8"; + private const string EOS_LobbyModification_RemoveMemberAttributeName = "_EOS_LobbyModification_RemoveMemberAttribute@8"; + private const string EOS_LobbyModification_SetBucketIdName = "_EOS_LobbyModification_SetBucketId@8"; + private const string EOS_LobbyModification_SetInvitesAllowedName = "_EOS_LobbyModification_SetInvitesAllowed@8"; + private const string EOS_LobbyModification_SetMaxMembersName = "_EOS_LobbyModification_SetMaxMembers@8"; + private const string EOS_LobbyModification_SetPermissionLevelName = "_EOS_LobbyModification_SetPermissionLevel@8"; + private const string EOS_LobbySearch_CopySearchResultByIndexName = "_EOS_LobbySearch_CopySearchResultByIndex@12"; + private const string EOS_LobbySearch_FindName = "_EOS_LobbySearch_Find@16"; + private const string EOS_LobbySearch_GetSearchResultCountName = "_EOS_LobbySearch_GetSearchResultCount@8"; + private const string EOS_LobbySearch_ReleaseName = "_EOS_LobbySearch_Release@4"; + private const string EOS_LobbySearch_RemoveParameterName = "_EOS_LobbySearch_RemoveParameter@8"; + private const string EOS_LobbySearch_SetLobbyIdName = "_EOS_LobbySearch_SetLobbyId@8"; + private const string EOS_LobbySearch_SetMaxResultsName = "_EOS_LobbySearch_SetMaxResults@8"; + private const string EOS_LobbySearch_SetParameterName = "_EOS_LobbySearch_SetParameter@8"; + private const string EOS_LobbySearch_SetTargetUserIdName = "_EOS_LobbySearch_SetTargetUserId@8"; + private const string EOS_Lobby_AddNotifyJoinLobbyAcceptedName = "_EOS_Lobby_AddNotifyJoinLobbyAccepted@16"; + private const string EOS_Lobby_AddNotifyLobbyInviteAcceptedName = "_EOS_Lobby_AddNotifyLobbyInviteAccepted@16"; + private const string EOS_Lobby_AddNotifyLobbyInviteReceivedName = "_EOS_Lobby_AddNotifyLobbyInviteReceived@16"; + private const string EOS_Lobby_AddNotifyLobbyInviteRejectedName = "_EOS_Lobby_AddNotifyLobbyInviteRejected@16"; + private const string EOS_Lobby_AddNotifyLobbyMemberStatusReceivedName = "_EOS_Lobby_AddNotifyLobbyMemberStatusReceived@16"; + private const string EOS_Lobby_AddNotifyLobbyMemberUpdateReceivedName = "_EOS_Lobby_AddNotifyLobbyMemberUpdateReceived@16"; + private const string EOS_Lobby_AddNotifyLobbyUpdateReceivedName = "_EOS_Lobby_AddNotifyLobbyUpdateReceived@16"; + private const string EOS_Lobby_AddNotifyRTCRoomConnectionChangedName = "_EOS_Lobby_AddNotifyRTCRoomConnectionChanged@16"; + private const string EOS_Lobby_AddNotifySendLobbyNativeInviteRequestedName = "_EOS_Lobby_AddNotifySendLobbyNativeInviteRequested@16"; + private const string EOS_Lobby_Attribute_ReleaseName = "_EOS_Lobby_Attribute_Release@4"; + private const string EOS_Lobby_CopyLobbyDetailsHandleName = "_EOS_Lobby_CopyLobbyDetailsHandle@12"; + private const string EOS_Lobby_CopyLobbyDetailsHandleByInviteIdName = "_EOS_Lobby_CopyLobbyDetailsHandleByInviteId@12"; + private const string EOS_Lobby_CopyLobbyDetailsHandleByUiEventIdName = "_EOS_Lobby_CopyLobbyDetailsHandleByUiEventId@12"; + private const string EOS_Lobby_CreateLobbyName = "_EOS_Lobby_CreateLobby@16"; + private const string EOS_Lobby_CreateLobbySearchName = "_EOS_Lobby_CreateLobbySearch@12"; + private const string EOS_Lobby_DestroyLobbyName = "_EOS_Lobby_DestroyLobby@16"; + private const string EOS_Lobby_GetInviteCountName = "_EOS_Lobby_GetInviteCount@8"; + private const string EOS_Lobby_GetInviteIdByIndexName = "_EOS_Lobby_GetInviteIdByIndex@16"; + private const string EOS_Lobby_GetRTCRoomNameName = "_EOS_Lobby_GetRTCRoomName@16"; + private const string EOS_Lobby_HardMuteMemberName = "_EOS_Lobby_HardMuteMember@16"; + private const string EOS_Lobby_IsRTCRoomConnectedName = "_EOS_Lobby_IsRTCRoomConnected@12"; + private const string EOS_Lobby_JoinLobbyName = "_EOS_Lobby_JoinLobby@16"; + private const string EOS_Lobby_JoinLobbyByIdName = "_EOS_Lobby_JoinLobbyById@16"; + private const string EOS_Lobby_KickMemberName = "_EOS_Lobby_KickMember@16"; + private const string EOS_Lobby_LeaveLobbyName = "_EOS_Lobby_LeaveLobby@16"; + private const string EOS_Lobby_PromoteMemberName = "_EOS_Lobby_PromoteMember@16"; + private const string EOS_Lobby_QueryInvitesName = "_EOS_Lobby_QueryInvites@16"; + private const string EOS_Lobby_RejectInviteName = "_EOS_Lobby_RejectInvite@16"; + private const string EOS_Lobby_RemoveNotifyJoinLobbyAcceptedName = "_EOS_Lobby_RemoveNotifyJoinLobbyAccepted@12"; + private const string EOS_Lobby_RemoveNotifyLobbyInviteAcceptedName = "_EOS_Lobby_RemoveNotifyLobbyInviteAccepted@12"; + private const string EOS_Lobby_RemoveNotifyLobbyInviteReceivedName = "_EOS_Lobby_RemoveNotifyLobbyInviteReceived@12"; + private const string EOS_Lobby_RemoveNotifyLobbyInviteRejectedName = "_EOS_Lobby_RemoveNotifyLobbyInviteRejected@12"; + private const string EOS_Lobby_RemoveNotifyLobbyMemberStatusReceivedName = "_EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived@12"; + private const string EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceivedName = "_EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived@12"; + private const string EOS_Lobby_RemoveNotifyLobbyUpdateReceivedName = "_EOS_Lobby_RemoveNotifyLobbyUpdateReceived@12"; + private const string EOS_Lobby_RemoveNotifyRTCRoomConnectionChangedName = "_EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged@12"; + private const string EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequestedName = "_EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequested@12"; + private const string EOS_Lobby_SendInviteName = "_EOS_Lobby_SendInvite@16"; + private const string EOS_Lobby_UpdateLobbyName = "_EOS_Lobby_UpdateLobby@16"; + private const string EOS_Lobby_UpdateLobbyModificationName = "_EOS_Lobby_UpdateLobbyModification@12"; + private const string EOS_Logging_SetCallbackName = "_EOS_Logging_SetCallback@4"; + private const string EOS_Logging_SetLogLevelName = "_EOS_Logging_SetLogLevel@8"; + private const string EOS_Metrics_BeginPlayerSessionName = "_EOS_Metrics_BeginPlayerSession@8"; + private const string EOS_Metrics_EndPlayerSessionName = "_EOS_Metrics_EndPlayerSession@8"; + private const string EOS_Mods_CopyModInfoName = "_EOS_Mods_CopyModInfo@12"; + private const string EOS_Mods_EnumerateModsName = "_EOS_Mods_EnumerateMods@16"; + private const string EOS_Mods_InstallModName = "_EOS_Mods_InstallMod@16"; + private const string EOS_Mods_ModInfo_ReleaseName = "_EOS_Mods_ModInfo_Release@4"; + private const string EOS_Mods_UninstallModName = "_EOS_Mods_UninstallMod@16"; + private const string EOS_Mods_UpdateModName = "_EOS_Mods_UpdateMod@16"; + private const string EOS_P2P_AcceptConnectionName = "_EOS_P2P_AcceptConnection@8"; + private const string EOS_P2P_AddNotifyIncomingPacketQueueFullName = "_EOS_P2P_AddNotifyIncomingPacketQueueFull@16"; + private const string EOS_P2P_AddNotifyPeerConnectionClosedName = "_EOS_P2P_AddNotifyPeerConnectionClosed@16"; + private const string EOS_P2P_AddNotifyPeerConnectionEstablishedName = "_EOS_P2P_AddNotifyPeerConnectionEstablished@16"; + private const string EOS_P2P_AddNotifyPeerConnectionInterruptedName = "_EOS_P2P_AddNotifyPeerConnectionInterrupted@16"; + private const string EOS_P2P_AddNotifyPeerConnectionRequestName = "_EOS_P2P_AddNotifyPeerConnectionRequest@16"; + private const string EOS_P2P_ClearPacketQueueName = "_EOS_P2P_ClearPacketQueue@8"; + private const string EOS_P2P_CloseConnectionName = "_EOS_P2P_CloseConnection@8"; + private const string EOS_P2P_CloseConnectionsName = "_EOS_P2P_CloseConnections@8"; + private const string EOS_P2P_GetNATTypeName = "_EOS_P2P_GetNATType@12"; + private const string EOS_P2P_GetNextReceivedPacketSizeName = "_EOS_P2P_GetNextReceivedPacketSize@12"; + private const string EOS_P2P_GetPacketQueueInfoName = "_EOS_P2P_GetPacketQueueInfo@12"; + private const string EOS_P2P_GetPortRangeName = "_EOS_P2P_GetPortRange@16"; + private const string EOS_P2P_GetRelayControlName = "_EOS_P2P_GetRelayControl@12"; + private const string EOS_P2P_QueryNATTypeName = "_EOS_P2P_QueryNATType@16"; + private const string EOS_P2P_ReceivePacketName = "_EOS_P2P_ReceivePacket@28"; + private const string EOS_P2P_RemoveNotifyIncomingPacketQueueFullName = "_EOS_P2P_RemoveNotifyIncomingPacketQueueFull@12"; + private const string EOS_P2P_RemoveNotifyPeerConnectionClosedName = "_EOS_P2P_RemoveNotifyPeerConnectionClosed@12"; + private const string EOS_P2P_RemoveNotifyPeerConnectionEstablishedName = "_EOS_P2P_RemoveNotifyPeerConnectionEstablished@12"; + private const string EOS_P2P_RemoveNotifyPeerConnectionInterruptedName = "_EOS_P2P_RemoveNotifyPeerConnectionInterrupted@12"; + private const string EOS_P2P_RemoveNotifyPeerConnectionRequestName = "_EOS_P2P_RemoveNotifyPeerConnectionRequest@12"; + private const string EOS_P2P_SendPacketName = "_EOS_P2P_SendPacket@8"; + private const string EOS_P2P_SetPacketQueueSizeName = "_EOS_P2P_SetPacketQueueSize@8"; + private const string EOS_P2P_SetPortRangeName = "_EOS_P2P_SetPortRange@8"; + private const string EOS_P2P_SetRelayControlName = "_EOS_P2P_SetRelayControl@8"; + private const string EOS_Platform_CheckForLauncherAndRestartName = "_EOS_Platform_CheckForLauncherAndRestart@4"; + private const string EOS_Platform_CreateName = "_EOS_Platform_Create@4"; + private const string EOS_Platform_GetAchievementsInterfaceName = "_EOS_Platform_GetAchievementsInterface@4"; + private const string EOS_Platform_GetActiveCountryCodeName = "_EOS_Platform_GetActiveCountryCode@16"; + private const string EOS_Platform_GetActiveLocaleCodeName = "_EOS_Platform_GetActiveLocaleCode@16"; + private const string EOS_Platform_GetAntiCheatClientInterfaceName = "_EOS_Platform_GetAntiCheatClientInterface@4"; + private const string EOS_Platform_GetAntiCheatServerInterfaceName = "_EOS_Platform_GetAntiCheatServerInterface@4"; + private const string EOS_Platform_GetApplicationStatusName = "_EOS_Platform_GetApplicationStatus@4"; + private const string EOS_Platform_GetAuthInterfaceName = "_EOS_Platform_GetAuthInterface@4"; + private const string EOS_Platform_GetConnectInterfaceName = "_EOS_Platform_GetConnectInterface@4"; + private const string EOS_Platform_GetCustomInvitesInterfaceName = "_EOS_Platform_GetCustomInvitesInterface@4"; + private const string EOS_Platform_GetDesktopCrossplayStatusName = "_EOS_Platform_GetDesktopCrossplayStatus@12"; + private const string EOS_Platform_GetEcomInterfaceName = "_EOS_Platform_GetEcomInterface@4"; + private const string EOS_Platform_GetFriendsInterfaceName = "_EOS_Platform_GetFriendsInterface@4"; + private const string EOS_Platform_GetKWSInterfaceName = "_EOS_Platform_GetKWSInterface@4"; + private const string EOS_Platform_GetLeaderboardsInterfaceName = "_EOS_Platform_GetLeaderboardsInterface@4"; + private const string EOS_Platform_GetLobbyInterfaceName = "_EOS_Platform_GetLobbyInterface@4"; + private const string EOS_Platform_GetMetricsInterfaceName = "_EOS_Platform_GetMetricsInterface@4"; + private const string EOS_Platform_GetModsInterfaceName = "_EOS_Platform_GetModsInterface@4"; + private const string EOS_Platform_GetNetworkStatusName = "_EOS_Platform_GetNetworkStatus@4"; + private const string EOS_Platform_GetOverrideCountryCodeName = "_EOS_Platform_GetOverrideCountryCode@12"; + private const string EOS_Platform_GetOverrideLocaleCodeName = "_EOS_Platform_GetOverrideLocaleCode@12"; + private const string EOS_Platform_GetP2PInterfaceName = "_EOS_Platform_GetP2PInterface@4"; + private const string EOS_Platform_GetPlayerDataStorageInterfaceName = "_EOS_Platform_GetPlayerDataStorageInterface@4"; + private const string EOS_Platform_GetPresenceInterfaceName = "_EOS_Platform_GetPresenceInterface@4"; + private const string EOS_Platform_GetProgressionSnapshotInterfaceName = "_EOS_Platform_GetProgressionSnapshotInterface@4"; + private const string EOS_Platform_GetRTCAdminInterfaceName = "_EOS_Platform_GetRTCAdminInterface@4"; + private const string EOS_Platform_GetRTCInterfaceName = "_EOS_Platform_GetRTCInterface@4"; + private const string EOS_Platform_GetReportsInterfaceName = "_EOS_Platform_GetReportsInterface@4"; + private const string EOS_Platform_GetSanctionsInterfaceName = "_EOS_Platform_GetSanctionsInterface@4"; + private const string EOS_Platform_GetSessionsInterfaceName = "_EOS_Platform_GetSessionsInterface@4"; + private const string EOS_Platform_GetStatsInterfaceName = "_EOS_Platform_GetStatsInterface@4"; + private const string EOS_Platform_GetTitleStorageInterfaceName = "_EOS_Platform_GetTitleStorageInterface@4"; + private const string EOS_Platform_GetUIInterfaceName = "_EOS_Platform_GetUIInterface@4"; + private const string EOS_Platform_GetUserInfoInterfaceName = "_EOS_Platform_GetUserInfoInterface@4"; + private const string EOS_Platform_ReleaseName = "_EOS_Platform_Release@4"; + private const string EOS_Platform_SetApplicationStatusName = "_EOS_Platform_SetApplicationStatus@8"; + private const string EOS_Platform_SetNetworkStatusName = "_EOS_Platform_SetNetworkStatus@8"; + private const string EOS_Platform_SetOverrideCountryCodeName = "_EOS_Platform_SetOverrideCountryCode@8"; + private const string EOS_Platform_SetOverrideLocaleCodeName = "_EOS_Platform_SetOverrideLocaleCode@8"; + private const string EOS_Platform_TickName = "_EOS_Platform_Tick@4"; + private const string EOS_PlayerDataStorageFileTransferRequest_CancelRequestName = "_EOS_PlayerDataStorageFileTransferRequest_CancelRequest@4"; + private const string EOS_PlayerDataStorageFileTransferRequest_GetFileRequestStateName = "_EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState@4"; + private const string EOS_PlayerDataStorageFileTransferRequest_GetFilenameName = "_EOS_PlayerDataStorageFileTransferRequest_GetFilename@16"; + private const string EOS_PlayerDataStorageFileTransferRequest_ReleaseName = "_EOS_PlayerDataStorageFileTransferRequest_Release@4"; + private const string EOS_PlayerDataStorage_CopyFileMetadataAtIndexName = "_EOS_PlayerDataStorage_CopyFileMetadataAtIndex@12"; + private const string EOS_PlayerDataStorage_CopyFileMetadataByFilenameName = "_EOS_PlayerDataStorage_CopyFileMetadataByFilename@12"; + private const string EOS_PlayerDataStorage_DeleteCacheName = "_EOS_PlayerDataStorage_DeleteCache@16"; + private const string EOS_PlayerDataStorage_DeleteFileName = "_EOS_PlayerDataStorage_DeleteFile@16"; + private const string EOS_PlayerDataStorage_DuplicateFileName = "_EOS_PlayerDataStorage_DuplicateFile@16"; + private const string EOS_PlayerDataStorage_FileMetadata_ReleaseName = "_EOS_PlayerDataStorage_FileMetadata_Release@4"; + private const string EOS_PlayerDataStorage_GetFileMetadataCountName = "_EOS_PlayerDataStorage_GetFileMetadataCount@12"; + private const string EOS_PlayerDataStorage_QueryFileName = "_EOS_PlayerDataStorage_QueryFile@16"; + private const string EOS_PlayerDataStorage_QueryFileListName = "_EOS_PlayerDataStorage_QueryFileList@16"; + private const string EOS_PlayerDataStorage_ReadFileName = "_EOS_PlayerDataStorage_ReadFile@16"; + private const string EOS_PlayerDataStorage_WriteFileName = "_EOS_PlayerDataStorage_WriteFile@16"; + private const string EOS_PresenceModification_DeleteDataName = "_EOS_PresenceModification_DeleteData@8"; + private const string EOS_PresenceModification_ReleaseName = "_EOS_PresenceModification_Release@4"; + private const string EOS_PresenceModification_SetDataName = "_EOS_PresenceModification_SetData@8"; + private const string EOS_PresenceModification_SetJoinInfoName = "_EOS_PresenceModification_SetJoinInfo@8"; + private const string EOS_PresenceModification_SetRawRichTextName = "_EOS_PresenceModification_SetRawRichText@8"; + private const string EOS_PresenceModification_SetStatusName = "_EOS_PresenceModification_SetStatus@8"; + private const string EOS_Presence_AddNotifyJoinGameAcceptedName = "_EOS_Presence_AddNotifyJoinGameAccepted@16"; + private const string EOS_Presence_AddNotifyOnPresenceChangedName = "_EOS_Presence_AddNotifyOnPresenceChanged@16"; + private const string EOS_Presence_CopyPresenceName = "_EOS_Presence_CopyPresence@12"; + private const string EOS_Presence_CreatePresenceModificationName = "_EOS_Presence_CreatePresenceModification@12"; + private const string EOS_Presence_GetJoinInfoName = "_EOS_Presence_GetJoinInfo@16"; + private const string EOS_Presence_HasPresenceName = "_EOS_Presence_HasPresence@8"; + private const string EOS_Presence_Info_ReleaseName = "_EOS_Presence_Info_Release@4"; + private const string EOS_Presence_QueryPresenceName = "_EOS_Presence_QueryPresence@16"; + private const string EOS_Presence_RemoveNotifyJoinGameAcceptedName = "_EOS_Presence_RemoveNotifyJoinGameAccepted@12"; + private const string EOS_Presence_RemoveNotifyOnPresenceChangedName = "_EOS_Presence_RemoveNotifyOnPresenceChanged@12"; + private const string EOS_Presence_SetPresenceName = "_EOS_Presence_SetPresence@16"; + private const string EOS_ProductUserId_FromStringName = "_EOS_ProductUserId_FromString@4"; + private const string EOS_ProductUserId_IsValidName = "_EOS_ProductUserId_IsValid@4"; + private const string EOS_ProductUserId_ToStringName = "_EOS_ProductUserId_ToString@12"; + private const string EOS_ProgressionSnapshot_AddProgressionName = "_EOS_ProgressionSnapshot_AddProgression@8"; + private const string EOS_ProgressionSnapshot_BeginSnapshotName = "_EOS_ProgressionSnapshot_BeginSnapshot@12"; + private const string EOS_ProgressionSnapshot_DeleteSnapshotName = "_EOS_ProgressionSnapshot_DeleteSnapshot@16"; + private const string EOS_ProgressionSnapshot_EndSnapshotName = "_EOS_ProgressionSnapshot_EndSnapshot@8"; + private const string EOS_ProgressionSnapshot_SubmitSnapshotName = "_EOS_ProgressionSnapshot_SubmitSnapshot@16"; + private const string EOS_RTCAdmin_CopyUserTokenByIndexName = "_EOS_RTCAdmin_CopyUserTokenByIndex@12"; + private const string EOS_RTCAdmin_CopyUserTokenByUserIdName = "_EOS_RTCAdmin_CopyUserTokenByUserId@12"; + private const string EOS_RTCAdmin_KickName = "_EOS_RTCAdmin_Kick@16"; + private const string EOS_RTCAdmin_QueryJoinRoomTokenName = "_EOS_RTCAdmin_QueryJoinRoomToken@16"; + private const string EOS_RTCAdmin_SetParticipantHardMuteName = "_EOS_RTCAdmin_SetParticipantHardMute@16"; + private const string EOS_RTCAdmin_UserToken_ReleaseName = "_EOS_RTCAdmin_UserToken_Release@4"; + private const string EOS_RTCAudio_AddNotifyAudioBeforeRenderName = "_EOS_RTCAudio_AddNotifyAudioBeforeRender@16"; + private const string EOS_RTCAudio_AddNotifyAudioBeforeSendName = "_EOS_RTCAudio_AddNotifyAudioBeforeSend@16"; + private const string EOS_RTCAudio_AddNotifyAudioDevicesChangedName = "_EOS_RTCAudio_AddNotifyAudioDevicesChanged@16"; + private const string EOS_RTCAudio_AddNotifyAudioInputStateName = "_EOS_RTCAudio_AddNotifyAudioInputState@16"; + private const string EOS_RTCAudio_AddNotifyAudioOutputStateName = "_EOS_RTCAudio_AddNotifyAudioOutputState@16"; + private const string EOS_RTCAudio_AddNotifyParticipantUpdatedName = "_EOS_RTCAudio_AddNotifyParticipantUpdated@16"; + private const string EOS_RTCAudio_GetAudioInputDeviceByIndexName = "_EOS_RTCAudio_GetAudioInputDeviceByIndex@8"; + private const string EOS_RTCAudio_GetAudioInputDevicesCountName = "_EOS_RTCAudio_GetAudioInputDevicesCount@8"; + private const string EOS_RTCAudio_GetAudioOutputDeviceByIndexName = "_EOS_RTCAudio_GetAudioOutputDeviceByIndex@8"; + private const string EOS_RTCAudio_GetAudioOutputDevicesCountName = "_EOS_RTCAudio_GetAudioOutputDevicesCount@8"; + private const string EOS_RTCAudio_RegisterPlatformAudioUserName = "_EOS_RTCAudio_RegisterPlatformAudioUser@8"; + private const string EOS_RTCAudio_RemoveNotifyAudioBeforeRenderName = "_EOS_RTCAudio_RemoveNotifyAudioBeforeRender@12"; + private const string EOS_RTCAudio_RemoveNotifyAudioBeforeSendName = "_EOS_RTCAudio_RemoveNotifyAudioBeforeSend@12"; + private const string EOS_RTCAudio_RemoveNotifyAudioDevicesChangedName = "_EOS_RTCAudio_RemoveNotifyAudioDevicesChanged@12"; + private const string EOS_RTCAudio_RemoveNotifyAudioInputStateName = "_EOS_RTCAudio_RemoveNotifyAudioInputState@12"; + private const string EOS_RTCAudio_RemoveNotifyAudioOutputStateName = "_EOS_RTCAudio_RemoveNotifyAudioOutputState@12"; + private const string EOS_RTCAudio_RemoveNotifyParticipantUpdatedName = "_EOS_RTCAudio_RemoveNotifyParticipantUpdated@12"; + private const string EOS_RTCAudio_SendAudioName = "_EOS_RTCAudio_SendAudio@8"; + private const string EOS_RTCAudio_SetAudioInputSettingsName = "_EOS_RTCAudio_SetAudioInputSettings@8"; + private const string EOS_RTCAudio_SetAudioOutputSettingsName = "_EOS_RTCAudio_SetAudioOutputSettings@8"; + private const string EOS_RTCAudio_UnregisterPlatformAudioUserName = "_EOS_RTCAudio_UnregisterPlatformAudioUser@8"; + private const string EOS_RTCAudio_UpdateParticipantVolumeName = "_EOS_RTCAudio_UpdateParticipantVolume@16"; + private const string EOS_RTCAudio_UpdateReceivingName = "_EOS_RTCAudio_UpdateReceiving@16"; + private const string EOS_RTCAudio_UpdateReceivingVolumeName = "_EOS_RTCAudio_UpdateReceivingVolume@16"; + private const string EOS_RTCAudio_UpdateSendingName = "_EOS_RTCAudio_UpdateSending@16"; + private const string EOS_RTCAudio_UpdateSendingVolumeName = "_EOS_RTCAudio_UpdateSendingVolume@16"; + private const string EOS_RTC_AddNotifyDisconnectedName = "_EOS_RTC_AddNotifyDisconnected@16"; + private const string EOS_RTC_AddNotifyParticipantStatusChangedName = "_EOS_RTC_AddNotifyParticipantStatusChanged@16"; + private const string EOS_RTC_BlockParticipantName = "_EOS_RTC_BlockParticipant@16"; + private const string EOS_RTC_GetAudioInterfaceName = "_EOS_RTC_GetAudioInterface@4"; + private const string EOS_RTC_JoinRoomName = "_EOS_RTC_JoinRoom@16"; + private const string EOS_RTC_LeaveRoomName = "_EOS_RTC_LeaveRoom@16"; + private const string EOS_RTC_RemoveNotifyDisconnectedName = "_EOS_RTC_RemoveNotifyDisconnected@12"; + private const string EOS_RTC_RemoveNotifyParticipantStatusChangedName = "_EOS_RTC_RemoveNotifyParticipantStatusChanged@12"; + private const string EOS_RTC_SetRoomSettingName = "_EOS_RTC_SetRoomSetting@8"; + private const string EOS_RTC_SetSettingName = "_EOS_RTC_SetSetting@8"; + private const string EOS_Reports_SendPlayerBehaviorReportName = "_EOS_Reports_SendPlayerBehaviorReport@16"; + private const string EOS_Sanctions_CopyPlayerSanctionByIndexName = "_EOS_Sanctions_CopyPlayerSanctionByIndex@12"; + private const string EOS_Sanctions_GetPlayerSanctionCountName = "_EOS_Sanctions_GetPlayerSanctionCount@8"; + private const string EOS_Sanctions_PlayerSanction_ReleaseName = "_EOS_Sanctions_PlayerSanction_Release@4"; + private const string EOS_Sanctions_QueryActivePlayerSanctionsName = "_EOS_Sanctions_QueryActivePlayerSanctions@16"; + private const string EOS_SessionDetails_Attribute_ReleaseName = "_EOS_SessionDetails_Attribute_Release@4"; + private const string EOS_SessionDetails_CopyInfoName = "_EOS_SessionDetails_CopyInfo@12"; + private const string EOS_SessionDetails_CopySessionAttributeByIndexName = "_EOS_SessionDetails_CopySessionAttributeByIndex@12"; + private const string EOS_SessionDetails_CopySessionAttributeByKeyName = "_EOS_SessionDetails_CopySessionAttributeByKey@12"; + private const string EOS_SessionDetails_GetSessionAttributeCountName = "_EOS_SessionDetails_GetSessionAttributeCount@8"; + private const string EOS_SessionDetails_Info_ReleaseName = "_EOS_SessionDetails_Info_Release@4"; + private const string EOS_SessionDetails_ReleaseName = "_EOS_SessionDetails_Release@4"; + private const string EOS_SessionModification_AddAttributeName = "_EOS_SessionModification_AddAttribute@8"; + private const string EOS_SessionModification_ReleaseName = "_EOS_SessionModification_Release@4"; + private const string EOS_SessionModification_RemoveAttributeName = "_EOS_SessionModification_RemoveAttribute@8"; + private const string EOS_SessionModification_SetBucketIdName = "_EOS_SessionModification_SetBucketId@8"; + private const string EOS_SessionModification_SetHostAddressName = "_EOS_SessionModification_SetHostAddress@8"; + private const string EOS_SessionModification_SetInvitesAllowedName = "_EOS_SessionModification_SetInvitesAllowed@8"; + private const string EOS_SessionModification_SetJoinInProgressAllowedName = "_EOS_SessionModification_SetJoinInProgressAllowed@8"; + private const string EOS_SessionModification_SetMaxPlayersName = "_EOS_SessionModification_SetMaxPlayers@8"; + private const string EOS_SessionModification_SetPermissionLevelName = "_EOS_SessionModification_SetPermissionLevel@8"; + private const string EOS_SessionSearch_CopySearchResultByIndexName = "_EOS_SessionSearch_CopySearchResultByIndex@12"; + private const string EOS_SessionSearch_FindName = "_EOS_SessionSearch_Find@16"; + private const string EOS_SessionSearch_GetSearchResultCountName = "_EOS_SessionSearch_GetSearchResultCount@8"; + private const string EOS_SessionSearch_ReleaseName = "_EOS_SessionSearch_Release@4"; + private const string EOS_SessionSearch_RemoveParameterName = "_EOS_SessionSearch_RemoveParameter@8"; + private const string EOS_SessionSearch_SetMaxResultsName = "_EOS_SessionSearch_SetMaxResults@8"; + private const string EOS_SessionSearch_SetParameterName = "_EOS_SessionSearch_SetParameter@8"; + private const string EOS_SessionSearch_SetSessionIdName = "_EOS_SessionSearch_SetSessionId@8"; + private const string EOS_SessionSearch_SetTargetUserIdName = "_EOS_SessionSearch_SetTargetUserId@8"; + private const string EOS_Sessions_AddNotifyJoinSessionAcceptedName = "_EOS_Sessions_AddNotifyJoinSessionAccepted@16"; + private const string EOS_Sessions_AddNotifySessionInviteAcceptedName = "_EOS_Sessions_AddNotifySessionInviteAccepted@16"; + private const string EOS_Sessions_AddNotifySessionInviteReceivedName = "_EOS_Sessions_AddNotifySessionInviteReceived@16"; + private const string EOS_Sessions_CopyActiveSessionHandleName = "_EOS_Sessions_CopyActiveSessionHandle@12"; + private const string EOS_Sessions_CopySessionHandleByInviteIdName = "_EOS_Sessions_CopySessionHandleByInviteId@12"; + private const string EOS_Sessions_CopySessionHandleByUiEventIdName = "_EOS_Sessions_CopySessionHandleByUiEventId@12"; + private const string EOS_Sessions_CopySessionHandleForPresenceName = "_EOS_Sessions_CopySessionHandleForPresence@12"; + private const string EOS_Sessions_CreateSessionModificationName = "_EOS_Sessions_CreateSessionModification@12"; + private const string EOS_Sessions_CreateSessionSearchName = "_EOS_Sessions_CreateSessionSearch@12"; + private const string EOS_Sessions_DestroySessionName = "_EOS_Sessions_DestroySession@16"; + private const string EOS_Sessions_DumpSessionStateName = "_EOS_Sessions_DumpSessionState@8"; + private const string EOS_Sessions_EndSessionName = "_EOS_Sessions_EndSession@16"; + private const string EOS_Sessions_GetInviteCountName = "_EOS_Sessions_GetInviteCount@8"; + private const string EOS_Sessions_GetInviteIdByIndexName = "_EOS_Sessions_GetInviteIdByIndex@16"; + private const string EOS_Sessions_IsUserInSessionName = "_EOS_Sessions_IsUserInSession@8"; + private const string EOS_Sessions_JoinSessionName = "_EOS_Sessions_JoinSession@16"; + private const string EOS_Sessions_QueryInvitesName = "_EOS_Sessions_QueryInvites@16"; + private const string EOS_Sessions_RegisterPlayersName = "_EOS_Sessions_RegisterPlayers@16"; + private const string EOS_Sessions_RejectInviteName = "_EOS_Sessions_RejectInvite@16"; + private const string EOS_Sessions_RemoveNotifyJoinSessionAcceptedName = "_EOS_Sessions_RemoveNotifyJoinSessionAccepted@12"; + private const string EOS_Sessions_RemoveNotifySessionInviteAcceptedName = "_EOS_Sessions_RemoveNotifySessionInviteAccepted@12"; + private const string EOS_Sessions_RemoveNotifySessionInviteReceivedName = "_EOS_Sessions_RemoveNotifySessionInviteReceived@12"; + private const string EOS_Sessions_SendInviteName = "_EOS_Sessions_SendInvite@16"; + private const string EOS_Sessions_StartSessionName = "_EOS_Sessions_StartSession@16"; + private const string EOS_Sessions_UnregisterPlayersName = "_EOS_Sessions_UnregisterPlayers@16"; + private const string EOS_Sessions_UpdateSessionName = "_EOS_Sessions_UpdateSession@16"; + private const string EOS_Sessions_UpdateSessionModificationName = "_EOS_Sessions_UpdateSessionModification@12"; + private const string EOS_ShutdownName = "_EOS_Shutdown@0"; + private const string EOS_Stats_CopyStatByIndexName = "_EOS_Stats_CopyStatByIndex@12"; + private const string EOS_Stats_CopyStatByNameName = "_EOS_Stats_CopyStatByName@12"; + private const string EOS_Stats_GetStatsCountName = "_EOS_Stats_GetStatsCount@8"; + private const string EOS_Stats_IngestStatName = "_EOS_Stats_IngestStat@16"; + private const string EOS_Stats_QueryStatsName = "_EOS_Stats_QueryStats@16"; + private const string EOS_Stats_Stat_ReleaseName = "_EOS_Stats_Stat_Release@4"; + private const string EOS_TitleStorageFileTransferRequest_CancelRequestName = "_EOS_TitleStorageFileTransferRequest_CancelRequest@4"; + private const string EOS_TitleStorageFileTransferRequest_GetFileRequestStateName = "_EOS_TitleStorageFileTransferRequest_GetFileRequestState@4"; + private const string EOS_TitleStorageFileTransferRequest_GetFilenameName = "_EOS_TitleStorageFileTransferRequest_GetFilename@16"; + private const string EOS_TitleStorageFileTransferRequest_ReleaseName = "_EOS_TitleStorageFileTransferRequest_Release@4"; + private const string EOS_TitleStorage_CopyFileMetadataAtIndexName = "_EOS_TitleStorage_CopyFileMetadataAtIndex@12"; + private const string EOS_TitleStorage_CopyFileMetadataByFilenameName = "_EOS_TitleStorage_CopyFileMetadataByFilename@12"; + private const string EOS_TitleStorage_DeleteCacheName = "_EOS_TitleStorage_DeleteCache@16"; + private const string EOS_TitleStorage_FileMetadata_ReleaseName = "_EOS_TitleStorage_FileMetadata_Release@4"; + private const string EOS_TitleStorage_GetFileMetadataCountName = "_EOS_TitleStorage_GetFileMetadataCount@8"; + private const string EOS_TitleStorage_QueryFileName = "_EOS_TitleStorage_QueryFile@16"; + private const string EOS_TitleStorage_QueryFileListName = "_EOS_TitleStorage_QueryFileList@16"; + private const string EOS_TitleStorage_ReadFileName = "_EOS_TitleStorage_ReadFile@16"; + private const string EOS_UI_AcknowledgeEventIdName = "_EOS_UI_AcknowledgeEventId@8"; + private const string EOS_UI_AddNotifyDisplaySettingsUpdatedName = "_EOS_UI_AddNotifyDisplaySettingsUpdated@16"; + private const string EOS_UI_GetFriendsExclusiveInputName = "_EOS_UI_GetFriendsExclusiveInput@8"; + private const string EOS_UI_GetFriendsVisibleName = "_EOS_UI_GetFriendsVisible@8"; + private const string EOS_UI_GetNotificationLocationPreferenceName = "_EOS_UI_GetNotificationLocationPreference@4"; + private const string EOS_UI_GetToggleFriendsKeyName = "_EOS_UI_GetToggleFriendsKey@8"; + private const string EOS_UI_HideFriendsName = "_EOS_UI_HideFriends@16"; + private const string EOS_UI_IsSocialOverlayPausedName = "_EOS_UI_IsSocialOverlayPaused@8"; + private const string EOS_UI_IsValidKeyCombinationName = "_EOS_UI_IsValidKeyCombination@8"; + private const string EOS_UI_PauseSocialOverlayName = "_EOS_UI_PauseSocialOverlay@8"; + private const string EOS_UI_RemoveNotifyDisplaySettingsUpdatedName = "_EOS_UI_RemoveNotifyDisplaySettingsUpdated@12"; + private const string EOS_UI_SetDisplayPreferenceName = "_EOS_UI_SetDisplayPreference@8"; + private const string EOS_UI_SetToggleFriendsKeyName = "_EOS_UI_SetToggleFriendsKey@8"; + private const string EOS_UI_ShowBlockPlayerName = "_EOS_UI_ShowBlockPlayer@16"; + private const string EOS_UI_ShowFriendsName = "_EOS_UI_ShowFriends@16"; + private const string EOS_UI_ShowReportPlayerName = "_EOS_UI_ShowReportPlayer@16"; + private const string EOS_UserInfo_CopyExternalUserInfoByAccountIdName = "_EOS_UserInfo_CopyExternalUserInfoByAccountId@12"; + private const string EOS_UserInfo_CopyExternalUserInfoByAccountTypeName = "_EOS_UserInfo_CopyExternalUserInfoByAccountType@12"; + private const string EOS_UserInfo_CopyExternalUserInfoByIndexName = "_EOS_UserInfo_CopyExternalUserInfoByIndex@12"; + private const string EOS_UserInfo_CopyUserInfoName = "_EOS_UserInfo_CopyUserInfo@12"; + private const string EOS_UserInfo_ExternalUserInfo_ReleaseName = "_EOS_UserInfo_ExternalUserInfo_Release@4"; + private const string EOS_UserInfo_GetExternalUserInfoCountName = "_EOS_UserInfo_GetExternalUserInfoCount@8"; + private const string EOS_UserInfo_QueryUserInfoName = "_EOS_UserInfo_QueryUserInfo@16"; + private const string EOS_UserInfo_QueryUserInfoByDisplayNameName = "_EOS_UserInfo_QueryUserInfoByDisplayName@16"; + private const string EOS_UserInfo_QueryUserInfoByExternalAccountName = "_EOS_UserInfo_QueryUserInfoByExternalAccount@16"; + private const string EOS_UserInfo_ReleaseName = "_EOS_UserInfo_Release@4"; +#endif + +#if EOS_DYNAMIC_BINDINGS + /// + /// Hooks the dynamic SDK API bindings. EOS_DYNAMIC_BINDINGS or EOS_EDITOR must be set. + /// + /// The library handle to find functions in. The type is platform dependent, but would typically be . + /// A delegate that gets a function pointer using the given library handle and function name. + public static void Hook(TLibraryHandle libraryHandle, Func getFunctionPointer) + { + System.IntPtr functionPointer; + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_AddNotifyAchievementsUnlockedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_AddNotifyAchievementsUnlockedName); + EOS_Achievements_AddNotifyAchievementsUnlocked = (EOS_Achievements_AddNotifyAchievementsUnlockedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_AddNotifyAchievementsUnlockedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_AddNotifyAchievementsUnlockedV2Name); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_AddNotifyAchievementsUnlockedV2Name); + EOS_Achievements_AddNotifyAchievementsUnlockedV2 = (EOS_Achievements_AddNotifyAchievementsUnlockedV2Delegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_AddNotifyAchievementsUnlockedV2Delegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_CopyAchievementDefinitionByAchievementIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_CopyAchievementDefinitionByAchievementIdName); + EOS_Achievements_CopyAchievementDefinitionByAchievementId = (EOS_Achievements_CopyAchievementDefinitionByAchievementIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyAchievementDefinitionByAchievementIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_CopyAchievementDefinitionByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_CopyAchievementDefinitionByIndexName); + EOS_Achievements_CopyAchievementDefinitionByIndex = (EOS_Achievements_CopyAchievementDefinitionByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyAchievementDefinitionByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdName); + EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId = (EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_CopyAchievementDefinitionV2ByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_CopyAchievementDefinitionV2ByIndexName); + EOS_Achievements_CopyAchievementDefinitionV2ByIndex = (EOS_Achievements_CopyAchievementDefinitionV2ByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyAchievementDefinitionV2ByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_CopyPlayerAchievementByAchievementIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_CopyPlayerAchievementByAchievementIdName); + EOS_Achievements_CopyPlayerAchievementByAchievementId = (EOS_Achievements_CopyPlayerAchievementByAchievementIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyPlayerAchievementByAchievementIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_CopyPlayerAchievementByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_CopyPlayerAchievementByIndexName); + EOS_Achievements_CopyPlayerAchievementByIndex = (EOS_Achievements_CopyPlayerAchievementByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyPlayerAchievementByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_CopyUnlockedAchievementByAchievementIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_CopyUnlockedAchievementByAchievementIdName); + EOS_Achievements_CopyUnlockedAchievementByAchievementId = (EOS_Achievements_CopyUnlockedAchievementByAchievementIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyUnlockedAchievementByAchievementIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_CopyUnlockedAchievementByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_CopyUnlockedAchievementByIndexName); + EOS_Achievements_CopyUnlockedAchievementByIndex = (EOS_Achievements_CopyUnlockedAchievementByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_CopyUnlockedAchievementByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_DefinitionV2_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_DefinitionV2_ReleaseName); + EOS_Achievements_DefinitionV2_Release = (EOS_Achievements_DefinitionV2_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_DefinitionV2_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_Definition_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_Definition_ReleaseName); + EOS_Achievements_Definition_Release = (EOS_Achievements_Definition_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_Definition_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_GetAchievementDefinitionCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_GetAchievementDefinitionCountName); + EOS_Achievements_GetAchievementDefinitionCount = (EOS_Achievements_GetAchievementDefinitionCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_GetAchievementDefinitionCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_GetPlayerAchievementCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_GetPlayerAchievementCountName); + EOS_Achievements_GetPlayerAchievementCount = (EOS_Achievements_GetPlayerAchievementCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_GetPlayerAchievementCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_GetUnlockedAchievementCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_GetUnlockedAchievementCountName); + EOS_Achievements_GetUnlockedAchievementCount = (EOS_Achievements_GetUnlockedAchievementCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_GetUnlockedAchievementCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_PlayerAchievement_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_PlayerAchievement_ReleaseName); + EOS_Achievements_PlayerAchievement_Release = (EOS_Achievements_PlayerAchievement_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_PlayerAchievement_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_QueryDefinitionsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_QueryDefinitionsName); + EOS_Achievements_QueryDefinitions = (EOS_Achievements_QueryDefinitionsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_QueryDefinitionsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_QueryPlayerAchievementsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_QueryPlayerAchievementsName); + EOS_Achievements_QueryPlayerAchievements = (EOS_Achievements_QueryPlayerAchievementsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_QueryPlayerAchievementsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_RemoveNotifyAchievementsUnlockedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_RemoveNotifyAchievementsUnlockedName); + EOS_Achievements_RemoveNotifyAchievementsUnlocked = (EOS_Achievements_RemoveNotifyAchievementsUnlockedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_RemoveNotifyAchievementsUnlockedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_UnlockAchievementsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_UnlockAchievementsName); + EOS_Achievements_UnlockAchievements = (EOS_Achievements_UnlockAchievementsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_UnlockAchievementsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Achievements_UnlockedAchievement_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Achievements_UnlockedAchievement_ReleaseName); + EOS_Achievements_UnlockedAchievement_Release = (EOS_Achievements_UnlockedAchievement_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Achievements_UnlockedAchievement_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ActiveSession_CopyInfoName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ActiveSession_CopyInfoName); + EOS_ActiveSession_CopyInfo = (EOS_ActiveSession_CopyInfoDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ActiveSession_CopyInfoDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ActiveSession_GetRegisteredPlayerByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ActiveSession_GetRegisteredPlayerByIndexName); + EOS_ActiveSession_GetRegisteredPlayerByIndex = (EOS_ActiveSession_GetRegisteredPlayerByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ActiveSession_GetRegisteredPlayerByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ActiveSession_GetRegisteredPlayerCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ActiveSession_GetRegisteredPlayerCountName); + EOS_ActiveSession_GetRegisteredPlayerCount = (EOS_ActiveSession_GetRegisteredPlayerCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ActiveSession_GetRegisteredPlayerCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ActiveSession_Info_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ActiveSession_Info_ReleaseName); + EOS_ActiveSession_Info_Release = (EOS_ActiveSession_Info_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ActiveSession_Info_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ActiveSession_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ActiveSession_ReleaseName); + EOS_ActiveSession_Release = (EOS_ActiveSession_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ActiveSession_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_AddExternalIntegrityCatalogName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_AddExternalIntegrityCatalogName); + EOS_AntiCheatClient_AddExternalIntegrityCatalog = (EOS_AntiCheatClient_AddExternalIntegrityCatalogDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_AddExternalIntegrityCatalogDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_AddNotifyClientIntegrityViolatedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_AddNotifyClientIntegrityViolatedName); + EOS_AntiCheatClient_AddNotifyClientIntegrityViolated = (EOS_AntiCheatClient_AddNotifyClientIntegrityViolatedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_AddNotifyClientIntegrityViolatedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_AddNotifyMessageToPeerName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_AddNotifyMessageToPeerName); + EOS_AntiCheatClient_AddNotifyMessageToPeer = (EOS_AntiCheatClient_AddNotifyMessageToPeerDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_AddNotifyMessageToPeerDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_AddNotifyMessageToServerName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_AddNotifyMessageToServerName); + EOS_AntiCheatClient_AddNotifyMessageToServer = (EOS_AntiCheatClient_AddNotifyMessageToServerDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_AddNotifyMessageToServerDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_AddNotifyPeerActionRequiredName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_AddNotifyPeerActionRequiredName); + EOS_AntiCheatClient_AddNotifyPeerActionRequired = (EOS_AntiCheatClient_AddNotifyPeerActionRequiredDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_AddNotifyPeerActionRequiredDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_AddNotifyPeerAuthStatusChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_AddNotifyPeerAuthStatusChangedName); + EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged = (EOS_AntiCheatClient_AddNotifyPeerAuthStatusChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_AddNotifyPeerAuthStatusChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_BeginSessionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_BeginSessionName); + EOS_AntiCheatClient_BeginSession = (EOS_AntiCheatClient_BeginSessionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_BeginSessionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_EndSessionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_EndSessionName); + EOS_AntiCheatClient_EndSession = (EOS_AntiCheatClient_EndSessionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_EndSessionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_GetProtectMessageOutputLengthName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_GetProtectMessageOutputLengthName); + EOS_AntiCheatClient_GetProtectMessageOutputLength = (EOS_AntiCheatClient_GetProtectMessageOutputLengthDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_GetProtectMessageOutputLengthDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_PollStatusName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_PollStatusName); + EOS_AntiCheatClient_PollStatus = (EOS_AntiCheatClient_PollStatusDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_PollStatusDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_ProtectMessageName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_ProtectMessageName); + EOS_AntiCheatClient_ProtectMessage = (EOS_AntiCheatClient_ProtectMessageDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_ProtectMessageDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_ReceiveMessageFromPeerName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_ReceiveMessageFromPeerName); + EOS_AntiCheatClient_ReceiveMessageFromPeer = (EOS_AntiCheatClient_ReceiveMessageFromPeerDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_ReceiveMessageFromPeerDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_ReceiveMessageFromServerName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_ReceiveMessageFromServerName); + EOS_AntiCheatClient_ReceiveMessageFromServer = (EOS_AntiCheatClient_ReceiveMessageFromServerDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_ReceiveMessageFromServerDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_RegisterPeerName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_RegisterPeerName); + EOS_AntiCheatClient_RegisterPeer = (EOS_AntiCheatClient_RegisterPeerDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_RegisterPeerDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolatedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolatedName); + EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolated = (EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolatedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolatedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_RemoveNotifyMessageToPeerName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_RemoveNotifyMessageToPeerName); + EOS_AntiCheatClient_RemoveNotifyMessageToPeer = (EOS_AntiCheatClient_RemoveNotifyMessageToPeerDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_RemoveNotifyMessageToPeerDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_RemoveNotifyMessageToServerName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_RemoveNotifyMessageToServerName); + EOS_AntiCheatClient_RemoveNotifyMessageToServer = (EOS_AntiCheatClient_RemoveNotifyMessageToServerDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_RemoveNotifyMessageToServerDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_RemoveNotifyPeerActionRequiredName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_RemoveNotifyPeerActionRequiredName); + EOS_AntiCheatClient_RemoveNotifyPeerActionRequired = (EOS_AntiCheatClient_RemoveNotifyPeerActionRequiredDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_RemoveNotifyPeerActionRequiredDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedName); + EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged = (EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_UnprotectMessageName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_UnprotectMessageName); + EOS_AntiCheatClient_UnprotectMessage = (EOS_AntiCheatClient_UnprotectMessageDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_UnprotectMessageDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_UnregisterPeerName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_UnregisterPeerName); + EOS_AntiCheatClient_UnregisterPeer = (EOS_AntiCheatClient_UnregisterPeerDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_UnregisterPeerDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_AddNotifyClientActionRequiredName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_AddNotifyClientActionRequiredName); + EOS_AntiCheatServer_AddNotifyClientActionRequired = (EOS_AntiCheatServer_AddNotifyClientActionRequiredDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_AddNotifyClientActionRequiredDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedName); + EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged = (EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_AddNotifyMessageToClientName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_AddNotifyMessageToClientName); + EOS_AntiCheatServer_AddNotifyMessageToClient = (EOS_AntiCheatServer_AddNotifyMessageToClientDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_AddNotifyMessageToClientDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_BeginSessionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_BeginSessionName); + EOS_AntiCheatServer_BeginSession = (EOS_AntiCheatServer_BeginSessionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_BeginSessionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_EndSessionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_EndSessionName); + EOS_AntiCheatServer_EndSession = (EOS_AntiCheatServer_EndSessionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_EndSessionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_GetProtectMessageOutputLengthName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_GetProtectMessageOutputLengthName); + EOS_AntiCheatServer_GetProtectMessageOutputLength = (EOS_AntiCheatServer_GetProtectMessageOutputLengthDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_GetProtectMessageOutputLengthDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_LogEventName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_LogEventName); + EOS_AntiCheatServer_LogEvent = (EOS_AntiCheatServer_LogEventDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogEventDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_LogGameRoundEndName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_LogGameRoundEndName); + EOS_AntiCheatServer_LogGameRoundEnd = (EOS_AntiCheatServer_LogGameRoundEndDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogGameRoundEndDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_LogGameRoundStartName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_LogGameRoundStartName); + EOS_AntiCheatServer_LogGameRoundStart = (EOS_AntiCheatServer_LogGameRoundStartDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogGameRoundStartDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_LogPlayerDespawnName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_LogPlayerDespawnName); + EOS_AntiCheatServer_LogPlayerDespawn = (EOS_AntiCheatServer_LogPlayerDespawnDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerDespawnDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_LogPlayerReviveName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_LogPlayerReviveName); + EOS_AntiCheatServer_LogPlayerRevive = (EOS_AntiCheatServer_LogPlayerReviveDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerReviveDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_LogPlayerSpawnName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_LogPlayerSpawnName); + EOS_AntiCheatServer_LogPlayerSpawn = (EOS_AntiCheatServer_LogPlayerSpawnDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerSpawnDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_LogPlayerTakeDamageName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_LogPlayerTakeDamageName); + EOS_AntiCheatServer_LogPlayerTakeDamage = (EOS_AntiCheatServer_LogPlayerTakeDamageDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerTakeDamageDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_LogPlayerTickName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_LogPlayerTickName); + EOS_AntiCheatServer_LogPlayerTick = (EOS_AntiCheatServer_LogPlayerTickDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerTickDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_LogPlayerUseAbilityName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_LogPlayerUseAbilityName); + EOS_AntiCheatServer_LogPlayerUseAbility = (EOS_AntiCheatServer_LogPlayerUseAbilityDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerUseAbilityDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_LogPlayerUseWeaponName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_LogPlayerUseWeaponName); + EOS_AntiCheatServer_LogPlayerUseWeapon = (EOS_AntiCheatServer_LogPlayerUseWeaponDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_LogPlayerUseWeaponDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_ProtectMessageName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_ProtectMessageName); + EOS_AntiCheatServer_ProtectMessage = (EOS_AntiCheatServer_ProtectMessageDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_ProtectMessageDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_ReceiveMessageFromClientName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_ReceiveMessageFromClientName); + EOS_AntiCheatServer_ReceiveMessageFromClient = (EOS_AntiCheatServer_ReceiveMessageFromClientDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_ReceiveMessageFromClientDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_RegisterClientName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_RegisterClientName); + EOS_AntiCheatServer_RegisterClient = (EOS_AntiCheatServer_RegisterClientDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_RegisterClientDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_RegisterEventName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_RegisterEventName); + EOS_AntiCheatServer_RegisterEvent = (EOS_AntiCheatServer_RegisterEventDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_RegisterEventDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_RemoveNotifyClientActionRequiredName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_RemoveNotifyClientActionRequiredName); + EOS_AntiCheatServer_RemoveNotifyClientActionRequired = (EOS_AntiCheatServer_RemoveNotifyClientActionRequiredDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_RemoveNotifyClientActionRequiredDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChangedName); + EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged = (EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_RemoveNotifyMessageToClientName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_RemoveNotifyMessageToClientName); + EOS_AntiCheatServer_RemoveNotifyMessageToClient = (EOS_AntiCheatServer_RemoveNotifyMessageToClientDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_RemoveNotifyMessageToClientDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_SetClientDetailsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_SetClientDetailsName); + EOS_AntiCheatServer_SetClientDetails = (EOS_AntiCheatServer_SetClientDetailsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_SetClientDetailsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_SetClientNetworkStateName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_SetClientNetworkStateName); + EOS_AntiCheatServer_SetClientNetworkState = (EOS_AntiCheatServer_SetClientNetworkStateDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_SetClientNetworkStateDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_SetGameSessionIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_SetGameSessionIdName); + EOS_AntiCheatServer_SetGameSessionId = (EOS_AntiCheatServer_SetGameSessionIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_SetGameSessionIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_UnprotectMessageName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_UnprotectMessageName); + EOS_AntiCheatServer_UnprotectMessage = (EOS_AntiCheatServer_UnprotectMessageDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_UnprotectMessageDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatServer_UnregisterClientName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatServer_UnregisterClientName); + EOS_AntiCheatServer_UnregisterClient = (EOS_AntiCheatServer_UnregisterClientDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatServer_UnregisterClientDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_AddNotifyLoginStatusChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_AddNotifyLoginStatusChangedName); + EOS_Auth_AddNotifyLoginStatusChanged = (EOS_Auth_AddNotifyLoginStatusChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_AddNotifyLoginStatusChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_CopyIdTokenName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_CopyIdTokenName); + EOS_Auth_CopyIdToken = (EOS_Auth_CopyIdTokenDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_CopyIdTokenDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_CopyUserAuthTokenName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_CopyUserAuthTokenName); + EOS_Auth_CopyUserAuthToken = (EOS_Auth_CopyUserAuthTokenDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_CopyUserAuthTokenDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_DeletePersistentAuthName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_DeletePersistentAuthName); + EOS_Auth_DeletePersistentAuth = (EOS_Auth_DeletePersistentAuthDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_DeletePersistentAuthDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_GetLoggedInAccountByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_GetLoggedInAccountByIndexName); + EOS_Auth_GetLoggedInAccountByIndex = (EOS_Auth_GetLoggedInAccountByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_GetLoggedInAccountByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_GetLoggedInAccountsCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_GetLoggedInAccountsCountName); + EOS_Auth_GetLoggedInAccountsCount = (EOS_Auth_GetLoggedInAccountsCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_GetLoggedInAccountsCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_GetLoginStatusName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_GetLoginStatusName); + EOS_Auth_GetLoginStatus = (EOS_Auth_GetLoginStatusDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_GetLoginStatusDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_GetMergedAccountByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_GetMergedAccountByIndexName); + EOS_Auth_GetMergedAccountByIndex = (EOS_Auth_GetMergedAccountByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_GetMergedAccountByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_GetMergedAccountsCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_GetMergedAccountsCountName); + EOS_Auth_GetMergedAccountsCount = (EOS_Auth_GetMergedAccountsCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_GetMergedAccountsCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_GetSelectedAccountIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_GetSelectedAccountIdName); + EOS_Auth_GetSelectedAccountId = (EOS_Auth_GetSelectedAccountIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_GetSelectedAccountIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_IdToken_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_IdToken_ReleaseName); + EOS_Auth_IdToken_Release = (EOS_Auth_IdToken_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_IdToken_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_LinkAccountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_LinkAccountName); + EOS_Auth_LinkAccount = (EOS_Auth_LinkAccountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_LinkAccountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_LoginName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_LoginName); + EOS_Auth_Login = (EOS_Auth_LoginDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_LoginDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_LogoutName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_LogoutName); + EOS_Auth_Logout = (EOS_Auth_LogoutDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_LogoutDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_QueryIdTokenName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_QueryIdTokenName); + EOS_Auth_QueryIdToken = (EOS_Auth_QueryIdTokenDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_QueryIdTokenDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_RemoveNotifyLoginStatusChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_RemoveNotifyLoginStatusChangedName); + EOS_Auth_RemoveNotifyLoginStatusChanged = (EOS_Auth_RemoveNotifyLoginStatusChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_RemoveNotifyLoginStatusChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_Token_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_Token_ReleaseName); + EOS_Auth_Token_Release = (EOS_Auth_Token_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_Token_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_VerifyIdTokenName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_VerifyIdTokenName); + EOS_Auth_VerifyIdToken = (EOS_Auth_VerifyIdTokenDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_VerifyIdTokenDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_VerifyUserAuthName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_VerifyUserAuthName); + EOS_Auth_VerifyUserAuth = (EOS_Auth_VerifyUserAuthDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_VerifyUserAuthDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ByteArray_ToStringName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ByteArray_ToStringName); + EOS_ByteArray_ToString = (EOS_ByteArray_ToStringDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ByteArray_ToStringDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_AddNotifyAuthExpirationName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_AddNotifyAuthExpirationName); + EOS_Connect_AddNotifyAuthExpiration = (EOS_Connect_AddNotifyAuthExpirationDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_AddNotifyAuthExpirationDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_AddNotifyLoginStatusChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_AddNotifyLoginStatusChangedName); + EOS_Connect_AddNotifyLoginStatusChanged = (EOS_Connect_AddNotifyLoginStatusChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_AddNotifyLoginStatusChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_CopyIdTokenName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_CopyIdTokenName); + EOS_Connect_CopyIdToken = (EOS_Connect_CopyIdTokenDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_CopyIdTokenDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_CopyProductUserExternalAccountByAccountIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_CopyProductUserExternalAccountByAccountIdName); + EOS_Connect_CopyProductUserExternalAccountByAccountId = (EOS_Connect_CopyProductUserExternalAccountByAccountIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_CopyProductUserExternalAccountByAccountIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_CopyProductUserExternalAccountByAccountTypeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_CopyProductUserExternalAccountByAccountTypeName); + EOS_Connect_CopyProductUserExternalAccountByAccountType = (EOS_Connect_CopyProductUserExternalAccountByAccountTypeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_CopyProductUserExternalAccountByAccountTypeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_CopyProductUserExternalAccountByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_CopyProductUserExternalAccountByIndexName); + EOS_Connect_CopyProductUserExternalAccountByIndex = (EOS_Connect_CopyProductUserExternalAccountByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_CopyProductUserExternalAccountByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_CopyProductUserInfoName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_CopyProductUserInfoName); + EOS_Connect_CopyProductUserInfo = (EOS_Connect_CopyProductUserInfoDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_CopyProductUserInfoDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_CreateDeviceIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_CreateDeviceIdName); + EOS_Connect_CreateDeviceId = (EOS_Connect_CreateDeviceIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_CreateDeviceIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_CreateUserName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_CreateUserName); + EOS_Connect_CreateUser = (EOS_Connect_CreateUserDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_CreateUserDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_DeleteDeviceIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_DeleteDeviceIdName); + EOS_Connect_DeleteDeviceId = (EOS_Connect_DeleteDeviceIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_DeleteDeviceIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_ExternalAccountInfo_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_ExternalAccountInfo_ReleaseName); + EOS_Connect_ExternalAccountInfo_Release = (EOS_Connect_ExternalAccountInfo_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_ExternalAccountInfo_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_GetExternalAccountMappingName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_GetExternalAccountMappingName); + EOS_Connect_GetExternalAccountMapping = (EOS_Connect_GetExternalAccountMappingDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_GetExternalAccountMappingDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_GetLoggedInUserByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_GetLoggedInUserByIndexName); + EOS_Connect_GetLoggedInUserByIndex = (EOS_Connect_GetLoggedInUserByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_GetLoggedInUserByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_GetLoggedInUsersCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_GetLoggedInUsersCountName); + EOS_Connect_GetLoggedInUsersCount = (EOS_Connect_GetLoggedInUsersCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_GetLoggedInUsersCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_GetLoginStatusName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_GetLoginStatusName); + EOS_Connect_GetLoginStatus = (EOS_Connect_GetLoginStatusDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_GetLoginStatusDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_GetProductUserExternalAccountCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_GetProductUserExternalAccountCountName); + EOS_Connect_GetProductUserExternalAccountCount = (EOS_Connect_GetProductUserExternalAccountCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_GetProductUserExternalAccountCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_GetProductUserIdMappingName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_GetProductUserIdMappingName); + EOS_Connect_GetProductUserIdMapping = (EOS_Connect_GetProductUserIdMappingDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_GetProductUserIdMappingDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_IdToken_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_IdToken_ReleaseName); + EOS_Connect_IdToken_Release = (EOS_Connect_IdToken_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_IdToken_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_LinkAccountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_LinkAccountName); + EOS_Connect_LinkAccount = (EOS_Connect_LinkAccountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_LinkAccountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_LoginName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_LoginName); + EOS_Connect_Login = (EOS_Connect_LoginDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_LoginDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_QueryExternalAccountMappingsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_QueryExternalAccountMappingsName); + EOS_Connect_QueryExternalAccountMappings = (EOS_Connect_QueryExternalAccountMappingsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_QueryExternalAccountMappingsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_QueryProductUserIdMappingsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_QueryProductUserIdMappingsName); + EOS_Connect_QueryProductUserIdMappings = (EOS_Connect_QueryProductUserIdMappingsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_QueryProductUserIdMappingsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_RemoveNotifyAuthExpirationName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_RemoveNotifyAuthExpirationName); + EOS_Connect_RemoveNotifyAuthExpiration = (EOS_Connect_RemoveNotifyAuthExpirationDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_RemoveNotifyAuthExpirationDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_RemoveNotifyLoginStatusChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_RemoveNotifyLoginStatusChangedName); + EOS_Connect_RemoveNotifyLoginStatusChanged = (EOS_Connect_RemoveNotifyLoginStatusChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_RemoveNotifyLoginStatusChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_TransferDeviceIdAccountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_TransferDeviceIdAccountName); + EOS_Connect_TransferDeviceIdAccount = (EOS_Connect_TransferDeviceIdAccountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_TransferDeviceIdAccountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_UnlinkAccountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_UnlinkAccountName); + EOS_Connect_UnlinkAccount = (EOS_Connect_UnlinkAccountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_UnlinkAccountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Connect_VerifyIdTokenName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Connect_VerifyIdTokenName); + EOS_Connect_VerifyIdToken = (EOS_Connect_VerifyIdTokenDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Connect_VerifyIdTokenDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ContinuanceToken_ToStringName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ContinuanceToken_ToStringName); + EOS_ContinuanceToken_ToString = (EOS_ContinuanceToken_ToStringDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ContinuanceToken_ToStringDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_CustomInvites_AddNotifyCustomInviteAcceptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_CustomInvites_AddNotifyCustomInviteAcceptedName); + EOS_CustomInvites_AddNotifyCustomInviteAccepted = (EOS_CustomInvites_AddNotifyCustomInviteAcceptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_CustomInvites_AddNotifyCustomInviteAcceptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_CustomInvites_AddNotifyCustomInviteReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_CustomInvites_AddNotifyCustomInviteReceivedName); + EOS_CustomInvites_AddNotifyCustomInviteReceived = (EOS_CustomInvites_AddNotifyCustomInviteReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_CustomInvites_AddNotifyCustomInviteReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_CustomInvites_AddNotifyCustomInviteRejectedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_CustomInvites_AddNotifyCustomInviteRejectedName); + EOS_CustomInvites_AddNotifyCustomInviteRejected = (EOS_CustomInvites_AddNotifyCustomInviteRejectedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_CustomInvites_AddNotifyCustomInviteRejectedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_CustomInvites_FinalizeInviteName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_CustomInvites_FinalizeInviteName); + EOS_CustomInvites_FinalizeInvite = (EOS_CustomInvites_FinalizeInviteDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_CustomInvites_FinalizeInviteDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_CustomInvites_RemoveNotifyCustomInviteAcceptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_CustomInvites_RemoveNotifyCustomInviteAcceptedName); + EOS_CustomInvites_RemoveNotifyCustomInviteAccepted = (EOS_CustomInvites_RemoveNotifyCustomInviteAcceptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_CustomInvites_RemoveNotifyCustomInviteAcceptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_CustomInvites_RemoveNotifyCustomInviteReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_CustomInvites_RemoveNotifyCustomInviteReceivedName); + EOS_CustomInvites_RemoveNotifyCustomInviteReceived = (EOS_CustomInvites_RemoveNotifyCustomInviteReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_CustomInvites_RemoveNotifyCustomInviteReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_CustomInvites_RemoveNotifyCustomInviteRejectedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_CustomInvites_RemoveNotifyCustomInviteRejectedName); + EOS_CustomInvites_RemoveNotifyCustomInviteRejected = (EOS_CustomInvites_RemoveNotifyCustomInviteRejectedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_CustomInvites_RemoveNotifyCustomInviteRejectedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_CustomInvites_SendCustomInviteName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_CustomInvites_SendCustomInviteName); + EOS_CustomInvites_SendCustomInvite = (EOS_CustomInvites_SendCustomInviteDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_CustomInvites_SendCustomInviteDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_CustomInvites_SetCustomInviteName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_CustomInvites_SetCustomInviteName); + EOS_CustomInvites_SetCustomInvite = (EOS_CustomInvites_SetCustomInviteDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_CustomInvites_SetCustomInviteDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_EResult_IsOperationCompleteName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_EResult_IsOperationCompleteName); + EOS_EResult_IsOperationComplete = (EOS_EResult_IsOperationCompleteDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_EResult_IsOperationCompleteDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_EResult_ToStringName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_EResult_ToStringName); + EOS_EResult_ToString = (EOS_EResult_ToStringDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_EResult_ToStringDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CatalogItem_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CatalogItem_ReleaseName); + EOS_Ecom_CatalogItem_Release = (EOS_Ecom_CatalogItem_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CatalogItem_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CatalogOffer_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CatalogOffer_ReleaseName); + EOS_Ecom_CatalogOffer_Release = (EOS_Ecom_CatalogOffer_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CatalogOffer_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CatalogRelease_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CatalogRelease_ReleaseName); + EOS_Ecom_CatalogRelease_Release = (EOS_Ecom_CatalogRelease_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CatalogRelease_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CheckoutName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CheckoutName); + EOS_Ecom_Checkout = (EOS_Ecom_CheckoutDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CheckoutDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CopyEntitlementByIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CopyEntitlementByIdName); + EOS_Ecom_CopyEntitlementById = (EOS_Ecom_CopyEntitlementByIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyEntitlementByIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CopyEntitlementByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CopyEntitlementByIndexName); + EOS_Ecom_CopyEntitlementByIndex = (EOS_Ecom_CopyEntitlementByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyEntitlementByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CopyEntitlementByNameAndIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CopyEntitlementByNameAndIndexName); + EOS_Ecom_CopyEntitlementByNameAndIndex = (EOS_Ecom_CopyEntitlementByNameAndIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyEntitlementByNameAndIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CopyItemByIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CopyItemByIdName); + EOS_Ecom_CopyItemById = (EOS_Ecom_CopyItemByIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyItemByIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CopyItemImageInfoByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CopyItemImageInfoByIndexName); + EOS_Ecom_CopyItemImageInfoByIndex = (EOS_Ecom_CopyItemImageInfoByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyItemImageInfoByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CopyItemReleaseByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CopyItemReleaseByIndexName); + EOS_Ecom_CopyItemReleaseByIndex = (EOS_Ecom_CopyItemReleaseByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyItemReleaseByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CopyLastRedeemedEntitlementByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CopyLastRedeemedEntitlementByIndexName); + EOS_Ecom_CopyLastRedeemedEntitlementByIndex = (EOS_Ecom_CopyLastRedeemedEntitlementByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyLastRedeemedEntitlementByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CopyOfferByIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CopyOfferByIdName); + EOS_Ecom_CopyOfferById = (EOS_Ecom_CopyOfferByIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyOfferByIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CopyOfferByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CopyOfferByIndexName); + EOS_Ecom_CopyOfferByIndex = (EOS_Ecom_CopyOfferByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyOfferByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CopyOfferImageInfoByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CopyOfferImageInfoByIndexName); + EOS_Ecom_CopyOfferImageInfoByIndex = (EOS_Ecom_CopyOfferImageInfoByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyOfferImageInfoByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CopyOfferItemByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CopyOfferItemByIndexName); + EOS_Ecom_CopyOfferItemByIndex = (EOS_Ecom_CopyOfferItemByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyOfferItemByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CopyTransactionByIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CopyTransactionByIdName); + EOS_Ecom_CopyTransactionById = (EOS_Ecom_CopyTransactionByIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyTransactionByIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_CopyTransactionByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_CopyTransactionByIndexName); + EOS_Ecom_CopyTransactionByIndex = (EOS_Ecom_CopyTransactionByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_CopyTransactionByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_Entitlement_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_Entitlement_ReleaseName); + EOS_Ecom_Entitlement_Release = (EOS_Ecom_Entitlement_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_Entitlement_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_GetEntitlementsByNameCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_GetEntitlementsByNameCountName); + EOS_Ecom_GetEntitlementsByNameCount = (EOS_Ecom_GetEntitlementsByNameCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetEntitlementsByNameCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_GetEntitlementsCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_GetEntitlementsCountName); + EOS_Ecom_GetEntitlementsCount = (EOS_Ecom_GetEntitlementsCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetEntitlementsCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_GetItemImageInfoCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_GetItemImageInfoCountName); + EOS_Ecom_GetItemImageInfoCount = (EOS_Ecom_GetItemImageInfoCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetItemImageInfoCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_GetItemReleaseCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_GetItemReleaseCountName); + EOS_Ecom_GetItemReleaseCount = (EOS_Ecom_GetItemReleaseCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetItemReleaseCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_GetLastRedeemedEntitlementsCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_GetLastRedeemedEntitlementsCountName); + EOS_Ecom_GetLastRedeemedEntitlementsCount = (EOS_Ecom_GetLastRedeemedEntitlementsCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetLastRedeemedEntitlementsCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_GetOfferCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_GetOfferCountName); + EOS_Ecom_GetOfferCount = (EOS_Ecom_GetOfferCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetOfferCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_GetOfferImageInfoCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_GetOfferImageInfoCountName); + EOS_Ecom_GetOfferImageInfoCount = (EOS_Ecom_GetOfferImageInfoCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetOfferImageInfoCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_GetOfferItemCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_GetOfferItemCountName); + EOS_Ecom_GetOfferItemCount = (EOS_Ecom_GetOfferItemCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetOfferItemCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_GetTransactionCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_GetTransactionCountName); + EOS_Ecom_GetTransactionCount = (EOS_Ecom_GetTransactionCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_GetTransactionCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_KeyImageInfo_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_KeyImageInfo_ReleaseName); + EOS_Ecom_KeyImageInfo_Release = (EOS_Ecom_KeyImageInfo_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_KeyImageInfo_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_QueryEntitlementTokenName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_QueryEntitlementTokenName); + EOS_Ecom_QueryEntitlementToken = (EOS_Ecom_QueryEntitlementTokenDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_QueryEntitlementTokenDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_QueryEntitlementsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_QueryEntitlementsName); + EOS_Ecom_QueryEntitlements = (EOS_Ecom_QueryEntitlementsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_QueryEntitlementsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_QueryOffersName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_QueryOffersName); + EOS_Ecom_QueryOffers = (EOS_Ecom_QueryOffersDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_QueryOffersDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_QueryOwnershipName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_QueryOwnershipName); + EOS_Ecom_QueryOwnership = (EOS_Ecom_QueryOwnershipDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_QueryOwnershipDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_QueryOwnershipTokenName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_QueryOwnershipTokenName); + EOS_Ecom_QueryOwnershipToken = (EOS_Ecom_QueryOwnershipTokenDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_QueryOwnershipTokenDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_RedeemEntitlementsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_RedeemEntitlementsName); + EOS_Ecom_RedeemEntitlements = (EOS_Ecom_RedeemEntitlementsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_RedeemEntitlementsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_Transaction_CopyEntitlementByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_Transaction_CopyEntitlementByIndexName); + EOS_Ecom_Transaction_CopyEntitlementByIndex = (EOS_Ecom_Transaction_CopyEntitlementByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_Transaction_CopyEntitlementByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_Transaction_GetEntitlementsCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_Transaction_GetEntitlementsCountName); + EOS_Ecom_Transaction_GetEntitlementsCount = (EOS_Ecom_Transaction_GetEntitlementsCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_Transaction_GetEntitlementsCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_Transaction_GetTransactionIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_Transaction_GetTransactionIdName); + EOS_Ecom_Transaction_GetTransactionId = (EOS_Ecom_Transaction_GetTransactionIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_Transaction_GetTransactionIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Ecom_Transaction_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Ecom_Transaction_ReleaseName); + EOS_Ecom_Transaction_Release = (EOS_Ecom_Transaction_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Ecom_Transaction_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_EpicAccountId_FromStringName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_EpicAccountId_FromStringName); + EOS_EpicAccountId_FromString = (EOS_EpicAccountId_FromStringDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_EpicAccountId_FromStringDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_EpicAccountId_IsValidName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_EpicAccountId_IsValidName); + EOS_EpicAccountId_IsValid = (EOS_EpicAccountId_IsValidDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_EpicAccountId_IsValidDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_EpicAccountId_ToStringName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_EpicAccountId_ToStringName); + EOS_EpicAccountId_ToString = (EOS_EpicAccountId_ToStringDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_EpicAccountId_ToStringDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Friends_AcceptInviteName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Friends_AcceptInviteName); + EOS_Friends_AcceptInvite = (EOS_Friends_AcceptInviteDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_AcceptInviteDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Friends_AddNotifyFriendsUpdateName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Friends_AddNotifyFriendsUpdateName); + EOS_Friends_AddNotifyFriendsUpdate = (EOS_Friends_AddNotifyFriendsUpdateDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_AddNotifyFriendsUpdateDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Friends_GetFriendAtIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Friends_GetFriendAtIndexName); + EOS_Friends_GetFriendAtIndex = (EOS_Friends_GetFriendAtIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_GetFriendAtIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Friends_GetFriendsCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Friends_GetFriendsCountName); + EOS_Friends_GetFriendsCount = (EOS_Friends_GetFriendsCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_GetFriendsCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Friends_GetStatusName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Friends_GetStatusName); + EOS_Friends_GetStatus = (EOS_Friends_GetStatusDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_GetStatusDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Friends_QueryFriendsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Friends_QueryFriendsName); + EOS_Friends_QueryFriends = (EOS_Friends_QueryFriendsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_QueryFriendsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Friends_RejectInviteName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Friends_RejectInviteName); + EOS_Friends_RejectInvite = (EOS_Friends_RejectInviteDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_RejectInviteDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Friends_RemoveNotifyFriendsUpdateName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Friends_RemoveNotifyFriendsUpdateName); + EOS_Friends_RemoveNotifyFriendsUpdate = (EOS_Friends_RemoveNotifyFriendsUpdateDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_RemoveNotifyFriendsUpdateDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Friends_SendInviteName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Friends_SendInviteName); + EOS_Friends_SendInvite = (EOS_Friends_SendInviteDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Friends_SendInviteDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_GetVersionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_GetVersionName); + EOS_GetVersion = (EOS_GetVersionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_GetVersionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_InitializeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_InitializeName); + EOS_Initialize = (EOS_InitializeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_InitializeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_IntegratedPlatformOptionsContainer_AddName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_IntegratedPlatformOptionsContainer_AddName); + EOS_IntegratedPlatformOptionsContainer_Add = (EOS_IntegratedPlatformOptionsContainer_AddDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_IntegratedPlatformOptionsContainer_AddDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_IntegratedPlatformOptionsContainer_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_IntegratedPlatformOptionsContainer_ReleaseName); + EOS_IntegratedPlatformOptionsContainer_Release = (EOS_IntegratedPlatformOptionsContainer_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_IntegratedPlatformOptionsContainer_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainerName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainerName); + EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainer = (EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainerDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainerDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_KWS_AddNotifyPermissionsUpdateReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_KWS_AddNotifyPermissionsUpdateReceivedName); + EOS_KWS_AddNotifyPermissionsUpdateReceived = (EOS_KWS_AddNotifyPermissionsUpdateReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_AddNotifyPermissionsUpdateReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_KWS_CopyPermissionByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_KWS_CopyPermissionByIndexName); + EOS_KWS_CopyPermissionByIndex = (EOS_KWS_CopyPermissionByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_CopyPermissionByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_KWS_CreateUserName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_KWS_CreateUserName); + EOS_KWS_CreateUser = (EOS_KWS_CreateUserDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_CreateUserDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_KWS_GetPermissionByKeyName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_KWS_GetPermissionByKeyName); + EOS_KWS_GetPermissionByKey = (EOS_KWS_GetPermissionByKeyDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_GetPermissionByKeyDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_KWS_GetPermissionsCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_KWS_GetPermissionsCountName); + EOS_KWS_GetPermissionsCount = (EOS_KWS_GetPermissionsCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_GetPermissionsCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_KWS_PermissionStatus_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_KWS_PermissionStatus_ReleaseName); + EOS_KWS_PermissionStatus_Release = (EOS_KWS_PermissionStatus_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_PermissionStatus_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_KWS_QueryAgeGateName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_KWS_QueryAgeGateName); + EOS_KWS_QueryAgeGate = (EOS_KWS_QueryAgeGateDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_QueryAgeGateDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_KWS_QueryPermissionsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_KWS_QueryPermissionsName); + EOS_KWS_QueryPermissions = (EOS_KWS_QueryPermissionsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_QueryPermissionsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_KWS_RemoveNotifyPermissionsUpdateReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_KWS_RemoveNotifyPermissionsUpdateReceivedName); + EOS_KWS_RemoveNotifyPermissionsUpdateReceived = (EOS_KWS_RemoveNotifyPermissionsUpdateReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_RemoveNotifyPermissionsUpdateReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_KWS_RequestPermissionsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_KWS_RequestPermissionsName); + EOS_KWS_RequestPermissions = (EOS_KWS_RequestPermissionsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_RequestPermissionsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_KWS_UpdateParentEmailName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_KWS_UpdateParentEmailName); + EOS_KWS_UpdateParentEmail = (EOS_KWS_UpdateParentEmailDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_KWS_UpdateParentEmailDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_CopyLeaderboardDefinitionByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_CopyLeaderboardDefinitionByIndexName); + EOS_Leaderboards_CopyLeaderboardDefinitionByIndex = (EOS_Leaderboards_CopyLeaderboardDefinitionByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_CopyLeaderboardDefinitionByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardIdName); + EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId = (EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_CopyLeaderboardRecordByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_CopyLeaderboardRecordByIndexName); + EOS_Leaderboards_CopyLeaderboardRecordByIndex = (EOS_Leaderboards_CopyLeaderboardRecordByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_CopyLeaderboardRecordByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_CopyLeaderboardRecordByUserIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_CopyLeaderboardRecordByUserIdName); + EOS_Leaderboards_CopyLeaderboardRecordByUserId = (EOS_Leaderboards_CopyLeaderboardRecordByUserIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_CopyLeaderboardRecordByUserIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_CopyLeaderboardUserScoreByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_CopyLeaderboardUserScoreByIndexName); + EOS_Leaderboards_CopyLeaderboardUserScoreByIndex = (EOS_Leaderboards_CopyLeaderboardUserScoreByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_CopyLeaderboardUserScoreByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_CopyLeaderboardUserScoreByUserIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_CopyLeaderboardUserScoreByUserIdName); + EOS_Leaderboards_CopyLeaderboardUserScoreByUserId = (EOS_Leaderboards_CopyLeaderboardUserScoreByUserIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_CopyLeaderboardUserScoreByUserIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_Definition_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_Definition_ReleaseName); + EOS_Leaderboards_Definition_Release = (EOS_Leaderboards_Definition_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_Definition_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_GetLeaderboardDefinitionCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_GetLeaderboardDefinitionCountName); + EOS_Leaderboards_GetLeaderboardDefinitionCount = (EOS_Leaderboards_GetLeaderboardDefinitionCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_GetLeaderboardDefinitionCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_GetLeaderboardRecordCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_GetLeaderboardRecordCountName); + EOS_Leaderboards_GetLeaderboardRecordCount = (EOS_Leaderboards_GetLeaderboardRecordCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_GetLeaderboardRecordCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_GetLeaderboardUserScoreCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_GetLeaderboardUserScoreCountName); + EOS_Leaderboards_GetLeaderboardUserScoreCount = (EOS_Leaderboards_GetLeaderboardUserScoreCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_GetLeaderboardUserScoreCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_LeaderboardDefinition_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_LeaderboardDefinition_ReleaseName); + EOS_Leaderboards_LeaderboardDefinition_Release = (EOS_Leaderboards_LeaderboardDefinition_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_LeaderboardDefinition_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_LeaderboardRecord_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_LeaderboardRecord_ReleaseName); + EOS_Leaderboards_LeaderboardRecord_Release = (EOS_Leaderboards_LeaderboardRecord_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_LeaderboardRecord_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_LeaderboardUserScore_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_LeaderboardUserScore_ReleaseName); + EOS_Leaderboards_LeaderboardUserScore_Release = (EOS_Leaderboards_LeaderboardUserScore_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_LeaderboardUserScore_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_QueryLeaderboardDefinitionsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_QueryLeaderboardDefinitionsName); + EOS_Leaderboards_QueryLeaderboardDefinitions = (EOS_Leaderboards_QueryLeaderboardDefinitionsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_QueryLeaderboardDefinitionsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_QueryLeaderboardRanksName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_QueryLeaderboardRanksName); + EOS_Leaderboards_QueryLeaderboardRanks = (EOS_Leaderboards_QueryLeaderboardRanksDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_QueryLeaderboardRanksDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Leaderboards_QueryLeaderboardUserScoresName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Leaderboards_QueryLeaderboardUserScoresName); + EOS_Leaderboards_QueryLeaderboardUserScores = (EOS_Leaderboards_QueryLeaderboardUserScoresDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Leaderboards_QueryLeaderboardUserScoresDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyDetails_CopyAttributeByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyDetails_CopyAttributeByIndexName); + EOS_LobbyDetails_CopyAttributeByIndex = (EOS_LobbyDetails_CopyAttributeByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_CopyAttributeByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyDetails_CopyAttributeByKeyName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyDetails_CopyAttributeByKeyName); + EOS_LobbyDetails_CopyAttributeByKey = (EOS_LobbyDetails_CopyAttributeByKeyDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_CopyAttributeByKeyDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyDetails_CopyInfoName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyDetails_CopyInfoName); + EOS_LobbyDetails_CopyInfo = (EOS_LobbyDetails_CopyInfoDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_CopyInfoDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyDetails_CopyMemberAttributeByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyDetails_CopyMemberAttributeByIndexName); + EOS_LobbyDetails_CopyMemberAttributeByIndex = (EOS_LobbyDetails_CopyMemberAttributeByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_CopyMemberAttributeByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyDetails_CopyMemberAttributeByKeyName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyDetails_CopyMemberAttributeByKeyName); + EOS_LobbyDetails_CopyMemberAttributeByKey = (EOS_LobbyDetails_CopyMemberAttributeByKeyDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_CopyMemberAttributeByKeyDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyDetails_GetAttributeCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyDetails_GetAttributeCountName); + EOS_LobbyDetails_GetAttributeCount = (EOS_LobbyDetails_GetAttributeCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_GetAttributeCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyDetails_GetLobbyOwnerName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyDetails_GetLobbyOwnerName); + EOS_LobbyDetails_GetLobbyOwner = (EOS_LobbyDetails_GetLobbyOwnerDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_GetLobbyOwnerDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyDetails_GetMemberAttributeCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyDetails_GetMemberAttributeCountName); + EOS_LobbyDetails_GetMemberAttributeCount = (EOS_LobbyDetails_GetMemberAttributeCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_GetMemberAttributeCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyDetails_GetMemberByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyDetails_GetMemberByIndexName); + EOS_LobbyDetails_GetMemberByIndex = (EOS_LobbyDetails_GetMemberByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_GetMemberByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyDetails_GetMemberCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyDetails_GetMemberCountName); + EOS_LobbyDetails_GetMemberCount = (EOS_LobbyDetails_GetMemberCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_GetMemberCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyDetails_Info_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyDetails_Info_ReleaseName); + EOS_LobbyDetails_Info_Release = (EOS_LobbyDetails_Info_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_Info_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyDetails_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyDetails_ReleaseName); + EOS_LobbyDetails_Release = (EOS_LobbyDetails_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyDetails_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyModification_AddAttributeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyModification_AddAttributeName); + EOS_LobbyModification_AddAttribute = (EOS_LobbyModification_AddAttributeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_AddAttributeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyModification_AddMemberAttributeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyModification_AddMemberAttributeName); + EOS_LobbyModification_AddMemberAttribute = (EOS_LobbyModification_AddMemberAttributeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_AddMemberAttributeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyModification_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyModification_ReleaseName); + EOS_LobbyModification_Release = (EOS_LobbyModification_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyModification_RemoveAttributeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyModification_RemoveAttributeName); + EOS_LobbyModification_RemoveAttribute = (EOS_LobbyModification_RemoveAttributeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_RemoveAttributeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyModification_RemoveMemberAttributeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyModification_RemoveMemberAttributeName); + EOS_LobbyModification_RemoveMemberAttribute = (EOS_LobbyModification_RemoveMemberAttributeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_RemoveMemberAttributeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyModification_SetBucketIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyModification_SetBucketIdName); + EOS_LobbyModification_SetBucketId = (EOS_LobbyModification_SetBucketIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_SetBucketIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyModification_SetInvitesAllowedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyModification_SetInvitesAllowedName); + EOS_LobbyModification_SetInvitesAllowed = (EOS_LobbyModification_SetInvitesAllowedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_SetInvitesAllowedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyModification_SetMaxMembersName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyModification_SetMaxMembersName); + EOS_LobbyModification_SetMaxMembers = (EOS_LobbyModification_SetMaxMembersDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_SetMaxMembersDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbyModification_SetPermissionLevelName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbyModification_SetPermissionLevelName); + EOS_LobbyModification_SetPermissionLevel = (EOS_LobbyModification_SetPermissionLevelDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbyModification_SetPermissionLevelDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbySearch_CopySearchResultByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbySearch_CopySearchResultByIndexName); + EOS_LobbySearch_CopySearchResultByIndex = (EOS_LobbySearch_CopySearchResultByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_CopySearchResultByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbySearch_FindName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbySearch_FindName); + EOS_LobbySearch_Find = (EOS_LobbySearch_FindDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_FindDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbySearch_GetSearchResultCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbySearch_GetSearchResultCountName); + EOS_LobbySearch_GetSearchResultCount = (EOS_LobbySearch_GetSearchResultCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_GetSearchResultCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbySearch_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbySearch_ReleaseName); + EOS_LobbySearch_Release = (EOS_LobbySearch_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbySearch_RemoveParameterName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbySearch_RemoveParameterName); + EOS_LobbySearch_RemoveParameter = (EOS_LobbySearch_RemoveParameterDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_RemoveParameterDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbySearch_SetLobbyIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbySearch_SetLobbyIdName); + EOS_LobbySearch_SetLobbyId = (EOS_LobbySearch_SetLobbyIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_SetLobbyIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbySearch_SetMaxResultsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbySearch_SetMaxResultsName); + EOS_LobbySearch_SetMaxResults = (EOS_LobbySearch_SetMaxResultsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_SetMaxResultsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbySearch_SetParameterName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbySearch_SetParameterName); + EOS_LobbySearch_SetParameter = (EOS_LobbySearch_SetParameterDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_SetParameterDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_LobbySearch_SetTargetUserIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_LobbySearch_SetTargetUserIdName); + EOS_LobbySearch_SetTargetUserId = (EOS_LobbySearch_SetTargetUserIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_LobbySearch_SetTargetUserIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_AddNotifyJoinLobbyAcceptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_AddNotifyJoinLobbyAcceptedName); + EOS_Lobby_AddNotifyJoinLobbyAccepted = (EOS_Lobby_AddNotifyJoinLobbyAcceptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyJoinLobbyAcceptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_AddNotifyLobbyInviteAcceptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_AddNotifyLobbyInviteAcceptedName); + EOS_Lobby_AddNotifyLobbyInviteAccepted = (EOS_Lobby_AddNotifyLobbyInviteAcceptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyLobbyInviteAcceptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_AddNotifyLobbyInviteReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_AddNotifyLobbyInviteReceivedName); + EOS_Lobby_AddNotifyLobbyInviteReceived = (EOS_Lobby_AddNotifyLobbyInviteReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyLobbyInviteReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_AddNotifyLobbyInviteRejectedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_AddNotifyLobbyInviteRejectedName); + EOS_Lobby_AddNotifyLobbyInviteRejected = (EOS_Lobby_AddNotifyLobbyInviteRejectedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyLobbyInviteRejectedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_AddNotifyLobbyMemberStatusReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_AddNotifyLobbyMemberStatusReceivedName); + EOS_Lobby_AddNotifyLobbyMemberStatusReceived = (EOS_Lobby_AddNotifyLobbyMemberStatusReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyLobbyMemberStatusReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_AddNotifyLobbyMemberUpdateReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_AddNotifyLobbyMemberUpdateReceivedName); + EOS_Lobby_AddNotifyLobbyMemberUpdateReceived = (EOS_Lobby_AddNotifyLobbyMemberUpdateReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyLobbyMemberUpdateReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_AddNotifyLobbyUpdateReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_AddNotifyLobbyUpdateReceivedName); + EOS_Lobby_AddNotifyLobbyUpdateReceived = (EOS_Lobby_AddNotifyLobbyUpdateReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyLobbyUpdateReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_AddNotifyRTCRoomConnectionChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_AddNotifyRTCRoomConnectionChangedName); + EOS_Lobby_AddNotifyRTCRoomConnectionChanged = (EOS_Lobby_AddNotifyRTCRoomConnectionChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifyRTCRoomConnectionChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_AddNotifySendLobbyNativeInviteRequestedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_AddNotifySendLobbyNativeInviteRequestedName); + EOS_Lobby_AddNotifySendLobbyNativeInviteRequested = (EOS_Lobby_AddNotifySendLobbyNativeInviteRequestedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_AddNotifySendLobbyNativeInviteRequestedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_Attribute_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_Attribute_ReleaseName); + EOS_Lobby_Attribute_Release = (EOS_Lobby_Attribute_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_Attribute_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_CopyLobbyDetailsHandleName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_CopyLobbyDetailsHandleName); + EOS_Lobby_CopyLobbyDetailsHandle = (EOS_Lobby_CopyLobbyDetailsHandleDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_CopyLobbyDetailsHandleDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_CopyLobbyDetailsHandleByInviteIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_CopyLobbyDetailsHandleByInviteIdName); + EOS_Lobby_CopyLobbyDetailsHandleByInviteId = (EOS_Lobby_CopyLobbyDetailsHandleByInviteIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_CopyLobbyDetailsHandleByInviteIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_CopyLobbyDetailsHandleByUiEventIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_CopyLobbyDetailsHandleByUiEventIdName); + EOS_Lobby_CopyLobbyDetailsHandleByUiEventId = (EOS_Lobby_CopyLobbyDetailsHandleByUiEventIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_CopyLobbyDetailsHandleByUiEventIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_CreateLobbyName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_CreateLobbyName); + EOS_Lobby_CreateLobby = (EOS_Lobby_CreateLobbyDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_CreateLobbyDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_CreateLobbySearchName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_CreateLobbySearchName); + EOS_Lobby_CreateLobbySearch = (EOS_Lobby_CreateLobbySearchDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_CreateLobbySearchDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_DestroyLobbyName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_DestroyLobbyName); + EOS_Lobby_DestroyLobby = (EOS_Lobby_DestroyLobbyDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_DestroyLobbyDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_GetInviteCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_GetInviteCountName); + EOS_Lobby_GetInviteCount = (EOS_Lobby_GetInviteCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_GetInviteCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_GetInviteIdByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_GetInviteIdByIndexName); + EOS_Lobby_GetInviteIdByIndex = (EOS_Lobby_GetInviteIdByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_GetInviteIdByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_GetRTCRoomNameName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_GetRTCRoomNameName); + EOS_Lobby_GetRTCRoomName = (EOS_Lobby_GetRTCRoomNameDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_GetRTCRoomNameDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_HardMuteMemberName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_HardMuteMemberName); + EOS_Lobby_HardMuteMember = (EOS_Lobby_HardMuteMemberDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_HardMuteMemberDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_IsRTCRoomConnectedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_IsRTCRoomConnectedName); + EOS_Lobby_IsRTCRoomConnected = (EOS_Lobby_IsRTCRoomConnectedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_IsRTCRoomConnectedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_JoinLobbyName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_JoinLobbyName); + EOS_Lobby_JoinLobby = (EOS_Lobby_JoinLobbyDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_JoinLobbyDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_JoinLobbyByIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_JoinLobbyByIdName); + EOS_Lobby_JoinLobbyById = (EOS_Lobby_JoinLobbyByIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_JoinLobbyByIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_KickMemberName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_KickMemberName); + EOS_Lobby_KickMember = (EOS_Lobby_KickMemberDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_KickMemberDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_LeaveLobbyName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_LeaveLobbyName); + EOS_Lobby_LeaveLobby = (EOS_Lobby_LeaveLobbyDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_LeaveLobbyDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_PromoteMemberName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_PromoteMemberName); + EOS_Lobby_PromoteMember = (EOS_Lobby_PromoteMemberDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_PromoteMemberDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_QueryInvitesName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_QueryInvitesName); + EOS_Lobby_QueryInvites = (EOS_Lobby_QueryInvitesDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_QueryInvitesDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_RejectInviteName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_RejectInviteName); + EOS_Lobby_RejectInvite = (EOS_Lobby_RejectInviteDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RejectInviteDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_RemoveNotifyJoinLobbyAcceptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_RemoveNotifyJoinLobbyAcceptedName); + EOS_Lobby_RemoveNotifyJoinLobbyAccepted = (EOS_Lobby_RemoveNotifyJoinLobbyAcceptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyJoinLobbyAcceptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_RemoveNotifyLobbyInviteAcceptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_RemoveNotifyLobbyInviteAcceptedName); + EOS_Lobby_RemoveNotifyLobbyInviteAccepted = (EOS_Lobby_RemoveNotifyLobbyInviteAcceptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyLobbyInviteAcceptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_RemoveNotifyLobbyInviteReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_RemoveNotifyLobbyInviteReceivedName); + EOS_Lobby_RemoveNotifyLobbyInviteReceived = (EOS_Lobby_RemoveNotifyLobbyInviteReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyLobbyInviteReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_RemoveNotifyLobbyInviteRejectedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_RemoveNotifyLobbyInviteRejectedName); + EOS_Lobby_RemoveNotifyLobbyInviteRejected = (EOS_Lobby_RemoveNotifyLobbyInviteRejectedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyLobbyInviteRejectedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_RemoveNotifyLobbyMemberStatusReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_RemoveNotifyLobbyMemberStatusReceivedName); + EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived = (EOS_Lobby_RemoveNotifyLobbyMemberStatusReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyLobbyMemberStatusReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceivedName); + EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived = (EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_RemoveNotifyLobbyUpdateReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_RemoveNotifyLobbyUpdateReceivedName); + EOS_Lobby_RemoveNotifyLobbyUpdateReceived = (EOS_Lobby_RemoveNotifyLobbyUpdateReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyLobbyUpdateReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_RemoveNotifyRTCRoomConnectionChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_RemoveNotifyRTCRoomConnectionChangedName); + EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged = (EOS_Lobby_RemoveNotifyRTCRoomConnectionChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifyRTCRoomConnectionChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequestedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequestedName); + EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequested = (EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequestedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequestedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_SendInviteName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_SendInviteName); + EOS_Lobby_SendInvite = (EOS_Lobby_SendInviteDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_SendInviteDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_UpdateLobbyName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_UpdateLobbyName); + EOS_Lobby_UpdateLobby = (EOS_Lobby_UpdateLobbyDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_UpdateLobbyDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Lobby_UpdateLobbyModificationName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Lobby_UpdateLobbyModificationName); + EOS_Lobby_UpdateLobbyModification = (EOS_Lobby_UpdateLobbyModificationDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Lobby_UpdateLobbyModificationDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Logging_SetCallbackName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Logging_SetCallbackName); + EOS_Logging_SetCallback = (EOS_Logging_SetCallbackDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Logging_SetCallbackDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Logging_SetLogLevelName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Logging_SetLogLevelName); + EOS_Logging_SetLogLevel = (EOS_Logging_SetLogLevelDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Logging_SetLogLevelDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Metrics_BeginPlayerSessionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Metrics_BeginPlayerSessionName); + EOS_Metrics_BeginPlayerSession = (EOS_Metrics_BeginPlayerSessionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Metrics_BeginPlayerSessionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Metrics_EndPlayerSessionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Metrics_EndPlayerSessionName); + EOS_Metrics_EndPlayerSession = (EOS_Metrics_EndPlayerSessionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Metrics_EndPlayerSessionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Mods_CopyModInfoName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Mods_CopyModInfoName); + EOS_Mods_CopyModInfo = (EOS_Mods_CopyModInfoDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Mods_CopyModInfoDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Mods_EnumerateModsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Mods_EnumerateModsName); + EOS_Mods_EnumerateMods = (EOS_Mods_EnumerateModsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Mods_EnumerateModsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Mods_InstallModName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Mods_InstallModName); + EOS_Mods_InstallMod = (EOS_Mods_InstallModDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Mods_InstallModDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Mods_ModInfo_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Mods_ModInfo_ReleaseName); + EOS_Mods_ModInfo_Release = (EOS_Mods_ModInfo_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Mods_ModInfo_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Mods_UninstallModName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Mods_UninstallModName); + EOS_Mods_UninstallMod = (EOS_Mods_UninstallModDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Mods_UninstallModDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Mods_UpdateModName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Mods_UpdateModName); + EOS_Mods_UpdateMod = (EOS_Mods_UpdateModDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Mods_UpdateModDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_AcceptConnectionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_AcceptConnectionName); + EOS_P2P_AcceptConnection = (EOS_P2P_AcceptConnectionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_AcceptConnectionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_AddNotifyIncomingPacketQueueFullName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_AddNotifyIncomingPacketQueueFullName); + EOS_P2P_AddNotifyIncomingPacketQueueFull = (EOS_P2P_AddNotifyIncomingPacketQueueFullDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_AddNotifyIncomingPacketQueueFullDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_AddNotifyPeerConnectionClosedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_AddNotifyPeerConnectionClosedName); + EOS_P2P_AddNotifyPeerConnectionClosed = (EOS_P2P_AddNotifyPeerConnectionClosedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_AddNotifyPeerConnectionClosedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_AddNotifyPeerConnectionEstablishedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_AddNotifyPeerConnectionEstablishedName); + EOS_P2P_AddNotifyPeerConnectionEstablished = (EOS_P2P_AddNotifyPeerConnectionEstablishedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_AddNotifyPeerConnectionEstablishedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_AddNotifyPeerConnectionInterruptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_AddNotifyPeerConnectionInterruptedName); + EOS_P2P_AddNotifyPeerConnectionInterrupted = (EOS_P2P_AddNotifyPeerConnectionInterruptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_AddNotifyPeerConnectionInterruptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_AddNotifyPeerConnectionRequestName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_AddNotifyPeerConnectionRequestName); + EOS_P2P_AddNotifyPeerConnectionRequest = (EOS_P2P_AddNotifyPeerConnectionRequestDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_AddNotifyPeerConnectionRequestDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_ClearPacketQueueName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_ClearPacketQueueName); + EOS_P2P_ClearPacketQueue = (EOS_P2P_ClearPacketQueueDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_ClearPacketQueueDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_CloseConnectionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_CloseConnectionName); + EOS_P2P_CloseConnection = (EOS_P2P_CloseConnectionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_CloseConnectionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_CloseConnectionsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_CloseConnectionsName); + EOS_P2P_CloseConnections = (EOS_P2P_CloseConnectionsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_CloseConnectionsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_GetNATTypeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_GetNATTypeName); + EOS_P2P_GetNATType = (EOS_P2P_GetNATTypeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_GetNATTypeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_GetNextReceivedPacketSizeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_GetNextReceivedPacketSizeName); + EOS_P2P_GetNextReceivedPacketSize = (EOS_P2P_GetNextReceivedPacketSizeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_GetNextReceivedPacketSizeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_GetPacketQueueInfoName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_GetPacketQueueInfoName); + EOS_P2P_GetPacketQueueInfo = (EOS_P2P_GetPacketQueueInfoDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_GetPacketQueueInfoDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_GetPortRangeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_GetPortRangeName); + EOS_P2P_GetPortRange = (EOS_P2P_GetPortRangeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_GetPortRangeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_GetRelayControlName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_GetRelayControlName); + EOS_P2P_GetRelayControl = (EOS_P2P_GetRelayControlDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_GetRelayControlDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_QueryNATTypeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_QueryNATTypeName); + EOS_P2P_QueryNATType = (EOS_P2P_QueryNATTypeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_QueryNATTypeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_ReceivePacketName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_ReceivePacketName); + EOS_P2P_ReceivePacket = (EOS_P2P_ReceivePacketDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_ReceivePacketDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_RemoveNotifyIncomingPacketQueueFullName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_RemoveNotifyIncomingPacketQueueFullName); + EOS_P2P_RemoveNotifyIncomingPacketQueueFull = (EOS_P2P_RemoveNotifyIncomingPacketQueueFullDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_RemoveNotifyIncomingPacketQueueFullDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_RemoveNotifyPeerConnectionClosedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_RemoveNotifyPeerConnectionClosedName); + EOS_P2P_RemoveNotifyPeerConnectionClosed = (EOS_P2P_RemoveNotifyPeerConnectionClosedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_RemoveNotifyPeerConnectionClosedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_RemoveNotifyPeerConnectionEstablishedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_RemoveNotifyPeerConnectionEstablishedName); + EOS_P2P_RemoveNotifyPeerConnectionEstablished = (EOS_P2P_RemoveNotifyPeerConnectionEstablishedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_RemoveNotifyPeerConnectionEstablishedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_RemoveNotifyPeerConnectionInterruptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_RemoveNotifyPeerConnectionInterruptedName); + EOS_P2P_RemoveNotifyPeerConnectionInterrupted = (EOS_P2P_RemoveNotifyPeerConnectionInterruptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_RemoveNotifyPeerConnectionInterruptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_RemoveNotifyPeerConnectionRequestName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_RemoveNotifyPeerConnectionRequestName); + EOS_P2P_RemoveNotifyPeerConnectionRequest = (EOS_P2P_RemoveNotifyPeerConnectionRequestDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_RemoveNotifyPeerConnectionRequestDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_SendPacketName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_SendPacketName); + EOS_P2P_SendPacket = (EOS_P2P_SendPacketDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_SendPacketDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_SetPacketQueueSizeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_SetPacketQueueSizeName); + EOS_P2P_SetPacketQueueSize = (EOS_P2P_SetPacketQueueSizeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_SetPacketQueueSizeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_SetPortRangeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_SetPortRangeName); + EOS_P2P_SetPortRange = (EOS_P2P_SetPortRangeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_SetPortRangeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_P2P_SetRelayControlName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_P2P_SetRelayControlName); + EOS_P2P_SetRelayControl = (EOS_P2P_SetRelayControlDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_P2P_SetRelayControlDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_CheckForLauncherAndRestartName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_CheckForLauncherAndRestartName); + EOS_Platform_CheckForLauncherAndRestart = (EOS_Platform_CheckForLauncherAndRestartDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_CheckForLauncherAndRestartDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_CreateName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_CreateName); + EOS_Platform_Create = (EOS_Platform_CreateDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_CreateDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetAchievementsInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetAchievementsInterfaceName); + EOS_Platform_GetAchievementsInterface = (EOS_Platform_GetAchievementsInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetAchievementsInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetActiveCountryCodeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetActiveCountryCodeName); + EOS_Platform_GetActiveCountryCode = (EOS_Platform_GetActiveCountryCodeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetActiveCountryCodeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetActiveLocaleCodeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetActiveLocaleCodeName); + EOS_Platform_GetActiveLocaleCode = (EOS_Platform_GetActiveLocaleCodeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetActiveLocaleCodeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetAntiCheatClientInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetAntiCheatClientInterfaceName); + EOS_Platform_GetAntiCheatClientInterface = (EOS_Platform_GetAntiCheatClientInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetAntiCheatClientInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetAntiCheatServerInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetAntiCheatServerInterfaceName); + EOS_Platform_GetAntiCheatServerInterface = (EOS_Platform_GetAntiCheatServerInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetAntiCheatServerInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetApplicationStatusName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetApplicationStatusName); + EOS_Platform_GetApplicationStatus = (EOS_Platform_GetApplicationStatusDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetApplicationStatusDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetAuthInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetAuthInterfaceName); + EOS_Platform_GetAuthInterface = (EOS_Platform_GetAuthInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetAuthInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetConnectInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetConnectInterfaceName); + EOS_Platform_GetConnectInterface = (EOS_Platform_GetConnectInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetConnectInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetCustomInvitesInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetCustomInvitesInterfaceName); + EOS_Platform_GetCustomInvitesInterface = (EOS_Platform_GetCustomInvitesInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetCustomInvitesInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetDesktopCrossplayStatusName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetDesktopCrossplayStatusName); + EOS_Platform_GetDesktopCrossplayStatus = (EOS_Platform_GetDesktopCrossplayStatusDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetDesktopCrossplayStatusDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetEcomInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetEcomInterfaceName); + EOS_Platform_GetEcomInterface = (EOS_Platform_GetEcomInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetEcomInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetFriendsInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetFriendsInterfaceName); + EOS_Platform_GetFriendsInterface = (EOS_Platform_GetFriendsInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetFriendsInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetKWSInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetKWSInterfaceName); + EOS_Platform_GetKWSInterface = (EOS_Platform_GetKWSInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetKWSInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetLeaderboardsInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetLeaderboardsInterfaceName); + EOS_Platform_GetLeaderboardsInterface = (EOS_Platform_GetLeaderboardsInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetLeaderboardsInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetLobbyInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetLobbyInterfaceName); + EOS_Platform_GetLobbyInterface = (EOS_Platform_GetLobbyInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetLobbyInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetMetricsInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetMetricsInterfaceName); + EOS_Platform_GetMetricsInterface = (EOS_Platform_GetMetricsInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetMetricsInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetModsInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetModsInterfaceName); + EOS_Platform_GetModsInterface = (EOS_Platform_GetModsInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetModsInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetNetworkStatusName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetNetworkStatusName); + EOS_Platform_GetNetworkStatus = (EOS_Platform_GetNetworkStatusDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetNetworkStatusDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetOverrideCountryCodeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetOverrideCountryCodeName); + EOS_Platform_GetOverrideCountryCode = (EOS_Platform_GetOverrideCountryCodeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetOverrideCountryCodeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetOverrideLocaleCodeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetOverrideLocaleCodeName); + EOS_Platform_GetOverrideLocaleCode = (EOS_Platform_GetOverrideLocaleCodeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetOverrideLocaleCodeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetP2PInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetP2PInterfaceName); + EOS_Platform_GetP2PInterface = (EOS_Platform_GetP2PInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetP2PInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetPlayerDataStorageInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetPlayerDataStorageInterfaceName); + EOS_Platform_GetPlayerDataStorageInterface = (EOS_Platform_GetPlayerDataStorageInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetPlayerDataStorageInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetPresenceInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetPresenceInterfaceName); + EOS_Platform_GetPresenceInterface = (EOS_Platform_GetPresenceInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetPresenceInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetProgressionSnapshotInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetProgressionSnapshotInterfaceName); + EOS_Platform_GetProgressionSnapshotInterface = (EOS_Platform_GetProgressionSnapshotInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetProgressionSnapshotInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetRTCAdminInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetRTCAdminInterfaceName); + EOS_Platform_GetRTCAdminInterface = (EOS_Platform_GetRTCAdminInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetRTCAdminInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetRTCInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetRTCInterfaceName); + EOS_Platform_GetRTCInterface = (EOS_Platform_GetRTCInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetRTCInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetReportsInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetReportsInterfaceName); + EOS_Platform_GetReportsInterface = (EOS_Platform_GetReportsInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetReportsInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetSanctionsInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetSanctionsInterfaceName); + EOS_Platform_GetSanctionsInterface = (EOS_Platform_GetSanctionsInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetSanctionsInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetSessionsInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetSessionsInterfaceName); + EOS_Platform_GetSessionsInterface = (EOS_Platform_GetSessionsInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetSessionsInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetStatsInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetStatsInterfaceName); + EOS_Platform_GetStatsInterface = (EOS_Platform_GetStatsInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetStatsInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetTitleStorageInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetTitleStorageInterfaceName); + EOS_Platform_GetTitleStorageInterface = (EOS_Platform_GetTitleStorageInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetTitleStorageInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetUIInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetUIInterfaceName); + EOS_Platform_GetUIInterface = (EOS_Platform_GetUIInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetUIInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_GetUserInfoInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_GetUserInfoInterfaceName); + EOS_Platform_GetUserInfoInterface = (EOS_Platform_GetUserInfoInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_GetUserInfoInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_ReleaseName); + EOS_Platform_Release = (EOS_Platform_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_SetApplicationStatusName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_SetApplicationStatusName); + EOS_Platform_SetApplicationStatus = (EOS_Platform_SetApplicationStatusDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_SetApplicationStatusDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_SetNetworkStatusName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_SetNetworkStatusName); + EOS_Platform_SetNetworkStatus = (EOS_Platform_SetNetworkStatusDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_SetNetworkStatusDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_SetOverrideCountryCodeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_SetOverrideCountryCodeName); + EOS_Platform_SetOverrideCountryCode = (EOS_Platform_SetOverrideCountryCodeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_SetOverrideCountryCodeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_SetOverrideLocaleCodeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_SetOverrideLocaleCodeName); + EOS_Platform_SetOverrideLocaleCode = (EOS_Platform_SetOverrideLocaleCodeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_SetOverrideLocaleCodeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_TickName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_TickName); + EOS_Platform_Tick = (EOS_Platform_TickDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_TickDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorageFileTransferRequest_CancelRequestName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorageFileTransferRequest_CancelRequestName); + EOS_PlayerDataStorageFileTransferRequest_CancelRequest = (EOS_PlayerDataStorageFileTransferRequest_CancelRequestDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorageFileTransferRequest_CancelRequestDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorageFileTransferRequest_GetFileRequestStateName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorageFileTransferRequest_GetFileRequestStateName); + EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState = (EOS_PlayerDataStorageFileTransferRequest_GetFileRequestStateDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorageFileTransferRequest_GetFileRequestStateDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorageFileTransferRequest_GetFilenameName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorageFileTransferRequest_GetFilenameName); + EOS_PlayerDataStorageFileTransferRequest_GetFilename = (EOS_PlayerDataStorageFileTransferRequest_GetFilenameDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorageFileTransferRequest_GetFilenameDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorageFileTransferRequest_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorageFileTransferRequest_ReleaseName); + EOS_PlayerDataStorageFileTransferRequest_Release = (EOS_PlayerDataStorageFileTransferRequest_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorageFileTransferRequest_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorage_CopyFileMetadataAtIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorage_CopyFileMetadataAtIndexName); + EOS_PlayerDataStorage_CopyFileMetadataAtIndex = (EOS_PlayerDataStorage_CopyFileMetadataAtIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_CopyFileMetadataAtIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorage_CopyFileMetadataByFilenameName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorage_CopyFileMetadataByFilenameName); + EOS_PlayerDataStorage_CopyFileMetadataByFilename = (EOS_PlayerDataStorage_CopyFileMetadataByFilenameDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_CopyFileMetadataByFilenameDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorage_DeleteCacheName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorage_DeleteCacheName); + EOS_PlayerDataStorage_DeleteCache = (EOS_PlayerDataStorage_DeleteCacheDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_DeleteCacheDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorage_DeleteFileName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorage_DeleteFileName); + EOS_PlayerDataStorage_DeleteFile = (EOS_PlayerDataStorage_DeleteFileDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_DeleteFileDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorage_DuplicateFileName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorage_DuplicateFileName); + EOS_PlayerDataStorage_DuplicateFile = (EOS_PlayerDataStorage_DuplicateFileDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_DuplicateFileDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorage_FileMetadata_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorage_FileMetadata_ReleaseName); + EOS_PlayerDataStorage_FileMetadata_Release = (EOS_PlayerDataStorage_FileMetadata_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_FileMetadata_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorage_GetFileMetadataCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorage_GetFileMetadataCountName); + EOS_PlayerDataStorage_GetFileMetadataCount = (EOS_PlayerDataStorage_GetFileMetadataCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_GetFileMetadataCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorage_QueryFileName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorage_QueryFileName); + EOS_PlayerDataStorage_QueryFile = (EOS_PlayerDataStorage_QueryFileDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_QueryFileDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorage_QueryFileListName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorage_QueryFileListName); + EOS_PlayerDataStorage_QueryFileList = (EOS_PlayerDataStorage_QueryFileListDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_QueryFileListDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorage_ReadFileName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorage_ReadFileName); + EOS_PlayerDataStorage_ReadFile = (EOS_PlayerDataStorage_ReadFileDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_ReadFileDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PlayerDataStorage_WriteFileName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PlayerDataStorage_WriteFileName); + EOS_PlayerDataStorage_WriteFile = (EOS_PlayerDataStorage_WriteFileDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PlayerDataStorage_WriteFileDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PresenceModification_DeleteDataName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PresenceModification_DeleteDataName); + EOS_PresenceModification_DeleteData = (EOS_PresenceModification_DeleteDataDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PresenceModification_DeleteDataDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PresenceModification_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PresenceModification_ReleaseName); + EOS_PresenceModification_Release = (EOS_PresenceModification_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PresenceModification_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PresenceModification_SetDataName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PresenceModification_SetDataName); + EOS_PresenceModification_SetData = (EOS_PresenceModification_SetDataDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PresenceModification_SetDataDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PresenceModification_SetJoinInfoName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PresenceModification_SetJoinInfoName); + EOS_PresenceModification_SetJoinInfo = (EOS_PresenceModification_SetJoinInfoDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PresenceModification_SetJoinInfoDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PresenceModification_SetRawRichTextName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PresenceModification_SetRawRichTextName); + EOS_PresenceModification_SetRawRichText = (EOS_PresenceModification_SetRawRichTextDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PresenceModification_SetRawRichTextDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_PresenceModification_SetStatusName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_PresenceModification_SetStatusName); + EOS_PresenceModification_SetStatus = (EOS_PresenceModification_SetStatusDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_PresenceModification_SetStatusDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Presence_AddNotifyJoinGameAcceptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Presence_AddNotifyJoinGameAcceptedName); + EOS_Presence_AddNotifyJoinGameAccepted = (EOS_Presence_AddNotifyJoinGameAcceptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_AddNotifyJoinGameAcceptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Presence_AddNotifyOnPresenceChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Presence_AddNotifyOnPresenceChangedName); + EOS_Presence_AddNotifyOnPresenceChanged = (EOS_Presence_AddNotifyOnPresenceChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_AddNotifyOnPresenceChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Presence_CopyPresenceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Presence_CopyPresenceName); + EOS_Presence_CopyPresence = (EOS_Presence_CopyPresenceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_CopyPresenceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Presence_CreatePresenceModificationName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Presence_CreatePresenceModificationName); + EOS_Presence_CreatePresenceModification = (EOS_Presence_CreatePresenceModificationDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_CreatePresenceModificationDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Presence_GetJoinInfoName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Presence_GetJoinInfoName); + EOS_Presence_GetJoinInfo = (EOS_Presence_GetJoinInfoDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_GetJoinInfoDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Presence_HasPresenceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Presence_HasPresenceName); + EOS_Presence_HasPresence = (EOS_Presence_HasPresenceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_HasPresenceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Presence_Info_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Presence_Info_ReleaseName); + EOS_Presence_Info_Release = (EOS_Presence_Info_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_Info_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Presence_QueryPresenceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Presence_QueryPresenceName); + EOS_Presence_QueryPresence = (EOS_Presence_QueryPresenceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_QueryPresenceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Presence_RemoveNotifyJoinGameAcceptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Presence_RemoveNotifyJoinGameAcceptedName); + EOS_Presence_RemoveNotifyJoinGameAccepted = (EOS_Presence_RemoveNotifyJoinGameAcceptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_RemoveNotifyJoinGameAcceptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Presence_RemoveNotifyOnPresenceChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Presence_RemoveNotifyOnPresenceChangedName); + EOS_Presence_RemoveNotifyOnPresenceChanged = (EOS_Presence_RemoveNotifyOnPresenceChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_RemoveNotifyOnPresenceChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Presence_SetPresenceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Presence_SetPresenceName); + EOS_Presence_SetPresence = (EOS_Presence_SetPresenceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Presence_SetPresenceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ProductUserId_FromStringName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ProductUserId_FromStringName); + EOS_ProductUserId_FromString = (EOS_ProductUserId_FromStringDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ProductUserId_FromStringDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ProductUserId_IsValidName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ProductUserId_IsValidName); + EOS_ProductUserId_IsValid = (EOS_ProductUserId_IsValidDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ProductUserId_IsValidDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ProductUserId_ToStringName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ProductUserId_ToStringName); + EOS_ProductUserId_ToString = (EOS_ProductUserId_ToStringDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ProductUserId_ToStringDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ProgressionSnapshot_AddProgressionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ProgressionSnapshot_AddProgressionName); + EOS_ProgressionSnapshot_AddProgression = (EOS_ProgressionSnapshot_AddProgressionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ProgressionSnapshot_AddProgressionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ProgressionSnapshot_BeginSnapshotName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ProgressionSnapshot_BeginSnapshotName); + EOS_ProgressionSnapshot_BeginSnapshot = (EOS_ProgressionSnapshot_BeginSnapshotDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ProgressionSnapshot_BeginSnapshotDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ProgressionSnapshot_DeleteSnapshotName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ProgressionSnapshot_DeleteSnapshotName); + EOS_ProgressionSnapshot_DeleteSnapshot = (EOS_ProgressionSnapshot_DeleteSnapshotDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ProgressionSnapshot_DeleteSnapshotDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ProgressionSnapshot_EndSnapshotName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ProgressionSnapshot_EndSnapshotName); + EOS_ProgressionSnapshot_EndSnapshot = (EOS_ProgressionSnapshot_EndSnapshotDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ProgressionSnapshot_EndSnapshotDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ProgressionSnapshot_SubmitSnapshotName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ProgressionSnapshot_SubmitSnapshotName); + EOS_ProgressionSnapshot_SubmitSnapshot = (EOS_ProgressionSnapshot_SubmitSnapshotDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ProgressionSnapshot_SubmitSnapshotDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAdmin_CopyUserTokenByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAdmin_CopyUserTokenByIndexName); + EOS_RTCAdmin_CopyUserTokenByIndex = (EOS_RTCAdmin_CopyUserTokenByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAdmin_CopyUserTokenByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAdmin_CopyUserTokenByUserIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAdmin_CopyUserTokenByUserIdName); + EOS_RTCAdmin_CopyUserTokenByUserId = (EOS_RTCAdmin_CopyUserTokenByUserIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAdmin_CopyUserTokenByUserIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAdmin_KickName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAdmin_KickName); + EOS_RTCAdmin_Kick = (EOS_RTCAdmin_KickDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAdmin_KickDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAdmin_QueryJoinRoomTokenName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAdmin_QueryJoinRoomTokenName); + EOS_RTCAdmin_QueryJoinRoomToken = (EOS_RTCAdmin_QueryJoinRoomTokenDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAdmin_QueryJoinRoomTokenDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAdmin_SetParticipantHardMuteName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAdmin_SetParticipantHardMuteName); + EOS_RTCAdmin_SetParticipantHardMute = (EOS_RTCAdmin_SetParticipantHardMuteDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAdmin_SetParticipantHardMuteDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAdmin_UserToken_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAdmin_UserToken_ReleaseName); + EOS_RTCAdmin_UserToken_Release = (EOS_RTCAdmin_UserToken_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAdmin_UserToken_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_AddNotifyAudioBeforeRenderName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_AddNotifyAudioBeforeRenderName); + EOS_RTCAudio_AddNotifyAudioBeforeRender = (EOS_RTCAudio_AddNotifyAudioBeforeRenderDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_AddNotifyAudioBeforeRenderDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_AddNotifyAudioBeforeSendName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_AddNotifyAudioBeforeSendName); + EOS_RTCAudio_AddNotifyAudioBeforeSend = (EOS_RTCAudio_AddNotifyAudioBeforeSendDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_AddNotifyAudioBeforeSendDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_AddNotifyAudioDevicesChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_AddNotifyAudioDevicesChangedName); + EOS_RTCAudio_AddNotifyAudioDevicesChanged = (EOS_RTCAudio_AddNotifyAudioDevicesChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_AddNotifyAudioDevicesChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_AddNotifyAudioInputStateName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_AddNotifyAudioInputStateName); + EOS_RTCAudio_AddNotifyAudioInputState = (EOS_RTCAudio_AddNotifyAudioInputStateDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_AddNotifyAudioInputStateDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_AddNotifyAudioOutputStateName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_AddNotifyAudioOutputStateName); + EOS_RTCAudio_AddNotifyAudioOutputState = (EOS_RTCAudio_AddNotifyAudioOutputStateDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_AddNotifyAudioOutputStateDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_AddNotifyParticipantUpdatedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_AddNotifyParticipantUpdatedName); + EOS_RTCAudio_AddNotifyParticipantUpdated = (EOS_RTCAudio_AddNotifyParticipantUpdatedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_AddNotifyParticipantUpdatedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_GetAudioInputDeviceByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_GetAudioInputDeviceByIndexName); + EOS_RTCAudio_GetAudioInputDeviceByIndex = (EOS_RTCAudio_GetAudioInputDeviceByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_GetAudioInputDeviceByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_GetAudioInputDevicesCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_GetAudioInputDevicesCountName); + EOS_RTCAudio_GetAudioInputDevicesCount = (EOS_RTCAudio_GetAudioInputDevicesCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_GetAudioInputDevicesCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_GetAudioOutputDeviceByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_GetAudioOutputDeviceByIndexName); + EOS_RTCAudio_GetAudioOutputDeviceByIndex = (EOS_RTCAudio_GetAudioOutputDeviceByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_GetAudioOutputDeviceByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_GetAudioOutputDevicesCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_GetAudioOutputDevicesCountName); + EOS_RTCAudio_GetAudioOutputDevicesCount = (EOS_RTCAudio_GetAudioOutputDevicesCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_GetAudioOutputDevicesCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_RegisterPlatformAudioUserName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_RegisterPlatformAudioUserName); + EOS_RTCAudio_RegisterPlatformAudioUser = (EOS_RTCAudio_RegisterPlatformAudioUserDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RegisterPlatformAudioUserDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_RemoveNotifyAudioBeforeRenderName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_RemoveNotifyAudioBeforeRenderName); + EOS_RTCAudio_RemoveNotifyAudioBeforeRender = (EOS_RTCAudio_RemoveNotifyAudioBeforeRenderDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RemoveNotifyAudioBeforeRenderDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_RemoveNotifyAudioBeforeSendName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_RemoveNotifyAudioBeforeSendName); + EOS_RTCAudio_RemoveNotifyAudioBeforeSend = (EOS_RTCAudio_RemoveNotifyAudioBeforeSendDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RemoveNotifyAudioBeforeSendDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_RemoveNotifyAudioDevicesChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_RemoveNotifyAudioDevicesChangedName); + EOS_RTCAudio_RemoveNotifyAudioDevicesChanged = (EOS_RTCAudio_RemoveNotifyAudioDevicesChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RemoveNotifyAudioDevicesChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_RemoveNotifyAudioInputStateName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_RemoveNotifyAudioInputStateName); + EOS_RTCAudio_RemoveNotifyAudioInputState = (EOS_RTCAudio_RemoveNotifyAudioInputStateDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RemoveNotifyAudioInputStateDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_RemoveNotifyAudioOutputStateName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_RemoveNotifyAudioOutputStateName); + EOS_RTCAudio_RemoveNotifyAudioOutputState = (EOS_RTCAudio_RemoveNotifyAudioOutputStateDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RemoveNotifyAudioOutputStateDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_RemoveNotifyParticipantUpdatedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_RemoveNotifyParticipantUpdatedName); + EOS_RTCAudio_RemoveNotifyParticipantUpdated = (EOS_RTCAudio_RemoveNotifyParticipantUpdatedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_RemoveNotifyParticipantUpdatedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_SendAudioName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_SendAudioName); + EOS_RTCAudio_SendAudio = (EOS_RTCAudio_SendAudioDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_SendAudioDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_SetAudioInputSettingsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_SetAudioInputSettingsName); + EOS_RTCAudio_SetAudioInputSettings = (EOS_RTCAudio_SetAudioInputSettingsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_SetAudioInputSettingsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_SetAudioOutputSettingsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_SetAudioOutputSettingsName); + EOS_RTCAudio_SetAudioOutputSettings = (EOS_RTCAudio_SetAudioOutputSettingsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_SetAudioOutputSettingsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_UnregisterPlatformAudioUserName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_UnregisterPlatformAudioUserName); + EOS_RTCAudio_UnregisterPlatformAudioUser = (EOS_RTCAudio_UnregisterPlatformAudioUserDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_UnregisterPlatformAudioUserDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_UpdateParticipantVolumeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_UpdateParticipantVolumeName); + EOS_RTCAudio_UpdateParticipantVolume = (EOS_RTCAudio_UpdateParticipantVolumeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_UpdateParticipantVolumeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_UpdateReceivingName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_UpdateReceivingName); + EOS_RTCAudio_UpdateReceiving = (EOS_RTCAudio_UpdateReceivingDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_UpdateReceivingDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_UpdateReceivingVolumeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_UpdateReceivingVolumeName); + EOS_RTCAudio_UpdateReceivingVolume = (EOS_RTCAudio_UpdateReceivingVolumeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_UpdateReceivingVolumeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_UpdateSendingName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_UpdateSendingName); + EOS_RTCAudio_UpdateSending = (EOS_RTCAudio_UpdateSendingDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_UpdateSendingDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTCAudio_UpdateSendingVolumeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTCAudio_UpdateSendingVolumeName); + EOS_RTCAudio_UpdateSendingVolume = (EOS_RTCAudio_UpdateSendingVolumeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTCAudio_UpdateSendingVolumeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTC_AddNotifyDisconnectedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTC_AddNotifyDisconnectedName); + EOS_RTC_AddNotifyDisconnected = (EOS_RTC_AddNotifyDisconnectedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_AddNotifyDisconnectedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTC_AddNotifyParticipantStatusChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTC_AddNotifyParticipantStatusChangedName); + EOS_RTC_AddNotifyParticipantStatusChanged = (EOS_RTC_AddNotifyParticipantStatusChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_AddNotifyParticipantStatusChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTC_BlockParticipantName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTC_BlockParticipantName); + EOS_RTC_BlockParticipant = (EOS_RTC_BlockParticipantDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_BlockParticipantDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTC_GetAudioInterfaceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTC_GetAudioInterfaceName); + EOS_RTC_GetAudioInterface = (EOS_RTC_GetAudioInterfaceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_GetAudioInterfaceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTC_JoinRoomName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTC_JoinRoomName); + EOS_RTC_JoinRoom = (EOS_RTC_JoinRoomDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_JoinRoomDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTC_LeaveRoomName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTC_LeaveRoomName); + EOS_RTC_LeaveRoom = (EOS_RTC_LeaveRoomDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_LeaveRoomDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTC_RemoveNotifyDisconnectedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTC_RemoveNotifyDisconnectedName); + EOS_RTC_RemoveNotifyDisconnected = (EOS_RTC_RemoveNotifyDisconnectedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_RemoveNotifyDisconnectedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTC_RemoveNotifyParticipantStatusChangedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTC_RemoveNotifyParticipantStatusChangedName); + EOS_RTC_RemoveNotifyParticipantStatusChanged = (EOS_RTC_RemoveNotifyParticipantStatusChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_RemoveNotifyParticipantStatusChangedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTC_SetRoomSettingName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTC_SetRoomSettingName); + EOS_RTC_SetRoomSetting = (EOS_RTC_SetRoomSettingDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_SetRoomSettingDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_RTC_SetSettingName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_RTC_SetSettingName); + EOS_RTC_SetSetting = (EOS_RTC_SetSettingDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_RTC_SetSettingDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Reports_SendPlayerBehaviorReportName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Reports_SendPlayerBehaviorReportName); + EOS_Reports_SendPlayerBehaviorReport = (EOS_Reports_SendPlayerBehaviorReportDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Reports_SendPlayerBehaviorReportDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sanctions_CopyPlayerSanctionByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sanctions_CopyPlayerSanctionByIndexName); + EOS_Sanctions_CopyPlayerSanctionByIndex = (EOS_Sanctions_CopyPlayerSanctionByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sanctions_CopyPlayerSanctionByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sanctions_GetPlayerSanctionCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sanctions_GetPlayerSanctionCountName); + EOS_Sanctions_GetPlayerSanctionCount = (EOS_Sanctions_GetPlayerSanctionCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sanctions_GetPlayerSanctionCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sanctions_PlayerSanction_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sanctions_PlayerSanction_ReleaseName); + EOS_Sanctions_PlayerSanction_Release = (EOS_Sanctions_PlayerSanction_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sanctions_PlayerSanction_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sanctions_QueryActivePlayerSanctionsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sanctions_QueryActivePlayerSanctionsName); + EOS_Sanctions_QueryActivePlayerSanctions = (EOS_Sanctions_QueryActivePlayerSanctionsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sanctions_QueryActivePlayerSanctionsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionDetails_Attribute_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionDetails_Attribute_ReleaseName); + EOS_SessionDetails_Attribute_Release = (EOS_SessionDetails_Attribute_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_Attribute_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionDetails_CopyInfoName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionDetails_CopyInfoName); + EOS_SessionDetails_CopyInfo = (EOS_SessionDetails_CopyInfoDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_CopyInfoDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionDetails_CopySessionAttributeByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionDetails_CopySessionAttributeByIndexName); + EOS_SessionDetails_CopySessionAttributeByIndex = (EOS_SessionDetails_CopySessionAttributeByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_CopySessionAttributeByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionDetails_CopySessionAttributeByKeyName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionDetails_CopySessionAttributeByKeyName); + EOS_SessionDetails_CopySessionAttributeByKey = (EOS_SessionDetails_CopySessionAttributeByKeyDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_CopySessionAttributeByKeyDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionDetails_GetSessionAttributeCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionDetails_GetSessionAttributeCountName); + EOS_SessionDetails_GetSessionAttributeCount = (EOS_SessionDetails_GetSessionAttributeCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_GetSessionAttributeCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionDetails_Info_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionDetails_Info_ReleaseName); + EOS_SessionDetails_Info_Release = (EOS_SessionDetails_Info_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_Info_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionDetails_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionDetails_ReleaseName); + EOS_SessionDetails_Release = (EOS_SessionDetails_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionDetails_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionModification_AddAttributeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionModification_AddAttributeName); + EOS_SessionModification_AddAttribute = (EOS_SessionModification_AddAttributeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_AddAttributeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionModification_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionModification_ReleaseName); + EOS_SessionModification_Release = (EOS_SessionModification_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionModification_RemoveAttributeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionModification_RemoveAttributeName); + EOS_SessionModification_RemoveAttribute = (EOS_SessionModification_RemoveAttributeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_RemoveAttributeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionModification_SetBucketIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionModification_SetBucketIdName); + EOS_SessionModification_SetBucketId = (EOS_SessionModification_SetBucketIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_SetBucketIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionModification_SetHostAddressName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionModification_SetHostAddressName); + EOS_SessionModification_SetHostAddress = (EOS_SessionModification_SetHostAddressDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_SetHostAddressDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionModification_SetInvitesAllowedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionModification_SetInvitesAllowedName); + EOS_SessionModification_SetInvitesAllowed = (EOS_SessionModification_SetInvitesAllowedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_SetInvitesAllowedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionModification_SetJoinInProgressAllowedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionModification_SetJoinInProgressAllowedName); + EOS_SessionModification_SetJoinInProgressAllowed = (EOS_SessionModification_SetJoinInProgressAllowedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_SetJoinInProgressAllowedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionModification_SetMaxPlayersName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionModification_SetMaxPlayersName); + EOS_SessionModification_SetMaxPlayers = (EOS_SessionModification_SetMaxPlayersDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_SetMaxPlayersDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionModification_SetPermissionLevelName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionModification_SetPermissionLevelName); + EOS_SessionModification_SetPermissionLevel = (EOS_SessionModification_SetPermissionLevelDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionModification_SetPermissionLevelDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionSearch_CopySearchResultByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionSearch_CopySearchResultByIndexName); + EOS_SessionSearch_CopySearchResultByIndex = (EOS_SessionSearch_CopySearchResultByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_CopySearchResultByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionSearch_FindName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionSearch_FindName); + EOS_SessionSearch_Find = (EOS_SessionSearch_FindDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_FindDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionSearch_GetSearchResultCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionSearch_GetSearchResultCountName); + EOS_SessionSearch_GetSearchResultCount = (EOS_SessionSearch_GetSearchResultCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_GetSearchResultCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionSearch_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionSearch_ReleaseName); + EOS_SessionSearch_Release = (EOS_SessionSearch_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionSearch_RemoveParameterName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionSearch_RemoveParameterName); + EOS_SessionSearch_RemoveParameter = (EOS_SessionSearch_RemoveParameterDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_RemoveParameterDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionSearch_SetMaxResultsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionSearch_SetMaxResultsName); + EOS_SessionSearch_SetMaxResults = (EOS_SessionSearch_SetMaxResultsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_SetMaxResultsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionSearch_SetParameterName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionSearch_SetParameterName); + EOS_SessionSearch_SetParameter = (EOS_SessionSearch_SetParameterDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_SetParameterDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionSearch_SetSessionIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionSearch_SetSessionIdName); + EOS_SessionSearch_SetSessionId = (EOS_SessionSearch_SetSessionIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_SetSessionIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_SessionSearch_SetTargetUserIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_SessionSearch_SetTargetUserIdName); + EOS_SessionSearch_SetTargetUserId = (EOS_SessionSearch_SetTargetUserIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_SessionSearch_SetTargetUserIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_AddNotifyJoinSessionAcceptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_AddNotifyJoinSessionAcceptedName); + EOS_Sessions_AddNotifyJoinSessionAccepted = (EOS_Sessions_AddNotifyJoinSessionAcceptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_AddNotifyJoinSessionAcceptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_AddNotifySessionInviteAcceptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_AddNotifySessionInviteAcceptedName); + EOS_Sessions_AddNotifySessionInviteAccepted = (EOS_Sessions_AddNotifySessionInviteAcceptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_AddNotifySessionInviteAcceptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_AddNotifySessionInviteReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_AddNotifySessionInviteReceivedName); + EOS_Sessions_AddNotifySessionInviteReceived = (EOS_Sessions_AddNotifySessionInviteReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_AddNotifySessionInviteReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_CopyActiveSessionHandleName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_CopyActiveSessionHandleName); + EOS_Sessions_CopyActiveSessionHandle = (EOS_Sessions_CopyActiveSessionHandleDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_CopyActiveSessionHandleDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_CopySessionHandleByInviteIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_CopySessionHandleByInviteIdName); + EOS_Sessions_CopySessionHandleByInviteId = (EOS_Sessions_CopySessionHandleByInviteIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_CopySessionHandleByInviteIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_CopySessionHandleByUiEventIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_CopySessionHandleByUiEventIdName); + EOS_Sessions_CopySessionHandleByUiEventId = (EOS_Sessions_CopySessionHandleByUiEventIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_CopySessionHandleByUiEventIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_CopySessionHandleForPresenceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_CopySessionHandleForPresenceName); + EOS_Sessions_CopySessionHandleForPresence = (EOS_Sessions_CopySessionHandleForPresenceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_CopySessionHandleForPresenceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_CreateSessionModificationName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_CreateSessionModificationName); + EOS_Sessions_CreateSessionModification = (EOS_Sessions_CreateSessionModificationDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_CreateSessionModificationDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_CreateSessionSearchName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_CreateSessionSearchName); + EOS_Sessions_CreateSessionSearch = (EOS_Sessions_CreateSessionSearchDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_CreateSessionSearchDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_DestroySessionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_DestroySessionName); + EOS_Sessions_DestroySession = (EOS_Sessions_DestroySessionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_DestroySessionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_DumpSessionStateName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_DumpSessionStateName); + EOS_Sessions_DumpSessionState = (EOS_Sessions_DumpSessionStateDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_DumpSessionStateDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_EndSessionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_EndSessionName); + EOS_Sessions_EndSession = (EOS_Sessions_EndSessionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_EndSessionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_GetInviteCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_GetInviteCountName); + EOS_Sessions_GetInviteCount = (EOS_Sessions_GetInviteCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_GetInviteCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_GetInviteIdByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_GetInviteIdByIndexName); + EOS_Sessions_GetInviteIdByIndex = (EOS_Sessions_GetInviteIdByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_GetInviteIdByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_IsUserInSessionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_IsUserInSessionName); + EOS_Sessions_IsUserInSession = (EOS_Sessions_IsUserInSessionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_IsUserInSessionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_JoinSessionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_JoinSessionName); + EOS_Sessions_JoinSession = (EOS_Sessions_JoinSessionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_JoinSessionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_QueryInvitesName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_QueryInvitesName); + EOS_Sessions_QueryInvites = (EOS_Sessions_QueryInvitesDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_QueryInvitesDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_RegisterPlayersName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_RegisterPlayersName); + EOS_Sessions_RegisterPlayers = (EOS_Sessions_RegisterPlayersDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_RegisterPlayersDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_RejectInviteName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_RejectInviteName); + EOS_Sessions_RejectInvite = (EOS_Sessions_RejectInviteDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_RejectInviteDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_RemoveNotifyJoinSessionAcceptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_RemoveNotifyJoinSessionAcceptedName); + EOS_Sessions_RemoveNotifyJoinSessionAccepted = (EOS_Sessions_RemoveNotifyJoinSessionAcceptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_RemoveNotifyJoinSessionAcceptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_RemoveNotifySessionInviteAcceptedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_RemoveNotifySessionInviteAcceptedName); + EOS_Sessions_RemoveNotifySessionInviteAccepted = (EOS_Sessions_RemoveNotifySessionInviteAcceptedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_RemoveNotifySessionInviteAcceptedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_RemoveNotifySessionInviteReceivedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_RemoveNotifySessionInviteReceivedName); + EOS_Sessions_RemoveNotifySessionInviteReceived = (EOS_Sessions_RemoveNotifySessionInviteReceivedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_RemoveNotifySessionInviteReceivedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_SendInviteName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_SendInviteName); + EOS_Sessions_SendInvite = (EOS_Sessions_SendInviteDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_SendInviteDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_StartSessionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_StartSessionName); + EOS_Sessions_StartSession = (EOS_Sessions_StartSessionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_StartSessionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_UnregisterPlayersName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_UnregisterPlayersName); + EOS_Sessions_UnregisterPlayers = (EOS_Sessions_UnregisterPlayersDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_UnregisterPlayersDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_UpdateSessionName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_UpdateSessionName); + EOS_Sessions_UpdateSession = (EOS_Sessions_UpdateSessionDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_UpdateSessionDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Sessions_UpdateSessionModificationName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Sessions_UpdateSessionModificationName); + EOS_Sessions_UpdateSessionModification = (EOS_Sessions_UpdateSessionModificationDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Sessions_UpdateSessionModificationDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_ShutdownName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_ShutdownName); + EOS_Shutdown = (EOS_ShutdownDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_ShutdownDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Stats_CopyStatByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Stats_CopyStatByIndexName); + EOS_Stats_CopyStatByIndex = (EOS_Stats_CopyStatByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Stats_CopyStatByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Stats_CopyStatByNameName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Stats_CopyStatByNameName); + EOS_Stats_CopyStatByName = (EOS_Stats_CopyStatByNameDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Stats_CopyStatByNameDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Stats_GetStatsCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Stats_GetStatsCountName); + EOS_Stats_GetStatsCount = (EOS_Stats_GetStatsCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Stats_GetStatsCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Stats_IngestStatName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Stats_IngestStatName); + EOS_Stats_IngestStat = (EOS_Stats_IngestStatDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Stats_IngestStatDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Stats_QueryStatsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Stats_QueryStatsName); + EOS_Stats_QueryStats = (EOS_Stats_QueryStatsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Stats_QueryStatsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_Stats_Stat_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Stats_Stat_ReleaseName); + EOS_Stats_Stat_Release = (EOS_Stats_Stat_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Stats_Stat_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_TitleStorageFileTransferRequest_CancelRequestName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_TitleStorageFileTransferRequest_CancelRequestName); + EOS_TitleStorageFileTransferRequest_CancelRequest = (EOS_TitleStorageFileTransferRequest_CancelRequestDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorageFileTransferRequest_CancelRequestDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_TitleStorageFileTransferRequest_GetFileRequestStateName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_TitleStorageFileTransferRequest_GetFileRequestStateName); + EOS_TitleStorageFileTransferRequest_GetFileRequestState = (EOS_TitleStorageFileTransferRequest_GetFileRequestStateDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorageFileTransferRequest_GetFileRequestStateDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_TitleStorageFileTransferRequest_GetFilenameName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_TitleStorageFileTransferRequest_GetFilenameName); + EOS_TitleStorageFileTransferRequest_GetFilename = (EOS_TitleStorageFileTransferRequest_GetFilenameDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorageFileTransferRequest_GetFilenameDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_TitleStorageFileTransferRequest_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_TitleStorageFileTransferRequest_ReleaseName); + EOS_TitleStorageFileTransferRequest_Release = (EOS_TitleStorageFileTransferRequest_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorageFileTransferRequest_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_TitleStorage_CopyFileMetadataAtIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_TitleStorage_CopyFileMetadataAtIndexName); + EOS_TitleStorage_CopyFileMetadataAtIndex = (EOS_TitleStorage_CopyFileMetadataAtIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_CopyFileMetadataAtIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_TitleStorage_CopyFileMetadataByFilenameName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_TitleStorage_CopyFileMetadataByFilenameName); + EOS_TitleStorage_CopyFileMetadataByFilename = (EOS_TitleStorage_CopyFileMetadataByFilenameDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_CopyFileMetadataByFilenameDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_TitleStorage_DeleteCacheName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_TitleStorage_DeleteCacheName); + EOS_TitleStorage_DeleteCache = (EOS_TitleStorage_DeleteCacheDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_DeleteCacheDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_TitleStorage_FileMetadata_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_TitleStorage_FileMetadata_ReleaseName); + EOS_TitleStorage_FileMetadata_Release = (EOS_TitleStorage_FileMetadata_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_FileMetadata_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_TitleStorage_GetFileMetadataCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_TitleStorage_GetFileMetadataCountName); + EOS_TitleStorage_GetFileMetadataCount = (EOS_TitleStorage_GetFileMetadataCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_GetFileMetadataCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_TitleStorage_QueryFileName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_TitleStorage_QueryFileName); + EOS_TitleStorage_QueryFile = (EOS_TitleStorage_QueryFileDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_QueryFileDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_TitleStorage_QueryFileListName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_TitleStorage_QueryFileListName); + EOS_TitleStorage_QueryFileList = (EOS_TitleStorage_QueryFileListDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_QueryFileListDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_TitleStorage_ReadFileName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_TitleStorage_ReadFileName); + EOS_TitleStorage_ReadFile = (EOS_TitleStorage_ReadFileDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_TitleStorage_ReadFileDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_AcknowledgeEventIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_AcknowledgeEventIdName); + EOS_UI_AcknowledgeEventId = (EOS_UI_AcknowledgeEventIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_AcknowledgeEventIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_AddNotifyDisplaySettingsUpdatedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_AddNotifyDisplaySettingsUpdatedName); + EOS_UI_AddNotifyDisplaySettingsUpdated = (EOS_UI_AddNotifyDisplaySettingsUpdatedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_AddNotifyDisplaySettingsUpdatedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_GetFriendsExclusiveInputName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_GetFriendsExclusiveInputName); + EOS_UI_GetFriendsExclusiveInput = (EOS_UI_GetFriendsExclusiveInputDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_GetFriendsExclusiveInputDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_GetFriendsVisibleName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_GetFriendsVisibleName); + EOS_UI_GetFriendsVisible = (EOS_UI_GetFriendsVisibleDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_GetFriendsVisibleDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_GetNotificationLocationPreferenceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_GetNotificationLocationPreferenceName); + EOS_UI_GetNotificationLocationPreference = (EOS_UI_GetNotificationLocationPreferenceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_GetNotificationLocationPreferenceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_GetToggleFriendsKeyName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_GetToggleFriendsKeyName); + EOS_UI_GetToggleFriendsKey = (EOS_UI_GetToggleFriendsKeyDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_GetToggleFriendsKeyDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_HideFriendsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_HideFriendsName); + EOS_UI_HideFriends = (EOS_UI_HideFriendsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_HideFriendsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_IsSocialOverlayPausedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_IsSocialOverlayPausedName); + EOS_UI_IsSocialOverlayPaused = (EOS_UI_IsSocialOverlayPausedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_IsSocialOverlayPausedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_IsValidKeyCombinationName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_IsValidKeyCombinationName); + EOS_UI_IsValidKeyCombination = (EOS_UI_IsValidKeyCombinationDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_IsValidKeyCombinationDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_PauseSocialOverlayName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_PauseSocialOverlayName); + EOS_UI_PauseSocialOverlay = (EOS_UI_PauseSocialOverlayDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_PauseSocialOverlayDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_RemoveNotifyDisplaySettingsUpdatedName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_RemoveNotifyDisplaySettingsUpdatedName); + EOS_UI_RemoveNotifyDisplaySettingsUpdated = (EOS_UI_RemoveNotifyDisplaySettingsUpdatedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_RemoveNotifyDisplaySettingsUpdatedDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_SetDisplayPreferenceName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_SetDisplayPreferenceName); + EOS_UI_SetDisplayPreference = (EOS_UI_SetDisplayPreferenceDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_SetDisplayPreferenceDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_SetToggleFriendsKeyName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_SetToggleFriendsKeyName); + EOS_UI_SetToggleFriendsKey = (EOS_UI_SetToggleFriendsKeyDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_SetToggleFriendsKeyDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_ShowBlockPlayerName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_ShowBlockPlayerName); + EOS_UI_ShowBlockPlayer = (EOS_UI_ShowBlockPlayerDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_ShowBlockPlayerDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_ShowFriendsName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_ShowFriendsName); + EOS_UI_ShowFriends = (EOS_UI_ShowFriendsDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_ShowFriendsDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UI_ShowReportPlayerName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UI_ShowReportPlayerName); + EOS_UI_ShowReportPlayer = (EOS_UI_ShowReportPlayerDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UI_ShowReportPlayerDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UserInfo_CopyExternalUserInfoByAccountIdName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UserInfo_CopyExternalUserInfoByAccountIdName); + EOS_UserInfo_CopyExternalUserInfoByAccountId = (EOS_UserInfo_CopyExternalUserInfoByAccountIdDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_CopyExternalUserInfoByAccountIdDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UserInfo_CopyExternalUserInfoByAccountTypeName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UserInfo_CopyExternalUserInfoByAccountTypeName); + EOS_UserInfo_CopyExternalUserInfoByAccountType = (EOS_UserInfo_CopyExternalUserInfoByAccountTypeDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_CopyExternalUserInfoByAccountTypeDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UserInfo_CopyExternalUserInfoByIndexName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UserInfo_CopyExternalUserInfoByIndexName); + EOS_UserInfo_CopyExternalUserInfoByIndex = (EOS_UserInfo_CopyExternalUserInfoByIndexDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_CopyExternalUserInfoByIndexDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UserInfo_CopyUserInfoName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UserInfo_CopyUserInfoName); + EOS_UserInfo_CopyUserInfo = (EOS_UserInfo_CopyUserInfoDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_CopyUserInfoDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UserInfo_ExternalUserInfo_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UserInfo_ExternalUserInfo_ReleaseName); + EOS_UserInfo_ExternalUserInfo_Release = (EOS_UserInfo_ExternalUserInfo_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_ExternalUserInfo_ReleaseDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UserInfo_GetExternalUserInfoCountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UserInfo_GetExternalUserInfoCountName); + EOS_UserInfo_GetExternalUserInfoCount = (EOS_UserInfo_GetExternalUserInfoCountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_GetExternalUserInfoCountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UserInfo_QueryUserInfoName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UserInfo_QueryUserInfoName); + EOS_UserInfo_QueryUserInfo = (EOS_UserInfo_QueryUserInfoDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_QueryUserInfoDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UserInfo_QueryUserInfoByDisplayNameName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UserInfo_QueryUserInfoByDisplayNameName); + EOS_UserInfo_QueryUserInfoByDisplayName = (EOS_UserInfo_QueryUserInfoByDisplayNameDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_QueryUserInfoByDisplayNameDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UserInfo_QueryUserInfoByExternalAccountName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UserInfo_QueryUserInfoByExternalAccountName); + EOS_UserInfo_QueryUserInfoByExternalAccount = (EOS_UserInfo_QueryUserInfoByExternalAccountDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_QueryUserInfoByExternalAccountDelegate)); + + functionPointer = getFunctionPointer(libraryHandle, EOS_UserInfo_ReleaseName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_UserInfo_ReleaseName); + EOS_UserInfo_Release = (EOS_UserInfo_ReleaseDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_UserInfo_ReleaseDelegate)); + } +#endif + +#if EOS_DYNAMIC_BINDINGS + /// + /// Unhooks the dynamic SDK API bindings. EOS_DYNAMIC_BINDINGS or EOS_EDITOR must be set. + /// + public static void Unhook() + { + EOS_Achievements_AddNotifyAchievementsUnlocked = null; + EOS_Achievements_AddNotifyAchievementsUnlockedV2 = null; + EOS_Achievements_CopyAchievementDefinitionByAchievementId = null; + EOS_Achievements_CopyAchievementDefinitionByIndex = null; + EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId = null; + EOS_Achievements_CopyAchievementDefinitionV2ByIndex = null; + EOS_Achievements_CopyPlayerAchievementByAchievementId = null; + EOS_Achievements_CopyPlayerAchievementByIndex = null; + EOS_Achievements_CopyUnlockedAchievementByAchievementId = null; + EOS_Achievements_CopyUnlockedAchievementByIndex = null; + EOS_Achievements_DefinitionV2_Release = null; + EOS_Achievements_Definition_Release = null; + EOS_Achievements_GetAchievementDefinitionCount = null; + EOS_Achievements_GetPlayerAchievementCount = null; + EOS_Achievements_GetUnlockedAchievementCount = null; + EOS_Achievements_PlayerAchievement_Release = null; + EOS_Achievements_QueryDefinitions = null; + EOS_Achievements_QueryPlayerAchievements = null; + EOS_Achievements_RemoveNotifyAchievementsUnlocked = null; + EOS_Achievements_UnlockAchievements = null; + EOS_Achievements_UnlockedAchievement_Release = null; + EOS_ActiveSession_CopyInfo = null; + EOS_ActiveSession_GetRegisteredPlayerByIndex = null; + EOS_ActiveSession_GetRegisteredPlayerCount = null; + EOS_ActiveSession_Info_Release = null; + EOS_ActiveSession_Release = null; + EOS_AntiCheatClient_AddExternalIntegrityCatalog = null; + EOS_AntiCheatClient_AddNotifyClientIntegrityViolated = null; + EOS_AntiCheatClient_AddNotifyMessageToPeer = null; + EOS_AntiCheatClient_AddNotifyMessageToServer = null; + EOS_AntiCheatClient_AddNotifyPeerActionRequired = null; + EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged = null; + EOS_AntiCheatClient_BeginSession = null; + EOS_AntiCheatClient_EndSession = null; + EOS_AntiCheatClient_GetProtectMessageOutputLength = null; + EOS_AntiCheatClient_PollStatus = null; + EOS_AntiCheatClient_ProtectMessage = null; + EOS_AntiCheatClient_ReceiveMessageFromPeer = null; + EOS_AntiCheatClient_ReceiveMessageFromServer = null; + EOS_AntiCheatClient_RegisterPeer = null; + EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolated = null; + EOS_AntiCheatClient_RemoveNotifyMessageToPeer = null; + EOS_AntiCheatClient_RemoveNotifyMessageToServer = null; + EOS_AntiCheatClient_RemoveNotifyPeerActionRequired = null; + EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged = null; + EOS_AntiCheatClient_UnprotectMessage = null; + EOS_AntiCheatClient_UnregisterPeer = null; + EOS_AntiCheatServer_AddNotifyClientActionRequired = null; + EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged = null; + EOS_AntiCheatServer_AddNotifyMessageToClient = null; + EOS_AntiCheatServer_BeginSession = null; + EOS_AntiCheatServer_EndSession = null; + EOS_AntiCheatServer_GetProtectMessageOutputLength = null; + EOS_AntiCheatServer_LogEvent = null; + EOS_AntiCheatServer_LogGameRoundEnd = null; + EOS_AntiCheatServer_LogGameRoundStart = null; + EOS_AntiCheatServer_LogPlayerDespawn = null; + EOS_AntiCheatServer_LogPlayerRevive = null; + EOS_AntiCheatServer_LogPlayerSpawn = null; + EOS_AntiCheatServer_LogPlayerTakeDamage = null; + EOS_AntiCheatServer_LogPlayerTick = null; + EOS_AntiCheatServer_LogPlayerUseAbility = null; + EOS_AntiCheatServer_LogPlayerUseWeapon = null; + EOS_AntiCheatServer_ProtectMessage = null; + EOS_AntiCheatServer_ReceiveMessageFromClient = null; + EOS_AntiCheatServer_RegisterClient = null; + EOS_AntiCheatServer_RegisterEvent = null; + EOS_AntiCheatServer_RemoveNotifyClientActionRequired = null; + EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged = null; + EOS_AntiCheatServer_RemoveNotifyMessageToClient = null; + EOS_AntiCheatServer_SetClientDetails = null; + EOS_AntiCheatServer_SetClientNetworkState = null; + EOS_AntiCheatServer_SetGameSessionId = null; + EOS_AntiCheatServer_UnprotectMessage = null; + EOS_AntiCheatServer_UnregisterClient = null; + EOS_Auth_AddNotifyLoginStatusChanged = null; + EOS_Auth_CopyIdToken = null; + EOS_Auth_CopyUserAuthToken = null; + EOS_Auth_DeletePersistentAuth = null; + EOS_Auth_GetLoggedInAccountByIndex = null; + EOS_Auth_GetLoggedInAccountsCount = null; + EOS_Auth_GetLoginStatus = null; + EOS_Auth_GetMergedAccountByIndex = null; + EOS_Auth_GetMergedAccountsCount = null; + EOS_Auth_GetSelectedAccountId = null; + EOS_Auth_IdToken_Release = null; + EOS_Auth_LinkAccount = null; + EOS_Auth_Login = null; + EOS_Auth_Logout = null; + EOS_Auth_QueryIdToken = null; + EOS_Auth_RemoveNotifyLoginStatusChanged = null; + EOS_Auth_Token_Release = null; + EOS_Auth_VerifyIdToken = null; + EOS_Auth_VerifyUserAuth = null; + EOS_ByteArray_ToString = null; + EOS_Connect_AddNotifyAuthExpiration = null; + EOS_Connect_AddNotifyLoginStatusChanged = null; + EOS_Connect_CopyIdToken = null; + EOS_Connect_CopyProductUserExternalAccountByAccountId = null; + EOS_Connect_CopyProductUserExternalAccountByAccountType = null; + EOS_Connect_CopyProductUserExternalAccountByIndex = null; + EOS_Connect_CopyProductUserInfo = null; + EOS_Connect_CreateDeviceId = null; + EOS_Connect_CreateUser = null; + EOS_Connect_DeleteDeviceId = null; + EOS_Connect_ExternalAccountInfo_Release = null; + EOS_Connect_GetExternalAccountMapping = null; + EOS_Connect_GetLoggedInUserByIndex = null; + EOS_Connect_GetLoggedInUsersCount = null; + EOS_Connect_GetLoginStatus = null; + EOS_Connect_GetProductUserExternalAccountCount = null; + EOS_Connect_GetProductUserIdMapping = null; + EOS_Connect_IdToken_Release = null; + EOS_Connect_LinkAccount = null; + EOS_Connect_Login = null; + EOS_Connect_QueryExternalAccountMappings = null; + EOS_Connect_QueryProductUserIdMappings = null; + EOS_Connect_RemoveNotifyAuthExpiration = null; + EOS_Connect_RemoveNotifyLoginStatusChanged = null; + EOS_Connect_TransferDeviceIdAccount = null; + EOS_Connect_UnlinkAccount = null; + EOS_Connect_VerifyIdToken = null; + EOS_ContinuanceToken_ToString = null; + EOS_CustomInvites_AddNotifyCustomInviteAccepted = null; + EOS_CustomInvites_AddNotifyCustomInviteReceived = null; + EOS_CustomInvites_AddNotifyCustomInviteRejected = null; + EOS_CustomInvites_FinalizeInvite = null; + EOS_CustomInvites_RemoveNotifyCustomInviteAccepted = null; + EOS_CustomInvites_RemoveNotifyCustomInviteReceived = null; + EOS_CustomInvites_RemoveNotifyCustomInviteRejected = null; + EOS_CustomInvites_SendCustomInvite = null; + EOS_CustomInvites_SetCustomInvite = null; + EOS_EResult_IsOperationComplete = null; + EOS_EResult_ToString = null; + EOS_Ecom_CatalogItem_Release = null; + EOS_Ecom_CatalogOffer_Release = null; + EOS_Ecom_CatalogRelease_Release = null; + EOS_Ecom_Checkout = null; + EOS_Ecom_CopyEntitlementById = null; + EOS_Ecom_CopyEntitlementByIndex = null; + EOS_Ecom_CopyEntitlementByNameAndIndex = null; + EOS_Ecom_CopyItemById = null; + EOS_Ecom_CopyItemImageInfoByIndex = null; + EOS_Ecom_CopyItemReleaseByIndex = null; + EOS_Ecom_CopyLastRedeemedEntitlementByIndex = null; + EOS_Ecom_CopyOfferById = null; + EOS_Ecom_CopyOfferByIndex = null; + EOS_Ecom_CopyOfferImageInfoByIndex = null; + EOS_Ecom_CopyOfferItemByIndex = null; + EOS_Ecom_CopyTransactionById = null; + EOS_Ecom_CopyTransactionByIndex = null; + EOS_Ecom_Entitlement_Release = null; + EOS_Ecom_GetEntitlementsByNameCount = null; + EOS_Ecom_GetEntitlementsCount = null; + EOS_Ecom_GetItemImageInfoCount = null; + EOS_Ecom_GetItemReleaseCount = null; + EOS_Ecom_GetLastRedeemedEntitlementsCount = null; + EOS_Ecom_GetOfferCount = null; + EOS_Ecom_GetOfferImageInfoCount = null; + EOS_Ecom_GetOfferItemCount = null; + EOS_Ecom_GetTransactionCount = null; + EOS_Ecom_KeyImageInfo_Release = null; + EOS_Ecom_QueryEntitlementToken = null; + EOS_Ecom_QueryEntitlements = null; + EOS_Ecom_QueryOffers = null; + EOS_Ecom_QueryOwnership = null; + EOS_Ecom_QueryOwnershipToken = null; + EOS_Ecom_RedeemEntitlements = null; + EOS_Ecom_Transaction_CopyEntitlementByIndex = null; + EOS_Ecom_Transaction_GetEntitlementsCount = null; + EOS_Ecom_Transaction_GetTransactionId = null; + EOS_Ecom_Transaction_Release = null; + EOS_EpicAccountId_FromString = null; + EOS_EpicAccountId_IsValid = null; + EOS_EpicAccountId_ToString = null; + EOS_Friends_AcceptInvite = null; + EOS_Friends_AddNotifyFriendsUpdate = null; + EOS_Friends_GetFriendAtIndex = null; + EOS_Friends_GetFriendsCount = null; + EOS_Friends_GetStatus = null; + EOS_Friends_QueryFriends = null; + EOS_Friends_RejectInvite = null; + EOS_Friends_RemoveNotifyFriendsUpdate = null; + EOS_Friends_SendInvite = null; + EOS_GetVersion = null; + EOS_Initialize = null; + EOS_IntegratedPlatformOptionsContainer_Add = null; + EOS_IntegratedPlatformOptionsContainer_Release = null; + EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainer = null; + EOS_KWS_AddNotifyPermissionsUpdateReceived = null; + EOS_KWS_CopyPermissionByIndex = null; + EOS_KWS_CreateUser = null; + EOS_KWS_GetPermissionByKey = null; + EOS_KWS_GetPermissionsCount = null; + EOS_KWS_PermissionStatus_Release = null; + EOS_KWS_QueryAgeGate = null; + EOS_KWS_QueryPermissions = null; + EOS_KWS_RemoveNotifyPermissionsUpdateReceived = null; + EOS_KWS_RequestPermissions = null; + EOS_KWS_UpdateParentEmail = null; + EOS_Leaderboards_CopyLeaderboardDefinitionByIndex = null; + EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId = null; + EOS_Leaderboards_CopyLeaderboardRecordByIndex = null; + EOS_Leaderboards_CopyLeaderboardRecordByUserId = null; + EOS_Leaderboards_CopyLeaderboardUserScoreByIndex = null; + EOS_Leaderboards_CopyLeaderboardUserScoreByUserId = null; + EOS_Leaderboards_Definition_Release = null; + EOS_Leaderboards_GetLeaderboardDefinitionCount = null; + EOS_Leaderboards_GetLeaderboardRecordCount = null; + EOS_Leaderboards_GetLeaderboardUserScoreCount = null; + EOS_Leaderboards_LeaderboardDefinition_Release = null; + EOS_Leaderboards_LeaderboardRecord_Release = null; + EOS_Leaderboards_LeaderboardUserScore_Release = null; + EOS_Leaderboards_QueryLeaderboardDefinitions = null; + EOS_Leaderboards_QueryLeaderboardRanks = null; + EOS_Leaderboards_QueryLeaderboardUserScores = null; + EOS_LobbyDetails_CopyAttributeByIndex = null; + EOS_LobbyDetails_CopyAttributeByKey = null; + EOS_LobbyDetails_CopyInfo = null; + EOS_LobbyDetails_CopyMemberAttributeByIndex = null; + EOS_LobbyDetails_CopyMemberAttributeByKey = null; + EOS_LobbyDetails_GetAttributeCount = null; + EOS_LobbyDetails_GetLobbyOwner = null; + EOS_LobbyDetails_GetMemberAttributeCount = null; + EOS_LobbyDetails_GetMemberByIndex = null; + EOS_LobbyDetails_GetMemberCount = null; + EOS_LobbyDetails_Info_Release = null; + EOS_LobbyDetails_Release = null; + EOS_LobbyModification_AddAttribute = null; + EOS_LobbyModification_AddMemberAttribute = null; + EOS_LobbyModification_Release = null; + EOS_LobbyModification_RemoveAttribute = null; + EOS_LobbyModification_RemoveMemberAttribute = null; + EOS_LobbyModification_SetBucketId = null; + EOS_LobbyModification_SetInvitesAllowed = null; + EOS_LobbyModification_SetMaxMembers = null; + EOS_LobbyModification_SetPermissionLevel = null; + EOS_LobbySearch_CopySearchResultByIndex = null; + EOS_LobbySearch_Find = null; + EOS_LobbySearch_GetSearchResultCount = null; + EOS_LobbySearch_Release = null; + EOS_LobbySearch_RemoveParameter = null; + EOS_LobbySearch_SetLobbyId = null; + EOS_LobbySearch_SetMaxResults = null; + EOS_LobbySearch_SetParameter = null; + EOS_LobbySearch_SetTargetUserId = null; + EOS_Lobby_AddNotifyJoinLobbyAccepted = null; + EOS_Lobby_AddNotifyLobbyInviteAccepted = null; + EOS_Lobby_AddNotifyLobbyInviteReceived = null; + EOS_Lobby_AddNotifyLobbyInviteRejected = null; + EOS_Lobby_AddNotifyLobbyMemberStatusReceived = null; + EOS_Lobby_AddNotifyLobbyMemberUpdateReceived = null; + EOS_Lobby_AddNotifyLobbyUpdateReceived = null; + EOS_Lobby_AddNotifyRTCRoomConnectionChanged = null; + EOS_Lobby_AddNotifySendLobbyNativeInviteRequested = null; + EOS_Lobby_Attribute_Release = null; + EOS_Lobby_CopyLobbyDetailsHandle = null; + EOS_Lobby_CopyLobbyDetailsHandleByInviteId = null; + EOS_Lobby_CopyLobbyDetailsHandleByUiEventId = null; + EOS_Lobby_CreateLobby = null; + EOS_Lobby_CreateLobbySearch = null; + EOS_Lobby_DestroyLobby = null; + EOS_Lobby_GetInviteCount = null; + EOS_Lobby_GetInviteIdByIndex = null; + EOS_Lobby_GetRTCRoomName = null; + EOS_Lobby_HardMuteMember = null; + EOS_Lobby_IsRTCRoomConnected = null; + EOS_Lobby_JoinLobby = null; + EOS_Lobby_JoinLobbyById = null; + EOS_Lobby_KickMember = null; + EOS_Lobby_LeaveLobby = null; + EOS_Lobby_PromoteMember = null; + EOS_Lobby_QueryInvites = null; + EOS_Lobby_RejectInvite = null; + EOS_Lobby_RemoveNotifyJoinLobbyAccepted = null; + EOS_Lobby_RemoveNotifyLobbyInviteAccepted = null; + EOS_Lobby_RemoveNotifyLobbyInviteReceived = null; + EOS_Lobby_RemoveNotifyLobbyInviteRejected = null; + EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived = null; + EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived = null; + EOS_Lobby_RemoveNotifyLobbyUpdateReceived = null; + EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged = null; + EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequested = null; + EOS_Lobby_SendInvite = null; + EOS_Lobby_UpdateLobby = null; + EOS_Lobby_UpdateLobbyModification = null; + EOS_Logging_SetCallback = null; + EOS_Logging_SetLogLevel = null; + EOS_Metrics_BeginPlayerSession = null; + EOS_Metrics_EndPlayerSession = null; + EOS_Mods_CopyModInfo = null; + EOS_Mods_EnumerateMods = null; + EOS_Mods_InstallMod = null; + EOS_Mods_ModInfo_Release = null; + EOS_Mods_UninstallMod = null; + EOS_Mods_UpdateMod = null; + EOS_P2P_AcceptConnection = null; + EOS_P2P_AddNotifyIncomingPacketQueueFull = null; + EOS_P2P_AddNotifyPeerConnectionClosed = null; + EOS_P2P_AddNotifyPeerConnectionEstablished = null; + EOS_P2P_AddNotifyPeerConnectionInterrupted = null; + EOS_P2P_AddNotifyPeerConnectionRequest = null; + EOS_P2P_ClearPacketQueue = null; + EOS_P2P_CloseConnection = null; + EOS_P2P_CloseConnections = null; + EOS_P2P_GetNATType = null; + EOS_P2P_GetNextReceivedPacketSize = null; + EOS_P2P_GetPacketQueueInfo = null; + EOS_P2P_GetPortRange = null; + EOS_P2P_GetRelayControl = null; + EOS_P2P_QueryNATType = null; + EOS_P2P_ReceivePacket = null; + EOS_P2P_RemoveNotifyIncomingPacketQueueFull = null; + EOS_P2P_RemoveNotifyPeerConnectionClosed = null; + EOS_P2P_RemoveNotifyPeerConnectionEstablished = null; + EOS_P2P_RemoveNotifyPeerConnectionInterrupted = null; + EOS_P2P_RemoveNotifyPeerConnectionRequest = null; + EOS_P2P_SendPacket = null; + EOS_P2P_SetPacketQueueSize = null; + EOS_P2P_SetPortRange = null; + EOS_P2P_SetRelayControl = null; + EOS_Platform_CheckForLauncherAndRestart = null; + EOS_Platform_Create = null; + EOS_Platform_GetAchievementsInterface = null; + EOS_Platform_GetActiveCountryCode = null; + EOS_Platform_GetActiveLocaleCode = null; + EOS_Platform_GetAntiCheatClientInterface = null; + EOS_Platform_GetAntiCheatServerInterface = null; + EOS_Platform_GetApplicationStatus = null; + EOS_Platform_GetAuthInterface = null; + EOS_Platform_GetConnectInterface = null; + EOS_Platform_GetCustomInvitesInterface = null; + EOS_Platform_GetDesktopCrossplayStatus = null; + EOS_Platform_GetEcomInterface = null; + EOS_Platform_GetFriendsInterface = null; + EOS_Platform_GetKWSInterface = null; + EOS_Platform_GetLeaderboardsInterface = null; + EOS_Platform_GetLobbyInterface = null; + EOS_Platform_GetMetricsInterface = null; + EOS_Platform_GetModsInterface = null; + EOS_Platform_GetNetworkStatus = null; + EOS_Platform_GetOverrideCountryCode = null; + EOS_Platform_GetOverrideLocaleCode = null; + EOS_Platform_GetP2PInterface = null; + EOS_Platform_GetPlayerDataStorageInterface = null; + EOS_Platform_GetPresenceInterface = null; + EOS_Platform_GetProgressionSnapshotInterface = null; + EOS_Platform_GetRTCAdminInterface = null; + EOS_Platform_GetRTCInterface = null; + EOS_Platform_GetReportsInterface = null; + EOS_Platform_GetSanctionsInterface = null; + EOS_Platform_GetSessionsInterface = null; + EOS_Platform_GetStatsInterface = null; + EOS_Platform_GetTitleStorageInterface = null; + EOS_Platform_GetUIInterface = null; + EOS_Platform_GetUserInfoInterface = null; + EOS_Platform_Release = null; + EOS_Platform_SetApplicationStatus = null; + EOS_Platform_SetNetworkStatus = null; + EOS_Platform_SetOverrideCountryCode = null; + EOS_Platform_SetOverrideLocaleCode = null; + EOS_Platform_Tick = null; + EOS_PlayerDataStorageFileTransferRequest_CancelRequest = null; + EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState = null; + EOS_PlayerDataStorageFileTransferRequest_GetFilename = null; + EOS_PlayerDataStorageFileTransferRequest_Release = null; + EOS_PlayerDataStorage_CopyFileMetadataAtIndex = null; + EOS_PlayerDataStorage_CopyFileMetadataByFilename = null; + EOS_PlayerDataStorage_DeleteCache = null; + EOS_PlayerDataStorage_DeleteFile = null; + EOS_PlayerDataStorage_DuplicateFile = null; + EOS_PlayerDataStorage_FileMetadata_Release = null; + EOS_PlayerDataStorage_GetFileMetadataCount = null; + EOS_PlayerDataStorage_QueryFile = null; + EOS_PlayerDataStorage_QueryFileList = null; + EOS_PlayerDataStorage_ReadFile = null; + EOS_PlayerDataStorage_WriteFile = null; + EOS_PresenceModification_DeleteData = null; + EOS_PresenceModification_Release = null; + EOS_PresenceModification_SetData = null; + EOS_PresenceModification_SetJoinInfo = null; + EOS_PresenceModification_SetRawRichText = null; + EOS_PresenceModification_SetStatus = null; + EOS_Presence_AddNotifyJoinGameAccepted = null; + EOS_Presence_AddNotifyOnPresenceChanged = null; + EOS_Presence_CopyPresence = null; + EOS_Presence_CreatePresenceModification = null; + EOS_Presence_GetJoinInfo = null; + EOS_Presence_HasPresence = null; + EOS_Presence_Info_Release = null; + EOS_Presence_QueryPresence = null; + EOS_Presence_RemoveNotifyJoinGameAccepted = null; + EOS_Presence_RemoveNotifyOnPresenceChanged = null; + EOS_Presence_SetPresence = null; + EOS_ProductUserId_FromString = null; + EOS_ProductUserId_IsValid = null; + EOS_ProductUserId_ToString = null; + EOS_ProgressionSnapshot_AddProgression = null; + EOS_ProgressionSnapshot_BeginSnapshot = null; + EOS_ProgressionSnapshot_DeleteSnapshot = null; + EOS_ProgressionSnapshot_EndSnapshot = null; + EOS_ProgressionSnapshot_SubmitSnapshot = null; + EOS_RTCAdmin_CopyUserTokenByIndex = null; + EOS_RTCAdmin_CopyUserTokenByUserId = null; + EOS_RTCAdmin_Kick = null; + EOS_RTCAdmin_QueryJoinRoomToken = null; + EOS_RTCAdmin_SetParticipantHardMute = null; + EOS_RTCAdmin_UserToken_Release = null; + EOS_RTCAudio_AddNotifyAudioBeforeRender = null; + EOS_RTCAudio_AddNotifyAudioBeforeSend = null; + EOS_RTCAudio_AddNotifyAudioDevicesChanged = null; + EOS_RTCAudio_AddNotifyAudioInputState = null; + EOS_RTCAudio_AddNotifyAudioOutputState = null; + EOS_RTCAudio_AddNotifyParticipantUpdated = null; + EOS_RTCAudio_GetAudioInputDeviceByIndex = null; + EOS_RTCAudio_GetAudioInputDevicesCount = null; + EOS_RTCAudio_GetAudioOutputDeviceByIndex = null; + EOS_RTCAudio_GetAudioOutputDevicesCount = null; + EOS_RTCAudio_RegisterPlatformAudioUser = null; + EOS_RTCAudio_RemoveNotifyAudioBeforeRender = null; + EOS_RTCAudio_RemoveNotifyAudioBeforeSend = null; + EOS_RTCAudio_RemoveNotifyAudioDevicesChanged = null; + EOS_RTCAudio_RemoveNotifyAudioInputState = null; + EOS_RTCAudio_RemoveNotifyAudioOutputState = null; + EOS_RTCAudio_RemoveNotifyParticipantUpdated = null; + EOS_RTCAudio_SendAudio = null; + EOS_RTCAudio_SetAudioInputSettings = null; + EOS_RTCAudio_SetAudioOutputSettings = null; + EOS_RTCAudio_UnregisterPlatformAudioUser = null; + EOS_RTCAudio_UpdateParticipantVolume = null; + EOS_RTCAudio_UpdateReceiving = null; + EOS_RTCAudio_UpdateReceivingVolume = null; + EOS_RTCAudio_UpdateSending = null; + EOS_RTCAudio_UpdateSendingVolume = null; + EOS_RTC_AddNotifyDisconnected = null; + EOS_RTC_AddNotifyParticipantStatusChanged = null; + EOS_RTC_BlockParticipant = null; + EOS_RTC_GetAudioInterface = null; + EOS_RTC_JoinRoom = null; + EOS_RTC_LeaveRoom = null; + EOS_RTC_RemoveNotifyDisconnected = null; + EOS_RTC_RemoveNotifyParticipantStatusChanged = null; + EOS_RTC_SetRoomSetting = null; + EOS_RTC_SetSetting = null; + EOS_Reports_SendPlayerBehaviorReport = null; + EOS_Sanctions_CopyPlayerSanctionByIndex = null; + EOS_Sanctions_GetPlayerSanctionCount = null; + EOS_Sanctions_PlayerSanction_Release = null; + EOS_Sanctions_QueryActivePlayerSanctions = null; + EOS_SessionDetails_Attribute_Release = null; + EOS_SessionDetails_CopyInfo = null; + EOS_SessionDetails_CopySessionAttributeByIndex = null; + EOS_SessionDetails_CopySessionAttributeByKey = null; + EOS_SessionDetails_GetSessionAttributeCount = null; + EOS_SessionDetails_Info_Release = null; + EOS_SessionDetails_Release = null; + EOS_SessionModification_AddAttribute = null; + EOS_SessionModification_Release = null; + EOS_SessionModification_RemoveAttribute = null; + EOS_SessionModification_SetBucketId = null; + EOS_SessionModification_SetHostAddress = null; + EOS_SessionModification_SetInvitesAllowed = null; + EOS_SessionModification_SetJoinInProgressAllowed = null; + EOS_SessionModification_SetMaxPlayers = null; + EOS_SessionModification_SetPermissionLevel = null; + EOS_SessionSearch_CopySearchResultByIndex = null; + EOS_SessionSearch_Find = null; + EOS_SessionSearch_GetSearchResultCount = null; + EOS_SessionSearch_Release = null; + EOS_SessionSearch_RemoveParameter = null; + EOS_SessionSearch_SetMaxResults = null; + EOS_SessionSearch_SetParameter = null; + EOS_SessionSearch_SetSessionId = null; + EOS_SessionSearch_SetTargetUserId = null; + EOS_Sessions_AddNotifyJoinSessionAccepted = null; + EOS_Sessions_AddNotifySessionInviteAccepted = null; + EOS_Sessions_AddNotifySessionInviteReceived = null; + EOS_Sessions_CopyActiveSessionHandle = null; + EOS_Sessions_CopySessionHandleByInviteId = null; + EOS_Sessions_CopySessionHandleByUiEventId = null; + EOS_Sessions_CopySessionHandleForPresence = null; + EOS_Sessions_CreateSessionModification = null; + EOS_Sessions_CreateSessionSearch = null; + EOS_Sessions_DestroySession = null; + EOS_Sessions_DumpSessionState = null; + EOS_Sessions_EndSession = null; + EOS_Sessions_GetInviteCount = null; + EOS_Sessions_GetInviteIdByIndex = null; + EOS_Sessions_IsUserInSession = null; + EOS_Sessions_JoinSession = null; + EOS_Sessions_QueryInvites = null; + EOS_Sessions_RegisterPlayers = null; + EOS_Sessions_RejectInvite = null; + EOS_Sessions_RemoveNotifyJoinSessionAccepted = null; + EOS_Sessions_RemoveNotifySessionInviteAccepted = null; + EOS_Sessions_RemoveNotifySessionInviteReceived = null; + EOS_Sessions_SendInvite = null; + EOS_Sessions_StartSession = null; + EOS_Sessions_UnregisterPlayers = null; + EOS_Sessions_UpdateSession = null; + EOS_Sessions_UpdateSessionModification = null; + EOS_Shutdown = null; + EOS_Stats_CopyStatByIndex = null; + EOS_Stats_CopyStatByName = null; + EOS_Stats_GetStatsCount = null; + EOS_Stats_IngestStat = null; + EOS_Stats_QueryStats = null; + EOS_Stats_Stat_Release = null; + EOS_TitleStorageFileTransferRequest_CancelRequest = null; + EOS_TitleStorageFileTransferRequest_GetFileRequestState = null; + EOS_TitleStorageFileTransferRequest_GetFilename = null; + EOS_TitleStorageFileTransferRequest_Release = null; + EOS_TitleStorage_CopyFileMetadataAtIndex = null; + EOS_TitleStorage_CopyFileMetadataByFilename = null; + EOS_TitleStorage_DeleteCache = null; + EOS_TitleStorage_FileMetadata_Release = null; + EOS_TitleStorage_GetFileMetadataCount = null; + EOS_TitleStorage_QueryFile = null; + EOS_TitleStorage_QueryFileList = null; + EOS_TitleStorage_ReadFile = null; + EOS_UI_AcknowledgeEventId = null; + EOS_UI_AddNotifyDisplaySettingsUpdated = null; + EOS_UI_GetFriendsExclusiveInput = null; + EOS_UI_GetFriendsVisible = null; + EOS_UI_GetNotificationLocationPreference = null; + EOS_UI_GetToggleFriendsKey = null; + EOS_UI_HideFriends = null; + EOS_UI_IsSocialOverlayPaused = null; + EOS_UI_IsValidKeyCombination = null; + EOS_UI_PauseSocialOverlay = null; + EOS_UI_RemoveNotifyDisplaySettingsUpdated = null; + EOS_UI_SetDisplayPreference = null; + EOS_UI_SetToggleFriendsKey = null; + EOS_UI_ShowBlockPlayer = null; + EOS_UI_ShowFriends = null; + EOS_UI_ShowReportPlayer = null; + EOS_UserInfo_CopyExternalUserInfoByAccountId = null; + EOS_UserInfo_CopyExternalUserInfoByAccountType = null; + EOS_UserInfo_CopyExternalUserInfoByIndex = null; + EOS_UserInfo_CopyUserInfo = null; + EOS_UserInfo_ExternalUserInfo_Release = null; + EOS_UserInfo_GetExternalUserInfoCount = null; + EOS_UserInfo_QueryUserInfo = null; + EOS_UserInfo_QueryUserInfoByDisplayName = null; + EOS_UserInfo_QueryUserInfoByExternalAccount = null; + EOS_UserInfo_Release = null; + } +#endif + +#if EOS_DYNAMIC_BINDINGS + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Achievements_AddNotifyAchievementsUnlockedDelegate(System.IntPtr handle, ref Achievements.AddNotifyAchievementsUnlockedOptionsInternal options, System.IntPtr clientData, Achievements.OnAchievementsUnlockedCallbackInternal notificationFn); + internal static EOS_Achievements_AddNotifyAchievementsUnlockedDelegate EOS_Achievements_AddNotifyAchievementsUnlocked; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Achievements_AddNotifyAchievementsUnlockedV2Delegate(System.IntPtr handle, ref Achievements.AddNotifyAchievementsUnlockedV2OptionsInternal options, System.IntPtr clientData, Achievements.OnAchievementsUnlockedCallbackV2Internal notificationFn); + internal static EOS_Achievements_AddNotifyAchievementsUnlockedV2Delegate EOS_Achievements_AddNotifyAchievementsUnlockedV2; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Achievements_CopyAchievementDefinitionByAchievementIdDelegate(System.IntPtr handle, ref Achievements.CopyAchievementDefinitionByAchievementIdOptionsInternal options, ref System.IntPtr outDefinition); + internal static EOS_Achievements_CopyAchievementDefinitionByAchievementIdDelegate EOS_Achievements_CopyAchievementDefinitionByAchievementId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Achievements_CopyAchievementDefinitionByIndexDelegate(System.IntPtr handle, ref Achievements.CopyAchievementDefinitionByIndexOptionsInternal options, ref System.IntPtr outDefinition); + internal static EOS_Achievements_CopyAchievementDefinitionByIndexDelegate EOS_Achievements_CopyAchievementDefinitionByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdDelegate(System.IntPtr handle, ref Achievements.CopyAchievementDefinitionV2ByAchievementIdOptionsInternal options, ref System.IntPtr outDefinition); + internal static EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdDelegate EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Achievements_CopyAchievementDefinitionV2ByIndexDelegate(System.IntPtr handle, ref Achievements.CopyAchievementDefinitionV2ByIndexOptionsInternal options, ref System.IntPtr outDefinition); + internal static EOS_Achievements_CopyAchievementDefinitionV2ByIndexDelegate EOS_Achievements_CopyAchievementDefinitionV2ByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Achievements_CopyPlayerAchievementByAchievementIdDelegate(System.IntPtr handle, ref Achievements.CopyPlayerAchievementByAchievementIdOptionsInternal options, ref System.IntPtr outAchievement); + internal static EOS_Achievements_CopyPlayerAchievementByAchievementIdDelegate EOS_Achievements_CopyPlayerAchievementByAchievementId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Achievements_CopyPlayerAchievementByIndexDelegate(System.IntPtr handle, ref Achievements.CopyPlayerAchievementByIndexOptionsInternal options, ref System.IntPtr outAchievement); + internal static EOS_Achievements_CopyPlayerAchievementByIndexDelegate EOS_Achievements_CopyPlayerAchievementByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Achievements_CopyUnlockedAchievementByAchievementIdDelegate(System.IntPtr handle, ref Achievements.CopyUnlockedAchievementByAchievementIdOptionsInternal options, ref System.IntPtr outAchievement); + internal static EOS_Achievements_CopyUnlockedAchievementByAchievementIdDelegate EOS_Achievements_CopyUnlockedAchievementByAchievementId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Achievements_CopyUnlockedAchievementByIndexDelegate(System.IntPtr handle, ref Achievements.CopyUnlockedAchievementByIndexOptionsInternal options, ref System.IntPtr outAchievement); + internal static EOS_Achievements_CopyUnlockedAchievementByIndexDelegate EOS_Achievements_CopyUnlockedAchievementByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Achievements_DefinitionV2_ReleaseDelegate(System.IntPtr achievementDefinition); + internal static EOS_Achievements_DefinitionV2_ReleaseDelegate EOS_Achievements_DefinitionV2_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Achievements_Definition_ReleaseDelegate(System.IntPtr achievementDefinition); + internal static EOS_Achievements_Definition_ReleaseDelegate EOS_Achievements_Definition_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Achievements_GetAchievementDefinitionCountDelegate(System.IntPtr handle, ref Achievements.GetAchievementDefinitionCountOptionsInternal options); + internal static EOS_Achievements_GetAchievementDefinitionCountDelegate EOS_Achievements_GetAchievementDefinitionCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Achievements_GetPlayerAchievementCountDelegate(System.IntPtr handle, ref Achievements.GetPlayerAchievementCountOptionsInternal options); + internal static EOS_Achievements_GetPlayerAchievementCountDelegate EOS_Achievements_GetPlayerAchievementCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Achievements_GetUnlockedAchievementCountDelegate(System.IntPtr handle, ref Achievements.GetUnlockedAchievementCountOptionsInternal options); + internal static EOS_Achievements_GetUnlockedAchievementCountDelegate EOS_Achievements_GetUnlockedAchievementCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Achievements_PlayerAchievement_ReleaseDelegate(System.IntPtr achievement); + internal static EOS_Achievements_PlayerAchievement_ReleaseDelegate EOS_Achievements_PlayerAchievement_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Achievements_QueryDefinitionsDelegate(System.IntPtr handle, ref Achievements.QueryDefinitionsOptionsInternal options, System.IntPtr clientData, Achievements.OnQueryDefinitionsCompleteCallbackInternal completionDelegate); + internal static EOS_Achievements_QueryDefinitionsDelegate EOS_Achievements_QueryDefinitions; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Achievements_QueryPlayerAchievementsDelegate(System.IntPtr handle, ref Achievements.QueryPlayerAchievementsOptionsInternal options, System.IntPtr clientData, Achievements.OnQueryPlayerAchievementsCompleteCallbackInternal completionDelegate); + internal static EOS_Achievements_QueryPlayerAchievementsDelegate EOS_Achievements_QueryPlayerAchievements; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Achievements_RemoveNotifyAchievementsUnlockedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Achievements_RemoveNotifyAchievementsUnlockedDelegate EOS_Achievements_RemoveNotifyAchievementsUnlocked; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Achievements_UnlockAchievementsDelegate(System.IntPtr handle, ref Achievements.UnlockAchievementsOptionsInternal options, System.IntPtr clientData, Achievements.OnUnlockAchievementsCompleteCallbackInternal completionDelegate); + internal static EOS_Achievements_UnlockAchievementsDelegate EOS_Achievements_UnlockAchievements; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Achievements_UnlockedAchievement_ReleaseDelegate(System.IntPtr achievement); + internal static EOS_Achievements_UnlockedAchievement_ReleaseDelegate EOS_Achievements_UnlockedAchievement_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_ActiveSession_CopyInfoDelegate(System.IntPtr handle, ref Sessions.ActiveSessionCopyInfoOptionsInternal options, ref System.IntPtr outActiveSessionInfo); + internal static EOS_ActiveSession_CopyInfoDelegate EOS_ActiveSession_CopyInfo; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_ActiveSession_GetRegisteredPlayerByIndexDelegate(System.IntPtr handle, ref Sessions.ActiveSessionGetRegisteredPlayerByIndexOptionsInternal options); + internal static EOS_ActiveSession_GetRegisteredPlayerByIndexDelegate EOS_ActiveSession_GetRegisteredPlayerByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_ActiveSession_GetRegisteredPlayerCountDelegate(System.IntPtr handle, ref Sessions.ActiveSessionGetRegisteredPlayerCountOptionsInternal options); + internal static EOS_ActiveSession_GetRegisteredPlayerCountDelegate EOS_ActiveSession_GetRegisteredPlayerCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_ActiveSession_Info_ReleaseDelegate(System.IntPtr activeSessionInfo); + internal static EOS_ActiveSession_Info_ReleaseDelegate EOS_ActiveSession_Info_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_ActiveSession_ReleaseDelegate(System.IntPtr activeSessionHandle); + internal static EOS_ActiveSession_ReleaseDelegate EOS_ActiveSession_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatClient_AddExternalIntegrityCatalogDelegate(System.IntPtr handle, ref AntiCheatClient.AddExternalIntegrityCatalogOptionsInternal options); + internal static EOS_AntiCheatClient_AddExternalIntegrityCatalogDelegate EOS_AntiCheatClient_AddExternalIntegrityCatalog; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_AntiCheatClient_AddNotifyClientIntegrityViolatedDelegate(System.IntPtr handle, ref AntiCheatClient.AddNotifyClientIntegrityViolatedOptionsInternal options, System.IntPtr clientData, AntiCheatClient.OnClientIntegrityViolatedCallbackInternal notificationFn); + internal static EOS_AntiCheatClient_AddNotifyClientIntegrityViolatedDelegate EOS_AntiCheatClient_AddNotifyClientIntegrityViolated; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_AntiCheatClient_AddNotifyMessageToPeerDelegate(System.IntPtr handle, ref AntiCheatClient.AddNotifyMessageToPeerOptionsInternal options, System.IntPtr clientData, AntiCheatClient.OnMessageToPeerCallbackInternal notificationFn); + internal static EOS_AntiCheatClient_AddNotifyMessageToPeerDelegate EOS_AntiCheatClient_AddNotifyMessageToPeer; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_AntiCheatClient_AddNotifyMessageToServerDelegate(System.IntPtr handle, ref AntiCheatClient.AddNotifyMessageToServerOptionsInternal options, System.IntPtr clientData, AntiCheatClient.OnMessageToServerCallbackInternal notificationFn); + internal static EOS_AntiCheatClient_AddNotifyMessageToServerDelegate EOS_AntiCheatClient_AddNotifyMessageToServer; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_AntiCheatClient_AddNotifyPeerActionRequiredDelegate(System.IntPtr handle, ref AntiCheatClient.AddNotifyPeerActionRequiredOptionsInternal options, System.IntPtr clientData, AntiCheatClient.OnPeerActionRequiredCallbackInternal notificationFn); + internal static EOS_AntiCheatClient_AddNotifyPeerActionRequiredDelegate EOS_AntiCheatClient_AddNotifyPeerActionRequired; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_AntiCheatClient_AddNotifyPeerAuthStatusChangedDelegate(System.IntPtr handle, ref AntiCheatClient.AddNotifyPeerAuthStatusChangedOptionsInternal options, System.IntPtr clientData, AntiCheatClient.OnPeerAuthStatusChangedCallbackInternal notificationFn); + internal static EOS_AntiCheatClient_AddNotifyPeerAuthStatusChangedDelegate EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatClient_BeginSessionDelegate(System.IntPtr handle, ref AntiCheatClient.BeginSessionOptionsInternal options); + internal static EOS_AntiCheatClient_BeginSessionDelegate EOS_AntiCheatClient_BeginSession; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatClient_EndSessionDelegate(System.IntPtr handle, ref AntiCheatClient.EndSessionOptionsInternal options); + internal static EOS_AntiCheatClient_EndSessionDelegate EOS_AntiCheatClient_EndSession; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatClient_GetProtectMessageOutputLengthDelegate(System.IntPtr handle, ref AntiCheatClient.GetProtectMessageOutputLengthOptionsInternal options, ref uint outBufferSizeBytes); + internal static EOS_AntiCheatClient_GetProtectMessageOutputLengthDelegate EOS_AntiCheatClient_GetProtectMessageOutputLength; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatClient_PollStatusDelegate(System.IntPtr handle, ref AntiCheatClient.PollStatusOptionsInternal options, ref AntiCheatClient.AntiCheatClientViolationType outViolationType, System.IntPtr outMessage); + internal static EOS_AntiCheatClient_PollStatusDelegate EOS_AntiCheatClient_PollStatus; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatClient_ProtectMessageDelegate(System.IntPtr handle, ref AntiCheatClient.ProtectMessageOptionsInternal options, System.IntPtr outBuffer, ref uint outBytesWritten); + internal static EOS_AntiCheatClient_ProtectMessageDelegate EOS_AntiCheatClient_ProtectMessage; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatClient_ReceiveMessageFromPeerDelegate(System.IntPtr handle, ref AntiCheatClient.ReceiveMessageFromPeerOptionsInternal options); + internal static EOS_AntiCheatClient_ReceiveMessageFromPeerDelegate EOS_AntiCheatClient_ReceiveMessageFromPeer; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatClient_ReceiveMessageFromServerDelegate(System.IntPtr handle, ref AntiCheatClient.ReceiveMessageFromServerOptionsInternal options); + internal static EOS_AntiCheatClient_ReceiveMessageFromServerDelegate EOS_AntiCheatClient_ReceiveMessageFromServer; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatClient_RegisterPeerDelegate(System.IntPtr handle, ref AntiCheatClient.RegisterPeerOptionsInternal options); + internal static EOS_AntiCheatClient_RegisterPeerDelegate EOS_AntiCheatClient_RegisterPeer; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolatedDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolatedDelegate EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolated; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_AntiCheatClient_RemoveNotifyMessageToPeerDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_AntiCheatClient_RemoveNotifyMessageToPeerDelegate EOS_AntiCheatClient_RemoveNotifyMessageToPeer; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_AntiCheatClient_RemoveNotifyMessageToServerDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_AntiCheatClient_RemoveNotifyMessageToServerDelegate EOS_AntiCheatClient_RemoveNotifyMessageToServer; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_AntiCheatClient_RemoveNotifyPeerActionRequiredDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_AntiCheatClient_RemoveNotifyPeerActionRequiredDelegate EOS_AntiCheatClient_RemoveNotifyPeerActionRequired; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedDelegate EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatClient_UnprotectMessageDelegate(System.IntPtr handle, ref AntiCheatClient.UnprotectMessageOptionsInternal options, System.IntPtr outBuffer, ref uint outBytesWritten); + internal static EOS_AntiCheatClient_UnprotectMessageDelegate EOS_AntiCheatClient_UnprotectMessage; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatClient_UnregisterPeerDelegate(System.IntPtr handle, ref AntiCheatClient.UnregisterPeerOptionsInternal options); + internal static EOS_AntiCheatClient_UnregisterPeerDelegate EOS_AntiCheatClient_UnregisterPeer; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_AntiCheatServer_AddNotifyClientActionRequiredDelegate(System.IntPtr handle, ref AntiCheatServer.AddNotifyClientActionRequiredOptionsInternal options, System.IntPtr clientData, AntiCheatServer.OnClientActionRequiredCallbackInternal notificationFn); + internal static EOS_AntiCheatServer_AddNotifyClientActionRequiredDelegate EOS_AntiCheatServer_AddNotifyClientActionRequired; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedDelegate(System.IntPtr handle, ref AntiCheatServer.AddNotifyClientAuthStatusChangedOptionsInternal options, System.IntPtr clientData, AntiCheatServer.OnClientAuthStatusChangedCallbackInternal notificationFn); + internal static EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedDelegate EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_AntiCheatServer_AddNotifyMessageToClientDelegate(System.IntPtr handle, ref AntiCheatServer.AddNotifyMessageToClientOptionsInternal options, System.IntPtr clientData, AntiCheatServer.OnMessageToClientCallbackInternal notificationFn); + internal static EOS_AntiCheatServer_AddNotifyMessageToClientDelegate EOS_AntiCheatServer_AddNotifyMessageToClient; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_BeginSessionDelegate(System.IntPtr handle, ref AntiCheatServer.BeginSessionOptionsInternal options); + internal static EOS_AntiCheatServer_BeginSessionDelegate EOS_AntiCheatServer_BeginSession; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_EndSessionDelegate(System.IntPtr handle, ref AntiCheatServer.EndSessionOptionsInternal options); + internal static EOS_AntiCheatServer_EndSessionDelegate EOS_AntiCheatServer_EndSession; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_GetProtectMessageOutputLengthDelegate(System.IntPtr handle, ref AntiCheatServer.GetProtectMessageOutputLengthOptionsInternal options, ref uint outBufferSizeBytes); + internal static EOS_AntiCheatServer_GetProtectMessageOutputLengthDelegate EOS_AntiCheatServer_GetProtectMessageOutputLength; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_LogEventDelegate(System.IntPtr handle, ref AntiCheatCommon.LogEventOptionsInternal options); + internal static EOS_AntiCheatServer_LogEventDelegate EOS_AntiCheatServer_LogEvent; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_LogGameRoundEndDelegate(System.IntPtr handle, ref AntiCheatCommon.LogGameRoundEndOptionsInternal options); + internal static EOS_AntiCheatServer_LogGameRoundEndDelegate EOS_AntiCheatServer_LogGameRoundEnd; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_LogGameRoundStartDelegate(System.IntPtr handle, ref AntiCheatCommon.LogGameRoundStartOptionsInternal options); + internal static EOS_AntiCheatServer_LogGameRoundStartDelegate EOS_AntiCheatServer_LogGameRoundStart; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_LogPlayerDespawnDelegate(System.IntPtr handle, ref AntiCheatCommon.LogPlayerDespawnOptionsInternal options); + internal static EOS_AntiCheatServer_LogPlayerDespawnDelegate EOS_AntiCheatServer_LogPlayerDespawn; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_LogPlayerReviveDelegate(System.IntPtr handle, ref AntiCheatCommon.LogPlayerReviveOptionsInternal options); + internal static EOS_AntiCheatServer_LogPlayerReviveDelegate EOS_AntiCheatServer_LogPlayerRevive; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_LogPlayerSpawnDelegate(System.IntPtr handle, ref AntiCheatCommon.LogPlayerSpawnOptionsInternal options); + internal static EOS_AntiCheatServer_LogPlayerSpawnDelegate EOS_AntiCheatServer_LogPlayerSpawn; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_LogPlayerTakeDamageDelegate(System.IntPtr handle, ref AntiCheatCommon.LogPlayerTakeDamageOptionsInternal options); + internal static EOS_AntiCheatServer_LogPlayerTakeDamageDelegate EOS_AntiCheatServer_LogPlayerTakeDamage; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_LogPlayerTickDelegate(System.IntPtr handle, ref AntiCheatCommon.LogPlayerTickOptionsInternal options); + internal static EOS_AntiCheatServer_LogPlayerTickDelegate EOS_AntiCheatServer_LogPlayerTick; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_LogPlayerUseAbilityDelegate(System.IntPtr handle, ref AntiCheatCommon.LogPlayerUseAbilityOptionsInternal options); + internal static EOS_AntiCheatServer_LogPlayerUseAbilityDelegate EOS_AntiCheatServer_LogPlayerUseAbility; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_LogPlayerUseWeaponDelegate(System.IntPtr handle, ref AntiCheatCommon.LogPlayerUseWeaponOptionsInternal options); + internal static EOS_AntiCheatServer_LogPlayerUseWeaponDelegate EOS_AntiCheatServer_LogPlayerUseWeapon; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_ProtectMessageDelegate(System.IntPtr handle, ref AntiCheatServer.ProtectMessageOptionsInternal options, System.IntPtr outBuffer, ref uint outBytesWritten); + internal static EOS_AntiCheatServer_ProtectMessageDelegate EOS_AntiCheatServer_ProtectMessage; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_ReceiveMessageFromClientDelegate(System.IntPtr handle, ref AntiCheatServer.ReceiveMessageFromClientOptionsInternal options); + internal static EOS_AntiCheatServer_ReceiveMessageFromClientDelegate EOS_AntiCheatServer_ReceiveMessageFromClient; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_RegisterClientDelegate(System.IntPtr handle, ref AntiCheatServer.RegisterClientOptionsInternal options); + internal static EOS_AntiCheatServer_RegisterClientDelegate EOS_AntiCheatServer_RegisterClient; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_RegisterEventDelegate(System.IntPtr handle, ref AntiCheatCommon.RegisterEventOptionsInternal options); + internal static EOS_AntiCheatServer_RegisterEventDelegate EOS_AntiCheatServer_RegisterEvent; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_AntiCheatServer_RemoveNotifyClientActionRequiredDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_AntiCheatServer_RemoveNotifyClientActionRequiredDelegate EOS_AntiCheatServer_RemoveNotifyClientActionRequired; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChangedDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChangedDelegate EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_AntiCheatServer_RemoveNotifyMessageToClientDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_AntiCheatServer_RemoveNotifyMessageToClientDelegate EOS_AntiCheatServer_RemoveNotifyMessageToClient; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_SetClientDetailsDelegate(System.IntPtr handle, ref AntiCheatCommon.SetClientDetailsOptionsInternal options); + internal static EOS_AntiCheatServer_SetClientDetailsDelegate EOS_AntiCheatServer_SetClientDetails; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_SetClientNetworkStateDelegate(System.IntPtr handle, ref AntiCheatServer.SetClientNetworkStateOptionsInternal options); + internal static EOS_AntiCheatServer_SetClientNetworkStateDelegate EOS_AntiCheatServer_SetClientNetworkState; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_SetGameSessionIdDelegate(System.IntPtr handle, ref AntiCheatCommon.SetGameSessionIdOptionsInternal options); + internal static EOS_AntiCheatServer_SetGameSessionIdDelegate EOS_AntiCheatServer_SetGameSessionId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_UnprotectMessageDelegate(System.IntPtr handle, ref AntiCheatServer.UnprotectMessageOptionsInternal options, System.IntPtr outBuffer, ref uint outBytesWritten); + internal static EOS_AntiCheatServer_UnprotectMessageDelegate EOS_AntiCheatServer_UnprotectMessage; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_AntiCheatServer_UnregisterClientDelegate(System.IntPtr handle, ref AntiCheatServer.UnregisterClientOptionsInternal options); + internal static EOS_AntiCheatServer_UnregisterClientDelegate EOS_AntiCheatServer_UnregisterClient; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Auth_AddNotifyLoginStatusChangedDelegate(System.IntPtr handle, ref Auth.AddNotifyLoginStatusChangedOptionsInternal options, System.IntPtr clientData, Auth.OnLoginStatusChangedCallbackInternal notification); + internal static EOS_Auth_AddNotifyLoginStatusChangedDelegate EOS_Auth_AddNotifyLoginStatusChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Auth_CopyIdTokenDelegate(System.IntPtr handle, ref Auth.CopyIdTokenOptionsInternal options, ref System.IntPtr outIdToken); + internal static EOS_Auth_CopyIdTokenDelegate EOS_Auth_CopyIdToken; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Auth_CopyUserAuthTokenDelegate(System.IntPtr handle, ref Auth.CopyUserAuthTokenOptionsInternal options, System.IntPtr localUserId, ref System.IntPtr outUserAuthToken); + internal static EOS_Auth_CopyUserAuthTokenDelegate EOS_Auth_CopyUserAuthToken; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Auth_DeletePersistentAuthDelegate(System.IntPtr handle, ref Auth.DeletePersistentAuthOptionsInternal options, System.IntPtr clientData, Auth.OnDeletePersistentAuthCallbackInternal completionDelegate); + internal static EOS_Auth_DeletePersistentAuthDelegate EOS_Auth_DeletePersistentAuth; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Auth_GetLoggedInAccountByIndexDelegate(System.IntPtr handle, int index); + internal static EOS_Auth_GetLoggedInAccountByIndexDelegate EOS_Auth_GetLoggedInAccountByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate int EOS_Auth_GetLoggedInAccountsCountDelegate(System.IntPtr handle); + internal static EOS_Auth_GetLoggedInAccountsCountDelegate EOS_Auth_GetLoggedInAccountsCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate LoginStatus EOS_Auth_GetLoginStatusDelegate(System.IntPtr handle, System.IntPtr localUserId); + internal static EOS_Auth_GetLoginStatusDelegate EOS_Auth_GetLoginStatus; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Auth_GetMergedAccountByIndexDelegate(System.IntPtr handle, System.IntPtr localUserId, uint index); + internal static EOS_Auth_GetMergedAccountByIndexDelegate EOS_Auth_GetMergedAccountByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Auth_GetMergedAccountsCountDelegate(System.IntPtr handle, System.IntPtr localUserId); + internal static EOS_Auth_GetMergedAccountsCountDelegate EOS_Auth_GetMergedAccountsCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Auth_GetSelectedAccountIdDelegate(System.IntPtr handle, System.IntPtr localUserId, ref System.IntPtr outSelectedAccountId); + internal static EOS_Auth_GetSelectedAccountIdDelegate EOS_Auth_GetSelectedAccountId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Auth_IdToken_ReleaseDelegate(System.IntPtr idToken); + internal static EOS_Auth_IdToken_ReleaseDelegate EOS_Auth_IdToken_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Auth_LinkAccountDelegate(System.IntPtr handle, ref Auth.LinkAccountOptionsInternal options, System.IntPtr clientData, Auth.OnLinkAccountCallbackInternal completionDelegate); + internal static EOS_Auth_LinkAccountDelegate EOS_Auth_LinkAccount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Auth_LoginDelegate(System.IntPtr handle, ref Auth.LoginOptionsInternal options, System.IntPtr clientData, Auth.OnLoginCallbackInternal completionDelegate); + internal static EOS_Auth_LoginDelegate EOS_Auth_Login; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Auth_LogoutDelegate(System.IntPtr handle, ref Auth.LogoutOptionsInternal options, System.IntPtr clientData, Auth.OnLogoutCallbackInternal completionDelegate); + internal static EOS_Auth_LogoutDelegate EOS_Auth_Logout; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Auth_QueryIdTokenDelegate(System.IntPtr handle, ref Auth.QueryIdTokenOptionsInternal options, System.IntPtr clientData, Auth.OnQueryIdTokenCallbackInternal completionDelegate); + internal static EOS_Auth_QueryIdTokenDelegate EOS_Auth_QueryIdToken; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Auth_RemoveNotifyLoginStatusChangedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Auth_RemoveNotifyLoginStatusChangedDelegate EOS_Auth_RemoveNotifyLoginStatusChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Auth_Token_ReleaseDelegate(System.IntPtr authToken); + internal static EOS_Auth_Token_ReleaseDelegate EOS_Auth_Token_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Auth_VerifyIdTokenDelegate(System.IntPtr handle, ref Auth.VerifyIdTokenOptionsInternal options, System.IntPtr clientData, Auth.OnVerifyIdTokenCallbackInternal completionDelegate); + internal static EOS_Auth_VerifyIdTokenDelegate EOS_Auth_VerifyIdToken; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Auth_VerifyUserAuthDelegate(System.IntPtr handle, ref Auth.VerifyUserAuthOptionsInternal options, System.IntPtr clientData, Auth.OnVerifyUserAuthCallbackInternal completionDelegate); + internal static EOS_Auth_VerifyUserAuthDelegate EOS_Auth_VerifyUserAuth; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_ByteArray_ToStringDelegate(System.IntPtr byteArray, uint length, System.IntPtr outBuffer, ref uint inOutBufferLength); + internal static EOS_ByteArray_ToStringDelegate EOS_ByteArray_ToString; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Connect_AddNotifyAuthExpirationDelegate(System.IntPtr handle, ref Connect.AddNotifyAuthExpirationOptionsInternal options, System.IntPtr clientData, Connect.OnAuthExpirationCallbackInternal notification); + internal static EOS_Connect_AddNotifyAuthExpirationDelegate EOS_Connect_AddNotifyAuthExpiration; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Connect_AddNotifyLoginStatusChangedDelegate(System.IntPtr handle, ref Connect.AddNotifyLoginStatusChangedOptionsInternal options, System.IntPtr clientData, Connect.OnLoginStatusChangedCallbackInternal notification); + internal static EOS_Connect_AddNotifyLoginStatusChangedDelegate EOS_Connect_AddNotifyLoginStatusChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Connect_CopyIdTokenDelegate(System.IntPtr handle, ref Connect.CopyIdTokenOptionsInternal options, ref System.IntPtr outIdToken); + internal static EOS_Connect_CopyIdTokenDelegate EOS_Connect_CopyIdToken; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Connect_CopyProductUserExternalAccountByAccountIdDelegate(System.IntPtr handle, ref Connect.CopyProductUserExternalAccountByAccountIdOptionsInternal options, ref System.IntPtr outExternalAccountInfo); + internal static EOS_Connect_CopyProductUserExternalAccountByAccountIdDelegate EOS_Connect_CopyProductUserExternalAccountByAccountId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Connect_CopyProductUserExternalAccountByAccountTypeDelegate(System.IntPtr handle, ref Connect.CopyProductUserExternalAccountByAccountTypeOptionsInternal options, ref System.IntPtr outExternalAccountInfo); + internal static EOS_Connect_CopyProductUserExternalAccountByAccountTypeDelegate EOS_Connect_CopyProductUserExternalAccountByAccountType; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Connect_CopyProductUserExternalAccountByIndexDelegate(System.IntPtr handle, ref Connect.CopyProductUserExternalAccountByIndexOptionsInternal options, ref System.IntPtr outExternalAccountInfo); + internal static EOS_Connect_CopyProductUserExternalAccountByIndexDelegate EOS_Connect_CopyProductUserExternalAccountByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Connect_CopyProductUserInfoDelegate(System.IntPtr handle, ref Connect.CopyProductUserInfoOptionsInternal options, ref System.IntPtr outExternalAccountInfo); + internal static EOS_Connect_CopyProductUserInfoDelegate EOS_Connect_CopyProductUserInfo; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_CreateDeviceIdDelegate(System.IntPtr handle, ref Connect.CreateDeviceIdOptionsInternal options, System.IntPtr clientData, Connect.OnCreateDeviceIdCallbackInternal completionDelegate); + internal static EOS_Connect_CreateDeviceIdDelegate EOS_Connect_CreateDeviceId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_CreateUserDelegate(System.IntPtr handle, ref Connect.CreateUserOptionsInternal options, System.IntPtr clientData, Connect.OnCreateUserCallbackInternal completionDelegate); + internal static EOS_Connect_CreateUserDelegate EOS_Connect_CreateUser; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_DeleteDeviceIdDelegate(System.IntPtr handle, ref Connect.DeleteDeviceIdOptionsInternal options, System.IntPtr clientData, Connect.OnDeleteDeviceIdCallbackInternal completionDelegate); + internal static EOS_Connect_DeleteDeviceIdDelegate EOS_Connect_DeleteDeviceId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_ExternalAccountInfo_ReleaseDelegate(System.IntPtr externalAccountInfo); + internal static EOS_Connect_ExternalAccountInfo_ReleaseDelegate EOS_Connect_ExternalAccountInfo_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Connect_GetExternalAccountMappingDelegate(System.IntPtr handle, ref Connect.GetExternalAccountMappingsOptionsInternal options); + internal static EOS_Connect_GetExternalAccountMappingDelegate EOS_Connect_GetExternalAccountMapping; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Connect_GetLoggedInUserByIndexDelegate(System.IntPtr handle, int index); + internal static EOS_Connect_GetLoggedInUserByIndexDelegate EOS_Connect_GetLoggedInUserByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate int EOS_Connect_GetLoggedInUsersCountDelegate(System.IntPtr handle); + internal static EOS_Connect_GetLoggedInUsersCountDelegate EOS_Connect_GetLoggedInUsersCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate LoginStatus EOS_Connect_GetLoginStatusDelegate(System.IntPtr handle, System.IntPtr localUserId); + internal static EOS_Connect_GetLoginStatusDelegate EOS_Connect_GetLoginStatus; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Connect_GetProductUserExternalAccountCountDelegate(System.IntPtr handle, ref Connect.GetProductUserExternalAccountCountOptionsInternal options); + internal static EOS_Connect_GetProductUserExternalAccountCountDelegate EOS_Connect_GetProductUserExternalAccountCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Connect_GetProductUserIdMappingDelegate(System.IntPtr handle, ref Connect.GetProductUserIdMappingOptionsInternal options, System.IntPtr outBuffer, ref int inOutBufferLength); + internal static EOS_Connect_GetProductUserIdMappingDelegate EOS_Connect_GetProductUserIdMapping; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_IdToken_ReleaseDelegate(System.IntPtr idToken); + internal static EOS_Connect_IdToken_ReleaseDelegate EOS_Connect_IdToken_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_LinkAccountDelegate(System.IntPtr handle, ref Connect.LinkAccountOptionsInternal options, System.IntPtr clientData, Connect.OnLinkAccountCallbackInternal completionDelegate); + internal static EOS_Connect_LinkAccountDelegate EOS_Connect_LinkAccount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_LoginDelegate(System.IntPtr handle, ref Connect.LoginOptionsInternal options, System.IntPtr clientData, Connect.OnLoginCallbackInternal completionDelegate); + internal static EOS_Connect_LoginDelegate EOS_Connect_Login; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_QueryExternalAccountMappingsDelegate(System.IntPtr handle, ref Connect.QueryExternalAccountMappingsOptionsInternal options, System.IntPtr clientData, Connect.OnQueryExternalAccountMappingsCallbackInternal completionDelegate); + internal static EOS_Connect_QueryExternalAccountMappingsDelegate EOS_Connect_QueryExternalAccountMappings; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_QueryProductUserIdMappingsDelegate(System.IntPtr handle, ref Connect.QueryProductUserIdMappingsOptionsInternal options, System.IntPtr clientData, Connect.OnQueryProductUserIdMappingsCallbackInternal completionDelegate); + internal static EOS_Connect_QueryProductUserIdMappingsDelegate EOS_Connect_QueryProductUserIdMappings; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_RemoveNotifyAuthExpirationDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Connect_RemoveNotifyAuthExpirationDelegate EOS_Connect_RemoveNotifyAuthExpiration; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_RemoveNotifyLoginStatusChangedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Connect_RemoveNotifyLoginStatusChangedDelegate EOS_Connect_RemoveNotifyLoginStatusChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_TransferDeviceIdAccountDelegate(System.IntPtr handle, ref Connect.TransferDeviceIdAccountOptionsInternal options, System.IntPtr clientData, Connect.OnTransferDeviceIdAccountCallbackInternal completionDelegate); + internal static EOS_Connect_TransferDeviceIdAccountDelegate EOS_Connect_TransferDeviceIdAccount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_UnlinkAccountDelegate(System.IntPtr handle, ref Connect.UnlinkAccountOptionsInternal options, System.IntPtr clientData, Connect.OnUnlinkAccountCallbackInternal completionDelegate); + internal static EOS_Connect_UnlinkAccountDelegate EOS_Connect_UnlinkAccount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Connect_VerifyIdTokenDelegate(System.IntPtr handle, ref Connect.VerifyIdTokenOptionsInternal options, System.IntPtr clientData, Connect.OnVerifyIdTokenCallbackInternal completionDelegate); + internal static EOS_Connect_VerifyIdTokenDelegate EOS_Connect_VerifyIdToken; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_ContinuanceToken_ToStringDelegate(System.IntPtr continuanceToken, System.IntPtr outBuffer, ref int inOutBufferLength); + internal static EOS_ContinuanceToken_ToStringDelegate EOS_ContinuanceToken_ToString; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_CustomInvites_AddNotifyCustomInviteAcceptedDelegate(System.IntPtr handle, ref CustomInvites.AddNotifyCustomInviteAcceptedOptionsInternal options, System.IntPtr clientData, CustomInvites.OnCustomInviteAcceptedCallbackInternal notificationFn); + internal static EOS_CustomInvites_AddNotifyCustomInviteAcceptedDelegate EOS_CustomInvites_AddNotifyCustomInviteAccepted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_CustomInvites_AddNotifyCustomInviteReceivedDelegate(System.IntPtr handle, ref CustomInvites.AddNotifyCustomInviteReceivedOptionsInternal options, System.IntPtr clientData, CustomInvites.OnCustomInviteReceivedCallbackInternal notificationFn); + internal static EOS_CustomInvites_AddNotifyCustomInviteReceivedDelegate EOS_CustomInvites_AddNotifyCustomInviteReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_CustomInvites_AddNotifyCustomInviteRejectedDelegate(System.IntPtr handle, ref CustomInvites.AddNotifyCustomInviteRejectedOptionsInternal options, System.IntPtr clientData, CustomInvites.OnCustomInviteRejectedCallbackInternal notificationFn); + internal static EOS_CustomInvites_AddNotifyCustomInviteRejectedDelegate EOS_CustomInvites_AddNotifyCustomInviteRejected; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_CustomInvites_FinalizeInviteDelegate(System.IntPtr handle, ref CustomInvites.FinalizeInviteOptionsInternal options); + internal static EOS_CustomInvites_FinalizeInviteDelegate EOS_CustomInvites_FinalizeInvite; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_CustomInvites_RemoveNotifyCustomInviteAcceptedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_CustomInvites_RemoveNotifyCustomInviteAcceptedDelegate EOS_CustomInvites_RemoveNotifyCustomInviteAccepted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_CustomInvites_RemoveNotifyCustomInviteReceivedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_CustomInvites_RemoveNotifyCustomInviteReceivedDelegate EOS_CustomInvites_RemoveNotifyCustomInviteReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_CustomInvites_RemoveNotifyCustomInviteRejectedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_CustomInvites_RemoveNotifyCustomInviteRejectedDelegate EOS_CustomInvites_RemoveNotifyCustomInviteRejected; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_CustomInvites_SendCustomInviteDelegate(System.IntPtr handle, ref CustomInvites.SendCustomInviteOptionsInternal options, System.IntPtr clientData, CustomInvites.OnSendCustomInviteCallbackInternal completionDelegate); + internal static EOS_CustomInvites_SendCustomInviteDelegate EOS_CustomInvites_SendCustomInvite; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_CustomInvites_SetCustomInviteDelegate(System.IntPtr handle, ref CustomInvites.SetCustomInviteOptionsInternal options); + internal static EOS_CustomInvites_SetCustomInviteDelegate EOS_CustomInvites_SetCustomInvite; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate int EOS_EResult_IsOperationCompleteDelegate(Result result); + internal static EOS_EResult_IsOperationCompleteDelegate EOS_EResult_IsOperationComplete; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_EResult_ToStringDelegate(Result result); + internal static EOS_EResult_ToStringDelegate EOS_EResult_ToString; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Ecom_CatalogItem_ReleaseDelegate(System.IntPtr catalogItem); + internal static EOS_Ecom_CatalogItem_ReleaseDelegate EOS_Ecom_CatalogItem_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Ecom_CatalogOffer_ReleaseDelegate(System.IntPtr catalogOffer); + internal static EOS_Ecom_CatalogOffer_ReleaseDelegate EOS_Ecom_CatalogOffer_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Ecom_CatalogRelease_ReleaseDelegate(System.IntPtr catalogRelease); + internal static EOS_Ecom_CatalogRelease_ReleaseDelegate EOS_Ecom_CatalogRelease_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Ecom_CheckoutDelegate(System.IntPtr handle, ref Ecom.CheckoutOptionsInternal options, System.IntPtr clientData, Ecom.OnCheckoutCallbackInternal completionDelegate); + internal static EOS_Ecom_CheckoutDelegate EOS_Ecom_Checkout; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_CopyEntitlementByIdDelegate(System.IntPtr handle, ref Ecom.CopyEntitlementByIdOptionsInternal options, ref System.IntPtr outEntitlement); + internal static EOS_Ecom_CopyEntitlementByIdDelegate EOS_Ecom_CopyEntitlementById; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_CopyEntitlementByIndexDelegate(System.IntPtr handle, ref Ecom.CopyEntitlementByIndexOptionsInternal options, ref System.IntPtr outEntitlement); + internal static EOS_Ecom_CopyEntitlementByIndexDelegate EOS_Ecom_CopyEntitlementByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_CopyEntitlementByNameAndIndexDelegate(System.IntPtr handle, ref Ecom.CopyEntitlementByNameAndIndexOptionsInternal options, ref System.IntPtr outEntitlement); + internal static EOS_Ecom_CopyEntitlementByNameAndIndexDelegate EOS_Ecom_CopyEntitlementByNameAndIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_CopyItemByIdDelegate(System.IntPtr handle, ref Ecom.CopyItemByIdOptionsInternal options, ref System.IntPtr outItem); + internal static EOS_Ecom_CopyItemByIdDelegate EOS_Ecom_CopyItemById; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_CopyItemImageInfoByIndexDelegate(System.IntPtr handle, ref Ecom.CopyItemImageInfoByIndexOptionsInternal options, ref System.IntPtr outImageInfo); + internal static EOS_Ecom_CopyItemImageInfoByIndexDelegate EOS_Ecom_CopyItemImageInfoByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_CopyItemReleaseByIndexDelegate(System.IntPtr handle, ref Ecom.CopyItemReleaseByIndexOptionsInternal options, ref System.IntPtr outRelease); + internal static EOS_Ecom_CopyItemReleaseByIndexDelegate EOS_Ecom_CopyItemReleaseByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_CopyLastRedeemedEntitlementByIndexDelegate(System.IntPtr handle, ref Ecom.CopyLastRedeemedEntitlementByIndexOptionsInternal options, System.IntPtr outRedeemedEntitlementId, ref int inOutRedeemedEntitlementIdLength); + internal static EOS_Ecom_CopyLastRedeemedEntitlementByIndexDelegate EOS_Ecom_CopyLastRedeemedEntitlementByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_CopyOfferByIdDelegate(System.IntPtr handle, ref Ecom.CopyOfferByIdOptionsInternal options, ref System.IntPtr outOffer); + internal static EOS_Ecom_CopyOfferByIdDelegate EOS_Ecom_CopyOfferById; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_CopyOfferByIndexDelegate(System.IntPtr handle, ref Ecom.CopyOfferByIndexOptionsInternal options, ref System.IntPtr outOffer); + internal static EOS_Ecom_CopyOfferByIndexDelegate EOS_Ecom_CopyOfferByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_CopyOfferImageInfoByIndexDelegate(System.IntPtr handle, ref Ecom.CopyOfferImageInfoByIndexOptionsInternal options, ref System.IntPtr outImageInfo); + internal static EOS_Ecom_CopyOfferImageInfoByIndexDelegate EOS_Ecom_CopyOfferImageInfoByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_CopyOfferItemByIndexDelegate(System.IntPtr handle, ref Ecom.CopyOfferItemByIndexOptionsInternal options, ref System.IntPtr outItem); + internal static EOS_Ecom_CopyOfferItemByIndexDelegate EOS_Ecom_CopyOfferItemByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_CopyTransactionByIdDelegate(System.IntPtr handle, ref Ecom.CopyTransactionByIdOptionsInternal options, ref System.IntPtr outTransaction); + internal static EOS_Ecom_CopyTransactionByIdDelegate EOS_Ecom_CopyTransactionById; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_CopyTransactionByIndexDelegate(System.IntPtr handle, ref Ecom.CopyTransactionByIndexOptionsInternal options, ref System.IntPtr outTransaction); + internal static EOS_Ecom_CopyTransactionByIndexDelegate EOS_Ecom_CopyTransactionByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Ecom_Entitlement_ReleaseDelegate(System.IntPtr entitlement); + internal static EOS_Ecom_Entitlement_ReleaseDelegate EOS_Ecom_Entitlement_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Ecom_GetEntitlementsByNameCountDelegate(System.IntPtr handle, ref Ecom.GetEntitlementsByNameCountOptionsInternal options); + internal static EOS_Ecom_GetEntitlementsByNameCountDelegate EOS_Ecom_GetEntitlementsByNameCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Ecom_GetEntitlementsCountDelegate(System.IntPtr handle, ref Ecom.GetEntitlementsCountOptionsInternal options); + internal static EOS_Ecom_GetEntitlementsCountDelegate EOS_Ecom_GetEntitlementsCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Ecom_GetItemImageInfoCountDelegate(System.IntPtr handle, ref Ecom.GetItemImageInfoCountOptionsInternal options); + internal static EOS_Ecom_GetItemImageInfoCountDelegate EOS_Ecom_GetItemImageInfoCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Ecom_GetItemReleaseCountDelegate(System.IntPtr handle, ref Ecom.GetItemReleaseCountOptionsInternal options); + internal static EOS_Ecom_GetItemReleaseCountDelegate EOS_Ecom_GetItemReleaseCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Ecom_GetLastRedeemedEntitlementsCountDelegate(System.IntPtr handle, ref Ecom.GetLastRedeemedEntitlementsCountOptionsInternal options); + internal static EOS_Ecom_GetLastRedeemedEntitlementsCountDelegate EOS_Ecom_GetLastRedeemedEntitlementsCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Ecom_GetOfferCountDelegate(System.IntPtr handle, ref Ecom.GetOfferCountOptionsInternal options); + internal static EOS_Ecom_GetOfferCountDelegate EOS_Ecom_GetOfferCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Ecom_GetOfferImageInfoCountDelegate(System.IntPtr handle, ref Ecom.GetOfferImageInfoCountOptionsInternal options); + internal static EOS_Ecom_GetOfferImageInfoCountDelegate EOS_Ecom_GetOfferImageInfoCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Ecom_GetOfferItemCountDelegate(System.IntPtr handle, ref Ecom.GetOfferItemCountOptionsInternal options); + internal static EOS_Ecom_GetOfferItemCountDelegate EOS_Ecom_GetOfferItemCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Ecom_GetTransactionCountDelegate(System.IntPtr handle, ref Ecom.GetTransactionCountOptionsInternal options); + internal static EOS_Ecom_GetTransactionCountDelegate EOS_Ecom_GetTransactionCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Ecom_KeyImageInfo_ReleaseDelegate(System.IntPtr keyImageInfo); + internal static EOS_Ecom_KeyImageInfo_ReleaseDelegate EOS_Ecom_KeyImageInfo_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Ecom_QueryEntitlementTokenDelegate(System.IntPtr handle, ref Ecom.QueryEntitlementTokenOptionsInternal options, System.IntPtr clientData, Ecom.OnQueryEntitlementTokenCallbackInternal completionDelegate); + internal static EOS_Ecom_QueryEntitlementTokenDelegate EOS_Ecom_QueryEntitlementToken; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Ecom_QueryEntitlementsDelegate(System.IntPtr handle, ref Ecom.QueryEntitlementsOptionsInternal options, System.IntPtr clientData, Ecom.OnQueryEntitlementsCallbackInternal completionDelegate); + internal static EOS_Ecom_QueryEntitlementsDelegate EOS_Ecom_QueryEntitlements; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Ecom_QueryOffersDelegate(System.IntPtr handle, ref Ecom.QueryOffersOptionsInternal options, System.IntPtr clientData, Ecom.OnQueryOffersCallbackInternal completionDelegate); + internal static EOS_Ecom_QueryOffersDelegate EOS_Ecom_QueryOffers; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Ecom_QueryOwnershipDelegate(System.IntPtr handle, ref Ecom.QueryOwnershipOptionsInternal options, System.IntPtr clientData, Ecom.OnQueryOwnershipCallbackInternal completionDelegate); + internal static EOS_Ecom_QueryOwnershipDelegate EOS_Ecom_QueryOwnership; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Ecom_QueryOwnershipTokenDelegate(System.IntPtr handle, ref Ecom.QueryOwnershipTokenOptionsInternal options, System.IntPtr clientData, Ecom.OnQueryOwnershipTokenCallbackInternal completionDelegate); + internal static EOS_Ecom_QueryOwnershipTokenDelegate EOS_Ecom_QueryOwnershipToken; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Ecom_RedeemEntitlementsDelegate(System.IntPtr handle, ref Ecom.RedeemEntitlementsOptionsInternal options, System.IntPtr clientData, Ecom.OnRedeemEntitlementsCallbackInternal completionDelegate); + internal static EOS_Ecom_RedeemEntitlementsDelegate EOS_Ecom_RedeemEntitlements; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_Transaction_CopyEntitlementByIndexDelegate(System.IntPtr handle, ref Ecom.TransactionCopyEntitlementByIndexOptionsInternal options, ref System.IntPtr outEntitlement); + internal static EOS_Ecom_Transaction_CopyEntitlementByIndexDelegate EOS_Ecom_Transaction_CopyEntitlementByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Ecom_Transaction_GetEntitlementsCountDelegate(System.IntPtr handle, ref Ecom.TransactionGetEntitlementsCountOptionsInternal options); + internal static EOS_Ecom_Transaction_GetEntitlementsCountDelegate EOS_Ecom_Transaction_GetEntitlementsCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Ecom_Transaction_GetTransactionIdDelegate(System.IntPtr handle, System.IntPtr outBuffer, ref int inOutBufferLength); + internal static EOS_Ecom_Transaction_GetTransactionIdDelegate EOS_Ecom_Transaction_GetTransactionId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Ecom_Transaction_ReleaseDelegate(System.IntPtr transaction); + internal static EOS_Ecom_Transaction_ReleaseDelegate EOS_Ecom_Transaction_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_EpicAccountId_FromStringDelegate(System.IntPtr accountIdString); + internal static EOS_EpicAccountId_FromStringDelegate EOS_EpicAccountId_FromString; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate int EOS_EpicAccountId_IsValidDelegate(System.IntPtr accountId); + internal static EOS_EpicAccountId_IsValidDelegate EOS_EpicAccountId_IsValid; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_EpicAccountId_ToStringDelegate(System.IntPtr accountId, System.IntPtr outBuffer, ref int inOutBufferLength); + internal static EOS_EpicAccountId_ToStringDelegate EOS_EpicAccountId_ToString; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Friends_AcceptInviteDelegate(System.IntPtr handle, ref Friends.AcceptInviteOptionsInternal options, System.IntPtr clientData, Friends.OnAcceptInviteCallbackInternal completionDelegate); + internal static EOS_Friends_AcceptInviteDelegate EOS_Friends_AcceptInvite; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Friends_AddNotifyFriendsUpdateDelegate(System.IntPtr handle, ref Friends.AddNotifyFriendsUpdateOptionsInternal options, System.IntPtr clientData, Friends.OnFriendsUpdateCallbackInternal friendsUpdateHandler); + internal static EOS_Friends_AddNotifyFriendsUpdateDelegate EOS_Friends_AddNotifyFriendsUpdate; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Friends_GetFriendAtIndexDelegate(System.IntPtr handle, ref Friends.GetFriendAtIndexOptionsInternal options); + internal static EOS_Friends_GetFriendAtIndexDelegate EOS_Friends_GetFriendAtIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate int EOS_Friends_GetFriendsCountDelegate(System.IntPtr handle, ref Friends.GetFriendsCountOptionsInternal options); + internal static EOS_Friends_GetFriendsCountDelegate EOS_Friends_GetFriendsCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Friends.FriendsStatus EOS_Friends_GetStatusDelegate(System.IntPtr handle, ref Friends.GetStatusOptionsInternal options); + internal static EOS_Friends_GetStatusDelegate EOS_Friends_GetStatus; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Friends_QueryFriendsDelegate(System.IntPtr handle, ref Friends.QueryFriendsOptionsInternal options, System.IntPtr clientData, Friends.OnQueryFriendsCallbackInternal completionDelegate); + internal static EOS_Friends_QueryFriendsDelegate EOS_Friends_QueryFriends; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Friends_RejectInviteDelegate(System.IntPtr handle, ref Friends.RejectInviteOptionsInternal options, System.IntPtr clientData, Friends.OnRejectInviteCallbackInternal completionDelegate); + internal static EOS_Friends_RejectInviteDelegate EOS_Friends_RejectInvite; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Friends_RemoveNotifyFriendsUpdateDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_Friends_RemoveNotifyFriendsUpdateDelegate EOS_Friends_RemoveNotifyFriendsUpdate; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Friends_SendInviteDelegate(System.IntPtr handle, ref Friends.SendInviteOptionsInternal options, System.IntPtr clientData, Friends.OnSendInviteCallbackInternal completionDelegate); + internal static EOS_Friends_SendInviteDelegate EOS_Friends_SendInvite; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_GetVersionDelegate(); + internal static EOS_GetVersionDelegate EOS_GetVersion; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_InitializeDelegate(ref Platform.InitializeOptionsInternal options); + internal static EOS_InitializeDelegate EOS_Initialize; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_IntegratedPlatformOptionsContainer_AddDelegate(System.IntPtr handle, ref IntegratedPlatform.IntegratedPlatformOptionsContainerAddOptionsInternal inOptions); + internal static EOS_IntegratedPlatformOptionsContainer_AddDelegate EOS_IntegratedPlatformOptionsContainer_Add; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_IntegratedPlatformOptionsContainer_ReleaseDelegate(System.IntPtr integratedPlatformOptionsContainerHandle); + internal static EOS_IntegratedPlatformOptionsContainer_ReleaseDelegate EOS_IntegratedPlatformOptionsContainer_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainerDelegate(ref IntegratedPlatform.CreateIntegratedPlatformOptionsContainerOptionsInternal options, ref System.IntPtr outIntegratedPlatformOptionsContainerHandle); + internal static EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainerDelegate EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainer; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_KWS_AddNotifyPermissionsUpdateReceivedDelegate(System.IntPtr handle, ref KWS.AddNotifyPermissionsUpdateReceivedOptionsInternal options, System.IntPtr clientData, KWS.OnPermissionsUpdateReceivedCallbackInternal notificationFn); + internal static EOS_KWS_AddNotifyPermissionsUpdateReceivedDelegate EOS_KWS_AddNotifyPermissionsUpdateReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_KWS_CopyPermissionByIndexDelegate(System.IntPtr handle, ref KWS.CopyPermissionByIndexOptionsInternal options, ref System.IntPtr outPermission); + internal static EOS_KWS_CopyPermissionByIndexDelegate EOS_KWS_CopyPermissionByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_KWS_CreateUserDelegate(System.IntPtr handle, ref KWS.CreateUserOptionsInternal options, System.IntPtr clientData, KWS.OnCreateUserCallbackInternal completionDelegate); + internal static EOS_KWS_CreateUserDelegate EOS_KWS_CreateUser; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_KWS_GetPermissionByKeyDelegate(System.IntPtr handle, ref KWS.GetPermissionByKeyOptionsInternal options, ref KWS.KWSPermissionStatus outPermission); + internal static EOS_KWS_GetPermissionByKeyDelegate EOS_KWS_GetPermissionByKey; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate int EOS_KWS_GetPermissionsCountDelegate(System.IntPtr handle, ref KWS.GetPermissionsCountOptionsInternal options); + internal static EOS_KWS_GetPermissionsCountDelegate EOS_KWS_GetPermissionsCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_KWS_PermissionStatus_ReleaseDelegate(System.IntPtr permissionStatus); + internal static EOS_KWS_PermissionStatus_ReleaseDelegate EOS_KWS_PermissionStatus_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_KWS_QueryAgeGateDelegate(System.IntPtr handle, ref KWS.QueryAgeGateOptionsInternal options, System.IntPtr clientData, KWS.OnQueryAgeGateCallbackInternal completionDelegate); + internal static EOS_KWS_QueryAgeGateDelegate EOS_KWS_QueryAgeGate; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_KWS_QueryPermissionsDelegate(System.IntPtr handle, ref KWS.QueryPermissionsOptionsInternal options, System.IntPtr clientData, KWS.OnQueryPermissionsCallbackInternal completionDelegate); + internal static EOS_KWS_QueryPermissionsDelegate EOS_KWS_QueryPermissions; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_KWS_RemoveNotifyPermissionsUpdateReceivedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_KWS_RemoveNotifyPermissionsUpdateReceivedDelegate EOS_KWS_RemoveNotifyPermissionsUpdateReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_KWS_RequestPermissionsDelegate(System.IntPtr handle, ref KWS.RequestPermissionsOptionsInternal options, System.IntPtr clientData, KWS.OnRequestPermissionsCallbackInternal completionDelegate); + internal static EOS_KWS_RequestPermissionsDelegate EOS_KWS_RequestPermissions; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_KWS_UpdateParentEmailDelegate(System.IntPtr handle, ref KWS.UpdateParentEmailOptionsInternal options, System.IntPtr clientData, KWS.OnUpdateParentEmailCallbackInternal completionDelegate); + internal static EOS_KWS_UpdateParentEmailDelegate EOS_KWS_UpdateParentEmail; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Leaderboards_CopyLeaderboardDefinitionByIndexDelegate(System.IntPtr handle, ref Leaderboards.CopyLeaderboardDefinitionByIndexOptionsInternal options, ref System.IntPtr outLeaderboardDefinition); + internal static EOS_Leaderboards_CopyLeaderboardDefinitionByIndexDelegate EOS_Leaderboards_CopyLeaderboardDefinitionByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardIdDelegate(System.IntPtr handle, ref Leaderboards.CopyLeaderboardDefinitionByLeaderboardIdOptionsInternal options, ref System.IntPtr outLeaderboardDefinition); + internal static EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardIdDelegate EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Leaderboards_CopyLeaderboardRecordByIndexDelegate(System.IntPtr handle, ref Leaderboards.CopyLeaderboardRecordByIndexOptionsInternal options, ref System.IntPtr outLeaderboardRecord); + internal static EOS_Leaderboards_CopyLeaderboardRecordByIndexDelegate EOS_Leaderboards_CopyLeaderboardRecordByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Leaderboards_CopyLeaderboardRecordByUserIdDelegate(System.IntPtr handle, ref Leaderboards.CopyLeaderboardRecordByUserIdOptionsInternal options, ref System.IntPtr outLeaderboardRecord); + internal static EOS_Leaderboards_CopyLeaderboardRecordByUserIdDelegate EOS_Leaderboards_CopyLeaderboardRecordByUserId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Leaderboards_CopyLeaderboardUserScoreByIndexDelegate(System.IntPtr handle, ref Leaderboards.CopyLeaderboardUserScoreByIndexOptionsInternal options, ref System.IntPtr outLeaderboardUserScore); + internal static EOS_Leaderboards_CopyLeaderboardUserScoreByIndexDelegate EOS_Leaderboards_CopyLeaderboardUserScoreByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Leaderboards_CopyLeaderboardUserScoreByUserIdDelegate(System.IntPtr handle, ref Leaderboards.CopyLeaderboardUserScoreByUserIdOptionsInternal options, ref System.IntPtr outLeaderboardUserScore); + internal static EOS_Leaderboards_CopyLeaderboardUserScoreByUserIdDelegate EOS_Leaderboards_CopyLeaderboardUserScoreByUserId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Leaderboards_Definition_ReleaseDelegate(System.IntPtr leaderboardDefinition); + internal static EOS_Leaderboards_Definition_ReleaseDelegate EOS_Leaderboards_Definition_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Leaderboards_GetLeaderboardDefinitionCountDelegate(System.IntPtr handle, ref Leaderboards.GetLeaderboardDefinitionCountOptionsInternal options); + internal static EOS_Leaderboards_GetLeaderboardDefinitionCountDelegate EOS_Leaderboards_GetLeaderboardDefinitionCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Leaderboards_GetLeaderboardRecordCountDelegate(System.IntPtr handle, ref Leaderboards.GetLeaderboardRecordCountOptionsInternal options); + internal static EOS_Leaderboards_GetLeaderboardRecordCountDelegate EOS_Leaderboards_GetLeaderboardRecordCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Leaderboards_GetLeaderboardUserScoreCountDelegate(System.IntPtr handle, ref Leaderboards.GetLeaderboardUserScoreCountOptionsInternal options); + internal static EOS_Leaderboards_GetLeaderboardUserScoreCountDelegate EOS_Leaderboards_GetLeaderboardUserScoreCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Leaderboards_LeaderboardDefinition_ReleaseDelegate(System.IntPtr leaderboardDefinition); + internal static EOS_Leaderboards_LeaderboardDefinition_ReleaseDelegate EOS_Leaderboards_LeaderboardDefinition_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Leaderboards_LeaderboardRecord_ReleaseDelegate(System.IntPtr leaderboardRecord); + internal static EOS_Leaderboards_LeaderboardRecord_ReleaseDelegate EOS_Leaderboards_LeaderboardRecord_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Leaderboards_LeaderboardUserScore_ReleaseDelegate(System.IntPtr leaderboardUserScore); + internal static EOS_Leaderboards_LeaderboardUserScore_ReleaseDelegate EOS_Leaderboards_LeaderboardUserScore_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Leaderboards_QueryLeaderboardDefinitionsDelegate(System.IntPtr handle, ref Leaderboards.QueryLeaderboardDefinitionsOptionsInternal options, System.IntPtr clientData, Leaderboards.OnQueryLeaderboardDefinitionsCompleteCallbackInternal completionDelegate); + internal static EOS_Leaderboards_QueryLeaderboardDefinitionsDelegate EOS_Leaderboards_QueryLeaderboardDefinitions; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Leaderboards_QueryLeaderboardRanksDelegate(System.IntPtr handle, ref Leaderboards.QueryLeaderboardRanksOptionsInternal options, System.IntPtr clientData, Leaderboards.OnQueryLeaderboardRanksCompleteCallbackInternal completionDelegate); + internal static EOS_Leaderboards_QueryLeaderboardRanksDelegate EOS_Leaderboards_QueryLeaderboardRanks; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Leaderboards_QueryLeaderboardUserScoresDelegate(System.IntPtr handle, ref Leaderboards.QueryLeaderboardUserScoresOptionsInternal options, System.IntPtr clientData, Leaderboards.OnQueryLeaderboardUserScoresCompleteCallbackInternal completionDelegate); + internal static EOS_Leaderboards_QueryLeaderboardUserScoresDelegate EOS_Leaderboards_QueryLeaderboardUserScores; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbyDetails_CopyAttributeByIndexDelegate(System.IntPtr handle, ref Lobby.LobbyDetailsCopyAttributeByIndexOptionsInternal options, ref System.IntPtr outAttribute); + internal static EOS_LobbyDetails_CopyAttributeByIndexDelegate EOS_LobbyDetails_CopyAttributeByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbyDetails_CopyAttributeByKeyDelegate(System.IntPtr handle, ref Lobby.LobbyDetailsCopyAttributeByKeyOptionsInternal options, ref System.IntPtr outAttribute); + internal static EOS_LobbyDetails_CopyAttributeByKeyDelegate EOS_LobbyDetails_CopyAttributeByKey; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbyDetails_CopyInfoDelegate(System.IntPtr handle, ref Lobby.LobbyDetailsCopyInfoOptionsInternal options, ref System.IntPtr outLobbyDetailsInfo); + internal static EOS_LobbyDetails_CopyInfoDelegate EOS_LobbyDetails_CopyInfo; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbyDetails_CopyMemberAttributeByIndexDelegate(System.IntPtr handle, ref Lobby.LobbyDetailsCopyMemberAttributeByIndexOptionsInternal options, ref System.IntPtr outAttribute); + internal static EOS_LobbyDetails_CopyMemberAttributeByIndexDelegate EOS_LobbyDetails_CopyMemberAttributeByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbyDetails_CopyMemberAttributeByKeyDelegate(System.IntPtr handle, ref Lobby.LobbyDetailsCopyMemberAttributeByKeyOptionsInternal options, ref System.IntPtr outAttribute); + internal static EOS_LobbyDetails_CopyMemberAttributeByKeyDelegate EOS_LobbyDetails_CopyMemberAttributeByKey; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_LobbyDetails_GetAttributeCountDelegate(System.IntPtr handle, ref Lobby.LobbyDetailsGetAttributeCountOptionsInternal options); + internal static EOS_LobbyDetails_GetAttributeCountDelegate EOS_LobbyDetails_GetAttributeCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_LobbyDetails_GetLobbyOwnerDelegate(System.IntPtr handle, ref Lobby.LobbyDetailsGetLobbyOwnerOptionsInternal options); + internal static EOS_LobbyDetails_GetLobbyOwnerDelegate EOS_LobbyDetails_GetLobbyOwner; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_LobbyDetails_GetMemberAttributeCountDelegate(System.IntPtr handle, ref Lobby.LobbyDetailsGetMemberAttributeCountOptionsInternal options); + internal static EOS_LobbyDetails_GetMemberAttributeCountDelegate EOS_LobbyDetails_GetMemberAttributeCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_LobbyDetails_GetMemberByIndexDelegate(System.IntPtr handle, ref Lobby.LobbyDetailsGetMemberByIndexOptionsInternal options); + internal static EOS_LobbyDetails_GetMemberByIndexDelegate EOS_LobbyDetails_GetMemberByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_LobbyDetails_GetMemberCountDelegate(System.IntPtr handle, ref Lobby.LobbyDetailsGetMemberCountOptionsInternal options); + internal static EOS_LobbyDetails_GetMemberCountDelegate EOS_LobbyDetails_GetMemberCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_LobbyDetails_Info_ReleaseDelegate(System.IntPtr lobbyDetailsInfo); + internal static EOS_LobbyDetails_Info_ReleaseDelegate EOS_LobbyDetails_Info_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_LobbyDetails_ReleaseDelegate(System.IntPtr lobbyHandle); + internal static EOS_LobbyDetails_ReleaseDelegate EOS_LobbyDetails_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbyModification_AddAttributeDelegate(System.IntPtr handle, ref Lobby.LobbyModificationAddAttributeOptionsInternal options); + internal static EOS_LobbyModification_AddAttributeDelegate EOS_LobbyModification_AddAttribute; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbyModification_AddMemberAttributeDelegate(System.IntPtr handle, ref Lobby.LobbyModificationAddMemberAttributeOptionsInternal options); + internal static EOS_LobbyModification_AddMemberAttributeDelegate EOS_LobbyModification_AddMemberAttribute; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_LobbyModification_ReleaseDelegate(System.IntPtr lobbyModificationHandle); + internal static EOS_LobbyModification_ReleaseDelegate EOS_LobbyModification_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbyModification_RemoveAttributeDelegate(System.IntPtr handle, ref Lobby.LobbyModificationRemoveAttributeOptionsInternal options); + internal static EOS_LobbyModification_RemoveAttributeDelegate EOS_LobbyModification_RemoveAttribute; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbyModification_RemoveMemberAttributeDelegate(System.IntPtr handle, ref Lobby.LobbyModificationRemoveMemberAttributeOptionsInternal options); + internal static EOS_LobbyModification_RemoveMemberAttributeDelegate EOS_LobbyModification_RemoveMemberAttribute; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbyModification_SetBucketIdDelegate(System.IntPtr handle, ref Lobby.LobbyModificationSetBucketIdOptionsInternal options); + internal static EOS_LobbyModification_SetBucketIdDelegate EOS_LobbyModification_SetBucketId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbyModification_SetInvitesAllowedDelegate(System.IntPtr handle, ref Lobby.LobbyModificationSetInvitesAllowedOptionsInternal options); + internal static EOS_LobbyModification_SetInvitesAllowedDelegate EOS_LobbyModification_SetInvitesAllowed; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbyModification_SetMaxMembersDelegate(System.IntPtr handle, ref Lobby.LobbyModificationSetMaxMembersOptionsInternal options); + internal static EOS_LobbyModification_SetMaxMembersDelegate EOS_LobbyModification_SetMaxMembers; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbyModification_SetPermissionLevelDelegate(System.IntPtr handle, ref Lobby.LobbyModificationSetPermissionLevelOptionsInternal options); + internal static EOS_LobbyModification_SetPermissionLevelDelegate EOS_LobbyModification_SetPermissionLevel; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbySearch_CopySearchResultByIndexDelegate(System.IntPtr handle, ref Lobby.LobbySearchCopySearchResultByIndexOptionsInternal options, ref System.IntPtr outLobbyDetailsHandle); + internal static EOS_LobbySearch_CopySearchResultByIndexDelegate EOS_LobbySearch_CopySearchResultByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_LobbySearch_FindDelegate(System.IntPtr handle, ref Lobby.LobbySearchFindOptionsInternal options, System.IntPtr clientData, Lobby.LobbySearchOnFindCallbackInternal completionDelegate); + internal static EOS_LobbySearch_FindDelegate EOS_LobbySearch_Find; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_LobbySearch_GetSearchResultCountDelegate(System.IntPtr handle, ref Lobby.LobbySearchGetSearchResultCountOptionsInternal options); + internal static EOS_LobbySearch_GetSearchResultCountDelegate EOS_LobbySearch_GetSearchResultCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_LobbySearch_ReleaseDelegate(System.IntPtr lobbySearchHandle); + internal static EOS_LobbySearch_ReleaseDelegate EOS_LobbySearch_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbySearch_RemoveParameterDelegate(System.IntPtr handle, ref Lobby.LobbySearchRemoveParameterOptionsInternal options); + internal static EOS_LobbySearch_RemoveParameterDelegate EOS_LobbySearch_RemoveParameter; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbySearch_SetLobbyIdDelegate(System.IntPtr handle, ref Lobby.LobbySearchSetLobbyIdOptionsInternal options); + internal static EOS_LobbySearch_SetLobbyIdDelegate EOS_LobbySearch_SetLobbyId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbySearch_SetMaxResultsDelegate(System.IntPtr handle, ref Lobby.LobbySearchSetMaxResultsOptionsInternal options); + internal static EOS_LobbySearch_SetMaxResultsDelegate EOS_LobbySearch_SetMaxResults; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbySearch_SetParameterDelegate(System.IntPtr handle, ref Lobby.LobbySearchSetParameterOptionsInternal options); + internal static EOS_LobbySearch_SetParameterDelegate EOS_LobbySearch_SetParameter; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_LobbySearch_SetTargetUserIdDelegate(System.IntPtr handle, ref Lobby.LobbySearchSetTargetUserIdOptionsInternal options); + internal static EOS_LobbySearch_SetTargetUserIdDelegate EOS_LobbySearch_SetTargetUserId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Lobby_AddNotifyJoinLobbyAcceptedDelegate(System.IntPtr handle, ref Lobby.AddNotifyJoinLobbyAcceptedOptionsInternal options, System.IntPtr clientData, Lobby.OnJoinLobbyAcceptedCallbackInternal notificationFn); + internal static EOS_Lobby_AddNotifyJoinLobbyAcceptedDelegate EOS_Lobby_AddNotifyJoinLobbyAccepted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Lobby_AddNotifyLobbyInviteAcceptedDelegate(System.IntPtr handle, ref Lobby.AddNotifyLobbyInviteAcceptedOptionsInternal options, System.IntPtr clientData, Lobby.OnLobbyInviteAcceptedCallbackInternal notificationFn); + internal static EOS_Lobby_AddNotifyLobbyInviteAcceptedDelegate EOS_Lobby_AddNotifyLobbyInviteAccepted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Lobby_AddNotifyLobbyInviteReceivedDelegate(System.IntPtr handle, ref Lobby.AddNotifyLobbyInviteReceivedOptionsInternal options, System.IntPtr clientData, Lobby.OnLobbyInviteReceivedCallbackInternal notificationFn); + internal static EOS_Lobby_AddNotifyLobbyInviteReceivedDelegate EOS_Lobby_AddNotifyLobbyInviteReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Lobby_AddNotifyLobbyInviteRejectedDelegate(System.IntPtr handle, ref Lobby.AddNotifyLobbyInviteRejectedOptionsInternal options, System.IntPtr clientData, Lobby.OnLobbyInviteRejectedCallbackInternal notificationFn); + internal static EOS_Lobby_AddNotifyLobbyInviteRejectedDelegate EOS_Lobby_AddNotifyLobbyInviteRejected; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Lobby_AddNotifyLobbyMemberStatusReceivedDelegate(System.IntPtr handle, ref Lobby.AddNotifyLobbyMemberStatusReceivedOptionsInternal options, System.IntPtr clientData, Lobby.OnLobbyMemberStatusReceivedCallbackInternal notificationFn); + internal static EOS_Lobby_AddNotifyLobbyMemberStatusReceivedDelegate EOS_Lobby_AddNotifyLobbyMemberStatusReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Lobby_AddNotifyLobbyMemberUpdateReceivedDelegate(System.IntPtr handle, ref Lobby.AddNotifyLobbyMemberUpdateReceivedOptionsInternal options, System.IntPtr clientData, Lobby.OnLobbyMemberUpdateReceivedCallbackInternal notificationFn); + internal static EOS_Lobby_AddNotifyLobbyMemberUpdateReceivedDelegate EOS_Lobby_AddNotifyLobbyMemberUpdateReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Lobby_AddNotifyLobbyUpdateReceivedDelegate(System.IntPtr handle, ref Lobby.AddNotifyLobbyUpdateReceivedOptionsInternal options, System.IntPtr clientData, Lobby.OnLobbyUpdateReceivedCallbackInternal notificationFn); + internal static EOS_Lobby_AddNotifyLobbyUpdateReceivedDelegate EOS_Lobby_AddNotifyLobbyUpdateReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Lobby_AddNotifyRTCRoomConnectionChangedDelegate(System.IntPtr handle, ref Lobby.AddNotifyRTCRoomConnectionChangedOptionsInternal options, System.IntPtr clientData, Lobby.OnRTCRoomConnectionChangedCallbackInternal notificationFn); + internal static EOS_Lobby_AddNotifyRTCRoomConnectionChangedDelegate EOS_Lobby_AddNotifyRTCRoomConnectionChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Lobby_AddNotifySendLobbyNativeInviteRequestedDelegate(System.IntPtr handle, ref Lobby.AddNotifySendLobbyNativeInviteRequestedOptionsInternal options, System.IntPtr clientData, Lobby.OnSendLobbyNativeInviteRequestedCallbackInternal notificationFn); + internal static EOS_Lobby_AddNotifySendLobbyNativeInviteRequestedDelegate EOS_Lobby_AddNotifySendLobbyNativeInviteRequested; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_Attribute_ReleaseDelegate(System.IntPtr lobbyAttribute); + internal static EOS_Lobby_Attribute_ReleaseDelegate EOS_Lobby_Attribute_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Lobby_CopyLobbyDetailsHandleDelegate(System.IntPtr handle, ref Lobby.CopyLobbyDetailsHandleOptionsInternal options, ref System.IntPtr outLobbyDetailsHandle); + internal static EOS_Lobby_CopyLobbyDetailsHandleDelegate EOS_Lobby_CopyLobbyDetailsHandle; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Lobby_CopyLobbyDetailsHandleByInviteIdDelegate(System.IntPtr handle, ref Lobby.CopyLobbyDetailsHandleByInviteIdOptionsInternal options, ref System.IntPtr outLobbyDetailsHandle); + internal static EOS_Lobby_CopyLobbyDetailsHandleByInviteIdDelegate EOS_Lobby_CopyLobbyDetailsHandleByInviteId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Lobby_CopyLobbyDetailsHandleByUiEventIdDelegate(System.IntPtr handle, ref Lobby.CopyLobbyDetailsHandleByUiEventIdOptionsInternal options, ref System.IntPtr outLobbyDetailsHandle); + internal static EOS_Lobby_CopyLobbyDetailsHandleByUiEventIdDelegate EOS_Lobby_CopyLobbyDetailsHandleByUiEventId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_CreateLobbyDelegate(System.IntPtr handle, ref Lobby.CreateLobbyOptionsInternal options, System.IntPtr clientData, Lobby.OnCreateLobbyCallbackInternal completionDelegate); + internal static EOS_Lobby_CreateLobbyDelegate EOS_Lobby_CreateLobby; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Lobby_CreateLobbySearchDelegate(System.IntPtr handle, ref Lobby.CreateLobbySearchOptionsInternal options, ref System.IntPtr outLobbySearchHandle); + internal static EOS_Lobby_CreateLobbySearchDelegate EOS_Lobby_CreateLobbySearch; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_DestroyLobbyDelegate(System.IntPtr handle, ref Lobby.DestroyLobbyOptionsInternal options, System.IntPtr clientData, Lobby.OnDestroyLobbyCallbackInternal completionDelegate); + internal static EOS_Lobby_DestroyLobbyDelegate EOS_Lobby_DestroyLobby; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Lobby_GetInviteCountDelegate(System.IntPtr handle, ref Lobby.GetInviteCountOptionsInternal options); + internal static EOS_Lobby_GetInviteCountDelegate EOS_Lobby_GetInviteCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Lobby_GetInviteIdByIndexDelegate(System.IntPtr handle, ref Lobby.GetInviteIdByIndexOptionsInternal options, System.IntPtr outBuffer, ref int inOutBufferLength); + internal static EOS_Lobby_GetInviteIdByIndexDelegate EOS_Lobby_GetInviteIdByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Lobby_GetRTCRoomNameDelegate(System.IntPtr handle, ref Lobby.GetRTCRoomNameOptionsInternal options, System.IntPtr outBuffer, ref uint inOutBufferLength); + internal static EOS_Lobby_GetRTCRoomNameDelegate EOS_Lobby_GetRTCRoomName; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_HardMuteMemberDelegate(System.IntPtr handle, ref Lobby.HardMuteMemberOptionsInternal options, System.IntPtr clientData, Lobby.OnHardMuteMemberCallbackInternal completionDelegate); + internal static EOS_Lobby_HardMuteMemberDelegate EOS_Lobby_HardMuteMember; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Lobby_IsRTCRoomConnectedDelegate(System.IntPtr handle, ref Lobby.IsRTCRoomConnectedOptionsInternal options, ref int bOutIsConnected); + internal static EOS_Lobby_IsRTCRoomConnectedDelegate EOS_Lobby_IsRTCRoomConnected; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_JoinLobbyDelegate(System.IntPtr handle, ref Lobby.JoinLobbyOptionsInternal options, System.IntPtr clientData, Lobby.OnJoinLobbyCallbackInternal completionDelegate); + internal static EOS_Lobby_JoinLobbyDelegate EOS_Lobby_JoinLobby; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_JoinLobbyByIdDelegate(System.IntPtr handle, ref Lobby.JoinLobbyByIdOptionsInternal options, System.IntPtr clientData, Lobby.OnJoinLobbyByIdCallbackInternal completionDelegate); + internal static EOS_Lobby_JoinLobbyByIdDelegate EOS_Lobby_JoinLobbyById; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_KickMemberDelegate(System.IntPtr handle, ref Lobby.KickMemberOptionsInternal options, System.IntPtr clientData, Lobby.OnKickMemberCallbackInternal completionDelegate); + internal static EOS_Lobby_KickMemberDelegate EOS_Lobby_KickMember; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_LeaveLobbyDelegate(System.IntPtr handle, ref Lobby.LeaveLobbyOptionsInternal options, System.IntPtr clientData, Lobby.OnLeaveLobbyCallbackInternal completionDelegate); + internal static EOS_Lobby_LeaveLobbyDelegate EOS_Lobby_LeaveLobby; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_PromoteMemberDelegate(System.IntPtr handle, ref Lobby.PromoteMemberOptionsInternal options, System.IntPtr clientData, Lobby.OnPromoteMemberCallbackInternal completionDelegate); + internal static EOS_Lobby_PromoteMemberDelegate EOS_Lobby_PromoteMember; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_QueryInvitesDelegate(System.IntPtr handle, ref Lobby.QueryInvitesOptionsInternal options, System.IntPtr clientData, Lobby.OnQueryInvitesCallbackInternal completionDelegate); + internal static EOS_Lobby_QueryInvitesDelegate EOS_Lobby_QueryInvites; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_RejectInviteDelegate(System.IntPtr handle, ref Lobby.RejectInviteOptionsInternal options, System.IntPtr clientData, Lobby.OnRejectInviteCallbackInternal completionDelegate); + internal static EOS_Lobby_RejectInviteDelegate EOS_Lobby_RejectInvite; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_RemoveNotifyJoinLobbyAcceptedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Lobby_RemoveNotifyJoinLobbyAcceptedDelegate EOS_Lobby_RemoveNotifyJoinLobbyAccepted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_RemoveNotifyLobbyInviteAcceptedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Lobby_RemoveNotifyLobbyInviteAcceptedDelegate EOS_Lobby_RemoveNotifyLobbyInviteAccepted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_RemoveNotifyLobbyInviteReceivedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Lobby_RemoveNotifyLobbyInviteReceivedDelegate EOS_Lobby_RemoveNotifyLobbyInviteReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_RemoveNotifyLobbyInviteRejectedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Lobby_RemoveNotifyLobbyInviteRejectedDelegate EOS_Lobby_RemoveNotifyLobbyInviteRejected; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_RemoveNotifyLobbyMemberStatusReceivedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Lobby_RemoveNotifyLobbyMemberStatusReceivedDelegate EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceivedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceivedDelegate EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_RemoveNotifyLobbyUpdateReceivedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Lobby_RemoveNotifyLobbyUpdateReceivedDelegate EOS_Lobby_RemoveNotifyLobbyUpdateReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_RemoveNotifyRTCRoomConnectionChangedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Lobby_RemoveNotifyRTCRoomConnectionChangedDelegate EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequestedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequestedDelegate EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequested; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_SendInviteDelegate(System.IntPtr handle, ref Lobby.SendInviteOptionsInternal options, System.IntPtr clientData, Lobby.OnSendInviteCallbackInternal completionDelegate); + internal static EOS_Lobby_SendInviteDelegate EOS_Lobby_SendInvite; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Lobby_UpdateLobbyDelegate(System.IntPtr handle, ref Lobby.UpdateLobbyOptionsInternal options, System.IntPtr clientData, Lobby.OnUpdateLobbyCallbackInternal completionDelegate); + internal static EOS_Lobby_UpdateLobbyDelegate EOS_Lobby_UpdateLobby; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Lobby_UpdateLobbyModificationDelegate(System.IntPtr handle, ref Lobby.UpdateLobbyModificationOptionsInternal options, ref System.IntPtr outLobbyModificationHandle); + internal static EOS_Lobby_UpdateLobbyModificationDelegate EOS_Lobby_UpdateLobbyModification; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Logging_SetCallbackDelegate(Logging.LogMessageFuncInternal callback); + internal static EOS_Logging_SetCallbackDelegate EOS_Logging_SetCallback; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Logging_SetLogLevelDelegate(Logging.LogCategory logCategory, Logging.LogLevel logLevel); + internal static EOS_Logging_SetLogLevelDelegate EOS_Logging_SetLogLevel; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Metrics_BeginPlayerSessionDelegate(System.IntPtr handle, ref Metrics.BeginPlayerSessionOptionsInternal options); + internal static EOS_Metrics_BeginPlayerSessionDelegate EOS_Metrics_BeginPlayerSession; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Metrics_EndPlayerSessionDelegate(System.IntPtr handle, ref Metrics.EndPlayerSessionOptionsInternal options); + internal static EOS_Metrics_EndPlayerSessionDelegate EOS_Metrics_EndPlayerSession; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Mods_CopyModInfoDelegate(System.IntPtr handle, ref Mods.CopyModInfoOptionsInternal options, ref System.IntPtr outEnumeratedMods); + internal static EOS_Mods_CopyModInfoDelegate EOS_Mods_CopyModInfo; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Mods_EnumerateModsDelegate(System.IntPtr handle, ref Mods.EnumerateModsOptionsInternal options, System.IntPtr clientData, Mods.OnEnumerateModsCallbackInternal completionDelegate); + internal static EOS_Mods_EnumerateModsDelegate EOS_Mods_EnumerateMods; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Mods_InstallModDelegate(System.IntPtr handle, ref Mods.InstallModOptionsInternal options, System.IntPtr clientData, Mods.OnInstallModCallbackInternal completionDelegate); + internal static EOS_Mods_InstallModDelegate EOS_Mods_InstallMod; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Mods_ModInfo_ReleaseDelegate(System.IntPtr modInfo); + internal static EOS_Mods_ModInfo_ReleaseDelegate EOS_Mods_ModInfo_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Mods_UninstallModDelegate(System.IntPtr handle, ref Mods.UninstallModOptionsInternal options, System.IntPtr clientData, Mods.OnUninstallModCallbackInternal completionDelegate); + internal static EOS_Mods_UninstallModDelegate EOS_Mods_UninstallMod; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Mods_UpdateModDelegate(System.IntPtr handle, ref Mods.UpdateModOptionsInternal options, System.IntPtr clientData, Mods.OnUpdateModCallbackInternal completionDelegate); + internal static EOS_Mods_UpdateModDelegate EOS_Mods_UpdateMod; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_AcceptConnectionDelegate(System.IntPtr handle, ref P2P.AcceptConnectionOptionsInternal options); + internal static EOS_P2P_AcceptConnectionDelegate EOS_P2P_AcceptConnection; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_P2P_AddNotifyIncomingPacketQueueFullDelegate(System.IntPtr handle, ref P2P.AddNotifyIncomingPacketQueueFullOptionsInternal options, System.IntPtr clientData, P2P.OnIncomingPacketQueueFullCallbackInternal incomingPacketQueueFullHandler); + internal static EOS_P2P_AddNotifyIncomingPacketQueueFullDelegate EOS_P2P_AddNotifyIncomingPacketQueueFull; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_P2P_AddNotifyPeerConnectionClosedDelegate(System.IntPtr handle, ref P2P.AddNotifyPeerConnectionClosedOptionsInternal options, System.IntPtr clientData, P2P.OnRemoteConnectionClosedCallbackInternal connectionClosedHandler); + internal static EOS_P2P_AddNotifyPeerConnectionClosedDelegate EOS_P2P_AddNotifyPeerConnectionClosed; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_P2P_AddNotifyPeerConnectionEstablishedDelegate(System.IntPtr handle, ref P2P.AddNotifyPeerConnectionEstablishedOptionsInternal options, System.IntPtr clientData, P2P.OnPeerConnectionEstablishedCallbackInternal connectionEstablishedHandler); + internal static EOS_P2P_AddNotifyPeerConnectionEstablishedDelegate EOS_P2P_AddNotifyPeerConnectionEstablished; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_P2P_AddNotifyPeerConnectionInterruptedDelegate(System.IntPtr handle, ref P2P.AddNotifyPeerConnectionInterruptedOptionsInternal options, System.IntPtr clientData, P2P.OnPeerConnectionInterruptedCallbackInternal connectionInterruptedHandler); + internal static EOS_P2P_AddNotifyPeerConnectionInterruptedDelegate EOS_P2P_AddNotifyPeerConnectionInterrupted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_P2P_AddNotifyPeerConnectionRequestDelegate(System.IntPtr handle, ref P2P.AddNotifyPeerConnectionRequestOptionsInternal options, System.IntPtr clientData, P2P.OnIncomingConnectionRequestCallbackInternal connectionRequestHandler); + internal static EOS_P2P_AddNotifyPeerConnectionRequestDelegate EOS_P2P_AddNotifyPeerConnectionRequest; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_ClearPacketQueueDelegate(System.IntPtr handle, ref P2P.ClearPacketQueueOptionsInternal options); + internal static EOS_P2P_ClearPacketQueueDelegate EOS_P2P_ClearPacketQueue; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_CloseConnectionDelegate(System.IntPtr handle, ref P2P.CloseConnectionOptionsInternal options); + internal static EOS_P2P_CloseConnectionDelegate EOS_P2P_CloseConnection; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_CloseConnectionsDelegate(System.IntPtr handle, ref P2P.CloseConnectionsOptionsInternal options); + internal static EOS_P2P_CloseConnectionsDelegate EOS_P2P_CloseConnections; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_GetNATTypeDelegate(System.IntPtr handle, ref P2P.GetNATTypeOptionsInternal options, ref P2P.NATType outNATType); + internal static EOS_P2P_GetNATTypeDelegate EOS_P2P_GetNATType; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_GetNextReceivedPacketSizeDelegate(System.IntPtr handle, ref P2P.GetNextReceivedPacketSizeOptionsInternal options, ref uint outPacketSizeBytes); + internal static EOS_P2P_GetNextReceivedPacketSizeDelegate EOS_P2P_GetNextReceivedPacketSize; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_GetPacketQueueInfoDelegate(System.IntPtr handle, ref P2P.GetPacketQueueInfoOptionsInternal options, ref P2P.PacketQueueInfoInternal outPacketQueueInfo); + internal static EOS_P2P_GetPacketQueueInfoDelegate EOS_P2P_GetPacketQueueInfo; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_GetPortRangeDelegate(System.IntPtr handle, ref P2P.GetPortRangeOptionsInternal options, ref ushort outPort, ref ushort outNumAdditionalPortsToTry); + internal static EOS_P2P_GetPortRangeDelegate EOS_P2P_GetPortRange; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_GetRelayControlDelegate(System.IntPtr handle, ref P2P.GetRelayControlOptionsInternal options, ref P2P.RelayControl outRelayControl); + internal static EOS_P2P_GetRelayControlDelegate EOS_P2P_GetRelayControl; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_P2P_QueryNATTypeDelegate(System.IntPtr handle, ref P2P.QueryNATTypeOptionsInternal options, System.IntPtr clientData, P2P.OnQueryNATTypeCompleteCallbackInternal completionDelegate); + internal static EOS_P2P_QueryNATTypeDelegate EOS_P2P_QueryNATType; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_ReceivePacketDelegate(System.IntPtr handle, ref P2P.ReceivePacketOptionsInternal options, ref System.IntPtr outPeerId, ref P2P.SocketIdInternal outSocketId, ref byte outChannel, System.IntPtr outData, ref uint outBytesWritten); + internal static EOS_P2P_ReceivePacketDelegate EOS_P2P_ReceivePacket; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_P2P_RemoveNotifyIncomingPacketQueueFullDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_P2P_RemoveNotifyIncomingPacketQueueFullDelegate EOS_P2P_RemoveNotifyIncomingPacketQueueFull; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_P2P_RemoveNotifyPeerConnectionClosedDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_P2P_RemoveNotifyPeerConnectionClosedDelegate EOS_P2P_RemoveNotifyPeerConnectionClosed; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_P2P_RemoveNotifyPeerConnectionEstablishedDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_P2P_RemoveNotifyPeerConnectionEstablishedDelegate EOS_P2P_RemoveNotifyPeerConnectionEstablished; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_P2P_RemoveNotifyPeerConnectionInterruptedDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_P2P_RemoveNotifyPeerConnectionInterruptedDelegate EOS_P2P_RemoveNotifyPeerConnectionInterrupted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_P2P_RemoveNotifyPeerConnectionRequestDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_P2P_RemoveNotifyPeerConnectionRequestDelegate EOS_P2P_RemoveNotifyPeerConnectionRequest; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_SendPacketDelegate(System.IntPtr handle, ref P2P.SendPacketOptionsInternal options); + internal static EOS_P2P_SendPacketDelegate EOS_P2P_SendPacket; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_SetPacketQueueSizeDelegate(System.IntPtr handle, ref P2P.SetPacketQueueSizeOptionsInternal options); + internal static EOS_P2P_SetPacketQueueSizeDelegate EOS_P2P_SetPacketQueueSize; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_SetPortRangeDelegate(System.IntPtr handle, ref P2P.SetPortRangeOptionsInternal options); + internal static EOS_P2P_SetPortRangeDelegate EOS_P2P_SetPortRange; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_P2P_SetRelayControlDelegate(System.IntPtr handle, ref P2P.SetRelayControlOptionsInternal options); + internal static EOS_P2P_SetRelayControlDelegate EOS_P2P_SetRelayControl; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Platform_CheckForLauncherAndRestartDelegate(System.IntPtr handle); + internal static EOS_Platform_CheckForLauncherAndRestartDelegate EOS_Platform_CheckForLauncherAndRestart; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_CreateDelegate(ref Platform.OptionsInternal options); + internal static EOS_Platform_CreateDelegate EOS_Platform_Create; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetAchievementsInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetAchievementsInterfaceDelegate EOS_Platform_GetAchievementsInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Platform_GetActiveCountryCodeDelegate(System.IntPtr handle, System.IntPtr localUserId, System.IntPtr outBuffer, ref int inOutBufferLength); + internal static EOS_Platform_GetActiveCountryCodeDelegate EOS_Platform_GetActiveCountryCode; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Platform_GetActiveLocaleCodeDelegate(System.IntPtr handle, System.IntPtr localUserId, System.IntPtr outBuffer, ref int inOutBufferLength); + internal static EOS_Platform_GetActiveLocaleCodeDelegate EOS_Platform_GetActiveLocaleCode; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetAntiCheatClientInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetAntiCheatClientInterfaceDelegate EOS_Platform_GetAntiCheatClientInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetAntiCheatServerInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetAntiCheatServerInterfaceDelegate EOS_Platform_GetAntiCheatServerInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Platform.ApplicationStatus EOS_Platform_GetApplicationStatusDelegate(System.IntPtr handle); + internal static EOS_Platform_GetApplicationStatusDelegate EOS_Platform_GetApplicationStatus; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetAuthInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetAuthInterfaceDelegate EOS_Platform_GetAuthInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetConnectInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetConnectInterfaceDelegate EOS_Platform_GetConnectInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetCustomInvitesInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetCustomInvitesInterfaceDelegate EOS_Platform_GetCustomInvitesInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Platform_GetDesktopCrossplayStatusDelegate(System.IntPtr handle, ref Platform.GetDesktopCrossplayStatusOptionsInternal options, ref Platform.GetDesktopCrossplayStatusInfoInternal outDesktopCrossplayStatusInfo); + internal static EOS_Platform_GetDesktopCrossplayStatusDelegate EOS_Platform_GetDesktopCrossplayStatus; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetEcomInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetEcomInterfaceDelegate EOS_Platform_GetEcomInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetFriendsInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetFriendsInterfaceDelegate EOS_Platform_GetFriendsInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetKWSInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetKWSInterfaceDelegate EOS_Platform_GetKWSInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetLeaderboardsInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetLeaderboardsInterfaceDelegate EOS_Platform_GetLeaderboardsInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetLobbyInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetLobbyInterfaceDelegate EOS_Platform_GetLobbyInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetMetricsInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetMetricsInterfaceDelegate EOS_Platform_GetMetricsInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetModsInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetModsInterfaceDelegate EOS_Platform_GetModsInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Platform.NetworkStatus EOS_Platform_GetNetworkStatusDelegate(System.IntPtr handle); + internal static EOS_Platform_GetNetworkStatusDelegate EOS_Platform_GetNetworkStatus; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Platform_GetOverrideCountryCodeDelegate(System.IntPtr handle, System.IntPtr outBuffer, ref int inOutBufferLength); + internal static EOS_Platform_GetOverrideCountryCodeDelegate EOS_Platform_GetOverrideCountryCode; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Platform_GetOverrideLocaleCodeDelegate(System.IntPtr handle, System.IntPtr outBuffer, ref int inOutBufferLength); + internal static EOS_Platform_GetOverrideLocaleCodeDelegate EOS_Platform_GetOverrideLocaleCode; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetP2PInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetP2PInterfaceDelegate EOS_Platform_GetP2PInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetPlayerDataStorageInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetPlayerDataStorageInterfaceDelegate EOS_Platform_GetPlayerDataStorageInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetPresenceInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetPresenceInterfaceDelegate EOS_Platform_GetPresenceInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetProgressionSnapshotInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetProgressionSnapshotInterfaceDelegate EOS_Platform_GetProgressionSnapshotInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetRTCAdminInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetRTCAdminInterfaceDelegate EOS_Platform_GetRTCAdminInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetRTCInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetRTCInterfaceDelegate EOS_Platform_GetRTCInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetReportsInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetReportsInterfaceDelegate EOS_Platform_GetReportsInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetSanctionsInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetSanctionsInterfaceDelegate EOS_Platform_GetSanctionsInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetSessionsInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetSessionsInterfaceDelegate EOS_Platform_GetSessionsInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetStatsInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetStatsInterfaceDelegate EOS_Platform_GetStatsInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetTitleStorageInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetTitleStorageInterfaceDelegate EOS_Platform_GetTitleStorageInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetUIInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetUIInterfaceDelegate EOS_Platform_GetUIInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_GetUserInfoInterfaceDelegate(System.IntPtr handle); + internal static EOS_Platform_GetUserInfoInterfaceDelegate EOS_Platform_GetUserInfoInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Platform_ReleaseDelegate(System.IntPtr handle); + internal static EOS_Platform_ReleaseDelegate EOS_Platform_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Platform_SetApplicationStatusDelegate(System.IntPtr handle, Platform.ApplicationStatus newStatus); + internal static EOS_Platform_SetApplicationStatusDelegate EOS_Platform_SetApplicationStatus; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Platform_SetNetworkStatusDelegate(System.IntPtr handle, Platform.NetworkStatus newStatus); + internal static EOS_Platform_SetNetworkStatusDelegate EOS_Platform_SetNetworkStatus; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Platform_SetOverrideCountryCodeDelegate(System.IntPtr handle, System.IntPtr newCountryCode); + internal static EOS_Platform_SetOverrideCountryCodeDelegate EOS_Platform_SetOverrideCountryCode; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Platform_SetOverrideLocaleCodeDelegate(System.IntPtr handle, System.IntPtr newLocaleCode); + internal static EOS_Platform_SetOverrideLocaleCodeDelegate EOS_Platform_SetOverrideLocaleCode; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Platform_TickDelegate(System.IntPtr handle); + internal static EOS_Platform_TickDelegate EOS_Platform_Tick; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_PlayerDataStorageFileTransferRequest_CancelRequestDelegate(System.IntPtr handle); + internal static EOS_PlayerDataStorageFileTransferRequest_CancelRequestDelegate EOS_PlayerDataStorageFileTransferRequest_CancelRequest; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_PlayerDataStorageFileTransferRequest_GetFileRequestStateDelegate(System.IntPtr handle); + internal static EOS_PlayerDataStorageFileTransferRequest_GetFileRequestStateDelegate EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_PlayerDataStorageFileTransferRequest_GetFilenameDelegate(System.IntPtr handle, uint filenameStringBufferSizeBytes, System.IntPtr outStringBuffer, ref int outStringLength); + internal static EOS_PlayerDataStorageFileTransferRequest_GetFilenameDelegate EOS_PlayerDataStorageFileTransferRequest_GetFilename; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_PlayerDataStorageFileTransferRequest_ReleaseDelegate(System.IntPtr playerDataStorageFileTransferHandle); + internal static EOS_PlayerDataStorageFileTransferRequest_ReleaseDelegate EOS_PlayerDataStorageFileTransferRequest_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_PlayerDataStorage_CopyFileMetadataAtIndexDelegate(System.IntPtr handle, ref PlayerDataStorage.CopyFileMetadataAtIndexOptionsInternal copyFileMetadataOptions, ref System.IntPtr outMetadata); + internal static EOS_PlayerDataStorage_CopyFileMetadataAtIndexDelegate EOS_PlayerDataStorage_CopyFileMetadataAtIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_PlayerDataStorage_CopyFileMetadataByFilenameDelegate(System.IntPtr handle, ref PlayerDataStorage.CopyFileMetadataByFilenameOptionsInternal copyFileMetadataOptions, ref System.IntPtr outMetadata); + internal static EOS_PlayerDataStorage_CopyFileMetadataByFilenameDelegate EOS_PlayerDataStorage_CopyFileMetadataByFilename; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_PlayerDataStorage_DeleteCacheDelegate(System.IntPtr handle, ref PlayerDataStorage.DeleteCacheOptionsInternal options, System.IntPtr clientData, PlayerDataStorage.OnDeleteCacheCompleteCallbackInternal completionCallback); + internal static EOS_PlayerDataStorage_DeleteCacheDelegate EOS_PlayerDataStorage_DeleteCache; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_PlayerDataStorage_DeleteFileDelegate(System.IntPtr handle, ref PlayerDataStorage.DeleteFileOptionsInternal deleteOptions, System.IntPtr clientData, PlayerDataStorage.OnDeleteFileCompleteCallbackInternal completionCallback); + internal static EOS_PlayerDataStorage_DeleteFileDelegate EOS_PlayerDataStorage_DeleteFile; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_PlayerDataStorage_DuplicateFileDelegate(System.IntPtr handle, ref PlayerDataStorage.DuplicateFileOptionsInternal duplicateOptions, System.IntPtr clientData, PlayerDataStorage.OnDuplicateFileCompleteCallbackInternal completionCallback); + internal static EOS_PlayerDataStorage_DuplicateFileDelegate EOS_PlayerDataStorage_DuplicateFile; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_PlayerDataStorage_FileMetadata_ReleaseDelegate(System.IntPtr fileMetadata); + internal static EOS_PlayerDataStorage_FileMetadata_ReleaseDelegate EOS_PlayerDataStorage_FileMetadata_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_PlayerDataStorage_GetFileMetadataCountDelegate(System.IntPtr handle, ref PlayerDataStorage.GetFileMetadataCountOptionsInternal getFileMetadataCountOptions, ref int outFileMetadataCount); + internal static EOS_PlayerDataStorage_GetFileMetadataCountDelegate EOS_PlayerDataStorage_GetFileMetadataCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_PlayerDataStorage_QueryFileDelegate(System.IntPtr handle, ref PlayerDataStorage.QueryFileOptionsInternal queryFileOptions, System.IntPtr clientData, PlayerDataStorage.OnQueryFileCompleteCallbackInternal completionCallback); + internal static EOS_PlayerDataStorage_QueryFileDelegate EOS_PlayerDataStorage_QueryFile; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_PlayerDataStorage_QueryFileListDelegate(System.IntPtr handle, ref PlayerDataStorage.QueryFileListOptionsInternal queryFileListOptions, System.IntPtr clientData, PlayerDataStorage.OnQueryFileListCompleteCallbackInternal completionCallback); + internal static EOS_PlayerDataStorage_QueryFileListDelegate EOS_PlayerDataStorage_QueryFileList; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_PlayerDataStorage_ReadFileDelegate(System.IntPtr handle, ref PlayerDataStorage.ReadFileOptionsInternal readOptions, System.IntPtr clientData, PlayerDataStorage.OnReadFileCompleteCallbackInternal completionCallback); + internal static EOS_PlayerDataStorage_ReadFileDelegate EOS_PlayerDataStorage_ReadFile; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_PlayerDataStorage_WriteFileDelegate(System.IntPtr handle, ref PlayerDataStorage.WriteFileOptionsInternal writeOptions, System.IntPtr clientData, PlayerDataStorage.OnWriteFileCompleteCallbackInternal completionCallback); + internal static EOS_PlayerDataStorage_WriteFileDelegate EOS_PlayerDataStorage_WriteFile; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_PresenceModification_DeleteDataDelegate(System.IntPtr handle, ref Presence.PresenceModificationDeleteDataOptionsInternal options); + internal static EOS_PresenceModification_DeleteDataDelegate EOS_PresenceModification_DeleteData; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_PresenceModification_ReleaseDelegate(System.IntPtr presenceModificationHandle); + internal static EOS_PresenceModification_ReleaseDelegate EOS_PresenceModification_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_PresenceModification_SetDataDelegate(System.IntPtr handle, ref Presence.PresenceModificationSetDataOptionsInternal options); + internal static EOS_PresenceModification_SetDataDelegate EOS_PresenceModification_SetData; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_PresenceModification_SetJoinInfoDelegate(System.IntPtr handle, ref Presence.PresenceModificationSetJoinInfoOptionsInternal options); + internal static EOS_PresenceModification_SetJoinInfoDelegate EOS_PresenceModification_SetJoinInfo; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_PresenceModification_SetRawRichTextDelegate(System.IntPtr handle, ref Presence.PresenceModificationSetRawRichTextOptionsInternal options); + internal static EOS_PresenceModification_SetRawRichTextDelegate EOS_PresenceModification_SetRawRichText; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_PresenceModification_SetStatusDelegate(System.IntPtr handle, ref Presence.PresenceModificationSetStatusOptionsInternal options); + internal static EOS_PresenceModification_SetStatusDelegate EOS_PresenceModification_SetStatus; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Presence_AddNotifyJoinGameAcceptedDelegate(System.IntPtr handle, ref Presence.AddNotifyJoinGameAcceptedOptionsInternal options, System.IntPtr clientData, Presence.OnJoinGameAcceptedCallbackInternal notificationFn); + internal static EOS_Presence_AddNotifyJoinGameAcceptedDelegate EOS_Presence_AddNotifyJoinGameAccepted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Presence_AddNotifyOnPresenceChangedDelegate(System.IntPtr handle, ref Presence.AddNotifyOnPresenceChangedOptionsInternal options, System.IntPtr clientData, Presence.OnPresenceChangedCallbackInternal notificationHandler); + internal static EOS_Presence_AddNotifyOnPresenceChangedDelegate EOS_Presence_AddNotifyOnPresenceChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Presence_CopyPresenceDelegate(System.IntPtr handle, ref Presence.CopyPresenceOptionsInternal options, ref System.IntPtr outPresence); + internal static EOS_Presence_CopyPresenceDelegate EOS_Presence_CopyPresence; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Presence_CreatePresenceModificationDelegate(System.IntPtr handle, ref Presence.CreatePresenceModificationOptionsInternal options, ref System.IntPtr outPresenceModificationHandle); + internal static EOS_Presence_CreatePresenceModificationDelegate EOS_Presence_CreatePresenceModification; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Presence_GetJoinInfoDelegate(System.IntPtr handle, ref Presence.GetJoinInfoOptionsInternal options, System.IntPtr outBuffer, ref int inOutBufferLength); + internal static EOS_Presence_GetJoinInfoDelegate EOS_Presence_GetJoinInfo; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate int EOS_Presence_HasPresenceDelegate(System.IntPtr handle, ref Presence.HasPresenceOptionsInternal options); + internal static EOS_Presence_HasPresenceDelegate EOS_Presence_HasPresence; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Presence_Info_ReleaseDelegate(System.IntPtr presenceInfo); + internal static EOS_Presence_Info_ReleaseDelegate EOS_Presence_Info_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Presence_QueryPresenceDelegate(System.IntPtr handle, ref Presence.QueryPresenceOptionsInternal options, System.IntPtr clientData, Presence.OnQueryPresenceCompleteCallbackInternal completionDelegate); + internal static EOS_Presence_QueryPresenceDelegate EOS_Presence_QueryPresence; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Presence_RemoveNotifyJoinGameAcceptedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Presence_RemoveNotifyJoinGameAcceptedDelegate EOS_Presence_RemoveNotifyJoinGameAccepted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Presence_RemoveNotifyOnPresenceChangedDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_Presence_RemoveNotifyOnPresenceChangedDelegate EOS_Presence_RemoveNotifyOnPresenceChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Presence_SetPresenceDelegate(System.IntPtr handle, ref Presence.SetPresenceOptionsInternal options, System.IntPtr clientData, Presence.SetPresenceCompleteCallbackInternal completionDelegate); + internal static EOS_Presence_SetPresenceDelegate EOS_Presence_SetPresence; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_ProductUserId_FromStringDelegate(System.IntPtr productUserIdString); + internal static EOS_ProductUserId_FromStringDelegate EOS_ProductUserId_FromString; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate int EOS_ProductUserId_IsValidDelegate(System.IntPtr accountId); + internal static EOS_ProductUserId_IsValidDelegate EOS_ProductUserId_IsValid; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_ProductUserId_ToStringDelegate(System.IntPtr accountId, System.IntPtr outBuffer, ref int inOutBufferLength); + internal static EOS_ProductUserId_ToStringDelegate EOS_ProductUserId_ToString; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_ProgressionSnapshot_AddProgressionDelegate(System.IntPtr handle, ref ProgressionSnapshot.AddProgressionOptionsInternal options); + internal static EOS_ProgressionSnapshot_AddProgressionDelegate EOS_ProgressionSnapshot_AddProgression; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_ProgressionSnapshot_BeginSnapshotDelegate(System.IntPtr handle, ref ProgressionSnapshot.BeginSnapshotOptionsInternal options, ref uint outSnapshotId); + internal static EOS_ProgressionSnapshot_BeginSnapshotDelegate EOS_ProgressionSnapshot_BeginSnapshot; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_ProgressionSnapshot_DeleteSnapshotDelegate(System.IntPtr handle, ref ProgressionSnapshot.DeleteSnapshotOptionsInternal options, System.IntPtr clientData, ProgressionSnapshot.OnDeleteSnapshotCallbackInternal completionDelegate); + internal static EOS_ProgressionSnapshot_DeleteSnapshotDelegate EOS_ProgressionSnapshot_DeleteSnapshot; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_ProgressionSnapshot_EndSnapshotDelegate(System.IntPtr handle, ref ProgressionSnapshot.EndSnapshotOptionsInternal options); + internal static EOS_ProgressionSnapshot_EndSnapshotDelegate EOS_ProgressionSnapshot_EndSnapshot; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_ProgressionSnapshot_SubmitSnapshotDelegate(System.IntPtr handle, ref ProgressionSnapshot.SubmitSnapshotOptionsInternal options, System.IntPtr clientData, ProgressionSnapshot.OnSubmitSnapshotCallbackInternal completionDelegate); + internal static EOS_ProgressionSnapshot_SubmitSnapshotDelegate EOS_ProgressionSnapshot_SubmitSnapshot; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_RTCAdmin_CopyUserTokenByIndexDelegate(System.IntPtr handle, ref RTCAdmin.CopyUserTokenByIndexOptionsInternal options, ref System.IntPtr outUserToken); + internal static EOS_RTCAdmin_CopyUserTokenByIndexDelegate EOS_RTCAdmin_CopyUserTokenByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_RTCAdmin_CopyUserTokenByUserIdDelegate(System.IntPtr handle, ref RTCAdmin.CopyUserTokenByUserIdOptionsInternal options, ref System.IntPtr outUserToken); + internal static EOS_RTCAdmin_CopyUserTokenByUserIdDelegate EOS_RTCAdmin_CopyUserTokenByUserId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAdmin_KickDelegate(System.IntPtr handle, ref RTCAdmin.KickOptionsInternal options, System.IntPtr clientData, RTCAdmin.OnKickCompleteCallbackInternal completionDelegate); + internal static EOS_RTCAdmin_KickDelegate EOS_RTCAdmin_Kick; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAdmin_QueryJoinRoomTokenDelegate(System.IntPtr handle, ref RTCAdmin.QueryJoinRoomTokenOptionsInternal options, System.IntPtr clientData, RTCAdmin.OnQueryJoinRoomTokenCompleteCallbackInternal completionDelegate); + internal static EOS_RTCAdmin_QueryJoinRoomTokenDelegate EOS_RTCAdmin_QueryJoinRoomToken; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAdmin_SetParticipantHardMuteDelegate(System.IntPtr handle, ref RTCAdmin.SetParticipantHardMuteOptionsInternal options, System.IntPtr clientData, RTCAdmin.OnSetParticipantHardMuteCompleteCallbackInternal completionDelegate); + internal static EOS_RTCAdmin_SetParticipantHardMuteDelegate EOS_RTCAdmin_SetParticipantHardMute; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAdmin_UserToken_ReleaseDelegate(System.IntPtr userToken); + internal static EOS_RTCAdmin_UserToken_ReleaseDelegate EOS_RTCAdmin_UserToken_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_RTCAudio_AddNotifyAudioBeforeRenderDelegate(System.IntPtr handle, ref RTCAudio.AddNotifyAudioBeforeRenderOptionsInternal options, System.IntPtr clientData, RTCAudio.OnAudioBeforeRenderCallbackInternal completionDelegate); + internal static EOS_RTCAudio_AddNotifyAudioBeforeRenderDelegate EOS_RTCAudio_AddNotifyAudioBeforeRender; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_RTCAudio_AddNotifyAudioBeforeSendDelegate(System.IntPtr handle, ref RTCAudio.AddNotifyAudioBeforeSendOptionsInternal options, System.IntPtr clientData, RTCAudio.OnAudioBeforeSendCallbackInternal completionDelegate); + internal static EOS_RTCAudio_AddNotifyAudioBeforeSendDelegate EOS_RTCAudio_AddNotifyAudioBeforeSend; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_RTCAudio_AddNotifyAudioDevicesChangedDelegate(System.IntPtr handle, ref RTCAudio.AddNotifyAudioDevicesChangedOptionsInternal options, System.IntPtr clientData, RTCAudio.OnAudioDevicesChangedCallbackInternal completionDelegate); + internal static EOS_RTCAudio_AddNotifyAudioDevicesChangedDelegate EOS_RTCAudio_AddNotifyAudioDevicesChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_RTCAudio_AddNotifyAudioInputStateDelegate(System.IntPtr handle, ref RTCAudio.AddNotifyAudioInputStateOptionsInternal options, System.IntPtr clientData, RTCAudio.OnAudioInputStateCallbackInternal completionDelegate); + internal static EOS_RTCAudio_AddNotifyAudioInputStateDelegate EOS_RTCAudio_AddNotifyAudioInputState; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_RTCAudio_AddNotifyAudioOutputStateDelegate(System.IntPtr handle, ref RTCAudio.AddNotifyAudioOutputStateOptionsInternal options, System.IntPtr clientData, RTCAudio.OnAudioOutputStateCallbackInternal completionDelegate); + internal static EOS_RTCAudio_AddNotifyAudioOutputStateDelegate EOS_RTCAudio_AddNotifyAudioOutputState; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_RTCAudio_AddNotifyParticipantUpdatedDelegate(System.IntPtr handle, ref RTCAudio.AddNotifyParticipantUpdatedOptionsInternal options, System.IntPtr clientData, RTCAudio.OnParticipantUpdatedCallbackInternal completionDelegate); + internal static EOS_RTCAudio_AddNotifyParticipantUpdatedDelegate EOS_RTCAudio_AddNotifyParticipantUpdated; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_RTCAudio_GetAudioInputDeviceByIndexDelegate(System.IntPtr handle, ref RTCAudio.GetAudioInputDeviceByIndexOptionsInternal options); + internal static EOS_RTCAudio_GetAudioInputDeviceByIndexDelegate EOS_RTCAudio_GetAudioInputDeviceByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_RTCAudio_GetAudioInputDevicesCountDelegate(System.IntPtr handle, ref RTCAudio.GetAudioInputDevicesCountOptionsInternal options); + internal static EOS_RTCAudio_GetAudioInputDevicesCountDelegate EOS_RTCAudio_GetAudioInputDevicesCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_RTCAudio_GetAudioOutputDeviceByIndexDelegate(System.IntPtr handle, ref RTCAudio.GetAudioOutputDeviceByIndexOptionsInternal options); + internal static EOS_RTCAudio_GetAudioOutputDeviceByIndexDelegate EOS_RTCAudio_GetAudioOutputDeviceByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_RTCAudio_GetAudioOutputDevicesCountDelegate(System.IntPtr handle, ref RTCAudio.GetAudioOutputDevicesCountOptionsInternal options); + internal static EOS_RTCAudio_GetAudioOutputDevicesCountDelegate EOS_RTCAudio_GetAudioOutputDevicesCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_RTCAudio_RegisterPlatformAudioUserDelegate(System.IntPtr handle, ref RTCAudio.RegisterPlatformAudioUserOptionsInternal options); + internal static EOS_RTCAudio_RegisterPlatformAudioUserDelegate EOS_RTCAudio_RegisterPlatformAudioUser; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAudio_RemoveNotifyAudioBeforeRenderDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_RTCAudio_RemoveNotifyAudioBeforeRenderDelegate EOS_RTCAudio_RemoveNotifyAudioBeforeRender; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAudio_RemoveNotifyAudioBeforeSendDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_RTCAudio_RemoveNotifyAudioBeforeSendDelegate EOS_RTCAudio_RemoveNotifyAudioBeforeSend; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAudio_RemoveNotifyAudioDevicesChangedDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_RTCAudio_RemoveNotifyAudioDevicesChangedDelegate EOS_RTCAudio_RemoveNotifyAudioDevicesChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAudio_RemoveNotifyAudioInputStateDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_RTCAudio_RemoveNotifyAudioInputStateDelegate EOS_RTCAudio_RemoveNotifyAudioInputState; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAudio_RemoveNotifyAudioOutputStateDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_RTCAudio_RemoveNotifyAudioOutputStateDelegate EOS_RTCAudio_RemoveNotifyAudioOutputState; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAudio_RemoveNotifyParticipantUpdatedDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_RTCAudio_RemoveNotifyParticipantUpdatedDelegate EOS_RTCAudio_RemoveNotifyParticipantUpdated; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_RTCAudio_SendAudioDelegate(System.IntPtr handle, ref RTCAudio.SendAudioOptionsInternal options); + internal static EOS_RTCAudio_SendAudioDelegate EOS_RTCAudio_SendAudio; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_RTCAudio_SetAudioInputSettingsDelegate(System.IntPtr handle, ref RTCAudio.SetAudioInputSettingsOptionsInternal options); + internal static EOS_RTCAudio_SetAudioInputSettingsDelegate EOS_RTCAudio_SetAudioInputSettings; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_RTCAudio_SetAudioOutputSettingsDelegate(System.IntPtr handle, ref RTCAudio.SetAudioOutputSettingsOptionsInternal options); + internal static EOS_RTCAudio_SetAudioOutputSettingsDelegate EOS_RTCAudio_SetAudioOutputSettings; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_RTCAudio_UnregisterPlatformAudioUserDelegate(System.IntPtr handle, ref RTCAudio.UnregisterPlatformAudioUserOptionsInternal options); + internal static EOS_RTCAudio_UnregisterPlatformAudioUserDelegate EOS_RTCAudio_UnregisterPlatformAudioUser; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAudio_UpdateParticipantVolumeDelegate(System.IntPtr handle, ref RTCAudio.UpdateParticipantVolumeOptionsInternal options, System.IntPtr clientData, RTCAudio.OnUpdateParticipantVolumeCallbackInternal completionDelegate); + internal static EOS_RTCAudio_UpdateParticipantVolumeDelegate EOS_RTCAudio_UpdateParticipantVolume; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAudio_UpdateReceivingDelegate(System.IntPtr handle, ref RTCAudio.UpdateReceivingOptionsInternal options, System.IntPtr clientData, RTCAudio.OnUpdateReceivingCallbackInternal completionDelegate); + internal static EOS_RTCAudio_UpdateReceivingDelegate EOS_RTCAudio_UpdateReceiving; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAudio_UpdateReceivingVolumeDelegate(System.IntPtr handle, ref RTCAudio.UpdateReceivingVolumeOptionsInternal options, System.IntPtr clientData, RTCAudio.OnUpdateReceivingVolumeCallbackInternal completionDelegate); + internal static EOS_RTCAudio_UpdateReceivingVolumeDelegate EOS_RTCAudio_UpdateReceivingVolume; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAudio_UpdateSendingDelegate(System.IntPtr handle, ref RTCAudio.UpdateSendingOptionsInternal options, System.IntPtr clientData, RTCAudio.OnUpdateSendingCallbackInternal completionDelegate); + internal static EOS_RTCAudio_UpdateSendingDelegate EOS_RTCAudio_UpdateSending; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTCAudio_UpdateSendingVolumeDelegate(System.IntPtr handle, ref RTCAudio.UpdateSendingVolumeOptionsInternal options, System.IntPtr clientData, RTCAudio.OnUpdateSendingVolumeCallbackInternal completionDelegate); + internal static EOS_RTCAudio_UpdateSendingVolumeDelegate EOS_RTCAudio_UpdateSendingVolume; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_RTC_AddNotifyDisconnectedDelegate(System.IntPtr handle, ref RTC.AddNotifyDisconnectedOptionsInternal options, System.IntPtr clientData, RTC.OnDisconnectedCallbackInternal completionDelegate); + internal static EOS_RTC_AddNotifyDisconnectedDelegate EOS_RTC_AddNotifyDisconnected; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_RTC_AddNotifyParticipantStatusChangedDelegate(System.IntPtr handle, ref RTC.AddNotifyParticipantStatusChangedOptionsInternal options, System.IntPtr clientData, RTC.OnParticipantStatusChangedCallbackInternal completionDelegate); + internal static EOS_RTC_AddNotifyParticipantStatusChangedDelegate EOS_RTC_AddNotifyParticipantStatusChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTC_BlockParticipantDelegate(System.IntPtr handle, ref RTC.BlockParticipantOptionsInternal options, System.IntPtr clientData, RTC.OnBlockParticipantCallbackInternal completionDelegate); + internal static EOS_RTC_BlockParticipantDelegate EOS_RTC_BlockParticipant; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_RTC_GetAudioInterfaceDelegate(System.IntPtr handle); + internal static EOS_RTC_GetAudioInterfaceDelegate EOS_RTC_GetAudioInterface; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTC_JoinRoomDelegate(System.IntPtr handle, ref RTC.JoinRoomOptionsInternal options, System.IntPtr clientData, RTC.OnJoinRoomCallbackInternal completionDelegate); + internal static EOS_RTC_JoinRoomDelegate EOS_RTC_JoinRoom; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTC_LeaveRoomDelegate(System.IntPtr handle, ref RTC.LeaveRoomOptionsInternal options, System.IntPtr clientData, RTC.OnLeaveRoomCallbackInternal completionDelegate); + internal static EOS_RTC_LeaveRoomDelegate EOS_RTC_LeaveRoom; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTC_RemoveNotifyDisconnectedDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_RTC_RemoveNotifyDisconnectedDelegate EOS_RTC_RemoveNotifyDisconnected; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_RTC_RemoveNotifyParticipantStatusChangedDelegate(System.IntPtr handle, ulong notificationId); + internal static EOS_RTC_RemoveNotifyParticipantStatusChangedDelegate EOS_RTC_RemoveNotifyParticipantStatusChanged; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_RTC_SetRoomSettingDelegate(System.IntPtr handle, ref RTC.SetRoomSettingOptionsInternal options); + internal static EOS_RTC_SetRoomSettingDelegate EOS_RTC_SetRoomSetting; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_RTC_SetSettingDelegate(System.IntPtr handle, ref RTC.SetSettingOptionsInternal options); + internal static EOS_RTC_SetSettingDelegate EOS_RTC_SetSetting; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Reports_SendPlayerBehaviorReportDelegate(System.IntPtr handle, ref Reports.SendPlayerBehaviorReportOptionsInternal options, System.IntPtr clientData, Reports.OnSendPlayerBehaviorReportCompleteCallbackInternal completionDelegate); + internal static EOS_Reports_SendPlayerBehaviorReportDelegate EOS_Reports_SendPlayerBehaviorReport; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Sanctions_CopyPlayerSanctionByIndexDelegate(System.IntPtr handle, ref Sanctions.CopyPlayerSanctionByIndexOptionsInternal options, ref System.IntPtr outSanction); + internal static EOS_Sanctions_CopyPlayerSanctionByIndexDelegate EOS_Sanctions_CopyPlayerSanctionByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Sanctions_GetPlayerSanctionCountDelegate(System.IntPtr handle, ref Sanctions.GetPlayerSanctionCountOptionsInternal options); + internal static EOS_Sanctions_GetPlayerSanctionCountDelegate EOS_Sanctions_GetPlayerSanctionCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sanctions_PlayerSanction_ReleaseDelegate(System.IntPtr sanction); + internal static EOS_Sanctions_PlayerSanction_ReleaseDelegate EOS_Sanctions_PlayerSanction_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sanctions_QueryActivePlayerSanctionsDelegate(System.IntPtr handle, ref Sanctions.QueryActivePlayerSanctionsOptionsInternal options, System.IntPtr clientData, Sanctions.OnQueryActivePlayerSanctionsCallbackInternal completionDelegate); + internal static EOS_Sanctions_QueryActivePlayerSanctionsDelegate EOS_Sanctions_QueryActivePlayerSanctions; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_SessionDetails_Attribute_ReleaseDelegate(System.IntPtr sessionAttribute); + internal static EOS_SessionDetails_Attribute_ReleaseDelegate EOS_SessionDetails_Attribute_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionDetails_CopyInfoDelegate(System.IntPtr handle, ref Sessions.SessionDetailsCopyInfoOptionsInternal options, ref System.IntPtr outSessionInfo); + internal static EOS_SessionDetails_CopyInfoDelegate EOS_SessionDetails_CopyInfo; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionDetails_CopySessionAttributeByIndexDelegate(System.IntPtr handle, ref Sessions.SessionDetailsCopySessionAttributeByIndexOptionsInternal options, ref System.IntPtr outSessionAttribute); + internal static EOS_SessionDetails_CopySessionAttributeByIndexDelegate EOS_SessionDetails_CopySessionAttributeByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionDetails_CopySessionAttributeByKeyDelegate(System.IntPtr handle, ref Sessions.SessionDetailsCopySessionAttributeByKeyOptionsInternal options, ref System.IntPtr outSessionAttribute); + internal static EOS_SessionDetails_CopySessionAttributeByKeyDelegate EOS_SessionDetails_CopySessionAttributeByKey; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_SessionDetails_GetSessionAttributeCountDelegate(System.IntPtr handle, ref Sessions.SessionDetailsGetSessionAttributeCountOptionsInternal options); + internal static EOS_SessionDetails_GetSessionAttributeCountDelegate EOS_SessionDetails_GetSessionAttributeCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_SessionDetails_Info_ReleaseDelegate(System.IntPtr sessionInfo); + internal static EOS_SessionDetails_Info_ReleaseDelegate EOS_SessionDetails_Info_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_SessionDetails_ReleaseDelegate(System.IntPtr sessionHandle); + internal static EOS_SessionDetails_ReleaseDelegate EOS_SessionDetails_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionModification_AddAttributeDelegate(System.IntPtr handle, ref Sessions.SessionModificationAddAttributeOptionsInternal options); + internal static EOS_SessionModification_AddAttributeDelegate EOS_SessionModification_AddAttribute; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_SessionModification_ReleaseDelegate(System.IntPtr sessionModificationHandle); + internal static EOS_SessionModification_ReleaseDelegate EOS_SessionModification_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionModification_RemoveAttributeDelegate(System.IntPtr handle, ref Sessions.SessionModificationRemoveAttributeOptionsInternal options); + internal static EOS_SessionModification_RemoveAttributeDelegate EOS_SessionModification_RemoveAttribute; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionModification_SetBucketIdDelegate(System.IntPtr handle, ref Sessions.SessionModificationSetBucketIdOptionsInternal options); + internal static EOS_SessionModification_SetBucketIdDelegate EOS_SessionModification_SetBucketId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionModification_SetHostAddressDelegate(System.IntPtr handle, ref Sessions.SessionModificationSetHostAddressOptionsInternal options); + internal static EOS_SessionModification_SetHostAddressDelegate EOS_SessionModification_SetHostAddress; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionModification_SetInvitesAllowedDelegate(System.IntPtr handle, ref Sessions.SessionModificationSetInvitesAllowedOptionsInternal options); + internal static EOS_SessionModification_SetInvitesAllowedDelegate EOS_SessionModification_SetInvitesAllowed; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionModification_SetJoinInProgressAllowedDelegate(System.IntPtr handle, ref Sessions.SessionModificationSetJoinInProgressAllowedOptionsInternal options); + internal static EOS_SessionModification_SetJoinInProgressAllowedDelegate EOS_SessionModification_SetJoinInProgressAllowed; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionModification_SetMaxPlayersDelegate(System.IntPtr handle, ref Sessions.SessionModificationSetMaxPlayersOptionsInternal options); + internal static EOS_SessionModification_SetMaxPlayersDelegate EOS_SessionModification_SetMaxPlayers; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionModification_SetPermissionLevelDelegate(System.IntPtr handle, ref Sessions.SessionModificationSetPermissionLevelOptionsInternal options); + internal static EOS_SessionModification_SetPermissionLevelDelegate EOS_SessionModification_SetPermissionLevel; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionSearch_CopySearchResultByIndexDelegate(System.IntPtr handle, ref Sessions.SessionSearchCopySearchResultByIndexOptionsInternal options, ref System.IntPtr outSessionHandle); + internal static EOS_SessionSearch_CopySearchResultByIndexDelegate EOS_SessionSearch_CopySearchResultByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_SessionSearch_FindDelegate(System.IntPtr handle, ref Sessions.SessionSearchFindOptionsInternal options, System.IntPtr clientData, Sessions.SessionSearchOnFindCallbackInternal completionDelegate); + internal static EOS_SessionSearch_FindDelegate EOS_SessionSearch_Find; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_SessionSearch_GetSearchResultCountDelegate(System.IntPtr handle, ref Sessions.SessionSearchGetSearchResultCountOptionsInternal options); + internal static EOS_SessionSearch_GetSearchResultCountDelegate EOS_SessionSearch_GetSearchResultCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_SessionSearch_ReleaseDelegate(System.IntPtr sessionSearchHandle); + internal static EOS_SessionSearch_ReleaseDelegate EOS_SessionSearch_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionSearch_RemoveParameterDelegate(System.IntPtr handle, ref Sessions.SessionSearchRemoveParameterOptionsInternal options); + internal static EOS_SessionSearch_RemoveParameterDelegate EOS_SessionSearch_RemoveParameter; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionSearch_SetMaxResultsDelegate(System.IntPtr handle, ref Sessions.SessionSearchSetMaxResultsOptionsInternal options); + internal static EOS_SessionSearch_SetMaxResultsDelegate EOS_SessionSearch_SetMaxResults; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionSearch_SetParameterDelegate(System.IntPtr handle, ref Sessions.SessionSearchSetParameterOptionsInternal options); + internal static EOS_SessionSearch_SetParameterDelegate EOS_SessionSearch_SetParameter; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionSearch_SetSessionIdDelegate(System.IntPtr handle, ref Sessions.SessionSearchSetSessionIdOptionsInternal options); + internal static EOS_SessionSearch_SetSessionIdDelegate EOS_SessionSearch_SetSessionId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_SessionSearch_SetTargetUserIdDelegate(System.IntPtr handle, ref Sessions.SessionSearchSetTargetUserIdOptionsInternal options); + internal static EOS_SessionSearch_SetTargetUserIdDelegate EOS_SessionSearch_SetTargetUserId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Sessions_AddNotifyJoinSessionAcceptedDelegate(System.IntPtr handle, ref Sessions.AddNotifyJoinSessionAcceptedOptionsInternal options, System.IntPtr clientData, Sessions.OnJoinSessionAcceptedCallbackInternal notificationFn); + internal static EOS_Sessions_AddNotifyJoinSessionAcceptedDelegate EOS_Sessions_AddNotifyJoinSessionAccepted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Sessions_AddNotifySessionInviteAcceptedDelegate(System.IntPtr handle, ref Sessions.AddNotifySessionInviteAcceptedOptionsInternal options, System.IntPtr clientData, Sessions.OnSessionInviteAcceptedCallbackInternal notificationFn); + internal static EOS_Sessions_AddNotifySessionInviteAcceptedDelegate EOS_Sessions_AddNotifySessionInviteAccepted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_Sessions_AddNotifySessionInviteReceivedDelegate(System.IntPtr handle, ref Sessions.AddNotifySessionInviteReceivedOptionsInternal options, System.IntPtr clientData, Sessions.OnSessionInviteReceivedCallbackInternal notificationFn); + internal static EOS_Sessions_AddNotifySessionInviteReceivedDelegate EOS_Sessions_AddNotifySessionInviteReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Sessions_CopyActiveSessionHandleDelegate(System.IntPtr handle, ref Sessions.CopyActiveSessionHandleOptionsInternal options, ref System.IntPtr outSessionHandle); + internal static EOS_Sessions_CopyActiveSessionHandleDelegate EOS_Sessions_CopyActiveSessionHandle; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Sessions_CopySessionHandleByInviteIdDelegate(System.IntPtr handle, ref Sessions.CopySessionHandleByInviteIdOptionsInternal options, ref System.IntPtr outSessionHandle); + internal static EOS_Sessions_CopySessionHandleByInviteIdDelegate EOS_Sessions_CopySessionHandleByInviteId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Sessions_CopySessionHandleByUiEventIdDelegate(System.IntPtr handle, ref Sessions.CopySessionHandleByUiEventIdOptionsInternal options, ref System.IntPtr outSessionHandle); + internal static EOS_Sessions_CopySessionHandleByUiEventIdDelegate EOS_Sessions_CopySessionHandleByUiEventId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Sessions_CopySessionHandleForPresenceDelegate(System.IntPtr handle, ref Sessions.CopySessionHandleForPresenceOptionsInternal options, ref System.IntPtr outSessionHandle); + internal static EOS_Sessions_CopySessionHandleForPresenceDelegate EOS_Sessions_CopySessionHandleForPresence; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Sessions_CreateSessionModificationDelegate(System.IntPtr handle, ref Sessions.CreateSessionModificationOptionsInternal options, ref System.IntPtr outSessionModificationHandle); + internal static EOS_Sessions_CreateSessionModificationDelegate EOS_Sessions_CreateSessionModification; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Sessions_CreateSessionSearchDelegate(System.IntPtr handle, ref Sessions.CreateSessionSearchOptionsInternal options, ref System.IntPtr outSessionSearchHandle); + internal static EOS_Sessions_CreateSessionSearchDelegate EOS_Sessions_CreateSessionSearch; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sessions_DestroySessionDelegate(System.IntPtr handle, ref Sessions.DestroySessionOptionsInternal options, System.IntPtr clientData, Sessions.OnDestroySessionCallbackInternal completionDelegate); + internal static EOS_Sessions_DestroySessionDelegate EOS_Sessions_DestroySession; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Sessions_DumpSessionStateDelegate(System.IntPtr handle, ref Sessions.DumpSessionStateOptionsInternal options); + internal static EOS_Sessions_DumpSessionStateDelegate EOS_Sessions_DumpSessionState; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sessions_EndSessionDelegate(System.IntPtr handle, ref Sessions.EndSessionOptionsInternal options, System.IntPtr clientData, Sessions.OnEndSessionCallbackInternal completionDelegate); + internal static EOS_Sessions_EndSessionDelegate EOS_Sessions_EndSession; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Sessions_GetInviteCountDelegate(System.IntPtr handle, ref Sessions.GetInviteCountOptionsInternal options); + internal static EOS_Sessions_GetInviteCountDelegate EOS_Sessions_GetInviteCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Sessions_GetInviteIdByIndexDelegate(System.IntPtr handle, ref Sessions.GetInviteIdByIndexOptionsInternal options, System.IntPtr outBuffer, ref int inOutBufferLength); + internal static EOS_Sessions_GetInviteIdByIndexDelegate EOS_Sessions_GetInviteIdByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Sessions_IsUserInSessionDelegate(System.IntPtr handle, ref Sessions.IsUserInSessionOptionsInternal options); + internal static EOS_Sessions_IsUserInSessionDelegate EOS_Sessions_IsUserInSession; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sessions_JoinSessionDelegate(System.IntPtr handle, ref Sessions.JoinSessionOptionsInternal options, System.IntPtr clientData, Sessions.OnJoinSessionCallbackInternal completionDelegate); + internal static EOS_Sessions_JoinSessionDelegate EOS_Sessions_JoinSession; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sessions_QueryInvitesDelegate(System.IntPtr handle, ref Sessions.QueryInvitesOptionsInternal options, System.IntPtr clientData, Sessions.OnQueryInvitesCallbackInternal completionDelegate); + internal static EOS_Sessions_QueryInvitesDelegate EOS_Sessions_QueryInvites; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sessions_RegisterPlayersDelegate(System.IntPtr handle, ref Sessions.RegisterPlayersOptionsInternal options, System.IntPtr clientData, Sessions.OnRegisterPlayersCallbackInternal completionDelegate); + internal static EOS_Sessions_RegisterPlayersDelegate EOS_Sessions_RegisterPlayers; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sessions_RejectInviteDelegate(System.IntPtr handle, ref Sessions.RejectInviteOptionsInternal options, System.IntPtr clientData, Sessions.OnRejectInviteCallbackInternal completionDelegate); + internal static EOS_Sessions_RejectInviteDelegate EOS_Sessions_RejectInvite; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sessions_RemoveNotifyJoinSessionAcceptedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Sessions_RemoveNotifyJoinSessionAcceptedDelegate EOS_Sessions_RemoveNotifyJoinSessionAccepted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sessions_RemoveNotifySessionInviteAcceptedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Sessions_RemoveNotifySessionInviteAcceptedDelegate EOS_Sessions_RemoveNotifySessionInviteAccepted; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sessions_RemoveNotifySessionInviteReceivedDelegate(System.IntPtr handle, ulong inId); + internal static EOS_Sessions_RemoveNotifySessionInviteReceivedDelegate EOS_Sessions_RemoveNotifySessionInviteReceived; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sessions_SendInviteDelegate(System.IntPtr handle, ref Sessions.SendInviteOptionsInternal options, System.IntPtr clientData, Sessions.OnSendInviteCallbackInternal completionDelegate); + internal static EOS_Sessions_SendInviteDelegate EOS_Sessions_SendInvite; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sessions_StartSessionDelegate(System.IntPtr handle, ref Sessions.StartSessionOptionsInternal options, System.IntPtr clientData, Sessions.OnStartSessionCallbackInternal completionDelegate); + internal static EOS_Sessions_StartSessionDelegate EOS_Sessions_StartSession; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sessions_UnregisterPlayersDelegate(System.IntPtr handle, ref Sessions.UnregisterPlayersOptionsInternal options, System.IntPtr clientData, Sessions.OnUnregisterPlayersCallbackInternal completionDelegate); + internal static EOS_Sessions_UnregisterPlayersDelegate EOS_Sessions_UnregisterPlayers; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Sessions_UpdateSessionDelegate(System.IntPtr handle, ref Sessions.UpdateSessionOptionsInternal options, System.IntPtr clientData, Sessions.OnUpdateSessionCallbackInternal completionDelegate); + internal static EOS_Sessions_UpdateSessionDelegate EOS_Sessions_UpdateSession; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Sessions_UpdateSessionModificationDelegate(System.IntPtr handle, ref Sessions.UpdateSessionModificationOptionsInternal options, ref System.IntPtr outSessionModificationHandle); + internal static EOS_Sessions_UpdateSessionModificationDelegate EOS_Sessions_UpdateSessionModification; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_ShutdownDelegate(); + internal static EOS_ShutdownDelegate EOS_Shutdown; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Stats_CopyStatByIndexDelegate(System.IntPtr handle, ref Stats.CopyStatByIndexOptionsInternal options, ref System.IntPtr outStat); + internal static EOS_Stats_CopyStatByIndexDelegate EOS_Stats_CopyStatByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_Stats_CopyStatByNameDelegate(System.IntPtr handle, ref Stats.CopyStatByNameOptionsInternal options, ref System.IntPtr outStat); + internal static EOS_Stats_CopyStatByNameDelegate EOS_Stats_CopyStatByName; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_Stats_GetStatsCountDelegate(System.IntPtr handle, ref Stats.GetStatCountOptionsInternal options); + internal static EOS_Stats_GetStatsCountDelegate EOS_Stats_GetStatsCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Stats_IngestStatDelegate(System.IntPtr handle, ref Stats.IngestStatOptionsInternal options, System.IntPtr clientData, Stats.OnIngestStatCompleteCallbackInternal completionDelegate); + internal static EOS_Stats_IngestStatDelegate EOS_Stats_IngestStat; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Stats_QueryStatsDelegate(System.IntPtr handle, ref Stats.QueryStatsOptionsInternal options, System.IntPtr clientData, Stats.OnQueryStatsCompleteCallbackInternal completionDelegate); + internal static EOS_Stats_QueryStatsDelegate EOS_Stats_QueryStats; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Stats_Stat_ReleaseDelegate(System.IntPtr stat); + internal static EOS_Stats_Stat_ReleaseDelegate EOS_Stats_Stat_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_TitleStorageFileTransferRequest_CancelRequestDelegate(System.IntPtr handle); + internal static EOS_TitleStorageFileTransferRequest_CancelRequestDelegate EOS_TitleStorageFileTransferRequest_CancelRequest; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_TitleStorageFileTransferRequest_GetFileRequestStateDelegate(System.IntPtr handle); + internal static EOS_TitleStorageFileTransferRequest_GetFileRequestStateDelegate EOS_TitleStorageFileTransferRequest_GetFileRequestState; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_TitleStorageFileTransferRequest_GetFilenameDelegate(System.IntPtr handle, uint filenameStringBufferSizeBytes, System.IntPtr outStringBuffer, ref int outStringLength); + internal static EOS_TitleStorageFileTransferRequest_GetFilenameDelegate EOS_TitleStorageFileTransferRequest_GetFilename; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_TitleStorageFileTransferRequest_ReleaseDelegate(System.IntPtr titleStorageFileTransferHandle); + internal static EOS_TitleStorageFileTransferRequest_ReleaseDelegate EOS_TitleStorageFileTransferRequest_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_TitleStorage_CopyFileMetadataAtIndexDelegate(System.IntPtr handle, ref TitleStorage.CopyFileMetadataAtIndexOptionsInternal options, ref System.IntPtr outMetadata); + internal static EOS_TitleStorage_CopyFileMetadataAtIndexDelegate EOS_TitleStorage_CopyFileMetadataAtIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_TitleStorage_CopyFileMetadataByFilenameDelegate(System.IntPtr handle, ref TitleStorage.CopyFileMetadataByFilenameOptionsInternal options, ref System.IntPtr outMetadata); + internal static EOS_TitleStorage_CopyFileMetadataByFilenameDelegate EOS_TitleStorage_CopyFileMetadataByFilename; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_TitleStorage_DeleteCacheDelegate(System.IntPtr handle, ref TitleStorage.DeleteCacheOptionsInternal options, System.IntPtr clientData, TitleStorage.OnDeleteCacheCompleteCallbackInternal completionCallback); + internal static EOS_TitleStorage_DeleteCacheDelegate EOS_TitleStorage_DeleteCache; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_TitleStorage_FileMetadata_ReleaseDelegate(System.IntPtr fileMetadata); + internal static EOS_TitleStorage_FileMetadata_ReleaseDelegate EOS_TitleStorage_FileMetadata_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_TitleStorage_GetFileMetadataCountDelegate(System.IntPtr handle, ref TitleStorage.GetFileMetadataCountOptionsInternal options); + internal static EOS_TitleStorage_GetFileMetadataCountDelegate EOS_TitleStorage_GetFileMetadataCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_TitleStorage_QueryFileDelegate(System.IntPtr handle, ref TitleStorage.QueryFileOptionsInternal options, System.IntPtr clientData, TitleStorage.OnQueryFileCompleteCallbackInternal completionCallback); + internal static EOS_TitleStorage_QueryFileDelegate EOS_TitleStorage_QueryFile; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_TitleStorage_QueryFileListDelegate(System.IntPtr handle, ref TitleStorage.QueryFileListOptionsInternal options, System.IntPtr clientData, TitleStorage.OnQueryFileListCompleteCallbackInternal completionCallback); + internal static EOS_TitleStorage_QueryFileListDelegate EOS_TitleStorage_QueryFileList; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_TitleStorage_ReadFileDelegate(System.IntPtr handle, ref TitleStorage.ReadFileOptionsInternal options, System.IntPtr clientData, TitleStorage.OnReadFileCompleteCallbackInternal completionCallback); + internal static EOS_TitleStorage_ReadFileDelegate EOS_TitleStorage_ReadFile; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_UI_AcknowledgeEventIdDelegate(System.IntPtr handle, ref UI.AcknowledgeEventIdOptionsInternal options); + internal static EOS_UI_AcknowledgeEventIdDelegate EOS_UI_AcknowledgeEventId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ulong EOS_UI_AddNotifyDisplaySettingsUpdatedDelegate(System.IntPtr handle, ref UI.AddNotifyDisplaySettingsUpdatedOptionsInternal options, System.IntPtr clientData, UI.OnDisplaySettingsUpdatedCallbackInternal notificationFn); + internal static EOS_UI_AddNotifyDisplaySettingsUpdatedDelegate EOS_UI_AddNotifyDisplaySettingsUpdated; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate int EOS_UI_GetFriendsExclusiveInputDelegate(System.IntPtr handle, ref UI.GetFriendsExclusiveInputOptionsInternal options); + internal static EOS_UI_GetFriendsExclusiveInputDelegate EOS_UI_GetFriendsExclusiveInput; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate int EOS_UI_GetFriendsVisibleDelegate(System.IntPtr handle, ref UI.GetFriendsVisibleOptionsInternal options); + internal static EOS_UI_GetFriendsVisibleDelegate EOS_UI_GetFriendsVisible; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate UI.NotificationLocation EOS_UI_GetNotificationLocationPreferenceDelegate(System.IntPtr handle); + internal static EOS_UI_GetNotificationLocationPreferenceDelegate EOS_UI_GetNotificationLocationPreference; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate UI.KeyCombination EOS_UI_GetToggleFriendsKeyDelegate(System.IntPtr handle, ref UI.GetToggleFriendsKeyOptionsInternal options); + internal static EOS_UI_GetToggleFriendsKeyDelegate EOS_UI_GetToggleFriendsKey; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_UI_HideFriendsDelegate(System.IntPtr handle, ref UI.HideFriendsOptionsInternal options, System.IntPtr clientData, UI.OnHideFriendsCallbackInternal completionDelegate); + internal static EOS_UI_HideFriendsDelegate EOS_UI_HideFriends; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate int EOS_UI_IsSocialOverlayPausedDelegate(System.IntPtr handle, ref UI.IsSocialOverlayPausedOptionsInternal options); + internal static EOS_UI_IsSocialOverlayPausedDelegate EOS_UI_IsSocialOverlayPaused; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate int EOS_UI_IsValidKeyCombinationDelegate(System.IntPtr handle, UI.KeyCombination keyCombination); + internal static EOS_UI_IsValidKeyCombinationDelegate EOS_UI_IsValidKeyCombination; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_UI_PauseSocialOverlayDelegate(System.IntPtr handle, ref UI.PauseSocialOverlayOptionsInternal options); + internal static EOS_UI_PauseSocialOverlayDelegate EOS_UI_PauseSocialOverlay; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_UI_RemoveNotifyDisplaySettingsUpdatedDelegate(System.IntPtr handle, ulong id); + internal static EOS_UI_RemoveNotifyDisplaySettingsUpdatedDelegate EOS_UI_RemoveNotifyDisplaySettingsUpdated; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_UI_SetDisplayPreferenceDelegate(System.IntPtr handle, ref UI.SetDisplayPreferenceOptionsInternal options); + internal static EOS_UI_SetDisplayPreferenceDelegate EOS_UI_SetDisplayPreference; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_UI_SetToggleFriendsKeyDelegate(System.IntPtr handle, ref UI.SetToggleFriendsKeyOptionsInternal options); + internal static EOS_UI_SetToggleFriendsKeyDelegate EOS_UI_SetToggleFriendsKey; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_UI_ShowBlockPlayerDelegate(System.IntPtr handle, ref UI.ShowBlockPlayerOptionsInternal options, System.IntPtr clientData, UI.OnShowBlockPlayerCallbackInternal completionDelegate); + internal static EOS_UI_ShowBlockPlayerDelegate EOS_UI_ShowBlockPlayer; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_UI_ShowFriendsDelegate(System.IntPtr handle, ref UI.ShowFriendsOptionsInternal options, System.IntPtr clientData, UI.OnShowFriendsCallbackInternal completionDelegate); + internal static EOS_UI_ShowFriendsDelegate EOS_UI_ShowFriends; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_UI_ShowReportPlayerDelegate(System.IntPtr handle, ref UI.ShowReportPlayerOptionsInternal options, System.IntPtr clientData, UI.OnShowReportPlayerCallbackInternal completionDelegate); + internal static EOS_UI_ShowReportPlayerDelegate EOS_UI_ShowReportPlayer; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_UserInfo_CopyExternalUserInfoByAccountIdDelegate(System.IntPtr handle, ref UserInfo.CopyExternalUserInfoByAccountIdOptionsInternal options, ref System.IntPtr outExternalUserInfo); + internal static EOS_UserInfo_CopyExternalUserInfoByAccountIdDelegate EOS_UserInfo_CopyExternalUserInfoByAccountId; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_UserInfo_CopyExternalUserInfoByAccountTypeDelegate(System.IntPtr handle, ref UserInfo.CopyExternalUserInfoByAccountTypeOptionsInternal options, ref System.IntPtr outExternalUserInfo); + internal static EOS_UserInfo_CopyExternalUserInfoByAccountTypeDelegate EOS_UserInfo_CopyExternalUserInfoByAccountType; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_UserInfo_CopyExternalUserInfoByIndexDelegate(System.IntPtr handle, ref UserInfo.CopyExternalUserInfoByIndexOptionsInternal options, ref System.IntPtr outExternalUserInfo); + internal static EOS_UserInfo_CopyExternalUserInfoByIndexDelegate EOS_UserInfo_CopyExternalUserInfoByIndex; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate Result EOS_UserInfo_CopyUserInfoDelegate(System.IntPtr handle, ref UserInfo.CopyUserInfoOptionsInternal options, ref System.IntPtr outUserInfo); + internal static EOS_UserInfo_CopyUserInfoDelegate EOS_UserInfo_CopyUserInfo; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_UserInfo_ExternalUserInfo_ReleaseDelegate(System.IntPtr externalUserInfo); + internal static EOS_UserInfo_ExternalUserInfo_ReleaseDelegate EOS_UserInfo_ExternalUserInfo_Release; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate uint EOS_UserInfo_GetExternalUserInfoCountDelegate(System.IntPtr handle, ref UserInfo.GetExternalUserInfoCountOptionsInternal options); + internal static EOS_UserInfo_GetExternalUserInfoCountDelegate EOS_UserInfo_GetExternalUserInfoCount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_UserInfo_QueryUserInfoDelegate(System.IntPtr handle, ref UserInfo.QueryUserInfoOptionsInternal options, System.IntPtr clientData, UserInfo.OnQueryUserInfoCallbackInternal completionDelegate); + internal static EOS_UserInfo_QueryUserInfoDelegate EOS_UserInfo_QueryUserInfo; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_UserInfo_QueryUserInfoByDisplayNameDelegate(System.IntPtr handle, ref UserInfo.QueryUserInfoByDisplayNameOptionsInternal options, System.IntPtr clientData, UserInfo.OnQueryUserInfoByDisplayNameCallbackInternal completionDelegate); + internal static EOS_UserInfo_QueryUserInfoByDisplayNameDelegate EOS_UserInfo_QueryUserInfoByDisplayName; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_UserInfo_QueryUserInfoByExternalAccountDelegate(System.IntPtr handle, ref UserInfo.QueryUserInfoByExternalAccountOptionsInternal options, System.IntPtr clientData, UserInfo.OnQueryUserInfoByExternalAccountCallbackInternal completionDelegate); + internal static EOS_UserInfo_QueryUserInfoByExternalAccountDelegate EOS_UserInfo_QueryUserInfoByExternalAccount; + + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_UserInfo_ReleaseDelegate(System.IntPtr userInfo); + internal static EOS_UserInfo_ReleaseDelegate EOS_UserInfo_Release; +#endif + +#if !EOS_DYNAMIC_BINDINGS + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Achievements_AddNotifyAchievementsUnlocked(System.IntPtr handle, ref Achievements.AddNotifyAchievementsUnlockedOptionsInternal options, System.IntPtr clientData, Achievements.OnAchievementsUnlockedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Achievements_AddNotifyAchievementsUnlockedV2(System.IntPtr handle, ref Achievements.AddNotifyAchievementsUnlockedV2OptionsInternal options, System.IntPtr clientData, Achievements.OnAchievementsUnlockedCallbackV2Internal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Achievements_CopyAchievementDefinitionByAchievementId(System.IntPtr handle, ref Achievements.CopyAchievementDefinitionByAchievementIdOptionsInternal options, ref System.IntPtr outDefinition); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Achievements_CopyAchievementDefinitionByIndex(System.IntPtr handle, ref Achievements.CopyAchievementDefinitionByIndexOptionsInternal options, ref System.IntPtr outDefinition); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId(System.IntPtr handle, ref Achievements.CopyAchievementDefinitionV2ByAchievementIdOptionsInternal options, ref System.IntPtr outDefinition); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Achievements_CopyAchievementDefinitionV2ByIndex(System.IntPtr handle, ref Achievements.CopyAchievementDefinitionV2ByIndexOptionsInternal options, ref System.IntPtr outDefinition); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Achievements_CopyPlayerAchievementByAchievementId(System.IntPtr handle, ref Achievements.CopyPlayerAchievementByAchievementIdOptionsInternal options, ref System.IntPtr outAchievement); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Achievements_CopyPlayerAchievementByIndex(System.IntPtr handle, ref Achievements.CopyPlayerAchievementByIndexOptionsInternal options, ref System.IntPtr outAchievement); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Achievements_CopyUnlockedAchievementByAchievementId(System.IntPtr handle, ref Achievements.CopyUnlockedAchievementByAchievementIdOptionsInternal options, ref System.IntPtr outAchievement); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Achievements_CopyUnlockedAchievementByIndex(System.IntPtr handle, ref Achievements.CopyUnlockedAchievementByIndexOptionsInternal options, ref System.IntPtr outAchievement); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Achievements_DefinitionV2_Release(System.IntPtr achievementDefinition); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Achievements_Definition_Release(System.IntPtr achievementDefinition); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Achievements_GetAchievementDefinitionCount(System.IntPtr handle, ref Achievements.GetAchievementDefinitionCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Achievements_GetPlayerAchievementCount(System.IntPtr handle, ref Achievements.GetPlayerAchievementCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Achievements_GetUnlockedAchievementCount(System.IntPtr handle, ref Achievements.GetUnlockedAchievementCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Achievements_PlayerAchievement_Release(System.IntPtr achievement); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Achievements_QueryDefinitions(System.IntPtr handle, ref Achievements.QueryDefinitionsOptionsInternal options, System.IntPtr clientData, Achievements.OnQueryDefinitionsCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Achievements_QueryPlayerAchievements(System.IntPtr handle, ref Achievements.QueryPlayerAchievementsOptionsInternal options, System.IntPtr clientData, Achievements.OnQueryPlayerAchievementsCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Achievements_RemoveNotifyAchievementsUnlocked(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Achievements_UnlockAchievements(System.IntPtr handle, ref Achievements.UnlockAchievementsOptionsInternal options, System.IntPtr clientData, Achievements.OnUnlockAchievementsCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Achievements_UnlockedAchievement_Release(System.IntPtr achievement); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_ActiveSession_CopyInfo(System.IntPtr handle, ref Sessions.ActiveSessionCopyInfoOptionsInternal options, ref System.IntPtr outActiveSessionInfo); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_ActiveSession_GetRegisteredPlayerByIndex(System.IntPtr handle, ref Sessions.ActiveSessionGetRegisteredPlayerByIndexOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_ActiveSession_GetRegisteredPlayerCount(System.IntPtr handle, ref Sessions.ActiveSessionGetRegisteredPlayerCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_ActiveSession_Info_Release(System.IntPtr activeSessionInfo); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_ActiveSession_Release(System.IntPtr activeSessionHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatClient_AddExternalIntegrityCatalog(System.IntPtr handle, ref AntiCheatClient.AddExternalIntegrityCatalogOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_AntiCheatClient_AddNotifyClientIntegrityViolated(System.IntPtr handle, ref AntiCheatClient.AddNotifyClientIntegrityViolatedOptionsInternal options, System.IntPtr clientData, AntiCheatClient.OnClientIntegrityViolatedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_AntiCheatClient_AddNotifyMessageToPeer(System.IntPtr handle, ref AntiCheatClient.AddNotifyMessageToPeerOptionsInternal options, System.IntPtr clientData, AntiCheatClient.OnMessageToPeerCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_AntiCheatClient_AddNotifyMessageToServer(System.IntPtr handle, ref AntiCheatClient.AddNotifyMessageToServerOptionsInternal options, System.IntPtr clientData, AntiCheatClient.OnMessageToServerCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_AntiCheatClient_AddNotifyPeerActionRequired(System.IntPtr handle, ref AntiCheatClient.AddNotifyPeerActionRequiredOptionsInternal options, System.IntPtr clientData, AntiCheatClient.OnPeerActionRequiredCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_AntiCheatClient_AddNotifyPeerAuthStatusChanged(System.IntPtr handle, ref AntiCheatClient.AddNotifyPeerAuthStatusChangedOptionsInternal options, System.IntPtr clientData, AntiCheatClient.OnPeerAuthStatusChangedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatClient_BeginSession(System.IntPtr handle, ref AntiCheatClient.BeginSessionOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatClient_EndSession(System.IntPtr handle, ref AntiCheatClient.EndSessionOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatClient_GetProtectMessageOutputLength(System.IntPtr handle, ref AntiCheatClient.GetProtectMessageOutputLengthOptionsInternal options, ref uint outBufferSizeBytes); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatClient_PollStatus(System.IntPtr handle, ref AntiCheatClient.PollStatusOptionsInternal options, ref AntiCheatClient.AntiCheatClientViolationType outViolationType, System.IntPtr outMessage); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatClient_ProtectMessage(System.IntPtr handle, ref AntiCheatClient.ProtectMessageOptionsInternal options, System.IntPtr outBuffer, ref uint outBytesWritten); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatClient_ReceiveMessageFromPeer(System.IntPtr handle, ref AntiCheatClient.ReceiveMessageFromPeerOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatClient_ReceiveMessageFromServer(System.IntPtr handle, ref AntiCheatClient.ReceiveMessageFromServerOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatClient_RegisterPeer(System.IntPtr handle, ref AntiCheatClient.RegisterPeerOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_AntiCheatClient_RemoveNotifyClientIntegrityViolated(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_AntiCheatClient_RemoveNotifyMessageToPeer(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_AntiCheatClient_RemoveNotifyMessageToServer(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_AntiCheatClient_RemoveNotifyPeerActionRequired(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatClient_UnprotectMessage(System.IntPtr handle, ref AntiCheatClient.UnprotectMessageOptionsInternal options, System.IntPtr outBuffer, ref uint outBytesWritten); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatClient_UnregisterPeer(System.IntPtr handle, ref AntiCheatClient.UnregisterPeerOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_AntiCheatServer_AddNotifyClientActionRequired(System.IntPtr handle, ref AntiCheatServer.AddNotifyClientActionRequiredOptionsInternal options, System.IntPtr clientData, AntiCheatServer.OnClientActionRequiredCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged(System.IntPtr handle, ref AntiCheatServer.AddNotifyClientAuthStatusChangedOptionsInternal options, System.IntPtr clientData, AntiCheatServer.OnClientAuthStatusChangedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_AntiCheatServer_AddNotifyMessageToClient(System.IntPtr handle, ref AntiCheatServer.AddNotifyMessageToClientOptionsInternal options, System.IntPtr clientData, AntiCheatServer.OnMessageToClientCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_BeginSession(System.IntPtr handle, ref AntiCheatServer.BeginSessionOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_EndSession(System.IntPtr handle, ref AntiCheatServer.EndSessionOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_GetProtectMessageOutputLength(System.IntPtr handle, ref AntiCheatServer.GetProtectMessageOutputLengthOptionsInternal options, ref uint outBufferSizeBytes); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_LogEvent(System.IntPtr handle, ref AntiCheatCommon.LogEventOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_LogGameRoundEnd(System.IntPtr handle, ref AntiCheatCommon.LogGameRoundEndOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_LogGameRoundStart(System.IntPtr handle, ref AntiCheatCommon.LogGameRoundStartOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_LogPlayerDespawn(System.IntPtr handle, ref AntiCheatCommon.LogPlayerDespawnOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_LogPlayerRevive(System.IntPtr handle, ref AntiCheatCommon.LogPlayerReviveOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_LogPlayerSpawn(System.IntPtr handle, ref AntiCheatCommon.LogPlayerSpawnOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_LogPlayerTakeDamage(System.IntPtr handle, ref AntiCheatCommon.LogPlayerTakeDamageOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_LogPlayerTick(System.IntPtr handle, ref AntiCheatCommon.LogPlayerTickOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_LogPlayerUseAbility(System.IntPtr handle, ref AntiCheatCommon.LogPlayerUseAbilityOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_LogPlayerUseWeapon(System.IntPtr handle, ref AntiCheatCommon.LogPlayerUseWeaponOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_ProtectMessage(System.IntPtr handle, ref AntiCheatServer.ProtectMessageOptionsInternal options, System.IntPtr outBuffer, ref uint outBytesWritten); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_ReceiveMessageFromClient(System.IntPtr handle, ref AntiCheatServer.ReceiveMessageFromClientOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_RegisterClient(System.IntPtr handle, ref AntiCheatServer.RegisterClientOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_RegisterEvent(System.IntPtr handle, ref AntiCheatCommon.RegisterEventOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_AntiCheatServer_RemoveNotifyClientActionRequired(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_AntiCheatServer_RemoveNotifyClientAuthStatusChanged(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_AntiCheatServer_RemoveNotifyMessageToClient(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_SetClientDetails(System.IntPtr handle, ref AntiCheatCommon.SetClientDetailsOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_SetClientNetworkState(System.IntPtr handle, ref AntiCheatServer.SetClientNetworkStateOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_SetGameSessionId(System.IntPtr handle, ref AntiCheatCommon.SetGameSessionIdOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_UnprotectMessage(System.IntPtr handle, ref AntiCheatServer.UnprotectMessageOptionsInternal options, System.IntPtr outBuffer, ref uint outBytesWritten); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_AntiCheatServer_UnregisterClient(System.IntPtr handle, ref AntiCheatServer.UnregisterClientOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Auth_AddNotifyLoginStatusChanged(System.IntPtr handle, ref Auth.AddNotifyLoginStatusChangedOptionsInternal options, System.IntPtr clientData, Auth.OnLoginStatusChangedCallbackInternal notification); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Auth_CopyIdToken(System.IntPtr handle, ref Auth.CopyIdTokenOptionsInternal options, ref System.IntPtr outIdToken); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Auth_CopyUserAuthToken(System.IntPtr handle, ref Auth.CopyUserAuthTokenOptionsInternal options, System.IntPtr localUserId, ref System.IntPtr outUserAuthToken); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Auth_DeletePersistentAuth(System.IntPtr handle, ref Auth.DeletePersistentAuthOptionsInternal options, System.IntPtr clientData, Auth.OnDeletePersistentAuthCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Auth_GetLoggedInAccountByIndex(System.IntPtr handle, int index); + + [DllImport(Config.LibraryName)] + internal static extern int EOS_Auth_GetLoggedInAccountsCount(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern LoginStatus EOS_Auth_GetLoginStatus(System.IntPtr handle, System.IntPtr localUserId); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Auth_GetMergedAccountByIndex(System.IntPtr handle, System.IntPtr localUserId, uint index); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Auth_GetMergedAccountsCount(System.IntPtr handle, System.IntPtr localUserId); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Auth_GetSelectedAccountId(System.IntPtr handle, System.IntPtr localUserId, ref System.IntPtr outSelectedAccountId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Auth_IdToken_Release(System.IntPtr idToken); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Auth_LinkAccount(System.IntPtr handle, ref Auth.LinkAccountOptionsInternal options, System.IntPtr clientData, Auth.OnLinkAccountCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Auth_Login(System.IntPtr handle, ref Auth.LoginOptionsInternal options, System.IntPtr clientData, Auth.OnLoginCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Auth_Logout(System.IntPtr handle, ref Auth.LogoutOptionsInternal options, System.IntPtr clientData, Auth.OnLogoutCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Auth_QueryIdToken(System.IntPtr handle, ref Auth.QueryIdTokenOptionsInternal options, System.IntPtr clientData, Auth.OnQueryIdTokenCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Auth_RemoveNotifyLoginStatusChanged(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Auth_Token_Release(System.IntPtr authToken); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Auth_VerifyIdToken(System.IntPtr handle, ref Auth.VerifyIdTokenOptionsInternal options, System.IntPtr clientData, Auth.OnVerifyIdTokenCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Auth_VerifyUserAuth(System.IntPtr handle, ref Auth.VerifyUserAuthOptionsInternal options, System.IntPtr clientData, Auth.OnVerifyUserAuthCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_ByteArray_ToString(System.IntPtr byteArray, uint length, System.IntPtr outBuffer, ref uint inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Connect_AddNotifyAuthExpiration(System.IntPtr handle, ref Connect.AddNotifyAuthExpirationOptionsInternal options, System.IntPtr clientData, Connect.OnAuthExpirationCallbackInternal notification); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Connect_AddNotifyLoginStatusChanged(System.IntPtr handle, ref Connect.AddNotifyLoginStatusChangedOptionsInternal options, System.IntPtr clientData, Connect.OnLoginStatusChangedCallbackInternal notification); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Connect_CopyIdToken(System.IntPtr handle, ref Connect.CopyIdTokenOptionsInternal options, ref System.IntPtr outIdToken); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Connect_CopyProductUserExternalAccountByAccountId(System.IntPtr handle, ref Connect.CopyProductUserExternalAccountByAccountIdOptionsInternal options, ref System.IntPtr outExternalAccountInfo); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Connect_CopyProductUserExternalAccountByAccountType(System.IntPtr handle, ref Connect.CopyProductUserExternalAccountByAccountTypeOptionsInternal options, ref System.IntPtr outExternalAccountInfo); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Connect_CopyProductUserExternalAccountByIndex(System.IntPtr handle, ref Connect.CopyProductUserExternalAccountByIndexOptionsInternal options, ref System.IntPtr outExternalAccountInfo); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Connect_CopyProductUserInfo(System.IntPtr handle, ref Connect.CopyProductUserInfoOptionsInternal options, ref System.IntPtr outExternalAccountInfo); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_CreateDeviceId(System.IntPtr handle, ref Connect.CreateDeviceIdOptionsInternal options, System.IntPtr clientData, Connect.OnCreateDeviceIdCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_CreateUser(System.IntPtr handle, ref Connect.CreateUserOptionsInternal options, System.IntPtr clientData, Connect.OnCreateUserCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_DeleteDeviceId(System.IntPtr handle, ref Connect.DeleteDeviceIdOptionsInternal options, System.IntPtr clientData, Connect.OnDeleteDeviceIdCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_ExternalAccountInfo_Release(System.IntPtr externalAccountInfo); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Connect_GetExternalAccountMapping(System.IntPtr handle, ref Connect.GetExternalAccountMappingsOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Connect_GetLoggedInUserByIndex(System.IntPtr handle, int index); + + [DllImport(Config.LibraryName)] + internal static extern int EOS_Connect_GetLoggedInUsersCount(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern LoginStatus EOS_Connect_GetLoginStatus(System.IntPtr handle, System.IntPtr localUserId); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Connect_GetProductUserExternalAccountCount(System.IntPtr handle, ref Connect.GetProductUserExternalAccountCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Connect_GetProductUserIdMapping(System.IntPtr handle, ref Connect.GetProductUserIdMappingOptionsInternal options, System.IntPtr outBuffer, ref int inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_IdToken_Release(System.IntPtr idToken); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_LinkAccount(System.IntPtr handle, ref Connect.LinkAccountOptionsInternal options, System.IntPtr clientData, Connect.OnLinkAccountCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_Login(System.IntPtr handle, ref Connect.LoginOptionsInternal options, System.IntPtr clientData, Connect.OnLoginCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_QueryExternalAccountMappings(System.IntPtr handle, ref Connect.QueryExternalAccountMappingsOptionsInternal options, System.IntPtr clientData, Connect.OnQueryExternalAccountMappingsCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_QueryProductUserIdMappings(System.IntPtr handle, ref Connect.QueryProductUserIdMappingsOptionsInternal options, System.IntPtr clientData, Connect.OnQueryProductUserIdMappingsCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_RemoveNotifyAuthExpiration(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_RemoveNotifyLoginStatusChanged(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_TransferDeviceIdAccount(System.IntPtr handle, ref Connect.TransferDeviceIdAccountOptionsInternal options, System.IntPtr clientData, Connect.OnTransferDeviceIdAccountCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_UnlinkAccount(System.IntPtr handle, ref Connect.UnlinkAccountOptionsInternal options, System.IntPtr clientData, Connect.OnUnlinkAccountCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Connect_VerifyIdToken(System.IntPtr handle, ref Connect.VerifyIdTokenOptionsInternal options, System.IntPtr clientData, Connect.OnVerifyIdTokenCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_ContinuanceToken_ToString(System.IntPtr continuanceToken, System.IntPtr outBuffer, ref int inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_CustomInvites_AddNotifyCustomInviteAccepted(System.IntPtr handle, ref CustomInvites.AddNotifyCustomInviteAcceptedOptionsInternal options, System.IntPtr clientData, CustomInvites.OnCustomInviteAcceptedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_CustomInvites_AddNotifyCustomInviteReceived(System.IntPtr handle, ref CustomInvites.AddNotifyCustomInviteReceivedOptionsInternal options, System.IntPtr clientData, CustomInvites.OnCustomInviteReceivedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_CustomInvites_AddNotifyCustomInviteRejected(System.IntPtr handle, ref CustomInvites.AddNotifyCustomInviteRejectedOptionsInternal options, System.IntPtr clientData, CustomInvites.OnCustomInviteRejectedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_CustomInvites_FinalizeInvite(System.IntPtr handle, ref CustomInvites.FinalizeInviteOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_CustomInvites_RemoveNotifyCustomInviteAccepted(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_CustomInvites_RemoveNotifyCustomInviteReceived(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_CustomInvites_RemoveNotifyCustomInviteRejected(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_CustomInvites_SendCustomInvite(System.IntPtr handle, ref CustomInvites.SendCustomInviteOptionsInternal options, System.IntPtr clientData, CustomInvites.OnSendCustomInviteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_CustomInvites_SetCustomInvite(System.IntPtr handle, ref CustomInvites.SetCustomInviteOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern int EOS_EResult_IsOperationComplete(Result result); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_EResult_ToString(Result result); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Ecom_CatalogItem_Release(System.IntPtr catalogItem); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Ecom_CatalogOffer_Release(System.IntPtr catalogOffer); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Ecom_CatalogRelease_Release(System.IntPtr catalogRelease); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Ecom_Checkout(System.IntPtr handle, ref Ecom.CheckoutOptionsInternal options, System.IntPtr clientData, Ecom.OnCheckoutCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_CopyEntitlementById(System.IntPtr handle, ref Ecom.CopyEntitlementByIdOptionsInternal options, ref System.IntPtr outEntitlement); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_CopyEntitlementByIndex(System.IntPtr handle, ref Ecom.CopyEntitlementByIndexOptionsInternal options, ref System.IntPtr outEntitlement); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_CopyEntitlementByNameAndIndex(System.IntPtr handle, ref Ecom.CopyEntitlementByNameAndIndexOptionsInternal options, ref System.IntPtr outEntitlement); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_CopyItemById(System.IntPtr handle, ref Ecom.CopyItemByIdOptionsInternal options, ref System.IntPtr outItem); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_CopyItemImageInfoByIndex(System.IntPtr handle, ref Ecom.CopyItemImageInfoByIndexOptionsInternal options, ref System.IntPtr outImageInfo); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_CopyItemReleaseByIndex(System.IntPtr handle, ref Ecom.CopyItemReleaseByIndexOptionsInternal options, ref System.IntPtr outRelease); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_CopyLastRedeemedEntitlementByIndex(System.IntPtr handle, ref Ecom.CopyLastRedeemedEntitlementByIndexOptionsInternal options, System.IntPtr outRedeemedEntitlementId, ref int inOutRedeemedEntitlementIdLength); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_CopyOfferById(System.IntPtr handle, ref Ecom.CopyOfferByIdOptionsInternal options, ref System.IntPtr outOffer); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_CopyOfferByIndex(System.IntPtr handle, ref Ecom.CopyOfferByIndexOptionsInternal options, ref System.IntPtr outOffer); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_CopyOfferImageInfoByIndex(System.IntPtr handle, ref Ecom.CopyOfferImageInfoByIndexOptionsInternal options, ref System.IntPtr outImageInfo); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_CopyOfferItemByIndex(System.IntPtr handle, ref Ecom.CopyOfferItemByIndexOptionsInternal options, ref System.IntPtr outItem); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_CopyTransactionById(System.IntPtr handle, ref Ecom.CopyTransactionByIdOptionsInternal options, ref System.IntPtr outTransaction); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_CopyTransactionByIndex(System.IntPtr handle, ref Ecom.CopyTransactionByIndexOptionsInternal options, ref System.IntPtr outTransaction); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Ecom_Entitlement_Release(System.IntPtr entitlement); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Ecom_GetEntitlementsByNameCount(System.IntPtr handle, ref Ecom.GetEntitlementsByNameCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Ecom_GetEntitlementsCount(System.IntPtr handle, ref Ecom.GetEntitlementsCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Ecom_GetItemImageInfoCount(System.IntPtr handle, ref Ecom.GetItemImageInfoCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Ecom_GetItemReleaseCount(System.IntPtr handle, ref Ecom.GetItemReleaseCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Ecom_GetLastRedeemedEntitlementsCount(System.IntPtr handle, ref Ecom.GetLastRedeemedEntitlementsCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Ecom_GetOfferCount(System.IntPtr handle, ref Ecom.GetOfferCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Ecom_GetOfferImageInfoCount(System.IntPtr handle, ref Ecom.GetOfferImageInfoCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Ecom_GetOfferItemCount(System.IntPtr handle, ref Ecom.GetOfferItemCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Ecom_GetTransactionCount(System.IntPtr handle, ref Ecom.GetTransactionCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Ecom_KeyImageInfo_Release(System.IntPtr keyImageInfo); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Ecom_QueryEntitlementToken(System.IntPtr handle, ref Ecom.QueryEntitlementTokenOptionsInternal options, System.IntPtr clientData, Ecom.OnQueryEntitlementTokenCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Ecom_QueryEntitlements(System.IntPtr handle, ref Ecom.QueryEntitlementsOptionsInternal options, System.IntPtr clientData, Ecom.OnQueryEntitlementsCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Ecom_QueryOffers(System.IntPtr handle, ref Ecom.QueryOffersOptionsInternal options, System.IntPtr clientData, Ecom.OnQueryOffersCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Ecom_QueryOwnership(System.IntPtr handle, ref Ecom.QueryOwnershipOptionsInternal options, System.IntPtr clientData, Ecom.OnQueryOwnershipCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Ecom_QueryOwnershipToken(System.IntPtr handle, ref Ecom.QueryOwnershipTokenOptionsInternal options, System.IntPtr clientData, Ecom.OnQueryOwnershipTokenCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Ecom_RedeemEntitlements(System.IntPtr handle, ref Ecom.RedeemEntitlementsOptionsInternal options, System.IntPtr clientData, Ecom.OnRedeemEntitlementsCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_Transaction_CopyEntitlementByIndex(System.IntPtr handle, ref Ecom.TransactionCopyEntitlementByIndexOptionsInternal options, ref System.IntPtr outEntitlement); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Ecom_Transaction_GetEntitlementsCount(System.IntPtr handle, ref Ecom.TransactionGetEntitlementsCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Ecom_Transaction_GetTransactionId(System.IntPtr handle, System.IntPtr outBuffer, ref int inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Ecom_Transaction_Release(System.IntPtr transaction); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_EpicAccountId_FromString(System.IntPtr accountIdString); + + [DllImport(Config.LibraryName)] + internal static extern int EOS_EpicAccountId_IsValid(System.IntPtr accountId); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_EpicAccountId_ToString(System.IntPtr accountId, System.IntPtr outBuffer, ref int inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Friends_AcceptInvite(System.IntPtr handle, ref Friends.AcceptInviteOptionsInternal options, System.IntPtr clientData, Friends.OnAcceptInviteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Friends_AddNotifyFriendsUpdate(System.IntPtr handle, ref Friends.AddNotifyFriendsUpdateOptionsInternal options, System.IntPtr clientData, Friends.OnFriendsUpdateCallbackInternal friendsUpdateHandler); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Friends_GetFriendAtIndex(System.IntPtr handle, ref Friends.GetFriendAtIndexOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern int EOS_Friends_GetFriendsCount(System.IntPtr handle, ref Friends.GetFriendsCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Friends.FriendsStatus EOS_Friends_GetStatus(System.IntPtr handle, ref Friends.GetStatusOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Friends_QueryFriends(System.IntPtr handle, ref Friends.QueryFriendsOptionsInternal options, System.IntPtr clientData, Friends.OnQueryFriendsCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Friends_RejectInvite(System.IntPtr handle, ref Friends.RejectInviteOptionsInternal options, System.IntPtr clientData, Friends.OnRejectInviteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Friends_RemoveNotifyFriendsUpdate(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Friends_SendInvite(System.IntPtr handle, ref Friends.SendInviteOptionsInternal options, System.IntPtr clientData, Friends.OnSendInviteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_GetVersion(); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Initialize(ref Platform.InitializeOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_IntegratedPlatformOptionsContainer_Add(System.IntPtr handle, ref IntegratedPlatform.IntegratedPlatformOptionsContainerAddOptionsInternal inOptions); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_IntegratedPlatformOptionsContainer_Release(System.IntPtr integratedPlatformOptionsContainerHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainer(ref IntegratedPlatform.CreateIntegratedPlatformOptionsContainerOptionsInternal options, ref System.IntPtr outIntegratedPlatformOptionsContainerHandle); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_KWS_AddNotifyPermissionsUpdateReceived(System.IntPtr handle, ref KWS.AddNotifyPermissionsUpdateReceivedOptionsInternal options, System.IntPtr clientData, KWS.OnPermissionsUpdateReceivedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_KWS_CopyPermissionByIndex(System.IntPtr handle, ref KWS.CopyPermissionByIndexOptionsInternal options, ref System.IntPtr outPermission); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_KWS_CreateUser(System.IntPtr handle, ref KWS.CreateUserOptionsInternal options, System.IntPtr clientData, KWS.OnCreateUserCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_KWS_GetPermissionByKey(System.IntPtr handle, ref KWS.GetPermissionByKeyOptionsInternal options, ref KWS.KWSPermissionStatus outPermission); + + [DllImport(Config.LibraryName)] + internal static extern int EOS_KWS_GetPermissionsCount(System.IntPtr handle, ref KWS.GetPermissionsCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_KWS_PermissionStatus_Release(System.IntPtr permissionStatus); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_KWS_QueryAgeGate(System.IntPtr handle, ref KWS.QueryAgeGateOptionsInternal options, System.IntPtr clientData, KWS.OnQueryAgeGateCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_KWS_QueryPermissions(System.IntPtr handle, ref KWS.QueryPermissionsOptionsInternal options, System.IntPtr clientData, KWS.OnQueryPermissionsCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_KWS_RemoveNotifyPermissionsUpdateReceived(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_KWS_RequestPermissions(System.IntPtr handle, ref KWS.RequestPermissionsOptionsInternal options, System.IntPtr clientData, KWS.OnRequestPermissionsCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_KWS_UpdateParentEmail(System.IntPtr handle, ref KWS.UpdateParentEmailOptionsInternal options, System.IntPtr clientData, KWS.OnUpdateParentEmailCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Leaderboards_CopyLeaderboardDefinitionByIndex(System.IntPtr handle, ref Leaderboards.CopyLeaderboardDefinitionByIndexOptionsInternal options, ref System.IntPtr outLeaderboardDefinition); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId(System.IntPtr handle, ref Leaderboards.CopyLeaderboardDefinitionByLeaderboardIdOptionsInternal options, ref System.IntPtr outLeaderboardDefinition); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Leaderboards_CopyLeaderboardRecordByIndex(System.IntPtr handle, ref Leaderboards.CopyLeaderboardRecordByIndexOptionsInternal options, ref System.IntPtr outLeaderboardRecord); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Leaderboards_CopyLeaderboardRecordByUserId(System.IntPtr handle, ref Leaderboards.CopyLeaderboardRecordByUserIdOptionsInternal options, ref System.IntPtr outLeaderboardRecord); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Leaderboards_CopyLeaderboardUserScoreByIndex(System.IntPtr handle, ref Leaderboards.CopyLeaderboardUserScoreByIndexOptionsInternal options, ref System.IntPtr outLeaderboardUserScore); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Leaderboards_CopyLeaderboardUserScoreByUserId(System.IntPtr handle, ref Leaderboards.CopyLeaderboardUserScoreByUserIdOptionsInternal options, ref System.IntPtr outLeaderboardUserScore); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Leaderboards_Definition_Release(System.IntPtr leaderboardDefinition); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Leaderboards_GetLeaderboardDefinitionCount(System.IntPtr handle, ref Leaderboards.GetLeaderboardDefinitionCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Leaderboards_GetLeaderboardRecordCount(System.IntPtr handle, ref Leaderboards.GetLeaderboardRecordCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Leaderboards_GetLeaderboardUserScoreCount(System.IntPtr handle, ref Leaderboards.GetLeaderboardUserScoreCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Leaderboards_LeaderboardDefinition_Release(System.IntPtr leaderboardDefinition); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Leaderboards_LeaderboardRecord_Release(System.IntPtr leaderboardRecord); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Leaderboards_LeaderboardUserScore_Release(System.IntPtr leaderboardUserScore); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Leaderboards_QueryLeaderboardDefinitions(System.IntPtr handle, ref Leaderboards.QueryLeaderboardDefinitionsOptionsInternal options, System.IntPtr clientData, Leaderboards.OnQueryLeaderboardDefinitionsCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Leaderboards_QueryLeaderboardRanks(System.IntPtr handle, ref Leaderboards.QueryLeaderboardRanksOptionsInternal options, System.IntPtr clientData, Leaderboards.OnQueryLeaderboardRanksCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Leaderboards_QueryLeaderboardUserScores(System.IntPtr handle, ref Leaderboards.QueryLeaderboardUserScoresOptionsInternal options, System.IntPtr clientData, Leaderboards.OnQueryLeaderboardUserScoresCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbyDetails_CopyAttributeByIndex(System.IntPtr handle, ref Lobby.LobbyDetailsCopyAttributeByIndexOptionsInternal options, ref System.IntPtr outAttribute); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbyDetails_CopyAttributeByKey(System.IntPtr handle, ref Lobby.LobbyDetailsCopyAttributeByKeyOptionsInternal options, ref System.IntPtr outAttribute); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbyDetails_CopyInfo(System.IntPtr handle, ref Lobby.LobbyDetailsCopyInfoOptionsInternal options, ref System.IntPtr outLobbyDetailsInfo); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbyDetails_CopyMemberAttributeByIndex(System.IntPtr handle, ref Lobby.LobbyDetailsCopyMemberAttributeByIndexOptionsInternal options, ref System.IntPtr outAttribute); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbyDetails_CopyMemberAttributeByKey(System.IntPtr handle, ref Lobby.LobbyDetailsCopyMemberAttributeByKeyOptionsInternal options, ref System.IntPtr outAttribute); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_LobbyDetails_GetAttributeCount(System.IntPtr handle, ref Lobby.LobbyDetailsGetAttributeCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_LobbyDetails_GetLobbyOwner(System.IntPtr handle, ref Lobby.LobbyDetailsGetLobbyOwnerOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_LobbyDetails_GetMemberAttributeCount(System.IntPtr handle, ref Lobby.LobbyDetailsGetMemberAttributeCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_LobbyDetails_GetMemberByIndex(System.IntPtr handle, ref Lobby.LobbyDetailsGetMemberByIndexOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_LobbyDetails_GetMemberCount(System.IntPtr handle, ref Lobby.LobbyDetailsGetMemberCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_LobbyDetails_Info_Release(System.IntPtr lobbyDetailsInfo); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_LobbyDetails_Release(System.IntPtr lobbyHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbyModification_AddAttribute(System.IntPtr handle, ref Lobby.LobbyModificationAddAttributeOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbyModification_AddMemberAttribute(System.IntPtr handle, ref Lobby.LobbyModificationAddMemberAttributeOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_LobbyModification_Release(System.IntPtr lobbyModificationHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbyModification_RemoveAttribute(System.IntPtr handle, ref Lobby.LobbyModificationRemoveAttributeOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbyModification_RemoveMemberAttribute(System.IntPtr handle, ref Lobby.LobbyModificationRemoveMemberAttributeOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbyModification_SetBucketId(System.IntPtr handle, ref Lobby.LobbyModificationSetBucketIdOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbyModification_SetInvitesAllowed(System.IntPtr handle, ref Lobby.LobbyModificationSetInvitesAllowedOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbyModification_SetMaxMembers(System.IntPtr handle, ref Lobby.LobbyModificationSetMaxMembersOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbyModification_SetPermissionLevel(System.IntPtr handle, ref Lobby.LobbyModificationSetPermissionLevelOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbySearch_CopySearchResultByIndex(System.IntPtr handle, ref Lobby.LobbySearchCopySearchResultByIndexOptionsInternal options, ref System.IntPtr outLobbyDetailsHandle); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_LobbySearch_Find(System.IntPtr handle, ref Lobby.LobbySearchFindOptionsInternal options, System.IntPtr clientData, Lobby.LobbySearchOnFindCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_LobbySearch_GetSearchResultCount(System.IntPtr handle, ref Lobby.LobbySearchGetSearchResultCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_LobbySearch_Release(System.IntPtr lobbySearchHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbySearch_RemoveParameter(System.IntPtr handle, ref Lobby.LobbySearchRemoveParameterOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbySearch_SetLobbyId(System.IntPtr handle, ref Lobby.LobbySearchSetLobbyIdOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbySearch_SetMaxResults(System.IntPtr handle, ref Lobby.LobbySearchSetMaxResultsOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbySearch_SetParameter(System.IntPtr handle, ref Lobby.LobbySearchSetParameterOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_LobbySearch_SetTargetUserId(System.IntPtr handle, ref Lobby.LobbySearchSetTargetUserIdOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Lobby_AddNotifyJoinLobbyAccepted(System.IntPtr handle, ref Lobby.AddNotifyJoinLobbyAcceptedOptionsInternal options, System.IntPtr clientData, Lobby.OnJoinLobbyAcceptedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Lobby_AddNotifyLobbyInviteAccepted(System.IntPtr handle, ref Lobby.AddNotifyLobbyInviteAcceptedOptionsInternal options, System.IntPtr clientData, Lobby.OnLobbyInviteAcceptedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Lobby_AddNotifyLobbyInviteReceived(System.IntPtr handle, ref Lobby.AddNotifyLobbyInviteReceivedOptionsInternal options, System.IntPtr clientData, Lobby.OnLobbyInviteReceivedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Lobby_AddNotifyLobbyInviteRejected(System.IntPtr handle, ref Lobby.AddNotifyLobbyInviteRejectedOptionsInternal options, System.IntPtr clientData, Lobby.OnLobbyInviteRejectedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Lobby_AddNotifyLobbyMemberStatusReceived(System.IntPtr handle, ref Lobby.AddNotifyLobbyMemberStatusReceivedOptionsInternal options, System.IntPtr clientData, Lobby.OnLobbyMemberStatusReceivedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Lobby_AddNotifyLobbyMemberUpdateReceived(System.IntPtr handle, ref Lobby.AddNotifyLobbyMemberUpdateReceivedOptionsInternal options, System.IntPtr clientData, Lobby.OnLobbyMemberUpdateReceivedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Lobby_AddNotifyLobbyUpdateReceived(System.IntPtr handle, ref Lobby.AddNotifyLobbyUpdateReceivedOptionsInternal options, System.IntPtr clientData, Lobby.OnLobbyUpdateReceivedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Lobby_AddNotifyRTCRoomConnectionChanged(System.IntPtr handle, ref Lobby.AddNotifyRTCRoomConnectionChangedOptionsInternal options, System.IntPtr clientData, Lobby.OnRTCRoomConnectionChangedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Lobby_AddNotifySendLobbyNativeInviteRequested(System.IntPtr handle, ref Lobby.AddNotifySendLobbyNativeInviteRequestedOptionsInternal options, System.IntPtr clientData, Lobby.OnSendLobbyNativeInviteRequestedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_Attribute_Release(System.IntPtr lobbyAttribute); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Lobby_CopyLobbyDetailsHandle(System.IntPtr handle, ref Lobby.CopyLobbyDetailsHandleOptionsInternal options, ref System.IntPtr outLobbyDetailsHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Lobby_CopyLobbyDetailsHandleByInviteId(System.IntPtr handle, ref Lobby.CopyLobbyDetailsHandleByInviteIdOptionsInternal options, ref System.IntPtr outLobbyDetailsHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Lobby_CopyLobbyDetailsHandleByUiEventId(System.IntPtr handle, ref Lobby.CopyLobbyDetailsHandleByUiEventIdOptionsInternal options, ref System.IntPtr outLobbyDetailsHandle); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_CreateLobby(System.IntPtr handle, ref Lobby.CreateLobbyOptionsInternal options, System.IntPtr clientData, Lobby.OnCreateLobbyCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Lobby_CreateLobbySearch(System.IntPtr handle, ref Lobby.CreateLobbySearchOptionsInternal options, ref System.IntPtr outLobbySearchHandle); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_DestroyLobby(System.IntPtr handle, ref Lobby.DestroyLobbyOptionsInternal options, System.IntPtr clientData, Lobby.OnDestroyLobbyCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Lobby_GetInviteCount(System.IntPtr handle, ref Lobby.GetInviteCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Lobby_GetInviteIdByIndex(System.IntPtr handle, ref Lobby.GetInviteIdByIndexOptionsInternal options, System.IntPtr outBuffer, ref int inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Lobby_GetRTCRoomName(System.IntPtr handle, ref Lobby.GetRTCRoomNameOptionsInternal options, System.IntPtr outBuffer, ref uint inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_HardMuteMember(System.IntPtr handle, ref Lobby.HardMuteMemberOptionsInternal options, System.IntPtr clientData, Lobby.OnHardMuteMemberCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Lobby_IsRTCRoomConnected(System.IntPtr handle, ref Lobby.IsRTCRoomConnectedOptionsInternal options, ref int bOutIsConnected); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_JoinLobby(System.IntPtr handle, ref Lobby.JoinLobbyOptionsInternal options, System.IntPtr clientData, Lobby.OnJoinLobbyCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_JoinLobbyById(System.IntPtr handle, ref Lobby.JoinLobbyByIdOptionsInternal options, System.IntPtr clientData, Lobby.OnJoinLobbyByIdCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_KickMember(System.IntPtr handle, ref Lobby.KickMemberOptionsInternal options, System.IntPtr clientData, Lobby.OnKickMemberCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_LeaveLobby(System.IntPtr handle, ref Lobby.LeaveLobbyOptionsInternal options, System.IntPtr clientData, Lobby.OnLeaveLobbyCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_PromoteMember(System.IntPtr handle, ref Lobby.PromoteMemberOptionsInternal options, System.IntPtr clientData, Lobby.OnPromoteMemberCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_QueryInvites(System.IntPtr handle, ref Lobby.QueryInvitesOptionsInternal options, System.IntPtr clientData, Lobby.OnQueryInvitesCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_RejectInvite(System.IntPtr handle, ref Lobby.RejectInviteOptionsInternal options, System.IntPtr clientData, Lobby.OnRejectInviteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_RemoveNotifyJoinLobbyAccepted(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_RemoveNotifyLobbyInviteAccepted(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_RemoveNotifyLobbyInviteReceived(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_RemoveNotifyLobbyInviteRejected(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_RemoveNotifyLobbyUpdateReceived(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequested(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_SendInvite(System.IntPtr handle, ref Lobby.SendInviteOptionsInternal options, System.IntPtr clientData, Lobby.OnSendInviteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Lobby_UpdateLobby(System.IntPtr handle, ref Lobby.UpdateLobbyOptionsInternal options, System.IntPtr clientData, Lobby.OnUpdateLobbyCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Lobby_UpdateLobbyModification(System.IntPtr handle, ref Lobby.UpdateLobbyModificationOptionsInternal options, ref System.IntPtr outLobbyModificationHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Logging_SetCallback(Logging.LogMessageFuncInternal callback); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Logging_SetLogLevel(Logging.LogCategory logCategory, Logging.LogLevel logLevel); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Metrics_BeginPlayerSession(System.IntPtr handle, ref Metrics.BeginPlayerSessionOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Metrics_EndPlayerSession(System.IntPtr handle, ref Metrics.EndPlayerSessionOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Mods_CopyModInfo(System.IntPtr handle, ref Mods.CopyModInfoOptionsInternal options, ref System.IntPtr outEnumeratedMods); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Mods_EnumerateMods(System.IntPtr handle, ref Mods.EnumerateModsOptionsInternal options, System.IntPtr clientData, Mods.OnEnumerateModsCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Mods_InstallMod(System.IntPtr handle, ref Mods.InstallModOptionsInternal options, System.IntPtr clientData, Mods.OnInstallModCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Mods_ModInfo_Release(System.IntPtr modInfo); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Mods_UninstallMod(System.IntPtr handle, ref Mods.UninstallModOptionsInternal options, System.IntPtr clientData, Mods.OnUninstallModCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Mods_UpdateMod(System.IntPtr handle, ref Mods.UpdateModOptionsInternal options, System.IntPtr clientData, Mods.OnUpdateModCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_AcceptConnection(System.IntPtr handle, ref P2P.AcceptConnectionOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_P2P_AddNotifyIncomingPacketQueueFull(System.IntPtr handle, ref P2P.AddNotifyIncomingPacketQueueFullOptionsInternal options, System.IntPtr clientData, P2P.OnIncomingPacketQueueFullCallbackInternal incomingPacketQueueFullHandler); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_P2P_AddNotifyPeerConnectionClosed(System.IntPtr handle, ref P2P.AddNotifyPeerConnectionClosedOptionsInternal options, System.IntPtr clientData, P2P.OnRemoteConnectionClosedCallbackInternal connectionClosedHandler); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_P2P_AddNotifyPeerConnectionEstablished(System.IntPtr handle, ref P2P.AddNotifyPeerConnectionEstablishedOptionsInternal options, System.IntPtr clientData, P2P.OnPeerConnectionEstablishedCallbackInternal connectionEstablishedHandler); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_P2P_AddNotifyPeerConnectionInterrupted(System.IntPtr handle, ref P2P.AddNotifyPeerConnectionInterruptedOptionsInternal options, System.IntPtr clientData, P2P.OnPeerConnectionInterruptedCallbackInternal connectionInterruptedHandler); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_P2P_AddNotifyPeerConnectionRequest(System.IntPtr handle, ref P2P.AddNotifyPeerConnectionRequestOptionsInternal options, System.IntPtr clientData, P2P.OnIncomingConnectionRequestCallbackInternal connectionRequestHandler); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_ClearPacketQueue(System.IntPtr handle, ref P2P.ClearPacketQueueOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_CloseConnection(System.IntPtr handle, ref P2P.CloseConnectionOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_CloseConnections(System.IntPtr handle, ref P2P.CloseConnectionsOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_GetNATType(System.IntPtr handle, ref P2P.GetNATTypeOptionsInternal options, ref P2P.NATType outNATType); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_GetNextReceivedPacketSize(System.IntPtr handle, ref P2P.GetNextReceivedPacketSizeOptionsInternal options, ref uint outPacketSizeBytes); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_GetPacketQueueInfo(System.IntPtr handle, ref P2P.GetPacketQueueInfoOptionsInternal options, ref P2P.PacketQueueInfoInternal outPacketQueueInfo); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_GetPortRange(System.IntPtr handle, ref P2P.GetPortRangeOptionsInternal options, ref ushort outPort, ref ushort outNumAdditionalPortsToTry); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_GetRelayControl(System.IntPtr handle, ref P2P.GetRelayControlOptionsInternal options, ref P2P.RelayControl outRelayControl); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_P2P_QueryNATType(System.IntPtr handle, ref P2P.QueryNATTypeOptionsInternal options, System.IntPtr clientData, P2P.OnQueryNATTypeCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_ReceivePacket(System.IntPtr handle, ref P2P.ReceivePacketOptionsInternal options, ref System.IntPtr outPeerId, ref P2P.SocketIdInternal outSocketId, ref byte outChannel, System.IntPtr outData, ref uint outBytesWritten); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_P2P_RemoveNotifyIncomingPacketQueueFull(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_P2P_RemoveNotifyPeerConnectionClosed(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_P2P_RemoveNotifyPeerConnectionEstablished(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_P2P_RemoveNotifyPeerConnectionInterrupted(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_P2P_RemoveNotifyPeerConnectionRequest(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_SendPacket(System.IntPtr handle, ref P2P.SendPacketOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_SetPacketQueueSize(System.IntPtr handle, ref P2P.SetPacketQueueSizeOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_SetPortRange(System.IntPtr handle, ref P2P.SetPortRangeOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_P2P_SetRelayControl(System.IntPtr handle, ref P2P.SetRelayControlOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Platform_CheckForLauncherAndRestart(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_Create(ref Platform.OptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetAchievementsInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Platform_GetActiveCountryCode(System.IntPtr handle, System.IntPtr localUserId, System.IntPtr outBuffer, ref int inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Platform_GetActiveLocaleCode(System.IntPtr handle, System.IntPtr localUserId, System.IntPtr outBuffer, ref int inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetAntiCheatClientInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetAntiCheatServerInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern Platform.ApplicationStatus EOS_Platform_GetApplicationStatus(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetAuthInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetConnectInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetCustomInvitesInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Platform_GetDesktopCrossplayStatus(System.IntPtr handle, ref Platform.GetDesktopCrossplayStatusOptionsInternal options, ref Platform.GetDesktopCrossplayStatusInfoInternal outDesktopCrossplayStatusInfo); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetEcomInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetFriendsInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetKWSInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetLeaderboardsInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetLobbyInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetMetricsInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetModsInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern Platform.NetworkStatus EOS_Platform_GetNetworkStatus(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Platform_GetOverrideCountryCode(System.IntPtr handle, System.IntPtr outBuffer, ref int inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Platform_GetOverrideLocaleCode(System.IntPtr handle, System.IntPtr outBuffer, ref int inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetP2PInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetPlayerDataStorageInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetPresenceInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetProgressionSnapshotInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetRTCAdminInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetRTCInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetReportsInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetSanctionsInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetSessionsInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetStatsInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetTitleStorageInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetUIInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_GetUserInfoInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Platform_Release(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Platform_SetApplicationStatus(System.IntPtr handle, Platform.ApplicationStatus newStatus); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Platform_SetNetworkStatus(System.IntPtr handle, Platform.NetworkStatus newStatus); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Platform_SetOverrideCountryCode(System.IntPtr handle, System.IntPtr newCountryCode); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Platform_SetOverrideLocaleCode(System.IntPtr handle, System.IntPtr newLocaleCode); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Platform_Tick(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_PlayerDataStorageFileTransferRequest_CancelRequest(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_PlayerDataStorageFileTransferRequest_GetFilename(System.IntPtr handle, uint filenameStringBufferSizeBytes, System.IntPtr outStringBuffer, ref int outStringLength); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_PlayerDataStorageFileTransferRequest_Release(System.IntPtr playerDataStorageFileTransferHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_PlayerDataStorage_CopyFileMetadataAtIndex(System.IntPtr handle, ref PlayerDataStorage.CopyFileMetadataAtIndexOptionsInternal copyFileMetadataOptions, ref System.IntPtr outMetadata); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_PlayerDataStorage_CopyFileMetadataByFilename(System.IntPtr handle, ref PlayerDataStorage.CopyFileMetadataByFilenameOptionsInternal copyFileMetadataOptions, ref System.IntPtr outMetadata); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_PlayerDataStorage_DeleteCache(System.IntPtr handle, ref PlayerDataStorage.DeleteCacheOptionsInternal options, System.IntPtr clientData, PlayerDataStorage.OnDeleteCacheCompleteCallbackInternal completionCallback); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_PlayerDataStorage_DeleteFile(System.IntPtr handle, ref PlayerDataStorage.DeleteFileOptionsInternal deleteOptions, System.IntPtr clientData, PlayerDataStorage.OnDeleteFileCompleteCallbackInternal completionCallback); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_PlayerDataStorage_DuplicateFile(System.IntPtr handle, ref PlayerDataStorage.DuplicateFileOptionsInternal duplicateOptions, System.IntPtr clientData, PlayerDataStorage.OnDuplicateFileCompleteCallbackInternal completionCallback); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_PlayerDataStorage_FileMetadata_Release(System.IntPtr fileMetadata); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_PlayerDataStorage_GetFileMetadataCount(System.IntPtr handle, ref PlayerDataStorage.GetFileMetadataCountOptionsInternal getFileMetadataCountOptions, ref int outFileMetadataCount); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_PlayerDataStorage_QueryFile(System.IntPtr handle, ref PlayerDataStorage.QueryFileOptionsInternal queryFileOptions, System.IntPtr clientData, PlayerDataStorage.OnQueryFileCompleteCallbackInternal completionCallback); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_PlayerDataStorage_QueryFileList(System.IntPtr handle, ref PlayerDataStorage.QueryFileListOptionsInternal queryFileListOptions, System.IntPtr clientData, PlayerDataStorage.OnQueryFileListCompleteCallbackInternal completionCallback); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_PlayerDataStorage_ReadFile(System.IntPtr handle, ref PlayerDataStorage.ReadFileOptionsInternal readOptions, System.IntPtr clientData, PlayerDataStorage.OnReadFileCompleteCallbackInternal completionCallback); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_PlayerDataStorage_WriteFile(System.IntPtr handle, ref PlayerDataStorage.WriteFileOptionsInternal writeOptions, System.IntPtr clientData, PlayerDataStorage.OnWriteFileCompleteCallbackInternal completionCallback); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_PresenceModification_DeleteData(System.IntPtr handle, ref Presence.PresenceModificationDeleteDataOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_PresenceModification_Release(System.IntPtr presenceModificationHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_PresenceModification_SetData(System.IntPtr handle, ref Presence.PresenceModificationSetDataOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_PresenceModification_SetJoinInfo(System.IntPtr handle, ref Presence.PresenceModificationSetJoinInfoOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_PresenceModification_SetRawRichText(System.IntPtr handle, ref Presence.PresenceModificationSetRawRichTextOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_PresenceModification_SetStatus(System.IntPtr handle, ref Presence.PresenceModificationSetStatusOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Presence_AddNotifyJoinGameAccepted(System.IntPtr handle, ref Presence.AddNotifyJoinGameAcceptedOptionsInternal options, System.IntPtr clientData, Presence.OnJoinGameAcceptedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Presence_AddNotifyOnPresenceChanged(System.IntPtr handle, ref Presence.AddNotifyOnPresenceChangedOptionsInternal options, System.IntPtr clientData, Presence.OnPresenceChangedCallbackInternal notificationHandler); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Presence_CopyPresence(System.IntPtr handle, ref Presence.CopyPresenceOptionsInternal options, ref System.IntPtr outPresence); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Presence_CreatePresenceModification(System.IntPtr handle, ref Presence.CreatePresenceModificationOptionsInternal options, ref System.IntPtr outPresenceModificationHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Presence_GetJoinInfo(System.IntPtr handle, ref Presence.GetJoinInfoOptionsInternal options, System.IntPtr outBuffer, ref int inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern int EOS_Presence_HasPresence(System.IntPtr handle, ref Presence.HasPresenceOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Presence_Info_Release(System.IntPtr presenceInfo); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Presence_QueryPresence(System.IntPtr handle, ref Presence.QueryPresenceOptionsInternal options, System.IntPtr clientData, Presence.OnQueryPresenceCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Presence_RemoveNotifyJoinGameAccepted(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Presence_RemoveNotifyOnPresenceChanged(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Presence_SetPresence(System.IntPtr handle, ref Presence.SetPresenceOptionsInternal options, System.IntPtr clientData, Presence.SetPresenceCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_ProductUserId_FromString(System.IntPtr productUserIdString); + + [DllImport(Config.LibraryName)] + internal static extern int EOS_ProductUserId_IsValid(System.IntPtr accountId); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_ProductUserId_ToString(System.IntPtr accountId, System.IntPtr outBuffer, ref int inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_ProgressionSnapshot_AddProgression(System.IntPtr handle, ref ProgressionSnapshot.AddProgressionOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_ProgressionSnapshot_BeginSnapshot(System.IntPtr handle, ref ProgressionSnapshot.BeginSnapshotOptionsInternal options, ref uint outSnapshotId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_ProgressionSnapshot_DeleteSnapshot(System.IntPtr handle, ref ProgressionSnapshot.DeleteSnapshotOptionsInternal options, System.IntPtr clientData, ProgressionSnapshot.OnDeleteSnapshotCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_ProgressionSnapshot_EndSnapshot(System.IntPtr handle, ref ProgressionSnapshot.EndSnapshotOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_ProgressionSnapshot_SubmitSnapshot(System.IntPtr handle, ref ProgressionSnapshot.SubmitSnapshotOptionsInternal options, System.IntPtr clientData, ProgressionSnapshot.OnSubmitSnapshotCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_RTCAdmin_CopyUserTokenByIndex(System.IntPtr handle, ref RTCAdmin.CopyUserTokenByIndexOptionsInternal options, ref System.IntPtr outUserToken); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_RTCAdmin_CopyUserTokenByUserId(System.IntPtr handle, ref RTCAdmin.CopyUserTokenByUserIdOptionsInternal options, ref System.IntPtr outUserToken); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAdmin_Kick(System.IntPtr handle, ref RTCAdmin.KickOptionsInternal options, System.IntPtr clientData, RTCAdmin.OnKickCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAdmin_QueryJoinRoomToken(System.IntPtr handle, ref RTCAdmin.QueryJoinRoomTokenOptionsInternal options, System.IntPtr clientData, RTCAdmin.OnQueryJoinRoomTokenCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAdmin_SetParticipantHardMute(System.IntPtr handle, ref RTCAdmin.SetParticipantHardMuteOptionsInternal options, System.IntPtr clientData, RTCAdmin.OnSetParticipantHardMuteCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAdmin_UserToken_Release(System.IntPtr userToken); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_RTCAudio_AddNotifyAudioBeforeRender(System.IntPtr handle, ref RTCAudio.AddNotifyAudioBeforeRenderOptionsInternal options, System.IntPtr clientData, RTCAudio.OnAudioBeforeRenderCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_RTCAudio_AddNotifyAudioBeforeSend(System.IntPtr handle, ref RTCAudio.AddNotifyAudioBeforeSendOptionsInternal options, System.IntPtr clientData, RTCAudio.OnAudioBeforeSendCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_RTCAudio_AddNotifyAudioDevicesChanged(System.IntPtr handle, ref RTCAudio.AddNotifyAudioDevicesChangedOptionsInternal options, System.IntPtr clientData, RTCAudio.OnAudioDevicesChangedCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_RTCAudio_AddNotifyAudioInputState(System.IntPtr handle, ref RTCAudio.AddNotifyAudioInputStateOptionsInternal options, System.IntPtr clientData, RTCAudio.OnAudioInputStateCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_RTCAudio_AddNotifyAudioOutputState(System.IntPtr handle, ref RTCAudio.AddNotifyAudioOutputStateOptionsInternal options, System.IntPtr clientData, RTCAudio.OnAudioOutputStateCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_RTCAudio_AddNotifyParticipantUpdated(System.IntPtr handle, ref RTCAudio.AddNotifyParticipantUpdatedOptionsInternal options, System.IntPtr clientData, RTCAudio.OnParticipantUpdatedCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_RTCAudio_GetAudioInputDeviceByIndex(System.IntPtr handle, ref RTCAudio.GetAudioInputDeviceByIndexOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_RTCAudio_GetAudioInputDevicesCount(System.IntPtr handle, ref RTCAudio.GetAudioInputDevicesCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_RTCAudio_GetAudioOutputDeviceByIndex(System.IntPtr handle, ref RTCAudio.GetAudioOutputDeviceByIndexOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_RTCAudio_GetAudioOutputDevicesCount(System.IntPtr handle, ref RTCAudio.GetAudioOutputDevicesCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_RTCAudio_RegisterPlatformAudioUser(System.IntPtr handle, ref RTCAudio.RegisterPlatformAudioUserOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAudio_RemoveNotifyAudioBeforeRender(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAudio_RemoveNotifyAudioBeforeSend(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAudio_RemoveNotifyAudioDevicesChanged(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAudio_RemoveNotifyAudioInputState(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAudio_RemoveNotifyAudioOutputState(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAudio_RemoveNotifyParticipantUpdated(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_RTCAudio_SendAudio(System.IntPtr handle, ref RTCAudio.SendAudioOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_RTCAudio_SetAudioInputSettings(System.IntPtr handle, ref RTCAudio.SetAudioInputSettingsOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_RTCAudio_SetAudioOutputSettings(System.IntPtr handle, ref RTCAudio.SetAudioOutputSettingsOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_RTCAudio_UnregisterPlatformAudioUser(System.IntPtr handle, ref RTCAudio.UnregisterPlatformAudioUserOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAudio_UpdateParticipantVolume(System.IntPtr handle, ref RTCAudio.UpdateParticipantVolumeOptionsInternal options, System.IntPtr clientData, RTCAudio.OnUpdateParticipantVolumeCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAudio_UpdateReceiving(System.IntPtr handle, ref RTCAudio.UpdateReceivingOptionsInternal options, System.IntPtr clientData, RTCAudio.OnUpdateReceivingCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAudio_UpdateReceivingVolume(System.IntPtr handle, ref RTCAudio.UpdateReceivingVolumeOptionsInternal options, System.IntPtr clientData, RTCAudio.OnUpdateReceivingVolumeCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAudio_UpdateSending(System.IntPtr handle, ref RTCAudio.UpdateSendingOptionsInternal options, System.IntPtr clientData, RTCAudio.OnUpdateSendingCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTCAudio_UpdateSendingVolume(System.IntPtr handle, ref RTCAudio.UpdateSendingVolumeOptionsInternal options, System.IntPtr clientData, RTCAudio.OnUpdateSendingVolumeCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_RTC_AddNotifyDisconnected(System.IntPtr handle, ref RTC.AddNotifyDisconnectedOptionsInternal options, System.IntPtr clientData, RTC.OnDisconnectedCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_RTC_AddNotifyParticipantStatusChanged(System.IntPtr handle, ref RTC.AddNotifyParticipantStatusChangedOptionsInternal options, System.IntPtr clientData, RTC.OnParticipantStatusChangedCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTC_BlockParticipant(System.IntPtr handle, ref RTC.BlockParticipantOptionsInternal options, System.IntPtr clientData, RTC.OnBlockParticipantCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_RTC_GetAudioInterface(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTC_JoinRoom(System.IntPtr handle, ref RTC.JoinRoomOptionsInternal options, System.IntPtr clientData, RTC.OnJoinRoomCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTC_LeaveRoom(System.IntPtr handle, ref RTC.LeaveRoomOptionsInternal options, System.IntPtr clientData, RTC.OnLeaveRoomCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTC_RemoveNotifyDisconnected(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_RTC_RemoveNotifyParticipantStatusChanged(System.IntPtr handle, ulong notificationId); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_RTC_SetRoomSetting(System.IntPtr handle, ref RTC.SetRoomSettingOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_RTC_SetSetting(System.IntPtr handle, ref RTC.SetSettingOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Reports_SendPlayerBehaviorReport(System.IntPtr handle, ref Reports.SendPlayerBehaviorReportOptionsInternal options, System.IntPtr clientData, Reports.OnSendPlayerBehaviorReportCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Sanctions_CopyPlayerSanctionByIndex(System.IntPtr handle, ref Sanctions.CopyPlayerSanctionByIndexOptionsInternal options, ref System.IntPtr outSanction); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Sanctions_GetPlayerSanctionCount(System.IntPtr handle, ref Sanctions.GetPlayerSanctionCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sanctions_PlayerSanction_Release(System.IntPtr sanction); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sanctions_QueryActivePlayerSanctions(System.IntPtr handle, ref Sanctions.QueryActivePlayerSanctionsOptionsInternal options, System.IntPtr clientData, Sanctions.OnQueryActivePlayerSanctionsCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_SessionDetails_Attribute_Release(System.IntPtr sessionAttribute); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionDetails_CopyInfo(System.IntPtr handle, ref Sessions.SessionDetailsCopyInfoOptionsInternal options, ref System.IntPtr outSessionInfo); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionDetails_CopySessionAttributeByIndex(System.IntPtr handle, ref Sessions.SessionDetailsCopySessionAttributeByIndexOptionsInternal options, ref System.IntPtr outSessionAttribute); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionDetails_CopySessionAttributeByKey(System.IntPtr handle, ref Sessions.SessionDetailsCopySessionAttributeByKeyOptionsInternal options, ref System.IntPtr outSessionAttribute); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_SessionDetails_GetSessionAttributeCount(System.IntPtr handle, ref Sessions.SessionDetailsGetSessionAttributeCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_SessionDetails_Info_Release(System.IntPtr sessionInfo); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_SessionDetails_Release(System.IntPtr sessionHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionModification_AddAttribute(System.IntPtr handle, ref Sessions.SessionModificationAddAttributeOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_SessionModification_Release(System.IntPtr sessionModificationHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionModification_RemoveAttribute(System.IntPtr handle, ref Sessions.SessionModificationRemoveAttributeOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionModification_SetBucketId(System.IntPtr handle, ref Sessions.SessionModificationSetBucketIdOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionModification_SetHostAddress(System.IntPtr handle, ref Sessions.SessionModificationSetHostAddressOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionModification_SetInvitesAllowed(System.IntPtr handle, ref Sessions.SessionModificationSetInvitesAllowedOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionModification_SetJoinInProgressAllowed(System.IntPtr handle, ref Sessions.SessionModificationSetJoinInProgressAllowedOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionModification_SetMaxPlayers(System.IntPtr handle, ref Sessions.SessionModificationSetMaxPlayersOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionModification_SetPermissionLevel(System.IntPtr handle, ref Sessions.SessionModificationSetPermissionLevelOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionSearch_CopySearchResultByIndex(System.IntPtr handle, ref Sessions.SessionSearchCopySearchResultByIndexOptionsInternal options, ref System.IntPtr outSessionHandle); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_SessionSearch_Find(System.IntPtr handle, ref Sessions.SessionSearchFindOptionsInternal options, System.IntPtr clientData, Sessions.SessionSearchOnFindCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_SessionSearch_GetSearchResultCount(System.IntPtr handle, ref Sessions.SessionSearchGetSearchResultCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_SessionSearch_Release(System.IntPtr sessionSearchHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionSearch_RemoveParameter(System.IntPtr handle, ref Sessions.SessionSearchRemoveParameterOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionSearch_SetMaxResults(System.IntPtr handle, ref Sessions.SessionSearchSetMaxResultsOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionSearch_SetParameter(System.IntPtr handle, ref Sessions.SessionSearchSetParameterOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionSearch_SetSessionId(System.IntPtr handle, ref Sessions.SessionSearchSetSessionIdOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_SessionSearch_SetTargetUserId(System.IntPtr handle, ref Sessions.SessionSearchSetTargetUserIdOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Sessions_AddNotifyJoinSessionAccepted(System.IntPtr handle, ref Sessions.AddNotifyJoinSessionAcceptedOptionsInternal options, System.IntPtr clientData, Sessions.OnJoinSessionAcceptedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Sessions_AddNotifySessionInviteAccepted(System.IntPtr handle, ref Sessions.AddNotifySessionInviteAcceptedOptionsInternal options, System.IntPtr clientData, Sessions.OnSessionInviteAcceptedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_Sessions_AddNotifySessionInviteReceived(System.IntPtr handle, ref Sessions.AddNotifySessionInviteReceivedOptionsInternal options, System.IntPtr clientData, Sessions.OnSessionInviteReceivedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Sessions_CopyActiveSessionHandle(System.IntPtr handle, ref Sessions.CopyActiveSessionHandleOptionsInternal options, ref System.IntPtr outSessionHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Sessions_CopySessionHandleByInviteId(System.IntPtr handle, ref Sessions.CopySessionHandleByInviteIdOptionsInternal options, ref System.IntPtr outSessionHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Sessions_CopySessionHandleByUiEventId(System.IntPtr handle, ref Sessions.CopySessionHandleByUiEventIdOptionsInternal options, ref System.IntPtr outSessionHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Sessions_CopySessionHandleForPresence(System.IntPtr handle, ref Sessions.CopySessionHandleForPresenceOptionsInternal options, ref System.IntPtr outSessionHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Sessions_CreateSessionModification(System.IntPtr handle, ref Sessions.CreateSessionModificationOptionsInternal options, ref System.IntPtr outSessionModificationHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Sessions_CreateSessionSearch(System.IntPtr handle, ref Sessions.CreateSessionSearchOptionsInternal options, ref System.IntPtr outSessionSearchHandle); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sessions_DestroySession(System.IntPtr handle, ref Sessions.DestroySessionOptionsInternal options, System.IntPtr clientData, Sessions.OnDestroySessionCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Sessions_DumpSessionState(System.IntPtr handle, ref Sessions.DumpSessionStateOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sessions_EndSession(System.IntPtr handle, ref Sessions.EndSessionOptionsInternal options, System.IntPtr clientData, Sessions.OnEndSessionCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Sessions_GetInviteCount(System.IntPtr handle, ref Sessions.GetInviteCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Sessions_GetInviteIdByIndex(System.IntPtr handle, ref Sessions.GetInviteIdByIndexOptionsInternal options, System.IntPtr outBuffer, ref int inOutBufferLength); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Sessions_IsUserInSession(System.IntPtr handle, ref Sessions.IsUserInSessionOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sessions_JoinSession(System.IntPtr handle, ref Sessions.JoinSessionOptionsInternal options, System.IntPtr clientData, Sessions.OnJoinSessionCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sessions_QueryInvites(System.IntPtr handle, ref Sessions.QueryInvitesOptionsInternal options, System.IntPtr clientData, Sessions.OnQueryInvitesCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sessions_RegisterPlayers(System.IntPtr handle, ref Sessions.RegisterPlayersOptionsInternal options, System.IntPtr clientData, Sessions.OnRegisterPlayersCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sessions_RejectInvite(System.IntPtr handle, ref Sessions.RejectInviteOptionsInternal options, System.IntPtr clientData, Sessions.OnRejectInviteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sessions_RemoveNotifyJoinSessionAccepted(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sessions_RemoveNotifySessionInviteAccepted(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sessions_RemoveNotifySessionInviteReceived(System.IntPtr handle, ulong inId); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sessions_SendInvite(System.IntPtr handle, ref Sessions.SendInviteOptionsInternal options, System.IntPtr clientData, Sessions.OnSendInviteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sessions_StartSession(System.IntPtr handle, ref Sessions.StartSessionOptionsInternal options, System.IntPtr clientData, Sessions.OnStartSessionCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sessions_UnregisterPlayers(System.IntPtr handle, ref Sessions.UnregisterPlayersOptionsInternal options, System.IntPtr clientData, Sessions.OnUnregisterPlayersCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Sessions_UpdateSession(System.IntPtr handle, ref Sessions.UpdateSessionOptionsInternal options, System.IntPtr clientData, Sessions.OnUpdateSessionCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Sessions_UpdateSessionModification(System.IntPtr handle, ref Sessions.UpdateSessionModificationOptionsInternal options, ref System.IntPtr outSessionModificationHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Shutdown(); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Stats_CopyStatByIndex(System.IntPtr handle, ref Stats.CopyStatByIndexOptionsInternal options, ref System.IntPtr outStat); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_Stats_CopyStatByName(System.IntPtr handle, ref Stats.CopyStatByNameOptionsInternal options, ref System.IntPtr outStat); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_Stats_GetStatsCount(System.IntPtr handle, ref Stats.GetStatCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Stats_IngestStat(System.IntPtr handle, ref Stats.IngestStatOptionsInternal options, System.IntPtr clientData, Stats.OnIngestStatCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Stats_QueryStats(System.IntPtr handle, ref Stats.QueryStatsOptionsInternal options, System.IntPtr clientData, Stats.OnQueryStatsCompleteCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_Stats_Stat_Release(System.IntPtr stat); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_TitleStorageFileTransferRequest_CancelRequest(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_TitleStorageFileTransferRequest_GetFileRequestState(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_TitleStorageFileTransferRequest_GetFilename(System.IntPtr handle, uint filenameStringBufferSizeBytes, System.IntPtr outStringBuffer, ref int outStringLength); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_TitleStorageFileTransferRequest_Release(System.IntPtr titleStorageFileTransferHandle); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_TitleStorage_CopyFileMetadataAtIndex(System.IntPtr handle, ref TitleStorage.CopyFileMetadataAtIndexOptionsInternal options, ref System.IntPtr outMetadata); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_TitleStorage_CopyFileMetadataByFilename(System.IntPtr handle, ref TitleStorage.CopyFileMetadataByFilenameOptionsInternal options, ref System.IntPtr outMetadata); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_TitleStorage_DeleteCache(System.IntPtr handle, ref TitleStorage.DeleteCacheOptionsInternal options, System.IntPtr clientData, TitleStorage.OnDeleteCacheCompleteCallbackInternal completionCallback); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_TitleStorage_FileMetadata_Release(System.IntPtr fileMetadata); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_TitleStorage_GetFileMetadataCount(System.IntPtr handle, ref TitleStorage.GetFileMetadataCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_TitleStorage_QueryFile(System.IntPtr handle, ref TitleStorage.QueryFileOptionsInternal options, System.IntPtr clientData, TitleStorage.OnQueryFileCompleteCallbackInternal completionCallback); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_TitleStorage_QueryFileList(System.IntPtr handle, ref TitleStorage.QueryFileListOptionsInternal options, System.IntPtr clientData, TitleStorage.OnQueryFileListCompleteCallbackInternal completionCallback); + + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_TitleStorage_ReadFile(System.IntPtr handle, ref TitleStorage.ReadFileOptionsInternal options, System.IntPtr clientData, TitleStorage.OnReadFileCompleteCallbackInternal completionCallback); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_UI_AcknowledgeEventId(System.IntPtr handle, ref UI.AcknowledgeEventIdOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern ulong EOS_UI_AddNotifyDisplaySettingsUpdated(System.IntPtr handle, ref UI.AddNotifyDisplaySettingsUpdatedOptionsInternal options, System.IntPtr clientData, UI.OnDisplaySettingsUpdatedCallbackInternal notificationFn); + + [DllImport(Config.LibraryName)] + internal static extern int EOS_UI_GetFriendsExclusiveInput(System.IntPtr handle, ref UI.GetFriendsExclusiveInputOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern int EOS_UI_GetFriendsVisible(System.IntPtr handle, ref UI.GetFriendsVisibleOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern UI.NotificationLocation EOS_UI_GetNotificationLocationPreference(System.IntPtr handle); + + [DllImport(Config.LibraryName)] + internal static extern UI.KeyCombination EOS_UI_GetToggleFriendsKey(System.IntPtr handle, ref UI.GetToggleFriendsKeyOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_UI_HideFriends(System.IntPtr handle, ref UI.HideFriendsOptionsInternal options, System.IntPtr clientData, UI.OnHideFriendsCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern int EOS_UI_IsSocialOverlayPaused(System.IntPtr handle, ref UI.IsSocialOverlayPausedOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern int EOS_UI_IsValidKeyCombination(System.IntPtr handle, UI.KeyCombination keyCombination); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_UI_PauseSocialOverlay(System.IntPtr handle, ref UI.PauseSocialOverlayOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_UI_RemoveNotifyDisplaySettingsUpdated(System.IntPtr handle, ulong id); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_UI_SetDisplayPreference(System.IntPtr handle, ref UI.SetDisplayPreferenceOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_UI_SetToggleFriendsKey(System.IntPtr handle, ref UI.SetToggleFriendsKeyOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_UI_ShowBlockPlayer(System.IntPtr handle, ref UI.ShowBlockPlayerOptionsInternal options, System.IntPtr clientData, UI.OnShowBlockPlayerCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_UI_ShowFriends(System.IntPtr handle, ref UI.ShowFriendsOptionsInternal options, System.IntPtr clientData, UI.OnShowFriendsCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_UI_ShowReportPlayer(System.IntPtr handle, ref UI.ShowReportPlayerOptionsInternal options, System.IntPtr clientData, UI.OnShowReportPlayerCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_UserInfo_CopyExternalUserInfoByAccountId(System.IntPtr handle, ref UserInfo.CopyExternalUserInfoByAccountIdOptionsInternal options, ref System.IntPtr outExternalUserInfo); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_UserInfo_CopyExternalUserInfoByAccountType(System.IntPtr handle, ref UserInfo.CopyExternalUserInfoByAccountTypeOptionsInternal options, ref System.IntPtr outExternalUserInfo); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_UserInfo_CopyExternalUserInfoByIndex(System.IntPtr handle, ref UserInfo.CopyExternalUserInfoByIndexOptionsInternal options, ref System.IntPtr outExternalUserInfo); + + [DllImport(Config.LibraryName)] + internal static extern Result EOS_UserInfo_CopyUserInfo(System.IntPtr handle, ref UserInfo.CopyUserInfoOptionsInternal options, ref System.IntPtr outUserInfo); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_UserInfo_ExternalUserInfo_Release(System.IntPtr externalUserInfo); + + [DllImport(Config.LibraryName)] + internal static extern uint EOS_UserInfo_GetExternalUserInfoCount(System.IntPtr handle, ref UserInfo.GetExternalUserInfoCountOptionsInternal options); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_UserInfo_QueryUserInfo(System.IntPtr handle, ref UserInfo.QueryUserInfoOptionsInternal options, System.IntPtr clientData, UserInfo.OnQueryUserInfoCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_UserInfo_QueryUserInfoByDisplayName(System.IntPtr handle, ref UserInfo.QueryUserInfoByDisplayNameOptionsInternal options, System.IntPtr clientData, UserInfo.OnQueryUserInfoByDisplayNameCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_UserInfo_QueryUserInfoByExternalAccount(System.IntPtr handle, ref UserInfo.QueryUserInfoByExternalAccountOptionsInternal options, System.IntPtr clientData, UserInfo.OnQueryUserInfoByExternalAccountCallbackInternal completionDelegate); + + [DllImport(Config.LibraryName)] + internal static extern void EOS_UserInfo_Release(System.IntPtr userInfo); +#endif + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Bindings.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Bindings.cs.meta deleted file mode 100644 index 087e030f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Bindings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 30c227bfa3ebe0d449e179d74f4b4182 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Common.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Common.cs index d34ffe53..2a4af5fa 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Common.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Common.cs @@ -1,102 +1,106 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices -{ - public static class Common - { - /// - /// An invalid notification ID - /// - public const ulong InvalidNotificationid = ((ulong)0); - - /// - /// The most recent version of the structs. - /// - public const int PagequeryApiLatest = 1; - - /// - /// The default MaxCount used for a when the API allows the to be omitted. - /// - public const int PagequeryMaxcountDefault = 10; - - /// - /// The maximum MaxCount used for a . - /// - public const int PagequeryMaxcountMaximum = 100; - - /// - /// DEPRECATED! Use instead. - /// - public const int PaginationApiLatest = PagequeryApiLatest; - - /// - /// Returns whether a result is to be considered the final result, or false if the callback that returned this result - /// will be called again either after some time or from another action. - /// - /// The result to check against being a final result for an operation - /// - /// True if this result means the operation is complete, false otherwise - /// - public static bool IsOperationComplete(Result result) - { - var funcResult = Bindings.EOS_EResult_IsOperationComplete(result); - - bool funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Returns a string representation of an . - /// The return value is never null. - /// The return value must not be freed. - /// - /// Example: () returns "" - /// - public static string ToString(Result result) - { - var funcResult = Bindings.EOS_EResult_ToString(result); - - string funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Encode a byte array into hex encoded string - /// - /// - /// An that indicates whether the byte array was converted and copied into the OutBuffer. - /// if the encoding was successful and passed out in OutBuffer - /// if you pass a null pointer on invalid length for any of the parameters - /// - The OutBuffer is not large enough to receive the encoding. InOutBufferLength contains the required minimum length to perform the operation successfully. - /// - public static Result ToString(byte[] byteArray, out string outBuffer) - { - var byteArrayAddress = System.IntPtr.Zero; - uint length; - Helper.TryMarshalSet(ref byteArrayAddress, byteArray, out length); - - System.IntPtr outBufferAddress = System.IntPtr.Zero; - uint inOutBufferLength = 1024; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_ByteArray_ToString(byteArrayAddress, length, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalDispose(ref byteArrayAddress); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - public static string ToString(byte[] byteArray) - { - string funcResult; - ToString(byteArray, out funcResult); - return funcResult; - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices +{ + public sealed partial class Common + { + /// + /// An invalid notification ID + /// + public const ulong InvalidNotificationid = ((ulong)0); + + /// + /// A macro to identify an unknown integrated platform. + /// + public static readonly Utf8String IptUnknown = (string)null; + + /// + /// The most recent version of the structs. + /// + public const int PagequeryApiLatest = 1; + + /// + /// The default MaxCount used for a when the API allows the to be omitted. + /// + public const int PagequeryMaxcountDefault = 10; + + /// + /// The maximum MaxCount used for a . + /// + public const int PagequeryMaxcountMaximum = 100; + + /// + /// DEPRECATED! Use instead. + /// + public const int PaginationApiLatest = PagequeryApiLatest; + + /// + /// Returns whether a result is to be considered the final result, or false if the callback that returned this result + /// will be called again either after some time or from another action. + /// + /// The result to check against being a final result for an operation + /// + /// True if this result means the operation is complete, false otherwise + /// + public static bool IsOperationComplete(Result result) + { + var funcResult = Bindings.EOS_EResult_IsOperationComplete(result); + + bool funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Returns a string representation of an . + /// The return value is never null. + /// The return value must not be freed. + /// + /// Example: () returns "EOS_Success" + /// + public static Utf8String ToString(Result result) + { + var funcResult = Bindings.EOS_EResult_ToString(result); + + Utf8String funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Encode a byte array into hex encoded string + /// + /// + /// An that indicates whether the byte array was converted and copied into the OutBuffer. + /// if the encoding was successful and passed out in OutBuffer + /// if you pass a null pointer on invalid length for any of the parameters + /// - The OutBuffer is not large enough to receive the encoding. InOutBufferLength contains the required minimum length to perform the operation successfully. + /// + public static Result ToString(System.ArraySegment byteArray, out Utf8String outBuffer) + { + var byteArrayAddress = System.IntPtr.Zero; + uint length; + Helper.Set(byteArray, ref byteArrayAddress, out length); + + uint inOutBufferLength = 1024; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_ByteArray_ToString(byteArrayAddress, length, outBufferAddress, ref inOutBufferLength); + + Helper.Dispose(ref byteArrayAddress); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + public static Utf8String ToString(System.ArraySegment byteArray) + { + Utf8String funcResult; + ToString(byteArray, out funcResult); + return funcResult; + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Common.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Common.cs.meta deleted file mode 100644 index 8a199b80..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Common.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d3c9197122028cc4984f1c34d9b1d00e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ComparisonOp.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ComparisonOp.cs index acaf7743..7be0004e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ComparisonOp.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ComparisonOp.cs @@ -1,62 +1,62 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices -{ - /// - /// All comparison operators associated with parameters in a search query - /// - /// - /// - public enum ComparisonOp : int - { - /// - /// Value must equal the one stored on the lobby/session - /// - Equal = 0, - /// - /// Value must not equal the one stored on the lobby/session - /// - Notequal = 1, - /// - /// Value must be strictly greater than the one stored on the lobby/session - /// - Greaterthan = 2, - /// - /// Value must be greater than or equal to the one stored on the lobby/session - /// - Greaterthanorequal = 3, - /// - /// Value must be strictly less than the one stored on the lobby/session - /// - Lessthan = 4, - /// - /// Value must be less than or equal to the one stored on the lobby/session - /// - Lessthanorequal = 5, - /// - /// Prefer values nearest the one specified ie. abs(SearchValue-SessionValue) closest to 0 - /// - Distance = 6, - /// - /// Value stored on the lobby/session may be any from a specified list - /// - Anyof = 7, - /// - /// Value stored on the lobby/session may NOT be any from a specified list - /// - Notanyof = 8, - /// - /// This one value is a part of a collection - /// - Oneof = 9, - /// - /// This one value is NOT part of a collection - /// - Notoneof = 10, - /// - /// This value is a CASE SENSITIVE substring of an attribute stored on the lobby/session - /// - Contains = 11 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices +{ + /// + /// All comparison operators associated with parameters in a search query + /// + /// + /// + public enum ComparisonOp : int + { + /// + /// Value must equal the one stored on the lobby/session + /// + Equal = 0, + /// + /// Value must not equal the one stored on the lobby/session + /// + Notequal = 1, + /// + /// Value must be strictly greater than the one stored on the lobby/session + /// + Greaterthan = 2, + /// + /// Value must be greater than or equal to the one stored on the lobby/session + /// + Greaterthanorequal = 3, + /// + /// Value must be strictly less than the one stored on the lobby/session + /// + Lessthan = 4, + /// + /// Value must be less than or equal to the one stored on the lobby/session + /// + Lessthanorequal = 5, + /// + /// Prefer values nearest the one specified ie. abs(SearchValue-SessionValue) closest to 0 + /// + Distance = 6, + /// + /// Value stored on the lobby/session may be any from a specified list + /// + Anyof = 7, + /// + /// Value stored on the lobby/session may NOT be any from a specified list + /// + Notanyof = 8, + /// + /// This one value is a part of a collection + /// + Oneof = 9, + /// + /// This one value is NOT part of a collection + /// + Notoneof = 10, + /// + /// This value is a CASE SENSITIVE substring of an attribute stored on the lobby/session + /// + Contains = 11 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ComparisonOp.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ComparisonOp.cs.meta deleted file mode 100644 index 61b731e9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ComparisonOp.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d1a1c3d2ee41fba42a6955ebd3f35b29 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect.meta deleted file mode 100644 index 20910d34..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bb82de725f462aa48b5b7160d43dfeed -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyAuthExpirationOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyAuthExpirationOptions.cs index 45374d76..2185bac9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyAuthExpirationOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyAuthExpirationOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Structure containing information for the auth expiration notification callback. - /// - public class AddNotifyAuthExpirationOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyAuthExpirationOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyAuthExpirationOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.AddnotifyauthexpirationApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyAuthExpirationOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Structure containing information for the auth expiration notification callback. + /// + public struct AddNotifyAuthExpirationOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyAuthExpirationOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyAuthExpirationOptions other) + { + m_ApiVersion = ConnectInterface.AddnotifyauthexpirationApiLatest; + } + + public void Set(ref AddNotifyAuthExpirationOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.AddnotifyauthexpirationApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyAuthExpirationOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyAuthExpirationOptions.cs.meta deleted file mode 100644 index c877dc73..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyAuthExpirationOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b1ed57eb2cb52d546ae8c68c5c80a5ef -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyLoginStatusChangedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyLoginStatusChangedOptions.cs index 5a317a42..6aefdf8a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyLoginStatusChangedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyLoginStatusChangedOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Structure containing information or the connect user login status change callback. - /// - public class AddNotifyLoginStatusChangedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyLoginStatusChangedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyLoginStatusChangedOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.AddnotifyloginstatuschangedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyLoginStatusChangedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Structure containing information or the connect user login status change callback. + /// + public struct AddNotifyLoginStatusChangedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyLoginStatusChangedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyLoginStatusChangedOptions other) + { + m_ApiVersion = ConnectInterface.AddnotifyloginstatuschangedApiLatest; + } + + public void Set(ref AddNotifyLoginStatusChangedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.AddnotifyloginstatuschangedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyLoginStatusChangedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyLoginStatusChangedOptions.cs.meta deleted file mode 100644 index 72b5776c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AddNotifyLoginStatusChangedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bf25a8b409aa7cc4ea14d22254185b36 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AuthExpirationCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AuthExpirationCallbackInfo.cs index da01ef49..c038ce1f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AuthExpirationCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AuthExpirationCallbackInfo.cs @@ -1,75 +1,104 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Output parameters for the function. - /// - public class AuthExpirationCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local player whose status has changed. - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(AuthExpirationCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as AuthExpirationCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AuthExpirationCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Output parameters for the function. + /// + public struct AuthExpirationCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local player whose status has changed. + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref AuthExpirationCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AuthExpirationCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref AuthExpirationCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref AuthExpirationCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out AuthExpirationCallbackInfo output) + { + output = new AuthExpirationCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AuthExpirationCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AuthExpirationCallbackInfo.cs.meta deleted file mode 100644 index 1bd4475a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/AuthExpirationCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c2509e9188d5cd6419919e98c13004a6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ConnectInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ConnectInterface.cs index 18f61935..be78df48 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ConnectInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ConnectInterface.cs @@ -1,913 +1,1001 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - public sealed partial class ConnectInterface : Handle - { - public ConnectInterface() - { - } - - public ConnectInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int AddnotifyauthexpirationApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifyloginstatuschangedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyproductuserexternalaccountbyaccountidApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyproductuserexternalaccountbyaccounttypeApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyproductuserexternalaccountbyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyproductuserinfoApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CreatedeviceidApiLatest = 1; - - /// - /// Max length of a device model name, not including the terminating null - /// - public const int CreatedeviceidDevicemodelMaxLength = 64; - - /// - /// The most recent version of the API. - /// - public const int CreateuserApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int CredentialsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int DeletedeviceidApiLatest = 1; - - /// - /// Max length of an external account ID in string form - /// - public const int ExternalAccountIdMaxLength = 256; - - /// - /// The most recent version of the struct. - /// - public const int ExternalaccountinfoApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetexternalaccountmappingApiLatest = 1; - - /// - /// DEPRECATED! Use instead. - /// - public const int GetexternalaccountmappingsApiLatest = GetexternalaccountmappingApiLatest; - - /// - /// The most recent version of the API. - /// - public const int GetproductuserexternalaccountcountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetproductuseridmappingApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LinkaccountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LoginApiLatest = 2; - - /// - /// The most recent version of the API. - /// - public const int OnauthexpirationcallbackApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int QueryexternalaccountmappingsApiLatest = 1; - - /// - /// Maximum number of account IDs that can be queried at once - /// - public const int QueryexternalaccountmappingsMaxAccountIds = 128; - - /// - /// The most recent version of the API. - /// - public const int QueryproductuseridmappingsApiLatest = 2; - - /// - /// Timestamp value representing an undefined time for last login time. - /// - public const int TimeUndefined = -1; - - /// - /// The most recent version of the API. - /// - public const int TransferdeviceidaccountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int UnlinkaccountApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int UserlogininfoApiLatest = 1; - - /// - /// Max length of a display name, not including the terminating null. - /// - public const int UserlogininfoDisplaynameMaxLength = 32; - - /// - /// Register to receive upcoming authentication expiration notifications. - /// Notification is approximately 10 minutes prior to expiration. - /// Call again with valid third party credentials to refresh access. - /// - /// @note must call RemoveNotifyAuthExpiration to remove the notification. - /// - /// structure containing the API version of the callback to use. - /// arbitrary data that is passed back to you in the callback. - /// a callback that is fired when the authentication is about to expire. - /// - /// handle representing the registered callback. - /// - public ulong AddNotifyAuthExpiration(AddNotifyAuthExpirationOptions options, object clientData, OnAuthExpirationCallback notification) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationInternal = new OnAuthExpirationCallbackInternal(OnAuthExpirationCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notification, notificationInternal); - - var funcResult = Bindings.EOS_Connect_AddNotifyAuthExpiration(InnerHandle, optionsAddress, clientDataAddress, notificationInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive user login status updates. - /// @note must call RemoveNotifyLoginStatusChanged to remove the notification. - /// - /// structure containing the API version of the callback to use. - /// arbitrary data that is passed back to you in the callback. - /// a callback that is fired when the login status for a user changes. - /// - /// handle representing the registered callback. - /// - public ulong AddNotifyLoginStatusChanged(AddNotifyLoginStatusChangedOptions options, object clientData, OnLoginStatusChangedCallback notification) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationInternal = new OnLoginStatusChangedCallbackInternal(OnLoginStatusChangedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notification, notificationInternal); - - var funcResult = Bindings.EOS_Connect_AddNotifyLoginStatusChanged(InnerHandle, optionsAddress, clientDataAddress, notificationInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Fetch information about an external account linked to a Product User ID. - /// On a successful call, the caller must release the returned structure using the API. - /// - /// - /// Structure containing the target external account ID. - /// The external account info data for the user with given external account ID. - /// - /// An that indicates the external account data was copied into the OutExternalAccountInfo. - /// if the information is available and passed out in OutExternalAccountInfo. - /// if you pass a null pointer for the out parameter. - /// if the account data doesn't exist or hasn't been queried yet. - /// - public Result CopyProductUserExternalAccountByAccountId(CopyProductUserExternalAccountByAccountIdOptions options, out ExternalAccountInfo outExternalAccountInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outExternalAccountInfoAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Connect_CopyProductUserExternalAccountByAccountId(InnerHandle, optionsAddress, ref outExternalAccountInfoAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outExternalAccountInfoAddress, out outExternalAccountInfo)) - { - Bindings.EOS_Connect_ExternalAccountInfo_Release(outExternalAccountInfoAddress); - } - - return funcResult; - } - - /// - /// Fetch information about an external account of a specific type linked to a Product User ID. - /// On a successful call, the caller must release the returned structure using the API. - /// - /// - /// Structure containing the target external account type. - /// The external account info data for the user with given external account type. - /// - /// An that indicates the external account data was copied into the OutExternalAccountInfo. - /// if the information is available and passed out in OutExternalAccountInfo. - /// if you pass a null pointer for the out parameter. - /// if the account data doesn't exist or hasn't been queried yet. - /// - public Result CopyProductUserExternalAccountByAccountType(CopyProductUserExternalAccountByAccountTypeOptions options, out ExternalAccountInfo outExternalAccountInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outExternalAccountInfoAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Connect_CopyProductUserExternalAccountByAccountType(InnerHandle, optionsAddress, ref outExternalAccountInfoAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outExternalAccountInfoAddress, out outExternalAccountInfo)) - { - Bindings.EOS_Connect_ExternalAccountInfo_Release(outExternalAccountInfoAddress); - } - - return funcResult; - } - - /// - /// Fetch information about an external account linked to a Product User ID. - /// On a successful call, the caller must release the returned structure using the API. - /// - /// - /// Structure containing the target index. - /// The external account info data for the user with given index. - /// - /// An that indicates the external account data was copied into the OutExternalAccountInfo. - /// if the information is available and passed out in OutExternalAccountInfo. - /// if you pass a null pointer for the out parameter. - /// if the account data doesn't exist or hasn't been queried yet. - /// - public Result CopyProductUserExternalAccountByIndex(CopyProductUserExternalAccountByIndexOptions options, out ExternalAccountInfo outExternalAccountInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outExternalAccountInfoAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Connect_CopyProductUserExternalAccountByIndex(InnerHandle, optionsAddress, ref outExternalAccountInfoAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outExternalAccountInfoAddress, out outExternalAccountInfo)) - { - Bindings.EOS_Connect_ExternalAccountInfo_Release(outExternalAccountInfoAddress); - } - - return funcResult; - } - - /// - /// Fetch information about a Product User, using the external account that they most recently logged in with as the reference. - /// On a successful call, the caller must release the returned structure using the API. - /// - /// - /// Structure containing the target external account ID. - /// The external account info data last logged in for the user. - /// - /// An that indicates the external account data was copied into the OutExternalAccountInfo. - /// if the information is available and passed out in OutExternalAccountInfo. - /// if you pass a null pointer for the out parameter. - /// if the account data doesn't exist or hasn't been queried yet. - /// - public Result CopyProductUserInfo(CopyProductUserInfoOptions options, out ExternalAccountInfo outExternalAccountInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outExternalAccountInfoAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Connect_CopyProductUserInfo(InnerHandle, optionsAddress, ref outExternalAccountInfoAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outExternalAccountInfoAddress, out outExternalAccountInfo)) - { - Bindings.EOS_Connect_ExternalAccountInfo_Release(outExternalAccountInfoAddress); - } - - return funcResult; - } - - /// - /// Create a new unique pseudo-account that can be used to identify the current user profile on the local device. - /// - /// This function is intended to be used by mobile games and PC games that wish to allow - /// a new user to start playing without requiring to login to the game using any user identity. - /// In addition to this, the Device ID feature is used to automatically login the local user - /// also when they have linked at least one external user account(s) with the local Device ID. - /// - /// It is possible to link many devices with the same user's account keyring using the Device ID feature. - /// - /// Linking a device later or immediately with a real user account will ensure that the player - /// will not lose their progress if they switch devices or lose the device at some point, - /// as they will be always able to login with one of their linked real accounts and also link - /// another new device with the user account associations keychain. Otherwise, without having - /// at least one permanent user account linked to the Device ID, the player would lose all of their - /// game data and progression permanently should something happen to their device or the local - /// user profile on the device. - /// - /// After a successful one-time CreateDeviceId operation, the game can login the local user - /// automatically on subsequent game starts with using the - /// credentials type. If a Device ID already exists for the local user on the device then - /// error result is returned and the caller should proceed to calling directly. - /// - /// structure containing operation input parameters. - /// arbitrary data that is passed back to you in the CompletionDelegate. - /// a callback that is fired when the create operation completes, either successfully or in error. - public void CreateDeviceId(CreateDeviceIdOptions options, object clientData, OnCreateDeviceIdCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnCreateDeviceIdCallbackInternal(OnCreateDeviceIdCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Connect_CreateDeviceId(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Create an account association with the Epic Online Service as a product user given their external auth credentials. - /// - /// structure containing a continuance token from a "user not found" response during Login (always try login first). - /// arbitrary data that is passed back to you in the CompletionDelegate. - /// a callback that is fired when the create operation completes, either successfully or in error. - public void CreateUser(CreateUserOptions options, object clientData, OnCreateUserCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnCreateUserCallbackInternal(OnCreateUserCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Connect_CreateUser(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Delete any existing Device ID access credentials for the current user profile on the local device. - /// - /// The deletion is permanent and it is not possible to recover lost game data and progression - /// if the Device ID had not been linked with at least one real external user account. - /// - /// structure containing operation input parameters - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the delete operation completes, either successfully or in error - public void DeleteDeviceId(DeleteDeviceIdOptions options, object clientData, OnDeleteDeviceIdCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnDeleteDeviceIdCallbackInternal(OnDeleteDeviceIdCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Connect_DeleteDeviceId(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Fetch a Product User ID that maps to an external account ID cached from a previous query. - /// - /// structure containing the local user and target external account ID. - /// - /// The Product User ID, previously retrieved from the backend service, for the given target external account. - /// - public ProductUserId GetExternalAccountMapping(GetExternalAccountMappingsOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Connect_GetExternalAccountMapping(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - ProductUserId funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Fetch a Product User ID that is logged in. This Product User ID is in the Epic Online Services namespace. - /// - /// an index into the list of logged in users. If the index is out of bounds, the returned Product User ID will be invalid. - /// - /// the Product User ID associated with the index passed. - /// - public ProductUserId GetLoggedInUserByIndex(int index) - { - var funcResult = Bindings.EOS_Connect_GetLoggedInUserByIndex(InnerHandle, index); - - ProductUserId funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Fetch the number of product users that are logged in. - /// - /// - /// the number of product users logged in. - /// - public int GetLoggedInUsersCount() - { - var funcResult = Bindings.EOS_Connect_GetLoggedInUsersCount(InnerHandle); - - return funcResult; - } - - /// - /// Fetches the login status for an Product User ID. This Product User ID is considered logged in as long as the underlying access token has not expired. - /// - /// the Product User ID of the user being queried. - /// - /// the enum value of a user's login status. - /// - public LoginStatus GetLoginStatus(ProductUserId localUserId) - { - var localUserIdInnerHandle = System.IntPtr.Zero; - Helper.TryMarshalSet(ref localUserIdInnerHandle, localUserId); - - var funcResult = Bindings.EOS_Connect_GetLoginStatus(InnerHandle, localUserIdInnerHandle); - - return funcResult; - } - - /// - /// Fetch the number of linked external accounts for a Product User ID. - /// - /// - /// The Options associated with retrieving the external account info count. - /// - /// Number of external accounts or 0 otherwise. - /// - public uint GetProductUserExternalAccountCount(GetProductUserExternalAccountCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Connect_GetProductUserExternalAccountCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Fetch an external account ID, in string form, that maps to a given Product User ID. - /// - /// structure containing the local user and target Product User ID. - /// The buffer into which the external account ID data should be written. The buffer must be long enough to hold a string of . - /// - /// The size of the OutBuffer in characters. - /// The input buffer should include enough space to be null-terminated. - /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer. - /// - /// - /// An that indicates the external account ID was copied into the OutBuffer. - /// if the information is available and passed out in OutUserInfo. - /// if you pass a null pointer for the out parameter. - /// if the mapping doesn't exist or hasn't been queried yet. - /// if the OutBuffer is not large enough to receive the external account ID. InOutBufferLength contains the required minimum length to perform the operation successfully. - /// - public Result GetProductUserIdMapping(GetProductUserIdMappingOptions options, out string outBuffer) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - System.IntPtr outBufferAddress = System.IntPtr.Zero; - int inOutBufferLength = ExternalAccountIdMaxLength + 1; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_Connect_GetProductUserIdMapping(InnerHandle, optionsAddress, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// Link a set of external auth credentials with an existing product user on the Epic Online Service. - /// - /// structure containing a continuance token from a "user not found" response during Login (always try login first) and a currently logged in user not already associated with this external auth provider. - /// arbitrary data that is passed back to you in the CompletionDelegate. - /// a callback that is fired when the link operation completes, either successfully or in error. - public void LinkAccount(LinkAccountOptions options, object clientData, OnLinkAccountCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnLinkAccountCallbackInternal(OnLinkAccountCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Connect_LinkAccount(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Login/Authenticate given a valid set of external auth credentials. - /// - /// structure containing the external account credentials and type to use during the login operation. - /// arbitrary data that is passed back to you in the CompletionDelegate. - /// a callback that is fired when the login operation completes, either successfully or in error. - public void Login(LoginOptions options, object clientData, OnLoginCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnLoginCallbackInternal(OnLoginCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Connect_Login(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Retrieve the equivalent Product User IDs from a list of external account IDs from supported account providers. - /// The values will be cached and retrievable through . - /// - /// structure containing a list of external account IDs, in string form, to query for the Product User ID representation. - /// arbitrary data that is passed back to you in the CompletionDelegate. - /// a callback that is fired when the query operation completes, either successfully or in error. - public void QueryExternalAccountMappings(QueryExternalAccountMappingsOptions options, object clientData, OnQueryExternalAccountMappingsCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryExternalAccountMappingsCallbackInternal(OnQueryExternalAccountMappingsCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Connect_QueryExternalAccountMappings(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Retrieve the equivalent external account mappings from a list of Product User IDs. - /// This will include data for each external account info found for the linked product IDs. - /// - /// The values will be cached and retrievable via , , - /// or . - /// - /// - /// - /// - /// - /// - /// - /// - /// structure containing a list of Product User IDs to query for the external account representation. - /// arbitrary data that is passed back to you in the CompletionDelegate. - /// a callback that is fired when the query operation completes, either successfully or in error. - public void QueryProductUserIdMappings(QueryProductUserIdMappingsOptions options, object clientData, OnQueryProductUserIdMappingsCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryProductUserIdMappingsCallbackInternal(OnQueryProductUserIdMappingsCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Connect_QueryProductUserIdMappings(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Unregister from receiving expiration notifications. - /// - /// handle representing the registered callback. - public void RemoveNotifyAuthExpiration(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Connect_RemoveNotifyAuthExpiration(InnerHandle, inId); - } - - /// - /// Unregister from receiving user login status updates. - /// - /// handle representing the registered callback. - public void RemoveNotifyLoginStatusChanged(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Connect_RemoveNotifyLoginStatusChanged(InnerHandle, inId); - } - - /// - /// Transfer a Device ID pseudo-account and the product user associated with it into another - /// keychain linked with real user accounts (such as Epic Games, PlayStation(TM)Network, Xbox Live, and other). - /// - /// This function allows transferring a product user, i.e. the local user's game progression - /// backend data from a Device ID owned keychain into a keychain with real user accounts - /// linked to it. The transfer of Device ID owned product user into a keychain of real user - /// accounts allows persisting the user's game data on the backend in the event that they - /// would lose access to the local device or otherwise switch to another device or platform. - /// - /// This function is only applicable in the situation of where the local user first plays - /// the game using the anonymous Device ID login, then later logs in using a real user - /// account that they have also already used to play the same game or another game under the - /// same organization within Epic Online Services. In such situation, while normally the login - /// attempt with a real user account would return and an - /// and allow calling the API to link it with the Device ID's keychain, - /// instead the login operation succeeds and finds an existing user because the association - /// already exists. Because the user cannot have two product users simultaneously to play with, - /// the game should prompt the user to choose which profile to keep and which one to discard - /// permanently. Based on the user choice, the game may then proceed to transfer the Device ID - /// login into the keychain that is persistent and backed by real user accounts, and if the user - /// chooses so, move the product user as well into the destination keychain and overwrite the - /// existing previous product user with it. To clarify, moving the product user with the Device ID - /// login in this way into a persisted keychain allows to preserve the so far only locally persisted - /// game progression and thus protect the user against a case where they lose access to the device. - /// - /// On success, the completion callback will return the preserved that remains - /// logged in while the discarded has been invalidated and deleted permanently. - /// Consecutive logins using the existing Device ID login type or the external account will - /// connect the user to the same backend data belonging to the preserved . - /// - /// Example walkthrough: Cross-platform mobile game using the anonymous Device ID login. - /// - /// For onboarding new users, the game will attempt to always automatically login the local user - /// by calling using the login type. If the local - /// Device ID credentials are not found, and the game wants a frictionless entry for the first time - /// user experience, the game will automatically call to create new - /// Device ID pseudo-account and then login the local user into it. Consecutive game starts will - /// thus automatically login the user to their locally persisted Device ID account. - /// - /// The user starts playing anonymously using the Device ID login type and makes significant game progress. - /// Later, they login using an external account that they have already used previously for the - /// same game perhaps on another platform, or another game owned by the same organization. - /// In such case, will automatically login the user to their existing account - /// linking keychain and create automatically a new empty product user for this product. - /// - /// In order for the user to use their existing previously created keychain and have the locally - /// created Device ID login reference to that keychain instead, the user's current product user - /// needs to be moved to be under that keychain so that their existing game progression will be - /// preserved. To do so, the game can call to transfer the - /// Device ID login and the product user associated with it into the other keychain that has real - /// external user account(s) linked to it. Note that it is important that the game either automatically - /// checks that the other product user does not have any meaningful progression data, or otherwise - /// will prompt the user to make the choice on which game progression to preserve and which can - /// be discarded permanently. The other product user will be discarded permanently and cannot be - /// recovered, so it is very important that the user is guided to make the right choice to avoid - /// accidental loss of all game progression. - /// - /// - /// - /// structure containing the logged in product users and specifying which one will be preserved. - /// arbitrary data that is passed back to you in the CompletionDelegate. - /// a callback that is fired when the transfer operation completes, either successfully or in error. - public void TransferDeviceIdAccount(TransferDeviceIdAccountOptions options, object clientData, OnTransferDeviceIdAccountCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnTransferDeviceIdAccountCallbackInternal(OnTransferDeviceIdAccountCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Connect_TransferDeviceIdAccount(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Unlink external auth credentials from the owning keychain of a logged in product user. - /// - /// This function allows recovering the user from scenarios where they have accidentally proceeded to creating - /// a new product user for the local native user account, instead of linking it with an existing keychain that - /// they have previously created by playing the game (or another game owned by the organization) on another platform. - /// - /// In such scenario, after the initial platform login and a new product user creation, the user wishes to re-login - /// using other set of external auth credentials to connect with their existing game progression data. In order to - /// allow automatic login also on the current platform, they will need to unlink the accidentally created new keychain - /// and product user and then use the and APIs to link the local native platform - /// account with that previously created existing product user and its owning keychain. - /// - /// In another scenario, the user may simply want to disassociate the account that they have logged in with from the current - /// keychain that it is linked with, perhaps to link it against another keychain or to separate the game progressions again. - /// - /// In order to protect against account theft, it is only possible to unlink user accounts that have been authenticated - /// and logged in to the product user in the current session. This prevents a malicious actor from gaining access to one - /// of the linked accounts and using it to remove all other accounts linked with the keychain. This also prevents a malicious - /// actor from replacing the unlinked account with their own corresponding account on the same platform, as the unlinking - /// operation will ensure that any existing authentication session cannot be used to re-link and overwrite the entry without - /// authenticating with one of the other linked accounts in the keychain. These restrictions limit the potential attack surface - /// related to account theft scenarios. - /// - /// structure containing operation input parameters. - /// arbitrary data that is passed back to you in the CompletionDelegate. - /// a callback that is fired when the unlink operation completes, either successfully or in error. - public void UnlinkAccount(UnlinkAccountOptions options, object clientData, OnUnlinkAccountCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnUnlinkAccountCallbackInternal(OnUnlinkAccountCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Connect_UnlinkAccount(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnAuthExpirationCallbackInternal))] - internal static void OnAuthExpirationCallbackInternalImplementation(System.IntPtr data) - { - OnAuthExpirationCallback callback; - AuthExpirationCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnCreateDeviceIdCallbackInternal))] - internal static void OnCreateDeviceIdCallbackInternalImplementation(System.IntPtr data) - { - OnCreateDeviceIdCallback callback; - CreateDeviceIdCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnCreateUserCallbackInternal))] - internal static void OnCreateUserCallbackInternalImplementation(System.IntPtr data) - { - OnCreateUserCallback callback; - CreateUserCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnDeleteDeviceIdCallbackInternal))] - internal static void OnDeleteDeviceIdCallbackInternalImplementation(System.IntPtr data) - { - OnDeleteDeviceIdCallback callback; - DeleteDeviceIdCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLinkAccountCallbackInternal))] - internal static void OnLinkAccountCallbackInternalImplementation(System.IntPtr data) - { - OnLinkAccountCallback callback; - LinkAccountCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLoginCallbackInternal))] - internal static void OnLoginCallbackInternalImplementation(System.IntPtr data) - { - OnLoginCallback callback; - LoginCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLoginStatusChangedCallbackInternal))] - internal static void OnLoginStatusChangedCallbackInternalImplementation(System.IntPtr data) - { - OnLoginStatusChangedCallback callback; - LoginStatusChangedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryExternalAccountMappingsCallbackInternal))] - internal static void OnQueryExternalAccountMappingsCallbackInternalImplementation(System.IntPtr data) - { - OnQueryExternalAccountMappingsCallback callback; - QueryExternalAccountMappingsCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryProductUserIdMappingsCallbackInternal))] - internal static void OnQueryProductUserIdMappingsCallbackInternalImplementation(System.IntPtr data) - { - OnQueryProductUserIdMappingsCallback callback; - QueryProductUserIdMappingsCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnTransferDeviceIdAccountCallbackInternal))] - internal static void OnTransferDeviceIdAccountCallbackInternalImplementation(System.IntPtr data) - { - OnTransferDeviceIdAccountCallback callback; - TransferDeviceIdAccountCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnUnlinkAccountCallbackInternal))] - internal static void OnUnlinkAccountCallbackInternalImplementation(System.IntPtr data) - { - OnUnlinkAccountCallback callback; - UnlinkAccountCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + public sealed partial class ConnectInterface : Handle + { + public ConnectInterface() + { + } + + public ConnectInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int AddnotifyauthexpirationApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifyloginstatuschangedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyidtokenApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyproductuserexternalaccountbyaccountidApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyproductuserexternalaccountbyaccounttypeApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyproductuserexternalaccountbyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyproductuserinfoApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CreatedeviceidApiLatest = 1; + + /// + /// Max length of a device model name, not including the terminating null + /// + public const int CreatedeviceidDevicemodelMaxLength = 64; + + /// + /// The most recent version of the API. + /// + public const int CreateuserApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int CredentialsApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int DeletedeviceidApiLatest = 1; + + /// + /// Max length of an external account ID in string form + /// + public const int ExternalAccountIdMaxLength = 256; + + /// + /// The most recent version of the struct. + /// + public const int ExternalaccountinfoApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetexternalaccountmappingApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int GetexternalaccountmappingsApiLatest = GetexternalaccountmappingApiLatest; + + /// + /// The most recent version of the API. + /// + public const int GetproductuserexternalaccountcountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetproductuseridmappingApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int IdtokenApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LinkaccountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LoginApiLatest = 2; + + /// + /// The most recent version of the API. + /// + public const int OnauthexpirationcallbackApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int QueryexternalaccountmappingsApiLatest = 1; + + /// + /// Maximum number of account IDs that can be queried at once + /// + public const int QueryexternalaccountmappingsMaxAccountIds = 128; + + /// + /// The most recent version of the API. + /// + public const int QueryproductuseridmappingsApiLatest = 2; + + /// + /// Timestamp value representing an undefined time for last login time. + /// + public const int TimeUndefined = -1; + + /// + /// The most recent version of the API. + /// + public const int TransferdeviceidaccountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UnlinkaccountApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int UserlogininfoApiLatest = 1; + + /// + /// Max length of a display name, not including the terminating null. + /// + public const int UserlogininfoDisplaynameMaxLength = 32; + + /// + /// The most recent version of the API. + /// + public const int VerifyidtokenApiLatest = 1; + + /// + /// Register to receive upcoming authentication expiration notifications. + /// Notification is approximately 10 minutes prior to expiration. + /// Call again with valid third party credentials to refresh access. + /// must call RemoveNotifyAuthExpiration to remove the notification. + /// + /// structure containing the API version of the callback to use. + /// arbitrary data that is passed back to you in the callback. + /// a callback that is fired when the authentication is about to expire. + /// + /// handle representing the registered callback. + /// + public ulong AddNotifyAuthExpiration(ref AddNotifyAuthExpirationOptions options, object clientData, OnAuthExpirationCallback notification) + { + AddNotifyAuthExpirationOptionsInternal optionsInternal = new AddNotifyAuthExpirationOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationInternal = new OnAuthExpirationCallbackInternal(OnAuthExpirationCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notification, notificationInternal); + + var funcResult = Bindings.EOS_Connect_AddNotifyAuthExpiration(InnerHandle, ref optionsInternal, clientDataAddress, notificationInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive user login status updates. + /// must call RemoveNotifyLoginStatusChanged to remove the notification. + /// + /// structure containing the API version of the callback to use. + /// arbitrary data that is passed back to you in the callback. + /// a callback that is fired when the login status for a user changes. + /// + /// handle representing the registered callback. + /// + public ulong AddNotifyLoginStatusChanged(ref AddNotifyLoginStatusChangedOptions options, object clientData, OnLoginStatusChangedCallback notification) + { + AddNotifyLoginStatusChangedOptionsInternal optionsInternal = new AddNotifyLoginStatusChangedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationInternal = new OnLoginStatusChangedCallbackInternal(OnLoginStatusChangedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notification, notificationInternal); + + var funcResult = Bindings.EOS_Connect_AddNotifyLoginStatusChanged(InnerHandle, ref optionsInternal, clientDataAddress, notificationInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Fetches an ID token for a Product User ID. + /// + /// + /// Structure containing information about the ID token to copy. + /// The ID token for the given user, if it exists and is valid; use when finished. + /// + /// if the information is available and passed out in OutIdToken. + /// if you pass a null pointer for the out parameter. + /// if the ID token is not found or expired. + /// + public Result CopyIdToken(ref CopyIdTokenOptions options, out IdToken? outIdToken) + { + CopyIdTokenOptionsInternal optionsInternal = new CopyIdTokenOptionsInternal(); + optionsInternal.Set(ref options); + + var outIdTokenAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Connect_CopyIdToken(InnerHandle, ref optionsInternal, ref outIdTokenAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outIdTokenAddress, out outIdToken); + if (outIdToken != null) + { + Bindings.EOS_Connect_IdToken_Release(outIdTokenAddress); + } + + return funcResult; + } + + /// + /// Fetch information about an external account linked to a Product User ID. + /// On a successful call, the caller must release the returned structure using the API. + /// + /// + /// Structure containing the target external account ID. + /// The external account info data for the user with given external account ID. + /// + /// An that indicates the external account data was copied into the OutExternalAccountInfo. + /// if the information is available and passed out in OutExternalAccountInfo. + /// if you pass a null pointer for the out parameter. + /// if the account data doesn't exist or hasn't been queried yet. + /// + public Result CopyProductUserExternalAccountByAccountId(ref CopyProductUserExternalAccountByAccountIdOptions options, out ExternalAccountInfo? outExternalAccountInfo) + { + CopyProductUserExternalAccountByAccountIdOptionsInternal optionsInternal = new CopyProductUserExternalAccountByAccountIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outExternalAccountInfoAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Connect_CopyProductUserExternalAccountByAccountId(InnerHandle, ref optionsInternal, ref outExternalAccountInfoAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outExternalAccountInfoAddress, out outExternalAccountInfo); + if (outExternalAccountInfo != null) + { + Bindings.EOS_Connect_ExternalAccountInfo_Release(outExternalAccountInfoAddress); + } + + return funcResult; + } + + /// + /// Fetch information about an external account of a specific type linked to a Product User ID. + /// On a successful call, the caller must release the returned structure using the API. + /// + /// + /// Structure containing the target external account type. + /// The external account info data for the user with given external account type. + /// + /// An that indicates the external account data was copied into the OutExternalAccountInfo. + /// if the information is available and passed out in OutExternalAccountInfo. + /// if you pass a null pointer for the out parameter. + /// if the account data doesn't exist or hasn't been queried yet. + /// + public Result CopyProductUserExternalAccountByAccountType(ref CopyProductUserExternalAccountByAccountTypeOptions options, out ExternalAccountInfo? outExternalAccountInfo) + { + CopyProductUserExternalAccountByAccountTypeOptionsInternal optionsInternal = new CopyProductUserExternalAccountByAccountTypeOptionsInternal(); + optionsInternal.Set(ref options); + + var outExternalAccountInfoAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Connect_CopyProductUserExternalAccountByAccountType(InnerHandle, ref optionsInternal, ref outExternalAccountInfoAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outExternalAccountInfoAddress, out outExternalAccountInfo); + if (outExternalAccountInfo != null) + { + Bindings.EOS_Connect_ExternalAccountInfo_Release(outExternalAccountInfoAddress); + } + + return funcResult; + } + + /// + /// Fetch information about an external account linked to a Product User ID. + /// On a successful call, the caller must release the returned structure using the API. + /// + /// + /// Structure containing the target index. + /// The external account info data for the user with given index. + /// + /// An that indicates the external account data was copied into the OutExternalAccountInfo. + /// if the information is available and passed out in OutExternalAccountInfo. + /// if you pass a null pointer for the out parameter. + /// if the account data doesn't exist or hasn't been queried yet. + /// + public Result CopyProductUserExternalAccountByIndex(ref CopyProductUserExternalAccountByIndexOptions options, out ExternalAccountInfo? outExternalAccountInfo) + { + CopyProductUserExternalAccountByIndexOptionsInternal optionsInternal = new CopyProductUserExternalAccountByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outExternalAccountInfoAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Connect_CopyProductUserExternalAccountByIndex(InnerHandle, ref optionsInternal, ref outExternalAccountInfoAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outExternalAccountInfoAddress, out outExternalAccountInfo); + if (outExternalAccountInfo != null) + { + Bindings.EOS_Connect_ExternalAccountInfo_Release(outExternalAccountInfoAddress); + } + + return funcResult; + } + + /// + /// Fetch information about a Product User, using the external account that they most recently logged in with as the reference. + /// On a successful call, the caller must release the returned structure using the API. + /// + /// + /// Structure containing the target external account ID. + /// The external account info data last logged in for the user. + /// + /// An that indicates the external account data was copied into the OutExternalAccountInfo. + /// if the information is available and passed out in OutExternalAccountInfo. + /// if you pass a null pointer for the out parameter. + /// if the account data doesn't exist or hasn't been queried yet. + /// + public Result CopyProductUserInfo(ref CopyProductUserInfoOptions options, out ExternalAccountInfo? outExternalAccountInfo) + { + CopyProductUserInfoOptionsInternal optionsInternal = new CopyProductUserInfoOptionsInternal(); + optionsInternal.Set(ref options); + + var outExternalAccountInfoAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Connect_CopyProductUserInfo(InnerHandle, ref optionsInternal, ref outExternalAccountInfoAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outExternalAccountInfoAddress, out outExternalAccountInfo); + if (outExternalAccountInfo != null) + { + Bindings.EOS_Connect_ExternalAccountInfo_Release(outExternalAccountInfoAddress); + } + + return funcResult; + } + + /// + /// Create a new unique pseudo-account that can be used to identify the current user profile on the local device. + /// + /// This function is intended to be used by mobile games and PC games that wish to allow + /// a new user to start playing without requiring to login to the game using any user identity. + /// In addition to this, the Device ID feature is used to automatically login the local user + /// also when they have linked at least one external user account(s) with the local Device ID. + /// + /// It is possible to link many devices with the same user's account keyring using the Device ID feature. + /// + /// Linking a device later or immediately with a real user account will ensure that the player + /// will not lose their progress if they switch devices or lose the device at some point, + /// as they will be always able to login with one of their linked real accounts and also link + /// another new device with the user account associations keychain. Otherwise, without having + /// at least one permanent user account linked to the Device ID, the player would lose all of their + /// game data and progression permanently should something happen to their device or the local + /// user profile on the device. + /// + /// After a successful one-time CreateDeviceId operation, the game can login the local user + /// automatically on subsequent game starts with using the + /// credentials type. If a Device ID already exists for the local user on the device then + /// error result is returned and the caller should proceed to calling directly. + /// + /// structure containing operation input parameters. + /// arbitrary data that is passed back to you in the CompletionDelegate. + /// a callback that is fired when the create operation completes, either successfully or in error. + public void CreateDeviceId(ref CreateDeviceIdOptions options, object clientData, OnCreateDeviceIdCallback completionDelegate) + { + CreateDeviceIdOptionsInternal optionsInternal = new CreateDeviceIdOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnCreateDeviceIdCallbackInternal(OnCreateDeviceIdCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Connect_CreateDeviceId(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Create an account association with the Epic Online Service as a product user given their external auth credentials. + /// + /// structure containing a continuance token from a "user not found" response during Login (always try login first). + /// arbitrary data that is passed back to you in the CompletionDelegate. + /// a callback that is fired when the create operation completes, either successfully or in error. + public void CreateUser(ref CreateUserOptions options, object clientData, OnCreateUserCallback completionDelegate) + { + CreateUserOptionsInternal optionsInternal = new CreateUserOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnCreateUserCallbackInternal(OnCreateUserCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Connect_CreateUser(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Delete any existing Device ID access credentials for the current user profile on the local device. + /// + /// The deletion is permanent and it is not possible to recover lost game data and progression + /// if the Device ID had not been linked with at least one real external user account. + /// + /// On Android and iOS devices, uninstalling the application will automatically delete any local + /// Device ID credentials created by the application. + /// + /// On Desktop platforms (Linux, macOS, Windows), Device ID credentials are not automatically deleted. + /// Applications may re-use existing Device ID credentials for the local OS user when the application is + /// re-installed, or call the DeleteDeviceId API on the first run to ensure a fresh start for the user. + /// + /// structure containing operation input parameters + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the delete operation completes, either successfully or in error + public void DeleteDeviceId(ref DeleteDeviceIdOptions options, object clientData, OnDeleteDeviceIdCallback completionDelegate) + { + DeleteDeviceIdOptionsInternal optionsInternal = new DeleteDeviceIdOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnDeleteDeviceIdCallbackInternal(OnDeleteDeviceIdCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Connect_DeleteDeviceId(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Fetch a Product User ID that maps to an external account ID cached from a previous query. + /// + /// structure containing the local user and target external account ID. + /// + /// The Product User ID, previously retrieved from the backend service, for the given target external account. + /// + public ProductUserId GetExternalAccountMapping(ref GetExternalAccountMappingsOptions options) + { + GetExternalAccountMappingsOptionsInternal optionsInternal = new GetExternalAccountMappingsOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Connect_GetExternalAccountMapping(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + ProductUserId funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Fetch a Product User ID that is logged in. This Product User ID is in the Epic Online Services namespace. + /// + /// an index into the list of logged in users. If the index is out of bounds, the returned Product User ID will be invalid. + /// + /// the Product User ID associated with the index passed. + /// + public ProductUserId GetLoggedInUserByIndex(int index) + { + var funcResult = Bindings.EOS_Connect_GetLoggedInUserByIndex(InnerHandle, index); + + ProductUserId funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Fetch the number of product users that are logged in. + /// + /// + /// the number of product users logged in. + /// + public int GetLoggedInUsersCount() + { + var funcResult = Bindings.EOS_Connect_GetLoggedInUsersCount(InnerHandle); + + return funcResult; + } + + /// + /// Fetches the login status for an Product User ID. This Product User ID is considered logged in as long as the underlying access token has not expired. + /// + /// the Product User ID of the user being queried. + /// + /// the enum value of a user's login status. + /// + public LoginStatus GetLoginStatus(ProductUserId localUserId) + { + var localUserIdInnerHandle = System.IntPtr.Zero; + Helper.Set(localUserId, ref localUserIdInnerHandle); + + var funcResult = Bindings.EOS_Connect_GetLoginStatus(InnerHandle, localUserIdInnerHandle); + + return funcResult; + } + + /// + /// Fetch the number of linked external accounts for a Product User ID. + /// + /// + /// The Options associated with retrieving the external account info count. + /// + /// Number of external accounts or 0 otherwise. + /// + public uint GetProductUserExternalAccountCount(ref GetProductUserExternalAccountCountOptions options) + { + GetProductUserExternalAccountCountOptionsInternal optionsInternal = new GetProductUserExternalAccountCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Connect_GetProductUserExternalAccountCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Fetch an external account ID, in string form, that maps to a given Product User ID. + /// + /// structure containing the local user and target Product User ID. + /// The buffer into which the external account ID data should be written. The buffer must be long enough to hold a string of . + /// + /// The size of the OutBuffer in characters. + /// The input buffer should include enough space to be null-terminated. + /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer. + /// + /// + /// An that indicates the external account ID was copied into the OutBuffer. + /// if the information is available and passed out in OutUserInfo. + /// if you pass a null pointer for the out parameter. + /// if the mapping doesn't exist or hasn't been queried yet. + /// if the OutBuffer is not large enough to receive the external account ID. InOutBufferLength contains the required minimum length to perform the operation successfully. + /// + public Result GetProductUserIdMapping(ref GetProductUserIdMappingOptions options, out Utf8String outBuffer) + { + GetProductUserIdMappingOptionsInternal optionsInternal = new GetProductUserIdMappingOptionsInternal(); + optionsInternal.Set(ref options); + + int inOutBufferLength = ExternalAccountIdMaxLength + 1; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_Connect_GetProductUserIdMapping(InnerHandle, ref optionsInternal, outBufferAddress, ref inOutBufferLength); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// Link a set of external auth credentials with an existing product user on the Epic Online Service. + /// + /// structure containing a continuance token from a "user not found" response during Login (always try login first) and a currently logged in user not already associated with this external auth provider. + /// arbitrary data that is passed back to you in the CompletionDelegate. + /// a callback that is fired when the link operation completes, either successfully or in error. + public void LinkAccount(ref LinkAccountOptions options, object clientData, OnLinkAccountCallback completionDelegate) + { + LinkAccountOptionsInternal optionsInternal = new LinkAccountOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnLinkAccountCallbackInternal(OnLinkAccountCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Connect_LinkAccount(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Login/Authenticate given a valid set of external auth credentials. + /// + /// structure containing the external account credentials and type to use during the login operation. + /// arbitrary data that is passed back to you in the CompletionDelegate. + /// a callback that is fired when the login operation completes, either successfully or in error. + public void Login(ref LoginOptions options, object clientData, OnLoginCallback completionDelegate) + { + LoginOptionsInternal optionsInternal = new LoginOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnLoginCallbackInternal(OnLoginCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Connect_Login(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Retrieve the equivalent Product User IDs from a list of external account IDs from supported account providers. + /// The values will be cached and retrievable through . + /// A common use case is to query other users who are connected through the same account system as the local user. + /// Queries using external account IDs of another account system may not be available, depending on the account system specifics. + /// + /// structure containing a list of external account IDs, in string form, to query for the Product User ID representation. + /// arbitrary data that is passed back to you in the CompletionDelegate. + /// a callback that is fired when the query operation completes, either successfully or in error. + public void QueryExternalAccountMappings(ref QueryExternalAccountMappingsOptions options, object clientData, OnQueryExternalAccountMappingsCallback completionDelegate) + { + QueryExternalAccountMappingsOptionsInternal optionsInternal = new QueryExternalAccountMappingsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryExternalAccountMappingsCallbackInternal(OnQueryExternalAccountMappingsCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Connect_QueryExternalAccountMappings(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Retrieve the equivalent external account mappings from a list of Product User IDs. + /// + /// The values will be cached and retrievable via , , + /// or . + /// + /// + /// + /// + /// + /// + /// + /// + /// structure containing a list of Product User IDs to query for the external account representation. + /// arbitrary data that is passed back to you in the CompletionDelegate. + /// a callback that is fired when the query operation completes, either successfully or in error. + public void QueryProductUserIdMappings(ref QueryProductUserIdMappingsOptions options, object clientData, OnQueryProductUserIdMappingsCallback completionDelegate) + { + QueryProductUserIdMappingsOptionsInternal optionsInternal = new QueryProductUserIdMappingsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryProductUserIdMappingsCallbackInternal(OnQueryProductUserIdMappingsCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Connect_QueryProductUserIdMappings(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Unregister from receiving expiration notifications. + /// + /// handle representing the registered callback. + public void RemoveNotifyAuthExpiration(ulong inId) + { + Bindings.EOS_Connect_RemoveNotifyAuthExpiration(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister from receiving user login status updates. + /// + /// handle representing the registered callback. + public void RemoveNotifyLoginStatusChanged(ulong inId) + { + Bindings.EOS_Connect_RemoveNotifyLoginStatusChanged(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Transfer a Device ID pseudo-account and the product user associated with it into another + /// keychain linked with real user accounts (such as Epic Games, PlayStation(TM)Network, Xbox Live, and other). + /// + /// This function allows transferring a product user, i.e. the local user's game progression + /// backend data from a Device ID owned keychain into a keychain with real user accounts + /// linked to it. The transfer of Device ID owned product user into a keychain of real user + /// accounts allows persisting the user's game data on the backend in the event that they + /// would lose access to the local device or otherwise switch to another device or platform. + /// + /// This function is only applicable in the situation of where the local user first plays + /// the game using the anonymous Device ID login, then later logs in using a real user + /// account that they have also already used to play the same game or another game under the + /// same organization within Epic Online Services. In such situation, while normally the login + /// attempt with a real user account would return and an + /// and allow calling the API to link it with the Device ID's keychain, + /// instead the login operation succeeds and finds an existing user because the association + /// already exists. Because the user cannot have two product users simultaneously to play with, + /// the game should prompt the user to choose which profile to keep and which one to discard + /// permanently. Based on the user choice, the game may then proceed to transfer the Device ID + /// login into the keychain that is persistent and backed by real user accounts, and if the user + /// chooses so, move the product user as well into the destination keychain and overwrite the + /// existing previous product user with it. To clarify, moving the product user with the Device ID + /// login in this way into a persisted keychain allows to preserve the so far only locally persisted + /// game progression and thus protect the user against a case where they lose access to the device. + /// + /// On success, the completion callback will return the preserved that remains + /// logged in while the discarded has been invalidated and deleted permanently. + /// Consecutive logins using the existing Device ID login type or the external account will + /// connect the user to the same backend data belonging to the preserved . + /// + /// Example walkthrough: Cross-platform mobile game using the anonymous Device ID login. + /// + /// For onboarding new users, the game will attempt to always automatically login the local user + /// by calling using the login type. If the local + /// Device ID credentials are not found, and the game wants a frictionless entry for the first time + /// user experience, the game will automatically call to create new + /// Device ID pseudo-account and then login the local user into it. Consecutive game starts will + /// thus automatically login the user to their locally persisted Device ID account. + /// + /// The user starts playing anonymously using the Device ID login type and makes significant game progress. + /// Later, they login using an external account that they have already used previously for the + /// same game perhaps on another platform, or another game owned by the same organization. + /// In such case, will automatically login the user to their existing account + /// linking keychain and create automatically a new empty product user for this product. + /// + /// In order for the user to use their existing previously created keychain and have the locally + /// created Device ID login reference to that keychain instead, the user's current product user + /// needs to be moved to be under that keychain so that their existing game progression will be + /// preserved. To do so, the game can call to transfer the + /// Device ID login and the product user associated with it into the other keychain that has real + /// external user account(s) linked to it. Note that it is important that the game either automatically + /// checks that the other product user does not have any meaningful progression data, or otherwise + /// will prompt the user to make the choice on which game progression to preserve and which can + /// be discarded permanently. The other product user will be discarded permanently and cannot be + /// recovered, so it is very important that the user is guided to make the right choice to a + /// accidental loss of all game progression. + /// + /// + /// + /// structure containing the logged in product users and specifying which one will be preserved. + /// arbitrary data that is passed back to you in the CompletionDelegate. + /// a callback that is fired when the transfer operation completes, either successfully or in error. + public void TransferDeviceIdAccount(ref TransferDeviceIdAccountOptions options, object clientData, OnTransferDeviceIdAccountCallback completionDelegate) + { + TransferDeviceIdAccountOptionsInternal optionsInternal = new TransferDeviceIdAccountOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnTransferDeviceIdAccountCallbackInternal(OnTransferDeviceIdAccountCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Connect_TransferDeviceIdAccount(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Unlink external auth credentials from the owning keychain of a logged in product user. + /// + /// This function allows recovering the user from scenarios where they have accidentally proceeded to creating + /// a new product user for the local native user account, instead of linking it with an existing keychain that + /// they have previously created by playing the game (or another game owned by the organization) on another platform. + /// + /// In such scenario, after the initial platform login and a new product user creation, the user wishes to re-login + /// using other set of external auth credentials to connect with their existing game progression data. In order to + /// allow automatic login also on the current platform, they will need to unlink the accidentally created new keychain + /// and product user and then use the and APIs to link the local native platform + /// account with that previously created existing product user and its owning keychain. + /// + /// In another scenario, the user may simply want to disassociate the account that they have logged in with from the current + /// keychain that it is linked with, perhaps to link it against another keychain or to separate the game progressions again. + /// + /// In order to protect against account theft, it is only possible to unlink user accounts that have been authenticated + /// and logged in to the product user in the current session. This prevents a malicious actor from gaining access to one + /// of the linked accounts and using it to remove all other accounts linked with the keychain. This also prevents a malicious + /// actor from replacing the unlinked account with their own corresponding account on the same platform, as the unlinking + /// operation will ensure that any existing authentication session cannot be used to re-link and overwrite the entry without + /// authenticating with one of the other linked accounts in the keychain. These restrictions limit the potential attack surface + /// related to account theft scenarios. + /// + /// structure containing operation input parameters. + /// arbitrary data that is passed back to you in the CompletionDelegate. + /// a callback that is fired when the unlink operation completes, either successfully or in error. + public void UnlinkAccount(ref UnlinkAccountOptions options, object clientData, OnUnlinkAccountCallback completionDelegate) + { + UnlinkAccountOptionsInternal optionsInternal = new UnlinkAccountOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnUnlinkAccountCallbackInternal(OnUnlinkAccountCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Connect_UnlinkAccount(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Verify a given ID token for authenticity and validity. + /// + /// structure containing information about the ID token to verify. + /// arbitrary data that is passed back to you in the callback. + /// a callback that is fired when the operation completes, either successfully or in error. + public void VerifyIdToken(ref VerifyIdTokenOptions options, object clientData, OnVerifyIdTokenCallback completionDelegate) + { + VerifyIdTokenOptionsInternal optionsInternal = new VerifyIdTokenOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnVerifyIdTokenCallbackInternal(OnVerifyIdTokenCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Connect_VerifyIdToken(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnAuthExpirationCallbackInternal))] + internal static void OnAuthExpirationCallbackInternalImplementation(ref AuthExpirationCallbackInfoInternal data) + { + OnAuthExpirationCallback callback; + AuthExpirationCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnCreateDeviceIdCallbackInternal))] + internal static void OnCreateDeviceIdCallbackInternalImplementation(ref CreateDeviceIdCallbackInfoInternal data) + { + OnCreateDeviceIdCallback callback; + CreateDeviceIdCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnCreateUserCallbackInternal))] + internal static void OnCreateUserCallbackInternalImplementation(ref CreateUserCallbackInfoInternal data) + { + OnCreateUserCallback callback; + CreateUserCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnDeleteDeviceIdCallbackInternal))] + internal static void OnDeleteDeviceIdCallbackInternalImplementation(ref DeleteDeviceIdCallbackInfoInternal data) + { + OnDeleteDeviceIdCallback callback; + DeleteDeviceIdCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLinkAccountCallbackInternal))] + internal static void OnLinkAccountCallbackInternalImplementation(ref LinkAccountCallbackInfoInternal data) + { + OnLinkAccountCallback callback; + LinkAccountCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLoginCallbackInternal))] + internal static void OnLoginCallbackInternalImplementation(ref LoginCallbackInfoInternal data) + { + OnLoginCallback callback; + LoginCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLoginStatusChangedCallbackInternal))] + internal static void OnLoginStatusChangedCallbackInternalImplementation(ref LoginStatusChangedCallbackInfoInternal data) + { + OnLoginStatusChangedCallback callback; + LoginStatusChangedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryExternalAccountMappingsCallbackInternal))] + internal static void OnQueryExternalAccountMappingsCallbackInternalImplementation(ref QueryExternalAccountMappingsCallbackInfoInternal data) + { + OnQueryExternalAccountMappingsCallback callback; + QueryExternalAccountMappingsCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryProductUserIdMappingsCallbackInternal))] + internal static void OnQueryProductUserIdMappingsCallbackInternalImplementation(ref QueryProductUserIdMappingsCallbackInfoInternal data) + { + OnQueryProductUserIdMappingsCallback callback; + QueryProductUserIdMappingsCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnTransferDeviceIdAccountCallbackInternal))] + internal static void OnTransferDeviceIdAccountCallbackInternalImplementation(ref TransferDeviceIdAccountCallbackInfoInternal data) + { + OnTransferDeviceIdAccountCallback callback; + TransferDeviceIdAccountCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnUnlinkAccountCallbackInternal))] + internal static void OnUnlinkAccountCallbackInternalImplementation(ref UnlinkAccountCallbackInfoInternal data) + { + OnUnlinkAccountCallback callback; + UnlinkAccountCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnVerifyIdTokenCallbackInternal))] + internal static void OnVerifyIdTokenCallbackInternalImplementation(ref VerifyIdTokenCallbackInfoInternal data) + { + OnVerifyIdTokenCallback callback; + VerifyIdTokenCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ConnectInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ConnectInterface.cs.meta deleted file mode 100644 index a3c672cd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ConnectInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 68b2e58ef562b09459ea5cfb8527c853 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyIdTokenOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyIdTokenOptions.cs new file mode 100644 index 00000000..77ad81b2 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyIdTokenOptions.cs @@ -0,0 +1,51 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct CopyIdTokenOptions + { + /// + /// The local Product User ID whose ID token should be copied. + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyIdTokenOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref CopyIdTokenOptions other) + { + m_ApiVersion = ConnectInterface.CopyidtokenApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref CopyIdTokenOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.CopyidtokenApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountIdOptions.cs index c1799965..16ce4af0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountIdOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class CopyProductUserExternalAccountByAccountIdOptions - { - /// - /// The Product User ID to look for when copying external account info from the cache. - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// External auth service account ID to look for when copying external account info from the cache. - /// - public string AccountId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyProductUserExternalAccountByAccountIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - private System.IntPtr m_AccountId; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public string AccountId - { - set - { - Helper.TryMarshalSet(ref m_AccountId, value); - } - } - - public void Set(CopyProductUserExternalAccountByAccountIdOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyaccountidApiLatest; - TargetUserId = other.TargetUserId; - AccountId = other.AccountId; - } - } - - public void Set(object other) - { - Set(other as CopyProductUserExternalAccountByAccountIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - Helper.TryMarshalDispose(ref m_AccountId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct CopyProductUserExternalAccountByAccountIdOptions + { + /// + /// The Product User ID to look for when copying external account info from the cache. + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// External auth service account ID to look for when copying external account info from the cache. + /// + public Utf8String AccountId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyProductUserExternalAccountByAccountIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_AccountId; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public Utf8String AccountId + { + set + { + Helper.Set(value, ref m_AccountId); + } + } + + public void Set(ref CopyProductUserExternalAccountByAccountIdOptions other) + { + m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyaccountidApiLatest; + TargetUserId = other.TargetUserId; + AccountId = other.AccountId; + } + + public void Set(ref CopyProductUserExternalAccountByAccountIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyaccountidApiLatest; + TargetUserId = other.Value.TargetUserId; + AccountId = other.Value.AccountId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_AccountId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountIdOptions.cs.meta deleted file mode 100644 index 09717e3b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c3ff4dbbc4a68f5438601cbda0fe7b1b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountTypeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountTypeOptions.cs index b4493c94..2e18df06 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountTypeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountTypeOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class CopyProductUserExternalAccountByAccountTypeOptions - { - /// - /// The Product User ID to look for when copying external account info from the cache. - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// External auth service account type to look for when copying external account info from the cache. - /// - public ExternalAccountType AccountIdType { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyProductUserExternalAccountByAccountTypeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - private ExternalAccountType m_AccountIdType; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public ExternalAccountType AccountIdType - { - set - { - m_AccountIdType = value; - } - } - - public void Set(CopyProductUserExternalAccountByAccountTypeOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyaccounttypeApiLatest; - TargetUserId = other.TargetUserId; - AccountIdType = other.AccountIdType; - } - } - - public void Set(object other) - { - Set(other as CopyProductUserExternalAccountByAccountTypeOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct CopyProductUserExternalAccountByAccountTypeOptions + { + /// + /// The Product User ID to look for when copying external account info from the cache. + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// External auth service account type to look for when copying external account info from the cache. + /// + public ExternalAccountType AccountIdType { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyProductUserExternalAccountByAccountTypeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private ExternalAccountType m_AccountIdType; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public ExternalAccountType AccountIdType + { + set + { + m_AccountIdType = value; + } + } + + public void Set(ref CopyProductUserExternalAccountByAccountTypeOptions other) + { + m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyaccounttypeApiLatest; + TargetUserId = other.TargetUserId; + AccountIdType = other.AccountIdType; + } + + public void Set(ref CopyProductUserExternalAccountByAccountTypeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyaccounttypeApiLatest; + TargetUserId = other.Value.TargetUserId; + AccountIdType = other.Value.AccountIdType; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountTypeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountTypeOptions.cs.meta deleted file mode 100644 index 04ca1dd9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByAccountTypeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 58b9ef5314a41eb4392a7713621277b1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByIndexOptions.cs index 54c7c6cd..b74489f5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class CopyProductUserExternalAccountByIndexOptions - { - /// - /// The Product User ID to look for when copying external account info from the cache. - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// Index of the external account info to retrieve from the cache. - /// - public uint ExternalAccountInfoIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyProductUserExternalAccountByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - private uint m_ExternalAccountInfoIndex; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public uint ExternalAccountInfoIndex - { - set - { - m_ExternalAccountInfoIndex = value; - } - } - - public void Set(CopyProductUserExternalAccountByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyindexApiLatest; - TargetUserId = other.TargetUserId; - ExternalAccountInfoIndex = other.ExternalAccountInfoIndex; - } - } - - public void Set(object other) - { - Set(other as CopyProductUserExternalAccountByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct CopyProductUserExternalAccountByIndexOptions + { + /// + /// The Product User ID to look for when copying external account info from the cache. + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Index of the external account info to retrieve from the cache. + /// + public uint ExternalAccountInfoIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyProductUserExternalAccountByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private uint m_ExternalAccountInfoIndex; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public uint ExternalAccountInfoIndex + { + set + { + m_ExternalAccountInfoIndex = value; + } + } + + public void Set(ref CopyProductUserExternalAccountByIndexOptions other) + { + m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyindexApiLatest; + TargetUserId = other.TargetUserId; + ExternalAccountInfoIndex = other.ExternalAccountInfoIndex; + } + + public void Set(ref CopyProductUserExternalAccountByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyindexApiLatest; + TargetUserId = other.Value.TargetUserId; + ExternalAccountInfoIndex = other.Value.ExternalAccountInfoIndex; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByIndexOptions.cs.meta deleted file mode 100644 index 47983cc8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserExternalAccountByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 08433b1f195b869459c3fc3820d09f7b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserInfoOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserInfoOptions.cs index 79ececb0..c969cb20 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserInfoOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserInfoOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class CopyProductUserInfoOptions - { - /// - /// Product user ID to look for when copying external account info from the cache. - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyProductUserInfoOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(CopyProductUserInfoOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.CopyproductuserinfoApiLatest; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as CopyProductUserInfoOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct CopyProductUserInfoOptions + { + /// + /// Product user ID to look for when copying external account info from the cache. + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyProductUserInfoOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref CopyProductUserInfoOptions other) + { + m_ApiVersion = ConnectInterface.CopyproductuserinfoApiLatest; + TargetUserId = other.TargetUserId; + } + + public void Set(ref CopyProductUserInfoOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.CopyproductuserinfoApiLatest; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserInfoOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserInfoOptions.cs.meta deleted file mode 100644 index 1abee604..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CopyProductUserInfoOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 285ed831a3f20f045afa33fa51a7464b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdCallbackInfo.cs index 974a206d..312caced 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Output parameters for the function. - /// - public class CreateDeviceIdCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(CreateDeviceIdCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as CreateDeviceIdCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CreateDeviceIdCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Output parameters for the function. + /// + public struct CreateDeviceIdCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref CreateDeviceIdCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CreateDeviceIdCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref CreateDeviceIdCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref CreateDeviceIdCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out CreateDeviceIdCallbackInfo output) + { + output = new CreateDeviceIdCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdCallbackInfo.cs.meta deleted file mode 100644 index e811b0d9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8648b5666e3063c42b63ba4919cf4e06 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdOptions.cs index 78798e3e..58824c7a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdOptions.cs @@ -1,58 +1,59 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class CreateDeviceIdOptions - { - /// - /// A freeform text description identifying the device type and model, - /// which can be used in account linking management to allow the player - /// and customer support to identify different devices linked to an EOS - /// user keychain. For example 'iPhone 6S' or 'PC Windows'. - /// - /// The input string must be in UTF-8 character format, with a maximum - /// length of 64 characters. Longer string will be silently truncated. - /// - /// This field is required to be present. - /// - public string DeviceModel { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CreateDeviceIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_DeviceModel; - - public string DeviceModel - { - set - { - Helper.TryMarshalSet(ref m_DeviceModel, value); - } - } - - public void Set(CreateDeviceIdOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.CreatedeviceidApiLatest; - DeviceModel = other.DeviceModel; - } - } - - public void Set(object other) - { - Set(other as CreateDeviceIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_DeviceModel); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct CreateDeviceIdOptions + { + /// + /// A freeform text description identifying the device type and model, + /// which can be used in account linking management to allow the player + /// and customer support to identify different devices linked to an EOS + /// user keychain. For example 'iPhone 6S' or 'PC Windows'. + /// + /// The input string must be in UTF-8 character format, with a maximum + /// length of 64 characters. Longer string will be silently truncated. + /// + /// This field is required to be present. + /// + public Utf8String DeviceModel { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CreateDeviceIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_DeviceModel; + + public Utf8String DeviceModel + { + set + { + Helper.Set(value, ref m_DeviceModel); + } + } + + public void Set(ref CreateDeviceIdOptions other) + { + m_ApiVersion = ConnectInterface.CreatedeviceidApiLatest; + DeviceModel = other.DeviceModel; + } + + public void Set(ref CreateDeviceIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.CreatedeviceidApiLatest; + DeviceModel = other.Value.DeviceModel; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_DeviceModel); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdOptions.cs.meta deleted file mode 100644 index 0a93b007..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateDeviceIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1c32b0a9a4676a24fb5df708ff91d5dd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserCallbackInfo.cs index b7d13094..1061b52a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Output parameters for the function. - /// - public class CreateUserCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// If the operation succeeded, this is the Product User ID of the local user who was created. - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(CreateUserCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as CreateUserCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CreateUserCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Output parameters for the function. + /// + public struct CreateUserCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// If the operation succeeded, this is the Product User ID of the local user who was created. + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref CreateUserCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CreateUserCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref CreateUserCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref CreateUserCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out CreateUserCallbackInfo output) + { + output = new CreateUserCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserCallbackInfo.cs.meta deleted file mode 100644 index 4a165532..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 33ef1e3b189cd5248ba003400069ddfd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserOptions.cs index 0090bc06..badd71e0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class CreateUserOptions - { - /// - /// Continuance token from previous call to - /// - public ContinuanceToken ContinuanceToken { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CreateUserOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_ContinuanceToken; - - public ContinuanceToken ContinuanceToken - { - set - { - Helper.TryMarshalSet(ref m_ContinuanceToken, value); - } - } - - public void Set(CreateUserOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.CreateuserApiLatest; - ContinuanceToken = other.ContinuanceToken; - } - } - - public void Set(object other) - { - Set(other as CreateUserOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ContinuanceToken); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct CreateUserOptions + { + /// + /// Continuance token from previous call to + /// + public ContinuanceToken ContinuanceToken { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CreateUserOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_ContinuanceToken; + + public ContinuanceToken ContinuanceToken + { + set + { + Helper.Set(value, ref m_ContinuanceToken); + } + } + + public void Set(ref CreateUserOptions other) + { + m_ApiVersion = ConnectInterface.CreateuserApiLatest; + ContinuanceToken = other.ContinuanceToken; + } + + public void Set(ref CreateUserOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.CreateuserApiLatest; + ContinuanceToken = other.Value.ContinuanceToken; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ContinuanceToken); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserOptions.cs.meta deleted file mode 100644 index 3209cf7d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/CreateUserOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0c61c5a385f2a1c4fa61e7fa832ed0f0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/Credentials.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/Credentials.cs index 3f1c3e32..0a2d935f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/Credentials.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/Credentials.cs @@ -1,95 +1,95 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// A structure that contains external login credentials. - /// - /// This is part of the input structure . - /// - /// - /// - public class Credentials : ISettable - { - /// - /// External token associated with the user logging in. - /// - public string Token { get; set; } - - /// - /// Type of external login; identifies the auth method to use. - /// - public ExternalCredentialType Type { get; set; } - - internal void Set(CredentialsInternal? other) - { - if (other != null) - { - Token = other.Value.Token; - Type = other.Value.Type; - } - } - - public void Set(object other) - { - Set(other as CredentialsInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CredentialsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Token; - private ExternalCredentialType m_Type; - - public string Token - { - get - { - string value; - Helper.TryMarshalGet(m_Token, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Token, value); - } - } - - public ExternalCredentialType Type - { - get - { - return m_Type; - } - - set - { - m_Type = value; - } - } - - public void Set(Credentials other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.CredentialsApiLatest; - Token = other.Token; - Type = other.Type; - } - } - - public void Set(object other) - { - Set(other as Credentials); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Token); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// A structure that contains external login credentials. + /// + /// This is part of the input structure . + /// + /// + /// + public struct Credentials + { + /// + /// External token associated with the user logging in. + /// + public Utf8String Token { get; set; } + + /// + /// Type of external login; identifies the auth method to use. + /// + public ExternalCredentialType Type { get; set; } + + internal void Set(ref CredentialsInternal other) + { + Token = other.Token; + Type = other.Type; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CredentialsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Token; + private ExternalCredentialType m_Type; + + public Utf8String Token + { + get + { + Utf8String value; + Helper.Get(m_Token, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Token); + } + } + + public ExternalCredentialType Type + { + get + { + return m_Type; + } + + set + { + m_Type = value; + } + } + + public void Set(ref Credentials other) + { + m_ApiVersion = ConnectInterface.CredentialsApiLatest; + Token = other.Token; + Type = other.Type; + } + + public void Set(ref Credentials? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.CredentialsApiLatest; + Token = other.Value.Token; + Type = other.Value.Type; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Token); + } + + public void Get(out Credentials output) + { + output = new Credentials(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/Credentials.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/Credentials.cs.meta deleted file mode 100644 index 3f5f70e1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/Credentials.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5f5b957e0d646c743a752a87f265b044 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdCallbackInfo.cs index 3c5f2267..f57d0022 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Output parameters for the function. - /// - public class DeleteDeviceIdCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(DeleteDeviceIdCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as DeleteDeviceIdCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DeleteDeviceIdCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Output parameters for the function. + /// + public struct DeleteDeviceIdCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref DeleteDeviceIdCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DeleteDeviceIdCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref DeleteDeviceIdCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref DeleteDeviceIdCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out DeleteDeviceIdCallbackInfo output) + { + output = new DeleteDeviceIdCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdCallbackInfo.cs.meta deleted file mode 100644 index 05344688..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9b95206c9df923b4ea5f45e75e193123 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdOptions.cs index 3fa37964..03f8bb34 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class DeleteDeviceIdOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DeleteDeviceIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(DeleteDeviceIdOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.DeletedeviceidApiLatest; - } - } - - public void Set(object other) - { - Set(other as DeleteDeviceIdOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct DeleteDeviceIdOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DeleteDeviceIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref DeleteDeviceIdOptions other) + { + m_ApiVersion = ConnectInterface.DeletedeviceidApiLatest; + } + + public void Set(ref DeleteDeviceIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.DeletedeviceidApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdOptions.cs.meta deleted file mode 100644 index fcead0f6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/DeleteDeviceIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f912df7eb6dfbc941a639c4027a489c4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ExternalAccountInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ExternalAccountInfo.cs index f70869fd..31d69e88 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ExternalAccountInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ExternalAccountInfo.cs @@ -1,162 +1,169 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Contains information about an external account info - /// - public class ExternalAccountInfo : ISettable - { - /// - /// The Product User ID of the target user. - /// - public ProductUserId ProductUserId { get; set; } - - /// - /// Display name, can be null if not set. - /// - public string DisplayName { get; set; } - - /// - /// External account ID. - /// - public string AccountId { get; set; } - - /// - /// The identity provider that owns the external account. - /// - public ExternalAccountType AccountIdType { get; set; } - - /// - /// The POSIX timestamp for the time the user last logged in, or . - /// - public System.DateTimeOffset? LastLoginTime { get; set; } - - internal void Set(ExternalAccountInfoInternal? other) - { - if (other != null) - { - ProductUserId = other.Value.ProductUserId; - DisplayName = other.Value.DisplayName; - AccountId = other.Value.AccountId; - AccountIdType = other.Value.AccountIdType; - LastLoginTime = other.Value.LastLoginTime; - } - } - - public void Set(object other) - { - Set(other as ExternalAccountInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ExternalAccountInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_ProductUserId; - private System.IntPtr m_DisplayName; - private System.IntPtr m_AccountId; - private ExternalAccountType m_AccountIdType; - private long m_LastLoginTime; - - public ProductUserId ProductUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_ProductUserId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ProductUserId, value); - } - } - - public string DisplayName - { - get - { - string value; - Helper.TryMarshalGet(m_DisplayName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DisplayName, value); - } - } - - public string AccountId - { - get - { - string value; - Helper.TryMarshalGet(m_AccountId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AccountId, value); - } - } - - public ExternalAccountType AccountIdType - { - get - { - return m_AccountIdType; - } - - set - { - m_AccountIdType = value; - } - } - - public System.DateTimeOffset? LastLoginTime - { - get - { - System.DateTimeOffset? value; - Helper.TryMarshalGet(m_LastLoginTime, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LastLoginTime, value); - } - } - - public void Set(ExternalAccountInfo other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyindexApiLatest; - ProductUserId = other.ProductUserId; - DisplayName = other.DisplayName; - AccountId = other.AccountId; - AccountIdType = other.AccountIdType; - LastLoginTime = other.LastLoginTime; - } - } - - public void Set(object other) - { - Set(other as ExternalAccountInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ProductUserId); - Helper.TryMarshalDispose(ref m_DisplayName); - Helper.TryMarshalDispose(ref m_AccountId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Contains information about an external account linked with a Product User ID. + /// + public struct ExternalAccountInfo + { + /// + /// The Product User ID of the target user. + /// + public ProductUserId ProductUserId { get; set; } + + /// + /// Display name, can be null if not set. + /// + public Utf8String DisplayName { get; set; } + + /// + /// External account ID. + /// + /// May be set to an empty string if the AccountIdType of another user belongs + /// to different account system than the local user's authenticated account. + /// The availability of this field is dependent on account system specifics. + /// + public Utf8String AccountId { get; set; } + + /// + /// The identity provider that owns the external account. + /// + public ExternalAccountType AccountIdType { get; set; } + + /// + /// The POSIX timestamp for the time the user last logged in, or . + /// + public System.DateTimeOffset? LastLoginTime { get; set; } + + internal void Set(ref ExternalAccountInfoInternal other) + { + ProductUserId = other.ProductUserId; + DisplayName = other.DisplayName; + AccountId = other.AccountId; + AccountIdType = other.AccountIdType; + LastLoginTime = other.LastLoginTime; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ExternalAccountInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_ProductUserId; + private System.IntPtr m_DisplayName; + private System.IntPtr m_AccountId; + private ExternalAccountType m_AccountIdType; + private long m_LastLoginTime; + + public ProductUserId ProductUserId + { + get + { + ProductUserId value; + Helper.Get(m_ProductUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ProductUserId); + } + } + + public Utf8String DisplayName + { + get + { + Utf8String value; + Helper.Get(m_DisplayName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DisplayName); + } + } + + public Utf8String AccountId + { + get + { + Utf8String value; + Helper.Get(m_AccountId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AccountId); + } + } + + public ExternalAccountType AccountIdType + { + get + { + return m_AccountIdType; + } + + set + { + m_AccountIdType = value; + } + } + + public System.DateTimeOffset? LastLoginTime + { + get + { + System.DateTimeOffset? value; + Helper.Get(m_LastLoginTime, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LastLoginTime); + } + } + + public void Set(ref ExternalAccountInfo other) + { + m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyindexApiLatest; + ProductUserId = other.ProductUserId; + DisplayName = other.DisplayName; + AccountId = other.AccountId; + AccountIdType = other.AccountIdType; + LastLoginTime = other.LastLoginTime; + } + + public void Set(ref ExternalAccountInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyindexApiLatest; + ProductUserId = other.Value.ProductUserId; + DisplayName = other.Value.DisplayName; + AccountId = other.Value.AccountId; + AccountIdType = other.Value.AccountIdType; + LastLoginTime = other.Value.LastLoginTime; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ProductUserId); + Helper.Dispose(ref m_DisplayName); + Helper.Dispose(ref m_AccountId); + } + + public void Get(out ExternalAccountInfo output) + { + output = new ExternalAccountInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ExternalAccountInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ExternalAccountInfo.cs.meta deleted file mode 100644 index 642e2cd5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/ExternalAccountInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1054ad1459dc768488d8e7650f69c651 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetExternalAccountMappingsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetExternalAccountMappingsOptions.cs index 2a9f8834..b0a4984e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetExternalAccountMappingsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetExternalAccountMappingsOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class GetExternalAccountMappingsOptions - { - /// - /// The Product User ID of the existing, logged-in user who is querying account mappings. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// External auth service supplying the account IDs in string form. - /// - public ExternalAccountType AccountIdType { get; set; } - - /// - /// Target user to retrieve the mapping for, as an external account ID. - /// - public string TargetExternalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetExternalAccountMappingsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private ExternalAccountType m_AccountIdType; - private System.IntPtr m_TargetExternalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ExternalAccountType AccountIdType - { - set - { - m_AccountIdType = value; - } - } - - public string TargetExternalUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetExternalUserId, value); - } - } - - public void Set(GetExternalAccountMappingsOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.GetexternalaccountmappingApiLatest; - LocalUserId = other.LocalUserId; - AccountIdType = other.AccountIdType; - TargetExternalUserId = other.TargetExternalUserId; - } - } - - public void Set(object other) - { - Set(other as GetExternalAccountMappingsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetExternalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct GetExternalAccountMappingsOptions + { + /// + /// The Product User ID of the existing, logged-in user who is querying account mappings. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// External auth service supplying the account IDs in string form. + /// + public ExternalAccountType AccountIdType { get; set; } + + /// + /// Target user to retrieve the mapping for, as an external account ID. + /// + public Utf8String TargetExternalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetExternalAccountMappingsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private ExternalAccountType m_AccountIdType; + private System.IntPtr m_TargetExternalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ExternalAccountType AccountIdType + { + set + { + m_AccountIdType = value; + } + } + + public Utf8String TargetExternalUserId + { + set + { + Helper.Set(value, ref m_TargetExternalUserId); + } + } + + public void Set(ref GetExternalAccountMappingsOptions other) + { + m_ApiVersion = ConnectInterface.GetexternalaccountmappingApiLatest; + LocalUserId = other.LocalUserId; + AccountIdType = other.AccountIdType; + TargetExternalUserId = other.TargetExternalUserId; + } + + public void Set(ref GetExternalAccountMappingsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.GetexternalaccountmappingApiLatest; + LocalUserId = other.Value.LocalUserId; + AccountIdType = other.Value.AccountIdType; + TargetExternalUserId = other.Value.TargetExternalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetExternalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetExternalAccountMappingsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetExternalAccountMappingsOptions.cs.meta deleted file mode 100644 index 4ba0e1ad..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetExternalAccountMappingsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1314d7fab0cc59d4fa24c1dad0c53255 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserExternalAccountCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserExternalAccountCountOptions.cs index 572e4c8a..c827ae9c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserExternalAccountCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserExternalAccountCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class GetProductUserExternalAccountCountOptions - { - /// - /// The Product User ID to look for when getting external account info count from the cache. - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetProductUserExternalAccountCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(GetProductUserExternalAccountCountOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.GetproductuserexternalaccountcountApiLatest; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as GetProductUserExternalAccountCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct GetProductUserExternalAccountCountOptions + { + /// + /// The Product User ID to look for when getting external account info count from the cache. + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetProductUserExternalAccountCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref GetProductUserExternalAccountCountOptions other) + { + m_ApiVersion = ConnectInterface.GetproductuserexternalaccountcountApiLatest; + TargetUserId = other.TargetUserId; + } + + public void Set(ref GetProductUserExternalAccountCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.GetproductuserexternalaccountcountApiLatest; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserExternalAccountCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserExternalAccountCountOptions.cs.meta deleted file mode 100644 index 9247a0e9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserExternalAccountCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2ab1aeb6f9a14854595a44077065efb5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserIdMappingOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserIdMappingOptions.cs index 62ca9545..85baecd5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserIdMappingOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserIdMappingOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class GetProductUserIdMappingOptions - { - /// - /// The Product User ID of the existing, logged-in user that is querying account mappings. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// External auth service mapping to retrieve. - /// - public ExternalAccountType AccountIdType { get; set; } - - /// - /// The Product User ID of the user whose information is being requested. - /// - public ProductUserId TargetProductUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetProductUserIdMappingOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private ExternalAccountType m_AccountIdType; - private System.IntPtr m_TargetProductUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ExternalAccountType AccountIdType - { - set - { - m_AccountIdType = value; - } - } - - public ProductUserId TargetProductUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetProductUserId, value); - } - } - - public void Set(GetProductUserIdMappingOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.GetproductuseridmappingApiLatest; - LocalUserId = other.LocalUserId; - AccountIdType = other.AccountIdType; - TargetProductUserId = other.TargetProductUserId; - } - } - - public void Set(object other) - { - Set(other as GetProductUserIdMappingOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetProductUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct GetProductUserIdMappingOptions + { + /// + /// The Product User ID of the existing, logged-in user that is querying account mappings. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// External auth service mapping to retrieve. + /// + public ExternalAccountType AccountIdType { get; set; } + + /// + /// The Product User ID of the user whose information is being requested. + /// + public ProductUserId TargetProductUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetProductUserIdMappingOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private ExternalAccountType m_AccountIdType; + private System.IntPtr m_TargetProductUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ExternalAccountType AccountIdType + { + set + { + m_AccountIdType = value; + } + } + + public ProductUserId TargetProductUserId + { + set + { + Helper.Set(value, ref m_TargetProductUserId); + } + } + + public void Set(ref GetProductUserIdMappingOptions other) + { + m_ApiVersion = ConnectInterface.GetproductuseridmappingApiLatest; + LocalUserId = other.LocalUserId; + AccountIdType = other.AccountIdType; + TargetProductUserId = other.TargetProductUserId; + } + + public void Set(ref GetProductUserIdMappingOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.GetproductuseridmappingApiLatest; + LocalUserId = other.Value.LocalUserId; + AccountIdType = other.Value.AccountIdType; + TargetProductUserId = other.Value.TargetProductUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetProductUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserIdMappingOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserIdMappingOptions.cs.meta deleted file mode 100644 index 208da879..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/GetProductUserIdMappingOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3ea788f4af104934abdf833ecf1abeba -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/IdToken.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/IdToken.cs new file mode 100644 index 00000000..35a7515d --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/IdToken.cs @@ -0,0 +1,96 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// A structure that contains an ID token. + /// These structures are created by and must be passed to . + /// + public struct IdToken + { + /// + /// The Product User ID described by the ID token. + /// Use to populate this field when validating a received ID token. + /// + public ProductUserId ProductUserId { get; set; } + + /// + /// The ID token as a Json Web Token (JWT) string. + /// + public Utf8String JsonWebToken { get; set; } + + internal void Set(ref IdTokenInternal other) + { + ProductUserId = other.ProductUserId; + JsonWebToken = other.JsonWebToken; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct IdTokenInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_ProductUserId; + private System.IntPtr m_JsonWebToken; + + public ProductUserId ProductUserId + { + get + { + ProductUserId value; + Helper.Get(m_ProductUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ProductUserId); + } + } + + public Utf8String JsonWebToken + { + get + { + Utf8String value; + Helper.Get(m_JsonWebToken, out value); + return value; + } + + set + { + Helper.Set(value, ref m_JsonWebToken); + } + } + + public void Set(ref IdToken other) + { + m_ApiVersion = ConnectInterface.IdtokenApiLatest; + ProductUserId = other.ProductUserId; + JsonWebToken = other.JsonWebToken; + } + + public void Set(ref IdToken? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.IdtokenApiLatest; + ProductUserId = other.Value.ProductUserId; + JsonWebToken = other.Value.JsonWebToken; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ProductUserId); + Helper.Dispose(ref m_JsonWebToken); + } + + public void Get(out IdToken output) + { + output = new IdToken(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountCallbackInfo.cs index 8ccf3fe6..2bcd752b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Output parameters for the function. - /// - public class LinkAccountCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the existing, logged-in user whose account was linked (on success). - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(LinkAccountCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as LinkAccountCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LinkAccountCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Output parameters for the function. + /// + public struct LinkAccountCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the existing, logged-in user whose account was linked (on success). + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref LinkAccountCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LinkAccountCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref LinkAccountCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref LinkAccountCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out LinkAccountCallbackInfo output) + { + output = new LinkAccountCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountCallbackInfo.cs.meta deleted file mode 100644 index aa29bab9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 976f4c4fc27b79544988dda24fb6b848 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountOptions.cs index a6f8f82b..5cc51d67 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class LinkAccountOptions - { - /// - /// The existing logged in product user for which to link the external account described by the continuance token. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// Continuance token from previous call to . - /// - public ContinuanceToken ContinuanceToken { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LinkAccountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ContinuanceToken; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ContinuanceToken ContinuanceToken - { - set - { - Helper.TryMarshalSet(ref m_ContinuanceToken, value); - } - } - - public void Set(LinkAccountOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.LinkaccountApiLatest; - LocalUserId = other.LocalUserId; - ContinuanceToken = other.ContinuanceToken; - } - } - - public void Set(object other) - { - Set(other as LinkAccountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_ContinuanceToken); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct LinkAccountOptions + { + /// + /// The existing logged in product user for which to link the external account described by the continuance token. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Continuance token from previous call to . + /// + public ContinuanceToken ContinuanceToken { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LinkAccountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ContinuanceToken; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ContinuanceToken ContinuanceToken + { + set + { + Helper.Set(value, ref m_ContinuanceToken); + } + } + + public void Set(ref LinkAccountOptions other) + { + m_ApiVersion = ConnectInterface.LinkaccountApiLatest; + LocalUserId = other.LocalUserId; + ContinuanceToken = other.ContinuanceToken; + } + + public void Set(ref LinkAccountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.LinkaccountApiLatest; + LocalUserId = other.Value.LocalUserId; + ContinuanceToken = other.Value.ContinuanceToken; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ContinuanceToken); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountOptions.cs.meta deleted file mode 100644 index f73753f5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LinkAccountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1568e451f55aecc408298c2212192140 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginCallbackInfo.cs index dc39c5e9..eea1c5d1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginCallbackInfo.cs @@ -1,109 +1,153 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Output parameters for the function. - /// - public class LoginCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// If login was succesful, this is the Product User ID of the local player that logged in. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// If the user was not found with credentials passed into , - /// this continuance token can be passed to either - /// or to continue the flow. - /// - public ContinuanceToken ContinuanceToken { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(LoginCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - ContinuanceToken = other.Value.ContinuanceToken; - } - } - - public void Set(object other) - { - Set(other as LoginCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LoginCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ContinuanceToken; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public ContinuanceToken ContinuanceToken - { - get - { - ContinuanceToken value; - Helper.TryMarshalGet(m_ContinuanceToken, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Output parameters for the function. + /// + public struct LoginCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// If login was successful, this is the Product User ID of the local player that logged in. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// If the user was not found with credentials passed into , + /// this continuance token can be passed to either + /// or to continue the flow. + /// + public ContinuanceToken ContinuanceToken { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref LoginCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + ContinuanceToken = other.ContinuanceToken; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LoginCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ContinuanceToken; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ContinuanceToken ContinuanceToken + { + get + { + ContinuanceToken value; + Helper.Get(m_ContinuanceToken, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ContinuanceToken); + } + } + + public void Set(ref LoginCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + ContinuanceToken = other.ContinuanceToken; + } + + public void Set(ref LoginCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + ContinuanceToken = other.Value.ContinuanceToken; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ContinuanceToken); + } + + public void Get(out LoginCallbackInfo output) + { + output = new LoginCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginCallbackInfo.cs.meta deleted file mode 100644 index f4f72c69..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5bc43069aea53b94db5de821cc858604 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginOptions.cs index f3cf0d09..22484679 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginOptions.cs @@ -1,69 +1,71 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class LoginOptions - { - /// - /// Credentials specified for a given login method - /// - public Credentials Credentials { get; set; } - - /// - /// Additional non-authoritative information about the local user. - /// - /// This field is required to be set and only used when authenticating the user using Apple, Google, Nintendo Account, Nintendo Service Account, Oculus or the Device ID feature login. - /// When using other identity providers, set to NULL. - /// - public UserLoginInfo UserLoginInfo { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LoginOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Credentials; - private System.IntPtr m_UserLoginInfo; - - public Credentials Credentials - { - set - { - Helper.TryMarshalSet(ref m_Credentials, value); - } - } - - public UserLoginInfo UserLoginInfo - { - set - { - Helper.TryMarshalSet(ref m_UserLoginInfo, value); - } - } - - public void Set(LoginOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.LoginApiLatest; - Credentials = other.Credentials; - UserLoginInfo = other.UserLoginInfo; - } - } - - public void Set(object other) - { - Set(other as LoginOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Credentials); - Helper.TryMarshalDispose(ref m_UserLoginInfo); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct LoginOptions + { + /// + /// Credentials specified for a given login method + /// + public Credentials? Credentials { get; set; } + + /// + /// Additional non-authoritative information about the local user. + /// + /// This field is required to be set and only used when authenticating the user using Amazon, Apple, Google, Nintendo Account, Nintendo Service Account, Oculus or the Device ID feature login. + /// When using other identity providers, set to . + /// + public UserLoginInfo? UserLoginInfo { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LoginOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Credentials; + private System.IntPtr m_UserLoginInfo; + + public Credentials? Credentials + { + set + { + Helper.Set(ref value, ref m_Credentials); + } + } + + public UserLoginInfo? UserLoginInfo + { + set + { + Helper.Set(ref value, ref m_UserLoginInfo); + } + } + + public void Set(ref LoginOptions other) + { + m_ApiVersion = ConnectInterface.LoginApiLatest; + Credentials = other.Credentials; + UserLoginInfo = other.UserLoginInfo; + } + + public void Set(ref LoginOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.LoginApiLatest; + Credentials = other.Value.Credentials; + UserLoginInfo = other.Value.UserLoginInfo; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Credentials); + Helper.Dispose(ref m_UserLoginInfo); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginOptions.cs.meta deleted file mode 100644 index 6d1996d5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d15d84d4dec35e14489dcbaa4d6822ee -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginStatusChangedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginStatusChangedCallbackInfo.cs index a1cd9a57..c26c4cb3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginStatusChangedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginStatusChangedCallbackInfo.cs @@ -1,105 +1,148 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Output parameters for the function. - /// - public class LoginStatusChangedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local player whose status has changed. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The status prior to the change. - /// - public LoginStatus PreviousStatus { get; private set; } - - /// - /// The status at the time of the notification. - /// - public LoginStatus CurrentStatus { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(LoginStatusChangedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - PreviousStatus = other.Value.PreviousStatus; - CurrentStatus = other.Value.CurrentStatus; - } - } - - public void Set(object other) - { - Set(other as LoginStatusChangedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LoginStatusChangedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private LoginStatus m_PreviousStatus; - private LoginStatus m_CurrentStatus; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public LoginStatus PreviousStatus - { - get - { - return m_PreviousStatus; - } - } - - public LoginStatus CurrentStatus - { - get - { - return m_CurrentStatus; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Output parameters for the function. + /// + public struct LoginStatusChangedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local player whose status has changed. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The status prior to the change. + /// + public LoginStatus PreviousStatus { get; set; } + + /// + /// The status at the time of the notification. + /// + public LoginStatus CurrentStatus { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref LoginStatusChangedCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + PreviousStatus = other.PreviousStatus; + CurrentStatus = other.CurrentStatus; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LoginStatusChangedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private LoginStatus m_PreviousStatus; + private LoginStatus m_CurrentStatus; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public LoginStatus PreviousStatus + { + get + { + return m_PreviousStatus; + } + + set + { + m_PreviousStatus = value; + } + } + + public LoginStatus CurrentStatus + { + get + { + return m_CurrentStatus; + } + + set + { + m_CurrentStatus = value; + } + } + + public void Set(ref LoginStatusChangedCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + PreviousStatus = other.PreviousStatus; + CurrentStatus = other.CurrentStatus; + } + + public void Set(ref LoginStatusChangedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + PreviousStatus = other.Value.PreviousStatus; + CurrentStatus = other.Value.CurrentStatus; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out LoginStatusChangedCallbackInfo output) + { + output = new LoginStatusChangedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginStatusChangedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginStatusChangedCallbackInfo.cs.meta deleted file mode 100644 index 797e3b49..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/LoginStatusChangedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ab46084fb4a7ebc42aa246011192a334 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnAuthExpirationCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnAuthExpirationCallback.cs index b189df77..c3fdf345 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnAuthExpirationCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnAuthExpirationCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Function prototype definition for notifications that come from . - /// - /// A containing the output information and result. - public delegate void OnAuthExpirationCallback(AuthExpirationCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnAuthExpirationCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Function prototype definition for notifications that come from . + /// + /// A containing the output information and result. + public delegate void OnAuthExpirationCallback(ref AuthExpirationCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnAuthExpirationCallbackInternal(ref AuthExpirationCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnAuthExpirationCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnAuthExpirationCallback.cs.meta deleted file mode 100644 index 9153ec68..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnAuthExpirationCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b353a30cbebff4340a093b7157aa8179 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateDeviceIdCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateDeviceIdCallback.cs index b2ee6872..fce0c0b6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateDeviceIdCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateDeviceIdCallback.cs @@ -1,10 +1,10 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - public delegate void OnCreateDeviceIdCallback(CreateDeviceIdCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnCreateDeviceIdCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + public delegate void OnCreateDeviceIdCallback(ref CreateDeviceIdCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnCreateDeviceIdCallbackInternal(ref CreateDeviceIdCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateDeviceIdCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateDeviceIdCallback.cs.meta deleted file mode 100644 index d6c322f6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateDeviceIdCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 62322c91fd4c37c45ac124e166d2cd66 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateUserCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateUserCallback.cs index 0faf5bed..4f3c0a0a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateUserCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateUserCallback.cs @@ -1,10 +1,10 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - public delegate void OnCreateUserCallback(CreateUserCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnCreateUserCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + public delegate void OnCreateUserCallback(ref CreateUserCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnCreateUserCallbackInternal(ref CreateUserCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateUserCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateUserCallback.cs.meta deleted file mode 100644 index aa5e2937..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnCreateUserCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 80f0447118570c649aeace7c214d58d8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnDeleteDeviceIdCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnDeleteDeviceIdCallback.cs index 3880f4b6..99823e08 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnDeleteDeviceIdCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnDeleteDeviceIdCallback.cs @@ -1,10 +1,10 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - public delegate void OnDeleteDeviceIdCallback(DeleteDeviceIdCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnDeleteDeviceIdCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + public delegate void OnDeleteDeviceIdCallback(ref DeleteDeviceIdCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnDeleteDeviceIdCallbackInternal(ref DeleteDeviceIdCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnDeleteDeviceIdCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnDeleteDeviceIdCallback.cs.meta deleted file mode 100644 index 68af0c10..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnDeleteDeviceIdCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 24cd224ecbb77bc419d63d12137976c3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLinkAccountCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLinkAccountCallback.cs index bd65f2b6..7d301e1a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLinkAccountCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLinkAccountCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Function prototype definition for callbacks passed to . - /// - /// A containing the output information and result. - public delegate void OnLinkAccountCallback(LinkAccountCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLinkAccountCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Function prototype definition for callbacks passed to . + /// + /// A containing the output information and result. + public delegate void OnLinkAccountCallback(ref LinkAccountCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLinkAccountCallbackInternal(ref LinkAccountCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLinkAccountCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLinkAccountCallback.cs.meta deleted file mode 100644 index 68c48c3c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLinkAccountCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0c974e78494bf62429d64d035f17ba3e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginCallback.cs index ee7ce7a7..00fc945d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Function prototype definition for callbacks passed to . - /// - /// A containing the output information and result. - public delegate void OnLoginCallback(LoginCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLoginCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Function prototype definition for callbacks passed to . + /// + /// A containing the output information and result. + public delegate void OnLoginCallback(ref LoginCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLoginCallbackInternal(ref LoginCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginCallback.cs.meta deleted file mode 100644 index 27c5a0e4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8ee20594b02ad9b44844e9cf1780fc0b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginStatusChangedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginStatusChangedCallback.cs index b99c6992..4bde6366 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginStatusChangedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginStatusChangedCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Function prototype definition for notifications that come from . - /// - /// A containing the output information and result. - public delegate void OnLoginStatusChangedCallback(LoginStatusChangedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLoginStatusChangedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Function prototype definition for notifications that come from . + /// + /// A containing the output information and result. + public delegate void OnLoginStatusChangedCallback(ref LoginStatusChangedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLoginStatusChangedCallbackInternal(ref LoginStatusChangedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginStatusChangedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginStatusChangedCallback.cs.meta deleted file mode 100644 index 630b6d90..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnLoginStatusChangedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f08e8a95fe8a33d488605934686239ba -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryExternalAccountMappingsCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryExternalAccountMappingsCallback.cs index 727dad2c..f137e263 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryExternalAccountMappingsCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryExternalAccountMappingsCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Function prototype definition for callbacks passed to . - /// - /// A containing the output information and result. - public delegate void OnQueryExternalAccountMappingsCallback(QueryExternalAccountMappingsCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryExternalAccountMappingsCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Function prototype definition for callbacks passed to . + /// + /// A containing the output information and result. + public delegate void OnQueryExternalAccountMappingsCallback(ref QueryExternalAccountMappingsCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryExternalAccountMappingsCallbackInternal(ref QueryExternalAccountMappingsCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryExternalAccountMappingsCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryExternalAccountMappingsCallback.cs.meta deleted file mode 100644 index ff0cdc47..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryExternalAccountMappingsCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: de1cdeffcd33f4e4e876d4297ea12852 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryProductUserIdMappingsCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryProductUserIdMappingsCallback.cs index 0a23737a..59bf947e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryProductUserIdMappingsCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryProductUserIdMappingsCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Function prototype definition for callbacks passed to . - /// - /// A containing the output information and result. - public delegate void OnQueryProductUserIdMappingsCallback(QueryProductUserIdMappingsCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryProductUserIdMappingsCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Function prototype definition for callbacks passed to . + /// + /// A containing the output information and result. + public delegate void OnQueryProductUserIdMappingsCallback(ref QueryProductUserIdMappingsCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryProductUserIdMappingsCallbackInternal(ref QueryProductUserIdMappingsCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryProductUserIdMappingsCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryProductUserIdMappingsCallback.cs.meta deleted file mode 100644 index 2a6faaca..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnQueryProductUserIdMappingsCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4d73b4b65b646a944a1dbd0a4eb4d031 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnTransferDeviceIdAccountCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnTransferDeviceIdAccountCallback.cs index 7c10d897..f6e0808a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnTransferDeviceIdAccountCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnTransferDeviceIdAccountCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Function prototype definition for callbacks passed to . - /// - /// A containing the output information and result. - public delegate void OnTransferDeviceIdAccountCallback(TransferDeviceIdAccountCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnTransferDeviceIdAccountCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Function prototype definition for callbacks passed to . + /// + /// A containing the output information and result. + public delegate void OnTransferDeviceIdAccountCallback(ref TransferDeviceIdAccountCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnTransferDeviceIdAccountCallbackInternal(ref TransferDeviceIdAccountCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnTransferDeviceIdAccountCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnTransferDeviceIdAccountCallback.cs.meta deleted file mode 100644 index b9c4cf97..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnTransferDeviceIdAccountCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a0868717dac232b47b9606bdda190ece -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnUnlinkAccountCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnUnlinkAccountCallback.cs index d124730e..359ae108 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnUnlinkAccountCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnUnlinkAccountCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Function prototype definition for callbacks passed to . - /// - /// A containing the output information and result - public delegate void OnUnlinkAccountCallback(UnlinkAccountCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnUnlinkAccountCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Function prototype definition for callbacks passed to . + /// + /// A containing the output information and result + public delegate void OnUnlinkAccountCallback(ref UnlinkAccountCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnUnlinkAccountCallbackInternal(ref UnlinkAccountCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnUnlinkAccountCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnUnlinkAccountCallback.cs.meta deleted file mode 100644 index fdde9eac..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnUnlinkAccountCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d0cb92edf89cc3c44ad615a1f5d96f42 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnVerifyIdTokenCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnVerifyIdTokenCallback.cs new file mode 100644 index 00000000..5a0b2aa5 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/OnVerifyIdTokenCallback.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Function prototype definition for callbacks passed into . + /// + /// A containing the output information and result. + public delegate void OnVerifyIdTokenCallback(ref VerifyIdTokenCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnVerifyIdTokenCallbackInternal(ref VerifyIdTokenCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsCallbackInfo.cs index b1d7a307..04203d24 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Output parameters for the function. - /// - public class QueryExternalAccountMappingsCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the existing, logged-in user who made the request. - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryExternalAccountMappingsCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryExternalAccountMappingsCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryExternalAccountMappingsCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Output parameters for the function. + /// + public struct QueryExternalAccountMappingsCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the existing, logged-in user who made the request. + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryExternalAccountMappingsCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryExternalAccountMappingsCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryExternalAccountMappingsCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryExternalAccountMappingsCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out QueryExternalAccountMappingsCallbackInfo output) + { + output = new QueryExternalAccountMappingsCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsCallbackInfo.cs.meta deleted file mode 100644 index 6efa32bb..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6bcb8f53683418f4f86949bbf173add9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsOptions.cs index 7ea0509a..91094c86 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsOptions.cs @@ -1,82 +1,85 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class QueryExternalAccountMappingsOptions - { - /// - /// The Product User ID of the existing, logged-in user who is querying account mappings. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// External auth service supplying the account IDs in string form. - /// - public ExternalAccountType AccountIdType { get; set; } - - /// - /// An array of external account IDs to map to the product user ID representation. - /// - public string[] ExternalAccountIds { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryExternalAccountMappingsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private ExternalAccountType m_AccountIdType; - private System.IntPtr m_ExternalAccountIds; - private uint m_ExternalAccountIdCount; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ExternalAccountType AccountIdType - { - set - { - m_AccountIdType = value; - } - } - - public string[] ExternalAccountIds - { - set - { - Helper.TryMarshalSet(ref m_ExternalAccountIds, value, out m_ExternalAccountIdCount, true); - } - } - - public void Set(QueryExternalAccountMappingsOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.QueryexternalaccountmappingsApiLatest; - LocalUserId = other.LocalUserId; - AccountIdType = other.AccountIdType; - ExternalAccountIds = other.ExternalAccountIds; - } - } - - public void Set(object other) - { - Set(other as QueryExternalAccountMappingsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_ExternalAccountIds); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct QueryExternalAccountMappingsOptions + { + /// + /// The Product User ID of the existing, logged-in user who is querying account mappings. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// External auth service supplying the account IDs in string form. + /// + public ExternalAccountType AccountIdType { get; set; } + + /// + /// An array of external account IDs to map to the product user ID representation. + /// + public Utf8String[] ExternalAccountIds { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryExternalAccountMappingsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private ExternalAccountType m_AccountIdType; + private System.IntPtr m_ExternalAccountIds; + private uint m_ExternalAccountIdCount; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ExternalAccountType AccountIdType + { + set + { + m_AccountIdType = value; + } + } + + public Utf8String[] ExternalAccountIds + { + set + { + Helper.Set(value, ref m_ExternalAccountIds, true, out m_ExternalAccountIdCount); + } + } + + public void Set(ref QueryExternalAccountMappingsOptions other) + { + m_ApiVersion = ConnectInterface.QueryexternalaccountmappingsApiLatest; + LocalUserId = other.LocalUserId; + AccountIdType = other.AccountIdType; + ExternalAccountIds = other.ExternalAccountIds; + } + + public void Set(ref QueryExternalAccountMappingsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.QueryexternalaccountmappingsApiLatest; + LocalUserId = other.Value.LocalUserId; + AccountIdType = other.Value.AccountIdType; + ExternalAccountIds = other.Value.ExternalAccountIds; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ExternalAccountIds); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsOptions.cs.meta deleted file mode 100644 index de43c00b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryExternalAccountMappingsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7673e9d366bf0bc458e4fd1948ae3f5e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsCallbackInfo.cs index 2cf83a82..4fb277b8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Output parameters for the function. - /// - public class QueryProductUserIdMappingsCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the existing, logged-in user who made the request. - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryProductUserIdMappingsCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryProductUserIdMappingsCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryProductUserIdMappingsCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Output parameters for the function. + /// + public struct QueryProductUserIdMappingsCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// The local Product User ID that was passed with the input options. + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryProductUserIdMappingsCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryProductUserIdMappingsCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryProductUserIdMappingsCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryProductUserIdMappingsCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out QueryProductUserIdMappingsCallbackInfo output) + { + output = new QueryProductUserIdMappingsCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsCallbackInfo.cs.meta deleted file mode 100644 index bc11207f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 082fda5854845fd4488c4ca0ada566ad -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsOptions.cs index 9f213548..d4f850df 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsOptions.cs @@ -1,82 +1,86 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the function. - /// - public class QueryProductUserIdMappingsOptions - { - /// - /// The Product User ID of the existing, logged-in user who is querying account mappings. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// Deprecated - all external mappings are included in this call, it is no longer necessary to specify this value. - /// - public ExternalAccountType AccountIdType_DEPRECATED { get; set; } - - /// - /// An array of Product User IDs to query for the given external account representation. - /// - public ProductUserId[] ProductUserIds { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryProductUserIdMappingsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private ExternalAccountType m_AccountIdType_DEPRECATED; - private System.IntPtr m_ProductUserIds; - private uint m_ProductUserIdCount; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ExternalAccountType AccountIdType_DEPRECATED - { - set - { - m_AccountIdType_DEPRECATED = value; - } - } - - public ProductUserId[] ProductUserIds - { - set - { - Helper.TryMarshalSet(ref m_ProductUserIds, value, out m_ProductUserIdCount); - } - } - - public void Set(QueryProductUserIdMappingsOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.QueryproductuseridmappingsApiLatest; - LocalUserId = other.LocalUserId; - AccountIdType_DEPRECATED = other.AccountIdType_DEPRECATED; - ProductUserIds = other.ProductUserIds; - } - } - - public void Set(object other) - { - Set(other as QueryProductUserIdMappingsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_ProductUserIds); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct QueryProductUserIdMappingsOptions + { + /// + /// Game Clients set this field to the Product User ID of the local authenticated user querying account mappings. + /// Game Servers set this field to . Usage is allowed given that the configured client policy for server credentials permit it. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Deprecated - all external mappings are included in this call, it is no longer necessary to specify this value. + /// + public ExternalAccountType AccountIdType_DEPRECATED { get; set; } + + /// + /// An array of Product User IDs to query for the given external account representation. + /// + public ProductUserId[] ProductUserIds { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryProductUserIdMappingsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private ExternalAccountType m_AccountIdType_DEPRECATED; + private System.IntPtr m_ProductUserIds; + private uint m_ProductUserIdCount; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ExternalAccountType AccountIdType_DEPRECATED + { + set + { + m_AccountIdType_DEPRECATED = value; + } + } + + public ProductUserId[] ProductUserIds + { + set + { + Helper.Set(value, ref m_ProductUserIds, out m_ProductUserIdCount); + } + } + + public void Set(ref QueryProductUserIdMappingsOptions other) + { + m_ApiVersion = ConnectInterface.QueryproductuseridmappingsApiLatest; + LocalUserId = other.LocalUserId; + AccountIdType_DEPRECATED = other.AccountIdType_DEPRECATED; + ProductUserIds = other.ProductUserIds; + } + + public void Set(ref QueryProductUserIdMappingsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.QueryproductuseridmappingsApiLatest; + LocalUserId = other.Value.LocalUserId; + AccountIdType_DEPRECATED = other.Value.AccountIdType_DEPRECATED; + ProductUserIds = other.Value.ProductUserIds; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ProductUserIds); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsOptions.cs.meta deleted file mode 100644 index 2e339382..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/QueryProductUserIdMappingsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e3460b8ddc134b24fb3c6a46c23180e4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountCallbackInfo.cs index 2678bd97..8acd5954 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountCallbackInfo.cs @@ -1,95 +1,131 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Output parameters for the Function. - /// - public class TransferDeviceIdAccountCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// The ProductUserIdToPreserve that was passed to the original call. - /// - /// On successful operation, this will have a valid authentication session - /// and the other value has been discarded and lost forever. - /// - /// The application should remove any registered notification callbacks for the discarded as obsolete. - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(TransferDeviceIdAccountCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as TransferDeviceIdAccountCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct TransferDeviceIdAccountCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Output parameters for the Function. + /// + public struct TransferDeviceIdAccountCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// The ProductUserIdToPreserve that was passed to the original call. + /// + /// On successful operation, this will have a valid authentication session + /// and the other value has been discarded and lost forever. + /// + /// The application should remove any registered notification callbacks for the discarded as obsolete. + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref TransferDeviceIdAccountCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct TransferDeviceIdAccountCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref TransferDeviceIdAccountCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref TransferDeviceIdAccountCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out TransferDeviceIdAccountCallbackInfo output) + { + output = new TransferDeviceIdAccountCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountCallbackInfo.cs.meta deleted file mode 100644 index dddbb717..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5e5d2419888f2954f95702d9fac2ece7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountOptions.cs index 5db38b72..5dfb84c4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountOptions.cs @@ -1,91 +1,94 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the Function. - /// - public class TransferDeviceIdAccountOptions - { - /// - /// The primary product user id, currently logged in, that is already associated with a real external user account (such as Epic Games, PlayStation(TM)Network, Xbox Live and other). - /// - /// The account linking keychain that owns this product user will be preserved and receive - /// the Device ID login credentials under it. - /// - public ProductUserId PrimaryLocalUserId { get; set; } - - /// - /// The product user id, currently logged in, that has been originally created using the anonymous local Device ID login type, - /// and whose Device ID login will be transferred to the keychain of the PrimaryLocalUserId. - /// - public ProductUserId LocalDeviceUserId { get; set; } - - /// - /// Specifies which (i.e. game progression) will be preserved in the operation. - /// - /// After a successful transfer operation, subsequent logins using the same external account or - /// the same local Device ID login will return user session for the ProductUserIdToPreserve. - /// - /// Set to either PrimaryLocalUserId or LocalDeviceUserId. - /// - public ProductUserId ProductUserIdToPreserve { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct TransferDeviceIdAccountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_PrimaryLocalUserId; - private System.IntPtr m_LocalDeviceUserId; - private System.IntPtr m_ProductUserIdToPreserve; - - public ProductUserId PrimaryLocalUserId - { - set - { - Helper.TryMarshalSet(ref m_PrimaryLocalUserId, value); - } - } - - public ProductUserId LocalDeviceUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalDeviceUserId, value); - } - } - - public ProductUserId ProductUserIdToPreserve - { - set - { - Helper.TryMarshalSet(ref m_ProductUserIdToPreserve, value); - } - } - - public void Set(TransferDeviceIdAccountOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.TransferdeviceidaccountApiLatest; - PrimaryLocalUserId = other.PrimaryLocalUserId; - LocalDeviceUserId = other.LocalDeviceUserId; - ProductUserIdToPreserve = other.ProductUserIdToPreserve; - } - } - - public void Set(object other) - { - Set(other as TransferDeviceIdAccountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_PrimaryLocalUserId); - Helper.TryMarshalDispose(ref m_LocalDeviceUserId); - Helper.TryMarshalDispose(ref m_ProductUserIdToPreserve); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the Function. + /// + public struct TransferDeviceIdAccountOptions + { + /// + /// The primary product user id, currently logged in, that is already associated with a real external user account (such as Epic Games, PlayStation(TM)Network, Xbox Live and other). + /// + /// The account linking keychain that owns this product user will be preserved and receive + /// the Device ID login credentials under it. + /// + public ProductUserId PrimaryLocalUserId { get; set; } + + /// + /// The product user id, currently logged in, that has been originally created using the anonymous local Device ID login type, + /// and whose Device ID login will be transferred to the keychain of the PrimaryLocalUserId. + /// + public ProductUserId LocalDeviceUserId { get; set; } + + /// + /// Specifies which (i.e. game progression) will be preserved in the operation. + /// + /// After a successful transfer operation, subsequent logins using the same external account or + /// the same local Device ID login will return user session for the ProductUserIdToPreserve. + /// + /// Set to either PrimaryLocalUserId or LocalDeviceUserId. + /// + public ProductUserId ProductUserIdToPreserve { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct TransferDeviceIdAccountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_PrimaryLocalUserId; + private System.IntPtr m_LocalDeviceUserId; + private System.IntPtr m_ProductUserIdToPreserve; + + public ProductUserId PrimaryLocalUserId + { + set + { + Helper.Set(value, ref m_PrimaryLocalUserId); + } + } + + public ProductUserId LocalDeviceUserId + { + set + { + Helper.Set(value, ref m_LocalDeviceUserId); + } + } + + public ProductUserId ProductUserIdToPreserve + { + set + { + Helper.Set(value, ref m_ProductUserIdToPreserve); + } + } + + public void Set(ref TransferDeviceIdAccountOptions other) + { + m_ApiVersion = ConnectInterface.TransferdeviceidaccountApiLatest; + PrimaryLocalUserId = other.PrimaryLocalUserId; + LocalDeviceUserId = other.LocalDeviceUserId; + ProductUserIdToPreserve = other.ProductUserIdToPreserve; + } + + public void Set(ref TransferDeviceIdAccountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.TransferdeviceidaccountApiLatest; + PrimaryLocalUserId = other.Value.PrimaryLocalUserId; + LocalDeviceUserId = other.Value.LocalDeviceUserId; + ProductUserIdToPreserve = other.Value.ProductUserIdToPreserve; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_PrimaryLocalUserId); + Helper.Dispose(ref m_LocalDeviceUserId); + Helper.Dispose(ref m_ProductUserIdToPreserve); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountOptions.cs.meta deleted file mode 100644 index f5a14bca..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/TransferDeviceIdAccountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 64510cb7cde4a804f87a6e634572103f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountCallbackInfo.cs index 07ad15a3..ef28e6a8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountCallbackInfo.cs @@ -1,93 +1,129 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Output parameters for the Function. - /// - public class UnlinkAccountCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// The product user that was subject for the unlinking operation. - /// - /// On a successful operation, the local authentication session for the product user will have been invalidated. - /// As such, the LocalUserId value will no longer be valid in any context unless the user is logged into it again. - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(UnlinkAccountCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as UnlinkAccountCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UnlinkAccountCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Output parameters for the Function. + /// + public struct UnlinkAccountCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// The product user that was subject for the unlinking operation. + /// + /// On a successful operation, the local authentication session for the product user will have been invalidated. + /// As such, the LocalUserId value will no longer be valid in any context unless the user is logged into it again. + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref UnlinkAccountCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UnlinkAccountCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref UnlinkAccountCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref UnlinkAccountCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out UnlinkAccountCallbackInfo output) + { + output = new UnlinkAccountCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountCallbackInfo.cs.meta deleted file mode 100644 index 8a245165..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 04e0bd8a98d526e4a8d43a352389de53 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountOptions.cs index a90e2915..d52a2452 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountOptions.cs @@ -1,53 +1,54 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Input parameters for the Function. - /// - public class UnlinkAccountOptions - { - /// - /// Existing logged in product user that is subject for the unlinking operation. - /// The external account that was used to login to the product user will be unlinked from the owning keychain. - /// - /// On a successful operation, the product user will be logged out as the external account used to authenticate the user was unlinked from the owning keychain. - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UnlinkAccountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(UnlinkAccountOptions other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.UnlinkaccountApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as UnlinkAccountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the Function. + /// + public struct UnlinkAccountOptions + { + /// + /// Existing logged in product user that is subject for the unlinking operation. + /// The external account that was used to login to the product user will be unlinked from the owning keychain. + /// + /// On a successful operation, the product user will be logged out as the external account used to authenticate the user was unlinked from the owning keychain. + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UnlinkAccountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref UnlinkAccountOptions other) + { + m_ApiVersion = ConnectInterface.UnlinkaccountApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref UnlinkAccountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.UnlinkaccountApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountOptions.cs.meta deleted file mode 100644 index 191e4ef1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UnlinkAccountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 97117a43ffc28cf46b707b9d63b52ba7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UserLoginInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UserLoginInfo.cs index 0bd2812c..8dea8469 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UserLoginInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UserLoginInfo.cs @@ -1,75 +1,74 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Connect -{ - /// - /// Additional information about the local user. - /// - /// As the information passed here is client-controlled and not part of the user authentication tokens, - /// it is only treated as non-authoritative informational data to be used by some of the feature services. - /// For example displaying player names in Leaderboards rankings. - /// - public class UserLoginInfo : ISettable - { - /// - /// The user's display name on the identity provider systems as UTF-8 encoded null-terminated string. - /// The length of the name can be at maximum up to bytes. - /// - public string DisplayName { get; set; } - - internal void Set(UserLoginInfoInternal? other) - { - if (other != null) - { - DisplayName = other.Value.DisplayName; - } - } - - public void Set(object other) - { - Set(other as UserLoginInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UserLoginInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_DisplayName; - - public string DisplayName - { - get - { - string value; - Helper.TryMarshalGet(m_DisplayName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DisplayName, value); - } - } - - public void Set(UserLoginInfo other) - { - if (other != null) - { - m_ApiVersion = ConnectInterface.UserlogininfoApiLatest; - DisplayName = other.DisplayName; - } - } - - public void Set(object other) - { - Set(other as UserLoginInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_DisplayName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Additional information about the local user. + /// + /// As the information passed here is client-controlled and not part of the user authentication tokens, + /// it is only treated as non-authoritative informational data to be used by some of the feature services. + /// For example displaying player names in Leaderboards rankings. + /// + public struct UserLoginInfo + { + /// + /// The user's display name on the identity provider systems as UTF-8 encoded null-terminated string. + /// The length of the name can be at maximum up to bytes. + /// + public Utf8String DisplayName { get; set; } + + internal void Set(ref UserLoginInfoInternal other) + { + DisplayName = other.DisplayName; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UserLoginInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_DisplayName; + + public Utf8String DisplayName + { + get + { + Utf8String value; + Helper.Get(m_DisplayName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DisplayName); + } + } + + public void Set(ref UserLoginInfo other) + { + m_ApiVersion = ConnectInterface.UserlogininfoApiLatest; + DisplayName = other.DisplayName; + } + + public void Set(ref UserLoginInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.UserlogininfoApiLatest; + DisplayName = other.Value.DisplayName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_DisplayName); + } + + public void Get(out UserLoginInfo output) + { + output = new UserLoginInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UserLoginInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UserLoginInfo.cs.meta deleted file mode 100644 index a282aa83..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/UserLoginInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f84494e437e96194680213e568befbe5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/VerifyIdTokenCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/VerifyIdTokenCallbackInfo.cs new file mode 100644 index 00000000..75308950 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/VerifyIdTokenCallbackInfo.cs @@ -0,0 +1,360 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Output parameters for the Function. + /// + public struct VerifyIdTokenCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Product User ID associated with the ID token. + /// + public ProductUserId ProductUserId { get; set; } + + /// + /// Flag set to indicate whether account information is available. + /// Applications must always first check this value to be set before attempting + /// to read the AccountType, AccountId, Platform and DeviceType fields. + /// + /// This flag is always false for users that authenticated using EOS Connect Device ID. + /// + public bool IsAccountInfoPresent { get; set; } + + /// + /// The identity provider that the user authenticated with to EOS Connect. + /// + /// If bIsAccountInfoPresent is set, this field describes the external account type. + /// + public ExternalAccountType AccountIdType { get; set; } + + /// + /// The external account ID of the authenticated user. + /// + /// This value may be set to an empty string. + /// + public Utf8String AccountId { get; set; } + + /// + /// Platform that the user is connected from. + /// + /// This value may be set to an empty string. + /// + public Utf8String Platform { get; set; } + + /// + /// Identifies the device type that the user is connected from. + /// Can be used to securely verify that the user is connected through a real Console device. + /// + /// This value may be set to an empty string. + /// + public Utf8String DeviceType { get; set; } + + /// + /// Client ID of the authorized client. + /// + public Utf8String ClientId { get; set; } + + /// + /// Product ID. + /// + public Utf8String ProductId { get; set; } + + /// + /// Sandbox ID. + /// + public Utf8String SandboxId { get; set; } + + /// + /// Deployment ID. + /// + public Utf8String DeploymentId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref VerifyIdTokenCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + ProductUserId = other.ProductUserId; + IsAccountInfoPresent = other.IsAccountInfoPresent; + AccountIdType = other.AccountIdType; + AccountId = other.AccountId; + Platform = other.Platform; + DeviceType = other.DeviceType; + ClientId = other.ClientId; + ProductId = other.ProductId; + SandboxId = other.SandboxId; + DeploymentId = other.DeploymentId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct VerifyIdTokenCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_ProductUserId; + private int m_IsAccountInfoPresent; + private ExternalAccountType m_AccountIdType; + private System.IntPtr m_AccountId; + private System.IntPtr m_Platform; + private System.IntPtr m_DeviceType; + private System.IntPtr m_ClientId; + private System.IntPtr m_ProductId; + private System.IntPtr m_SandboxId; + private System.IntPtr m_DeploymentId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId ProductUserId + { + get + { + ProductUserId value; + Helper.Get(m_ProductUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ProductUserId); + } + } + + public bool IsAccountInfoPresent + { + get + { + bool value; + Helper.Get(m_IsAccountInfoPresent, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IsAccountInfoPresent); + } + } + + public ExternalAccountType AccountIdType + { + get + { + return m_AccountIdType; + } + + set + { + m_AccountIdType = value; + } + } + + public Utf8String AccountId + { + get + { + Utf8String value; + Helper.Get(m_AccountId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AccountId); + } + } + + public Utf8String Platform + { + get + { + Utf8String value; + Helper.Get(m_Platform, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Platform); + } + } + + public Utf8String DeviceType + { + get + { + Utf8String value; + Helper.Get(m_DeviceType, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DeviceType); + } + } + + public Utf8String ClientId + { + get + { + Utf8String value; + Helper.Get(m_ClientId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientId); + } + } + + public Utf8String ProductId + { + get + { + Utf8String value; + Helper.Get(m_ProductId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ProductId); + } + } + + public Utf8String SandboxId + { + get + { + Utf8String value; + Helper.Get(m_SandboxId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_SandboxId); + } + } + + public Utf8String DeploymentId + { + get + { + Utf8String value; + Helper.Get(m_DeploymentId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DeploymentId); + } + } + + public void Set(ref VerifyIdTokenCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + ProductUserId = other.ProductUserId; + IsAccountInfoPresent = other.IsAccountInfoPresent; + AccountIdType = other.AccountIdType; + AccountId = other.AccountId; + Platform = other.Platform; + DeviceType = other.DeviceType; + ClientId = other.ClientId; + ProductId = other.ProductId; + SandboxId = other.SandboxId; + DeploymentId = other.DeploymentId; + } + + public void Set(ref VerifyIdTokenCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + ProductUserId = other.Value.ProductUserId; + IsAccountInfoPresent = other.Value.IsAccountInfoPresent; + AccountIdType = other.Value.AccountIdType; + AccountId = other.Value.AccountId; + Platform = other.Value.Platform; + DeviceType = other.Value.DeviceType; + ClientId = other.Value.ClientId; + ProductId = other.Value.ProductId; + SandboxId = other.Value.SandboxId; + DeploymentId = other.Value.DeploymentId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_ProductUserId); + Helper.Dispose(ref m_AccountId); + Helper.Dispose(ref m_Platform); + Helper.Dispose(ref m_DeviceType); + Helper.Dispose(ref m_ClientId); + Helper.Dispose(ref m_ProductId); + Helper.Dispose(ref m_SandboxId); + Helper.Dispose(ref m_DeploymentId); + } + + public void Get(out VerifyIdTokenCallbackInfo output) + { + output = new VerifyIdTokenCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/VerifyIdTokenOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/VerifyIdTokenOptions.cs new file mode 100644 index 00000000..13c3be39 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Connect/VerifyIdTokenOptions.cs @@ -0,0 +1,52 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Connect +{ + /// + /// Input parameters for the function. + /// + public struct VerifyIdTokenOptions + { + /// + /// The ID token to verify. + /// Use to populate the ProductUserId field of this struct. + /// + public IdToken? IdToken { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct VerifyIdTokenOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_IdToken; + + public IdToken? IdToken + { + set + { + Helper.Set(ref value, ref m_IdToken); + } + } + + public void Set(ref VerifyIdTokenOptions other) + { + m_ApiVersion = ConnectInterface.VerifyidtokenApiLatest; + IdToken = other.IdToken; + } + + public void Set(ref VerifyIdTokenOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ConnectInterface.VerifyidtokenApiLatest; + IdToken = other.Value.IdToken; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_IdToken); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ContinuanceToken.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ContinuanceToken.cs index 0b2fb77b..50c14008 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ContinuanceToken.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ContinuanceToken.cs @@ -1,57 +1,78 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices -{ - public sealed partial class ContinuanceToken : Handle - { - public ContinuanceToken() - { - } - - public ContinuanceToken(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// Retrieve a null-terminated stringified continuance token from an . - /// - /// To get the required buffer size, call once with OutBuffer set to NULL, InOutBufferLength will contain the buffer size needed. - /// Call again with valid params to get the stringified continuance token which will only contain UTF8-encoded printable characters (excluding the null-terminator). - /// - /// The continuance token for which to retrieve the stringified version. - /// The buffer into which the character data should be written - /// - /// The size of the OutBuffer in characters. - /// The input buffer should include enough space to be null-terminated. - /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer including the null termination character. - /// - /// - /// An that indicates whether the continuance token string was copied into the OutBuffer. - /// - The OutBuffer was filled, and InOutBufferLength contains the number of characters copied into OutBuffer including the null terminator. - /// - Either OutBuffer or InOutBufferLength were passed as NULL parameters. - /// - The AccountId is invalid and cannot be stringified. - /// - The OutBuffer is not large enough to receive the continuance token string. InOutBufferLength contains the required minimum length to perform the operation successfully. - /// - public Result ToString(out string outBuffer) - { - System.IntPtr outBufferAddress = System.IntPtr.Zero; - int inOutBufferLength = 1024; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_ContinuanceToken_ToString(InnerHandle, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - public override string ToString() - { - string funcResult; - ToString(out funcResult); - return funcResult; - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices +{ + public sealed partial class ContinuanceToken : Handle + { + public ContinuanceToken() + { + } + + public ContinuanceToken(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// Retrieve a null-terminated stringified continuance token from an . + /// + /// To get the required buffer size, call once with OutBuffer set to , InOutBufferLength will contain the buffer size needed. + /// Call again with valid params to get the stringified continuance token which will only contain UTF8-encoded printable characters as well as the null-terminator. + /// + /// The continuance token for which to retrieve the stringified version. + /// The buffer into which the character data should be written + /// + /// The size of the OutBuffer in characters. + /// The input buffer should include enough space to be null-terminated. + /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer including the null-termination character. + /// + /// + /// An that indicates whether the continuance token string was copied into the OutBuffer. + /// - The OutBuffer was filled, and InOutBufferLength contains the number of characters copied into OutBuffer including the null-terminator. + /// - Either OutBuffer or InOutBufferLength were passed as parameters. + /// - The AccountId is invalid and cannot be stringified. + /// - The OutBuffer is not large enough to receive the continuance token string. InOutBufferLength contains the required minimum length to perform the operation successfully. + /// + public Result ToString(out Utf8String outBuffer) + { + int inOutBufferLength = 1024; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_ContinuanceToken_ToString(InnerHandle, outBufferAddress, ref inOutBufferLength); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + public override string ToString() + { + Utf8String funcResult; + ToString(out funcResult); + return funcResult; + } + + public override string ToString(string format, System.IFormatProvider formatProvider) + { + if (format != null) + { + return string.Format(format, ToString()); + } + + return ToString(); + } + + public static explicit operator Utf8String(ContinuanceToken value) + { + Utf8String result = null; + + if (value != null) + { + value.ToString(out result); + } + + return result; + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ContinuanceToken.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ContinuanceToken.cs.meta deleted file mode 100644 index fafc5d95..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ContinuanceToken.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7b41fd6fa0804dc4aadb5acb70184db8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/AddNotifyCustomInviteAcceptedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/AddNotifyCustomInviteAcceptedOptions.cs new file mode 100644 index 00000000..e29b74fa --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/AddNotifyCustomInviteAcceptedOptions.cs @@ -0,0 +1,32 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + public struct AddNotifyCustomInviteAcceptedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyCustomInviteAcceptedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyCustomInviteAcceptedOptions other) + { + m_ApiVersion = CustomInvitesInterface.AddnotifycustominviteacceptedApiLatest; + } + + public void Set(ref AddNotifyCustomInviteAcceptedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = CustomInvitesInterface.AddnotifycustominviteacceptedApiLatest; + } + } + + public void Dispose() + { + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/AddNotifyCustomInviteReceivedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/AddNotifyCustomInviteReceivedOptions.cs new file mode 100644 index 00000000..7f64617c --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/AddNotifyCustomInviteReceivedOptions.cs @@ -0,0 +1,32 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + public struct AddNotifyCustomInviteReceivedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyCustomInviteReceivedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyCustomInviteReceivedOptions other) + { + m_ApiVersion = CustomInvitesInterface.AddnotifycustominvitereceivedApiLatest; + } + + public void Set(ref AddNotifyCustomInviteReceivedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = CustomInvitesInterface.AddnotifycustominvitereceivedApiLatest; + } + } + + public void Dispose() + { + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/AddNotifyCustomInviteRejectedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/AddNotifyCustomInviteRejectedOptions.cs new file mode 100644 index 00000000..a8f2e9b1 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/AddNotifyCustomInviteRejectedOptions.cs @@ -0,0 +1,32 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + public struct AddNotifyCustomInviteRejectedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyCustomInviteRejectedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyCustomInviteRejectedOptions other) + { + m_ApiVersion = CustomInvitesInterface.AddnotifycustominviterejectedApiLatest; + } + + public void Set(ref AddNotifyCustomInviteRejectedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = CustomInvitesInterface.AddnotifycustominviterejectedApiLatest; + } + } + + public void Dispose() + { + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/CustomInviteRejectedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/CustomInviteRejectedCallbackInfo.cs new file mode 100644 index 00000000..709eef70 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/CustomInviteRejectedCallbackInfo.cs @@ -0,0 +1,179 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + /// + /// Output parameters for the Function. + /// + public struct CustomInviteRejectedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// User that sent the custom invite + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Recipient Local user id + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Id of the rejected Custom Invite + /// + public Utf8String CustomInviteId { get; set; } + + /// + /// Payload of the rejected Custom Invite + /// + public Utf8String Payload { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref CustomInviteRejectedCallbackInfoInternal other) + { + ClientData = other.ClientData; + TargetUserId = other.TargetUserId; + LocalUserId = other.LocalUserId; + CustomInviteId = other.CustomInviteId; + Payload = other.Payload; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CustomInviteRejectedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_CustomInviteId; + private System.IntPtr m_Payload; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String CustomInviteId + { + get + { + Utf8String value; + Helper.Get(m_CustomInviteId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_CustomInviteId); + } + } + + public Utf8String Payload + { + get + { + Utf8String value; + Helper.Get(m_Payload, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Payload); + } + } + + public void Set(ref CustomInviteRejectedCallbackInfo other) + { + ClientData = other.ClientData; + TargetUserId = other.TargetUserId; + LocalUserId = other.LocalUserId; + CustomInviteId = other.CustomInviteId; + Payload = other.Payload; + } + + public void Set(ref CustomInviteRejectedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + TargetUserId = other.Value.TargetUserId; + LocalUserId = other.Value.LocalUserId; + CustomInviteId = other.Value.CustomInviteId; + Payload = other.Value.Payload; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_CustomInviteId); + Helper.Dispose(ref m_Payload); + } + + public void Get(out CustomInviteRejectedCallbackInfo output) + { + output = new CustomInviteRejectedCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/CustomInvitesInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/CustomInvitesInterface.cs new file mode 100644 index 00000000..a33ffb0a --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/CustomInvitesInterface.cs @@ -0,0 +1,284 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + public sealed partial class CustomInvitesInterface : Handle + { + public CustomInvitesInterface() + { + } + + public CustomInvitesInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int AddnotifycustominviteacceptedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifycustominvitereceivedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifycustominviterejectedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int FinalizeinviteApiLatest = 1; + + /// + /// Maximum size of the custom invite payload string + /// + public const int MaxPayloadLength = 500; + + /// + /// The most recent version of the API. + /// + public const int SendcustominviteApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SetcustominviteApiLatest = 1; + + /// + /// Register to receive notifications when a Custom Invite for any logged in local user is accepted via the Social Overlay + /// Invites accepted in this way still need to have FinalizeInvite called on them after you have finished processing the invite accept (e.g. after joining the game) + /// must call EOS_CustomInvites_RemoveNotifyCustomInviteAccepted to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a Custom Invite is accepted via the Social Overlay. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyCustomInviteAccepted(ref AddNotifyCustomInviteAcceptedOptions options, object clientData, OnCustomInviteAcceptedCallback notificationFn) + { + AddNotifyCustomInviteAcceptedOptionsInternal optionsInternal = new AddNotifyCustomInviteAcceptedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnCustomInviteAcceptedCallbackInternal(OnCustomInviteAcceptedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_CustomInvites_AddNotifyCustomInviteAccepted(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications when a Custom Invite for any logged in local user is received + /// must call EOS_CustomInvites_RemoveNotifyCustomInviteReceived to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a Custom Invite is received. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyCustomInviteReceived(ref AddNotifyCustomInviteReceivedOptions options, object clientData, OnCustomInviteReceivedCallback notificationFn) + { + AddNotifyCustomInviteReceivedOptionsInternal optionsInternal = new AddNotifyCustomInviteReceivedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnCustomInviteReceivedCallbackInternal(OnCustomInviteReceivedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_CustomInvites_AddNotifyCustomInviteReceived(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications when a Custom Invite for any logged in local user is rejected via the Social Overlay + /// Invites rejected in this way do not need to have FinalizeInvite called on them, it is called automatically internally by the SDK. + /// must call EOS_CustomInvites_RemoveNotifyCustomInviteRejected to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a Custom Invite is rejected via the Social Overlay. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyCustomInviteRejected(ref AddNotifyCustomInviteRejectedOptions options, object clientData, OnCustomInviteRejectedCallback notificationFn) + { + AddNotifyCustomInviteRejectedOptionsInternal optionsInternal = new AddNotifyCustomInviteRejectedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnCustomInviteRejectedCallbackInternal(OnCustomInviteRejectedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_CustomInvites_AddNotifyCustomInviteRejected(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Signal that the title has completed processing a received Custom Invite, and that it should be cleaned up internally and in the Overlay + /// + /// Structure containing information about the request. + /// + /// if the operation completes successfully + /// if any of the option values are incorrect + /// + public Result FinalizeInvite(ref FinalizeInviteOptions options) + { + FinalizeInviteOptionsInternal optionsInternal = new FinalizeInviteOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_CustomInvites_FinalizeInvite(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Unregister from receiving notifications when a Custom Invite for any logged in local user is accepted via the Social Overlay + /// + /// Handle representing the registered callback + public void RemoveNotifyCustomInviteAccepted(ulong inId) + { + Bindings.EOS_CustomInvites_RemoveNotifyCustomInviteAccepted(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister from receiving notifications when a Custom Invite for any logged in local user is received + /// + /// Handle representing the registered callback + public void RemoveNotifyCustomInviteReceived(ulong inId) + { + Bindings.EOS_CustomInvites_RemoveNotifyCustomInviteReceived(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister from receiving notifications when a Custom Invite for any logged in local user is rejected via the Social Overlay + /// + /// Handle representing the registered callback + public void RemoveNotifyCustomInviteRejected(ulong inId) + { + Bindings.EOS_CustomInvites_RemoveNotifyCustomInviteRejected(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Sends a Custom Invite that has previously been initialized via SetCustomInvite to a group of users. + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the operation completes, either successfully or in error + /// + /// if the query completes successfully + /// if any of the options values are incorrect + /// if the number of allowed queries is exceeded + /// if SetCustomInvite has not been previously successfully called for this user + /// + public void SendCustomInvite(ref SendCustomInviteOptions options, object clientData, OnSendCustomInviteCallback completionDelegate) + { + SendCustomInviteOptionsInternal optionsInternal = new SendCustomInviteOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnSendCustomInviteCallbackInternal(OnSendCustomInviteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_CustomInvites_SendCustomInvite(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Initializes a Custom Invite with a specified payload in preparation for it to be sent to another user or users. + /// + /// Structure containing information about the request. + /// + /// if the operation completes successfully + /// if any of the options values are incorrect + /// + public Result SetCustomInvite(ref SetCustomInviteOptions options) + { + SetCustomInviteOptionsInternal optionsInternal = new SetCustomInviteOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_CustomInvites_SetCustomInvite(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + [MonoPInvokeCallback(typeof(OnCustomInviteAcceptedCallbackInternal))] + internal static void OnCustomInviteAcceptedCallbackInternalImplementation(ref OnCustomInviteAcceptedCallbackInfoInternal data) + { + OnCustomInviteAcceptedCallback callback; + OnCustomInviteAcceptedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnCustomInviteReceivedCallbackInternal))] + internal static void OnCustomInviteReceivedCallbackInternalImplementation(ref OnCustomInviteReceivedCallbackInfoInternal data) + { + OnCustomInviteReceivedCallback callback; + OnCustomInviteReceivedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnCustomInviteRejectedCallbackInternal))] + internal static void OnCustomInviteRejectedCallbackInternalImplementation(ref CustomInviteRejectedCallbackInfoInternal data) + { + OnCustomInviteRejectedCallback callback; + CustomInviteRejectedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnSendCustomInviteCallbackInternal))] + internal static void OnSendCustomInviteCallbackInternalImplementation(ref SendCustomInviteCallbackInfoInternal data) + { + OnSendCustomInviteCallback callback; + SendCustomInviteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/FinalizeInviteOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/FinalizeInviteOptions.cs new file mode 100644 index 00000000..0f9f203b --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/FinalizeInviteOptions.cs @@ -0,0 +1,98 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + public struct FinalizeInviteOptions + { + /// + /// User that sent the custom invite + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Recipient Local user id + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Id of the Custom Invite accepted + /// + public Utf8String CustomInviteId { get; set; } + + /// + /// Result of the Processing operation, transmitted to Social Overlay if applicable + /// + public Result ProcessingResult { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct FinalizeInviteOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_CustomInviteId; + private Result m_ProcessingResult; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String CustomInviteId + { + set + { + Helper.Set(value, ref m_CustomInviteId); + } + } + + public Result ProcessingResult + { + set + { + m_ProcessingResult = value; + } + } + + public void Set(ref FinalizeInviteOptions other) + { + m_ApiVersion = CustomInvitesInterface.FinalizeinviteApiLatest; + TargetUserId = other.TargetUserId; + LocalUserId = other.LocalUserId; + CustomInviteId = other.CustomInviteId; + ProcessingResult = other.ProcessingResult; + } + + public void Set(ref FinalizeInviteOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = CustomInvitesInterface.FinalizeinviteApiLatest; + TargetUserId = other.Value.TargetUserId; + LocalUserId = other.Value.LocalUserId; + CustomInviteId = other.Value.CustomInviteId; + ProcessingResult = other.Value.ProcessingResult; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_CustomInviteId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteAcceptedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteAcceptedCallback.cs new file mode 100644 index 00000000..a1908643 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteAcceptedCallback.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + /// + /// Function prototype definition for notifications that comes from + /// + /// A containing the output information and result + public delegate void OnCustomInviteAcceptedCallback(ref OnCustomInviteAcceptedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnCustomInviteAcceptedCallbackInternal(ref OnCustomInviteAcceptedCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteAcceptedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteAcceptedCallbackInfo.cs new file mode 100644 index 00000000..89a05473 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteAcceptedCallbackInfo.cs @@ -0,0 +1,179 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + /// + /// Output parameters for the Function. + /// + public struct OnCustomInviteAcceptedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// User that sent the custom invite + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Recipient Local user id + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Id of the accepted Custom Invite + /// + public Utf8String CustomInviteId { get; set; } + + /// + /// Payload of the accepted Custom Invite + /// + public Utf8String Payload { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnCustomInviteAcceptedCallbackInfoInternal other) + { + ClientData = other.ClientData; + TargetUserId = other.TargetUserId; + LocalUserId = other.LocalUserId; + CustomInviteId = other.CustomInviteId; + Payload = other.Payload; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnCustomInviteAcceptedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_CustomInviteId; + private System.IntPtr m_Payload; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String CustomInviteId + { + get + { + Utf8String value; + Helper.Get(m_CustomInviteId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_CustomInviteId); + } + } + + public Utf8String Payload + { + get + { + Utf8String value; + Helper.Get(m_Payload, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Payload); + } + } + + public void Set(ref OnCustomInviteAcceptedCallbackInfo other) + { + ClientData = other.ClientData; + TargetUserId = other.TargetUserId; + LocalUserId = other.LocalUserId; + CustomInviteId = other.CustomInviteId; + Payload = other.Payload; + } + + public void Set(ref OnCustomInviteAcceptedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + TargetUserId = other.Value.TargetUserId; + LocalUserId = other.Value.LocalUserId; + CustomInviteId = other.Value.CustomInviteId; + Payload = other.Value.Payload; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_CustomInviteId); + Helper.Dispose(ref m_Payload); + } + + public void Get(out OnCustomInviteAcceptedCallbackInfo output) + { + output = new OnCustomInviteAcceptedCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteReceivedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteReceivedCallback.cs new file mode 100644 index 00000000..9cfefd91 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteReceivedCallback.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + /// + /// Function prototype definition for notifications that comes from + /// + /// A containing the output information and result + public delegate void OnCustomInviteReceivedCallback(ref OnCustomInviteReceivedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnCustomInviteReceivedCallbackInternal(ref OnCustomInviteReceivedCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteReceivedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteReceivedCallbackInfo.cs new file mode 100644 index 00000000..36425efa --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteReceivedCallbackInfo.cs @@ -0,0 +1,179 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + /// + /// Output parameters for the Function. + /// + public struct OnCustomInviteReceivedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// User that sent this custom invite + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Recipient Local user id + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Id of the received Custom Invite + /// + public Utf8String CustomInviteId { get; set; } + + /// + /// Payload of the received Custom Invite + /// + public Utf8String Payload { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnCustomInviteReceivedCallbackInfoInternal other) + { + ClientData = other.ClientData; + TargetUserId = other.TargetUserId; + LocalUserId = other.LocalUserId; + CustomInviteId = other.CustomInviteId; + Payload = other.Payload; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnCustomInviteReceivedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_CustomInviteId; + private System.IntPtr m_Payload; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String CustomInviteId + { + get + { + Utf8String value; + Helper.Get(m_CustomInviteId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_CustomInviteId); + } + } + + public Utf8String Payload + { + get + { + Utf8String value; + Helper.Get(m_Payload, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Payload); + } + } + + public void Set(ref OnCustomInviteReceivedCallbackInfo other) + { + ClientData = other.ClientData; + TargetUserId = other.TargetUserId; + LocalUserId = other.LocalUserId; + CustomInviteId = other.CustomInviteId; + Payload = other.Payload; + } + + public void Set(ref OnCustomInviteReceivedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + TargetUserId = other.Value.TargetUserId; + LocalUserId = other.Value.LocalUserId; + CustomInviteId = other.Value.CustomInviteId; + Payload = other.Value.Payload; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_CustomInviteId); + Helper.Dispose(ref m_Payload); + } + + public void Get(out OnCustomInviteReceivedCallbackInfo output) + { + output = new OnCustomInviteReceivedCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteRejectedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteRejectedCallback.cs new file mode 100644 index 00000000..dbdee343 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnCustomInviteRejectedCallback.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + /// + /// Function prototype definition for notifications that comes from + /// + /// A containing the output information and result + public delegate void OnCustomInviteRejectedCallback(ref CustomInviteRejectedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnCustomInviteRejectedCallbackInternal(ref CustomInviteRejectedCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnSendCustomInviteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnSendCustomInviteCallback.cs new file mode 100644 index 00000000..8c318673 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/OnSendCustomInviteCallback.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnSendCustomInviteCallback(ref SendCustomInviteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnSendCustomInviteCallbackInternal(ref SendCustomInviteCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/SendCustomInviteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/SendCustomInviteCallbackInfo.cs new file mode 100644 index 00000000..87ce8de8 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/SendCustomInviteCallbackInfo.cs @@ -0,0 +1,152 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + /// + /// Output parameters for the Function. These parameters are received through the callback provided to + /// + public struct SendCustomInviteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// Local user sending a CustomInvite + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Users to whom the invites were successfully sent (can be different than original call if an invite for same Payload was previously sent) + /// + public ProductUserId[] TargetUserIds { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref SendCustomInviteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserIds = other.TargetUserIds; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SendCustomInviteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserIds; + private uint m_TargetUserIdsCount; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId[] TargetUserIds + { + get + { + ProductUserId[] value; + Helper.GetHandle(m_TargetUserIds, out value, m_TargetUserIdsCount); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserIds, out m_TargetUserIdsCount); + } + } + + public void Set(ref SendCustomInviteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserIds = other.TargetUserIds; + } + + public void Set(ref SendCustomInviteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetUserIds = other.Value.TargetUserIds; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserIds); + } + + public void Get(out SendCustomInviteCallbackInfo output) + { + output = new SendCustomInviteCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/SendCustomInviteOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/SendCustomInviteOptions.cs new file mode 100644 index 00000000..c1fafd64 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/SendCustomInviteOptions.cs @@ -0,0 +1,69 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + /// + /// Input parameters for the function. + /// + public struct SendCustomInviteOptions + { + /// + /// Local user sending a CustomInvite + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Users to whom the invites should be sent + /// + public ProductUserId[] TargetUserIds { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SendCustomInviteOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserIds; + private uint m_TargetUserIdsCount; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId[] TargetUserIds + { + set + { + Helper.Set(value, ref m_TargetUserIds, out m_TargetUserIdsCount); + } + } + + public void Set(ref SendCustomInviteOptions other) + { + m_ApiVersion = CustomInvitesInterface.SendcustominviteApiLatest; + LocalUserId = other.LocalUserId; + TargetUserIds = other.TargetUserIds; + } + + public void Set(ref SendCustomInviteOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = CustomInvitesInterface.SendcustominviteApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserIds = other.Value.TargetUserIds; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserIds); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/SetCustomInviteOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/SetCustomInviteOptions.cs new file mode 100644 index 00000000..c6b7484c --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/CustomInvites/SetCustomInviteOptions.cs @@ -0,0 +1,65 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.CustomInvites +{ + public struct SetCustomInviteOptions + { + /// + /// Local user creating / sending a Custom Invite + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// String payload for the Custom Invite (must be less than ) + /// + public Utf8String Payload { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetCustomInviteOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Payload; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Payload + { + set + { + Helper.Set(value, ref m_Payload); + } + } + + public void Set(ref SetCustomInviteOptions other) + { + m_ApiVersion = CustomInvitesInterface.SetcustominviteApiLatest; + LocalUserId = other.LocalUserId; + Payload = other.Payload; + } + + public void Set(ref SetCustomInviteOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = CustomInvitesInterface.SetcustominviteApiLatest; + LocalUserId = other.Value.LocalUserId; + Payload = other.Value.Payload; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Payload); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom.meta deleted file mode 100644 index 7227857e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cfbc777a709c7d543b58b17e504c98e7 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogItem.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogItem.cs index 51b2d7ad..dc7d24fd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogItem.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogItem.cs @@ -1,281 +1,289 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Contains information about a single item within the catalog. Instances of this structure are created - /// by . They must be passed to . - /// - public class CatalogItem : ISettable - { - /// - /// Product namespace in which this item exists - /// - public string CatalogNamespace { get; set; } - - /// - /// The ID of this item - /// - public string Id { get; set; } - - /// - /// The entitlement name associated with this item - /// - public string EntitlementName { get; set; } - - /// - /// Localized UTF-8 title of this item - /// - public string TitleText { get; set; } - - /// - /// Localized UTF-8 description of this item - /// - public string DescriptionText { get; set; } - - /// - /// Localized UTF-8 long description of this item - /// - public string LongDescriptionText { get; set; } - - /// - /// Localized UTF-8 technical details of this item - /// - public string TechnicalDetailsText { get; set; } - - /// - /// Localized UTF-8 developer of this item - /// - public string DeveloperText { get; set; } - - /// - /// The type of item as defined in the catalog - /// - public EcomItemType ItemType { get; set; } - - /// - /// If not -1 then this is the POSIX timestamp that the entitlement will end - /// - public long EntitlementEndTimestamp { get; set; } - - internal void Set(CatalogItemInternal? other) - { - if (other != null) - { - CatalogNamespace = other.Value.CatalogNamespace; - Id = other.Value.Id; - EntitlementName = other.Value.EntitlementName; - TitleText = other.Value.TitleText; - DescriptionText = other.Value.DescriptionText; - LongDescriptionText = other.Value.LongDescriptionText; - TechnicalDetailsText = other.Value.TechnicalDetailsText; - DeveloperText = other.Value.DeveloperText; - ItemType = other.Value.ItemType; - EntitlementEndTimestamp = other.Value.EntitlementEndTimestamp; - } - } - - public void Set(object other) - { - Set(other as CatalogItemInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CatalogItemInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_CatalogNamespace; - private System.IntPtr m_Id; - private System.IntPtr m_EntitlementName; - private System.IntPtr m_TitleText; - private System.IntPtr m_DescriptionText; - private System.IntPtr m_LongDescriptionText; - private System.IntPtr m_TechnicalDetailsText; - private System.IntPtr m_DeveloperText; - private EcomItemType m_ItemType; - private long m_EntitlementEndTimestamp; - - public string CatalogNamespace - { - get - { - string value; - Helper.TryMarshalGet(m_CatalogNamespace, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_CatalogNamespace, value); - } - } - - public string Id - { - get - { - string value; - Helper.TryMarshalGet(m_Id, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Id, value); - } - } - - public string EntitlementName - { - get - { - string value; - Helper.TryMarshalGet(m_EntitlementName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_EntitlementName, value); - } - } - - public string TitleText - { - get - { - string value; - Helper.TryMarshalGet(m_TitleText, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_TitleText, value); - } - } - - public string DescriptionText - { - get - { - string value; - Helper.TryMarshalGet(m_DescriptionText, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DescriptionText, value); - } - } - - public string LongDescriptionText - { - get - { - string value; - Helper.TryMarshalGet(m_LongDescriptionText, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LongDescriptionText, value); - } - } - - public string TechnicalDetailsText - { - get - { - string value; - Helper.TryMarshalGet(m_TechnicalDetailsText, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_TechnicalDetailsText, value); - } - } - - public string DeveloperText - { - get - { - string value; - Helper.TryMarshalGet(m_DeveloperText, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DeveloperText, value); - } - } - - public EcomItemType ItemType - { - get - { - return m_ItemType; - } - - set - { - m_ItemType = value; - } - } - - public long EntitlementEndTimestamp - { - get - { - return m_EntitlementEndTimestamp; - } - - set - { - m_EntitlementEndTimestamp = value; - } - } - - public void Set(CatalogItem other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CatalogitemApiLatest; - CatalogNamespace = other.CatalogNamespace; - Id = other.Id; - EntitlementName = other.EntitlementName; - TitleText = other.TitleText; - DescriptionText = other.DescriptionText; - LongDescriptionText = other.LongDescriptionText; - TechnicalDetailsText = other.TechnicalDetailsText; - DeveloperText = other.DeveloperText; - ItemType = other.ItemType; - EntitlementEndTimestamp = other.EntitlementEndTimestamp; - } - } - - public void Set(object other) - { - Set(other as CatalogItem); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_CatalogNamespace); - Helper.TryMarshalDispose(ref m_Id); - Helper.TryMarshalDispose(ref m_EntitlementName); - Helper.TryMarshalDispose(ref m_TitleText); - Helper.TryMarshalDispose(ref m_DescriptionText); - Helper.TryMarshalDispose(ref m_LongDescriptionText); - Helper.TryMarshalDispose(ref m_TechnicalDetailsText); - Helper.TryMarshalDispose(ref m_DeveloperText); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Contains information about a single item within the catalog. Instances of this structure are created + /// by . They must be passed to . + /// + public struct CatalogItem + { + /// + /// Product namespace in which this item exists + /// + public Utf8String CatalogNamespace { get; set; } + + /// + /// The ID of this item + /// + public Utf8String Id { get; set; } + + /// + /// The entitlement name associated with this item + /// + public Utf8String EntitlementName { get; set; } + + /// + /// Localized UTF-8 title of this item + /// + public Utf8String TitleText { get; set; } + + /// + /// Localized UTF-8 description of this item + /// + public Utf8String DescriptionText { get; set; } + + /// + /// Localized UTF-8 long description of this item + /// + public Utf8String LongDescriptionText { get; set; } + + /// + /// Localized UTF-8 technical details of this item + /// + public Utf8String TechnicalDetailsText { get; set; } + + /// + /// Localized UTF-8 developer of this item + /// + public Utf8String DeveloperText { get; set; } + + /// + /// The type of item as defined in the catalog + /// + public EcomItemType ItemType { get; set; } + + /// + /// If not -1 then this is the POSIX timestamp that the entitlement will end + /// + public long EntitlementEndTimestamp { get; set; } + + internal void Set(ref CatalogItemInternal other) + { + CatalogNamespace = other.CatalogNamespace; + Id = other.Id; + EntitlementName = other.EntitlementName; + TitleText = other.TitleText; + DescriptionText = other.DescriptionText; + LongDescriptionText = other.LongDescriptionText; + TechnicalDetailsText = other.TechnicalDetailsText; + DeveloperText = other.DeveloperText; + ItemType = other.ItemType; + EntitlementEndTimestamp = other.EntitlementEndTimestamp; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CatalogItemInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_CatalogNamespace; + private System.IntPtr m_Id; + private System.IntPtr m_EntitlementName; + private System.IntPtr m_TitleText; + private System.IntPtr m_DescriptionText; + private System.IntPtr m_LongDescriptionText; + private System.IntPtr m_TechnicalDetailsText; + private System.IntPtr m_DeveloperText; + private EcomItemType m_ItemType; + private long m_EntitlementEndTimestamp; + + public Utf8String CatalogNamespace + { + get + { + Utf8String value; + Helper.Get(m_CatalogNamespace, out value); + return value; + } + + set + { + Helper.Set(value, ref m_CatalogNamespace); + } + } + + public Utf8String Id + { + get + { + Utf8String value; + Helper.Get(m_Id, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Id); + } + } + + public Utf8String EntitlementName + { + get + { + Utf8String value; + Helper.Get(m_EntitlementName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_EntitlementName); + } + } + + public Utf8String TitleText + { + get + { + Utf8String value; + Helper.Get(m_TitleText, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TitleText); + } + } + + public Utf8String DescriptionText + { + get + { + Utf8String value; + Helper.Get(m_DescriptionText, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DescriptionText); + } + } + + public Utf8String LongDescriptionText + { + get + { + Utf8String value; + Helper.Get(m_LongDescriptionText, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LongDescriptionText); + } + } + + public Utf8String TechnicalDetailsText + { + get + { + Utf8String value; + Helper.Get(m_TechnicalDetailsText, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TechnicalDetailsText); + } + } + + public Utf8String DeveloperText + { + get + { + Utf8String value; + Helper.Get(m_DeveloperText, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DeveloperText); + } + } + + public EcomItemType ItemType + { + get + { + return m_ItemType; + } + + set + { + m_ItemType = value; + } + } + + public long EntitlementEndTimestamp + { + get + { + return m_EntitlementEndTimestamp; + } + + set + { + m_EntitlementEndTimestamp = value; + } + } + + public void Set(ref CatalogItem other) + { + m_ApiVersion = EcomInterface.CatalogitemApiLatest; + CatalogNamespace = other.CatalogNamespace; + Id = other.Id; + EntitlementName = other.EntitlementName; + TitleText = other.TitleText; + DescriptionText = other.DescriptionText; + LongDescriptionText = other.LongDescriptionText; + TechnicalDetailsText = other.TechnicalDetailsText; + DeveloperText = other.DeveloperText; + ItemType = other.ItemType; + EntitlementEndTimestamp = other.EntitlementEndTimestamp; + } + + public void Set(ref CatalogItem? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CatalogitemApiLatest; + CatalogNamespace = other.Value.CatalogNamespace; + Id = other.Value.Id; + EntitlementName = other.Value.EntitlementName; + TitleText = other.Value.TitleText; + DescriptionText = other.Value.DescriptionText; + LongDescriptionText = other.Value.LongDescriptionText; + TechnicalDetailsText = other.Value.TechnicalDetailsText; + DeveloperText = other.Value.DeveloperText; + ItemType = other.Value.ItemType; + EntitlementEndTimestamp = other.Value.EntitlementEndTimestamp; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_CatalogNamespace); + Helper.Dispose(ref m_Id); + Helper.Dispose(ref m_EntitlementName); + Helper.Dispose(ref m_TitleText); + Helper.Dispose(ref m_DescriptionText); + Helper.Dispose(ref m_LongDescriptionText); + Helper.Dispose(ref m_TechnicalDetailsText); + Helper.Dispose(ref m_DeveloperText); + } + + public void Get(out CatalogItem output) + { + output = new CatalogItem(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogItem.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogItem.cs.meta deleted file mode 100644 index cd912d0c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogItem.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 93ed81d7955cee647b56910730bfc6c6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogOffer.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogOffer.cs index ad134508..2abdbb12 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogOffer.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogOffer.cs @@ -1,455 +1,537 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Contains information about a single offer within the catalog. Instances of this structure are - /// created by . They must be passed to . - /// Prices are stored in the lowest denomination for the associated currency. If CurrencyCode is - /// "USD" then a price of 299 represents "$2.99". - /// - public class CatalogOffer : ISettable - { - /// - /// The index of this offer as it exists on the server. - /// This is useful for understanding pagination data. - /// - public int ServerIndex { get; set; } - - /// - /// Product namespace in which this offer exists - /// - public string CatalogNamespace { get; set; } - - /// - /// The ID of this offer - /// - public string Id { get; set; } - - /// - /// Localized UTF-8 title of this offer - /// - public string TitleText { get; set; } - - /// - /// Localized UTF-8 description of this offer - /// - public string DescriptionText { get; set; } - - /// - /// Localized UTF-8 long description of this offer - /// - public string LongDescriptionText { get; set; } - - /// - /// Deprecated. - /// ::TechnicalDetailsText has been deprecated. - /// ::TechnicalDetailsText is still valid. - /// - public string TechnicalDetailsText_DEPRECATED { get; set; } - - /// - /// The Currency Code for this offer - /// - public string CurrencyCode { get; set; } - - /// - /// If this value is then OriginalPrice, CurrentPrice, and DiscountPercentage contain valid data. - /// Otherwise this value represents the error that occurred on the price query. - /// - public Result PriceResult { get; set; } - - /// - /// The original price of this offer as a 32-bit number is deprecated. - /// - public uint OriginalPrice_DEPRECATED { get; set; } - - /// - /// The current price including discounts of this offer as a 32-bit number is deprecated.. - /// - public uint CurrentPrice_DEPRECATED { get; set; } - - /// - /// A value from 0 to 100 define the percentage of the OrignalPrice that the CurrentPrice represents - /// - public byte DiscountPercentage { get; set; } - - /// - /// Contains the POSIX timestamp that the offer expires or -1 if it does not expire - /// - public long ExpirationTimestamp { get; set; } - - /// - /// The number of times that the requesting account has purchased this offer. - /// - public uint PurchasedCount { get; set; } - - /// - /// The maximum number of times that the offer can be purchased. - /// A negative value implies there is no limit. - /// - public int PurchaseLimit { get; set; } - - /// - /// True if the user can purchase this offer. - /// - public bool AvailableForPurchase { get; set; } - - /// - /// The original price of this offer as a 64-bit number. - /// - public ulong OriginalPrice64 { get; set; } - - /// - /// The current price including discounts of this offer as a 64-bit number. - /// - public ulong CurrentPrice64 { get; set; } - - internal void Set(CatalogOfferInternal? other) - { - if (other != null) - { - ServerIndex = other.Value.ServerIndex; - CatalogNamespace = other.Value.CatalogNamespace; - Id = other.Value.Id; - TitleText = other.Value.TitleText; - DescriptionText = other.Value.DescriptionText; - LongDescriptionText = other.Value.LongDescriptionText; - TechnicalDetailsText_DEPRECATED = other.Value.TechnicalDetailsText_DEPRECATED; - CurrencyCode = other.Value.CurrencyCode; - PriceResult = other.Value.PriceResult; - OriginalPrice_DEPRECATED = other.Value.OriginalPrice_DEPRECATED; - CurrentPrice_DEPRECATED = other.Value.CurrentPrice_DEPRECATED; - DiscountPercentage = other.Value.DiscountPercentage; - ExpirationTimestamp = other.Value.ExpirationTimestamp; - PurchasedCount = other.Value.PurchasedCount; - PurchaseLimit = other.Value.PurchaseLimit; - AvailableForPurchase = other.Value.AvailableForPurchase; - OriginalPrice64 = other.Value.OriginalPrice64; - CurrentPrice64 = other.Value.CurrentPrice64; - } - } - - public void Set(object other) - { - Set(other as CatalogOfferInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CatalogOfferInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private int m_ServerIndex; - private System.IntPtr m_CatalogNamespace; - private System.IntPtr m_Id; - private System.IntPtr m_TitleText; - private System.IntPtr m_DescriptionText; - private System.IntPtr m_LongDescriptionText; - private System.IntPtr m_TechnicalDetailsText_DEPRECATED; - private System.IntPtr m_CurrencyCode; - private Result m_PriceResult; - private uint m_OriginalPrice_DEPRECATED; - private uint m_CurrentPrice_DEPRECATED; - private byte m_DiscountPercentage; - private long m_ExpirationTimestamp; - private uint m_PurchasedCount; - private int m_PurchaseLimit; - private int m_AvailableForPurchase; - private ulong m_OriginalPrice64; - private ulong m_CurrentPrice64; - - public int ServerIndex - { - get - { - return m_ServerIndex; - } - - set - { - m_ServerIndex = value; - } - } - - public string CatalogNamespace - { - get - { - string value; - Helper.TryMarshalGet(m_CatalogNamespace, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_CatalogNamespace, value); - } - } - - public string Id - { - get - { - string value; - Helper.TryMarshalGet(m_Id, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Id, value); - } - } - - public string TitleText - { - get - { - string value; - Helper.TryMarshalGet(m_TitleText, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_TitleText, value); - } - } - - public string DescriptionText - { - get - { - string value; - Helper.TryMarshalGet(m_DescriptionText, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DescriptionText, value); - } - } - - public string LongDescriptionText - { - get - { - string value; - Helper.TryMarshalGet(m_LongDescriptionText, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LongDescriptionText, value); - } - } - - public string TechnicalDetailsText_DEPRECATED - { - get - { - string value; - Helper.TryMarshalGet(m_TechnicalDetailsText_DEPRECATED, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_TechnicalDetailsText_DEPRECATED, value); - } - } - - public string CurrencyCode - { - get - { - string value; - Helper.TryMarshalGet(m_CurrencyCode, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_CurrencyCode, value); - } - } - - public Result PriceResult - { - get - { - return m_PriceResult; - } - - set - { - m_PriceResult = value; - } - } - - public uint OriginalPrice_DEPRECATED - { - get - { - return m_OriginalPrice_DEPRECATED; - } - - set - { - m_OriginalPrice_DEPRECATED = value; - } - } - - public uint CurrentPrice_DEPRECATED - { - get - { - return m_CurrentPrice_DEPRECATED; - } - - set - { - m_CurrentPrice_DEPRECATED = value; - } - } - - public byte DiscountPercentage - { - get - { - return m_DiscountPercentage; - } - - set - { - m_DiscountPercentage = value; - } - } - - public long ExpirationTimestamp - { - get - { - return m_ExpirationTimestamp; - } - - set - { - m_ExpirationTimestamp = value; - } - } - - public uint PurchasedCount - { - get - { - return m_PurchasedCount; - } - - set - { - m_PurchasedCount = value; - } - } - - public int PurchaseLimit - { - get - { - return m_PurchaseLimit; - } - - set - { - m_PurchaseLimit = value; - } - } - - public bool AvailableForPurchase - { - get - { - bool value; - Helper.TryMarshalGet(m_AvailableForPurchase, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AvailableForPurchase, value); - } - } - - public ulong OriginalPrice64 - { - get - { - return m_OriginalPrice64; - } - - set - { - m_OriginalPrice64 = value; - } - } - - public ulong CurrentPrice64 - { - get - { - return m_CurrentPrice64; - } - - set - { - m_CurrentPrice64 = value; - } - } - - public void Set(CatalogOffer other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CatalogofferApiLatest; - ServerIndex = other.ServerIndex; - CatalogNamespace = other.CatalogNamespace; - Id = other.Id; - TitleText = other.TitleText; - DescriptionText = other.DescriptionText; - LongDescriptionText = other.LongDescriptionText; - TechnicalDetailsText_DEPRECATED = other.TechnicalDetailsText_DEPRECATED; - CurrencyCode = other.CurrencyCode; - PriceResult = other.PriceResult; - OriginalPrice_DEPRECATED = other.OriginalPrice_DEPRECATED; - CurrentPrice_DEPRECATED = other.CurrentPrice_DEPRECATED; - DiscountPercentage = other.DiscountPercentage; - ExpirationTimestamp = other.ExpirationTimestamp; - PurchasedCount = other.PurchasedCount; - PurchaseLimit = other.PurchaseLimit; - AvailableForPurchase = other.AvailableForPurchase; - OriginalPrice64 = other.OriginalPrice64; - CurrentPrice64 = other.CurrentPrice64; - } - } - - public void Set(object other) - { - Set(other as CatalogOffer); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_CatalogNamespace); - Helper.TryMarshalDispose(ref m_Id); - Helper.TryMarshalDispose(ref m_TitleText); - Helper.TryMarshalDispose(ref m_DescriptionText); - Helper.TryMarshalDispose(ref m_LongDescriptionText); - Helper.TryMarshalDispose(ref m_TechnicalDetailsText_DEPRECATED); - Helper.TryMarshalDispose(ref m_CurrencyCode); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Contains information about a single offer within the catalog. Instances of this structure are + /// created by . They must be passed to . + /// Prices are stored in the lowest denomination for the associated currency. If CurrencyCode is + /// "USD" then a price of 299 represents "$2.99". + /// + public struct CatalogOffer + { + /// + /// The index of this offer as it exists on the server. + /// This is useful for understanding pagination data. + /// + public int ServerIndex { get; set; } + + /// + /// Product namespace in which this offer exists + /// + public Utf8String CatalogNamespace { get; set; } + + /// + /// The ID of this offer + /// + public Utf8String Id { get; set; } + + /// + /// Localized UTF-8 title of this offer + /// + public Utf8String TitleText { get; set; } + + /// + /// Localized UTF-8 description of this offer + /// + public Utf8String DescriptionText { get; set; } + + /// + /// Localized UTF-8 long description of this offer + /// + public Utf8String LongDescriptionText { get; set; } + + /// + /// Deprecated. + /// is still valid. + /// + public Utf8String TechnicalDetailsText_DEPRECATED { get; set; } + + /// + /// The Currency Code for this offer + /// + public Utf8String CurrencyCode { get; set; } + + /// + /// If this value is then OriginalPrice, CurrentPrice, and DiscountPercentage contain valid data. + /// Otherwise this value represents the error that occurred on the price query. + /// + public Result PriceResult { get; set; } + + /// + /// The original price of this offer as a 32-bit number is deprecated. + /// + public uint OriginalPrice_DEPRECATED { get; set; } + + /// + /// The current price including discounts of this offer as a 32-bit number is deprecated.. + /// + public uint CurrentPrice_DEPRECATED { get; set; } + + /// + /// A value from 0 to 100 define the percentage of the OrignalPrice that the CurrentPrice represents + /// + public byte DiscountPercentage { get; set; } + + /// + /// Contains the POSIX timestamp that the offer expires or -1 if it does not expire + /// + public long ExpirationTimestamp { get; set; } + + /// + /// The number of times that the requesting account has purchased this offer. + /// This value is deprecated and the backend no longer returns this value. + /// + public uint PurchasedCount_DEPRECATED { get; set; } + + /// + /// The maximum number of times that the offer can be purchased. + /// A negative value implies there is no limit. + /// + public int PurchaseLimit { get; set; } + + /// + /// True if the user can purchase this offer. + /// + public bool AvailableForPurchase { get; set; } + + /// + /// The original price of this offer as a 64-bit number. + /// + public ulong OriginalPrice64 { get; set; } + + /// + /// The current price including discounts of this offer as a 64-bit number. + /// + public ulong CurrentPrice64 { get; set; } + + /// + /// The decimal point for the provided price. For example, DecimalPoint '2' and CurrentPrice64 '12345' would be '123.45'. + /// + public uint DecimalPoint { get; set; } + + /// + /// Timestamp indicating when the time when the offer was released. Can be ignored if set to -1. + /// + public long ReleaseDateTimestamp { get; set; } + + /// + /// Timestamp indicating the effective date of the offer. Can be ignored if set to -1. + /// + public long EffectiveDateTimestamp { get; set; } + + internal void Set(ref CatalogOfferInternal other) + { + ServerIndex = other.ServerIndex; + CatalogNamespace = other.CatalogNamespace; + Id = other.Id; + TitleText = other.TitleText; + DescriptionText = other.DescriptionText; + LongDescriptionText = other.LongDescriptionText; + TechnicalDetailsText_DEPRECATED = other.TechnicalDetailsText_DEPRECATED; + CurrencyCode = other.CurrencyCode; + PriceResult = other.PriceResult; + OriginalPrice_DEPRECATED = other.OriginalPrice_DEPRECATED; + CurrentPrice_DEPRECATED = other.CurrentPrice_DEPRECATED; + DiscountPercentage = other.DiscountPercentage; + ExpirationTimestamp = other.ExpirationTimestamp; + PurchasedCount_DEPRECATED = other.PurchasedCount_DEPRECATED; + PurchaseLimit = other.PurchaseLimit; + AvailableForPurchase = other.AvailableForPurchase; + OriginalPrice64 = other.OriginalPrice64; + CurrentPrice64 = other.CurrentPrice64; + DecimalPoint = other.DecimalPoint; + ReleaseDateTimestamp = other.ReleaseDateTimestamp; + EffectiveDateTimestamp = other.EffectiveDateTimestamp; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CatalogOfferInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private int m_ServerIndex; + private System.IntPtr m_CatalogNamespace; + private System.IntPtr m_Id; + private System.IntPtr m_TitleText; + private System.IntPtr m_DescriptionText; + private System.IntPtr m_LongDescriptionText; + private System.IntPtr m_TechnicalDetailsText_DEPRECATED; + private System.IntPtr m_CurrencyCode; + private Result m_PriceResult; + private uint m_OriginalPrice_DEPRECATED; + private uint m_CurrentPrice_DEPRECATED; + private byte m_DiscountPercentage; + private long m_ExpirationTimestamp; + private uint m_PurchasedCount_DEPRECATED; + private int m_PurchaseLimit; + private int m_AvailableForPurchase; + private ulong m_OriginalPrice64; + private ulong m_CurrentPrice64; + private uint m_DecimalPoint; + private long m_ReleaseDateTimestamp; + private long m_EffectiveDateTimestamp; + + public int ServerIndex + { + get + { + return m_ServerIndex; + } + + set + { + m_ServerIndex = value; + } + } + + public Utf8String CatalogNamespace + { + get + { + Utf8String value; + Helper.Get(m_CatalogNamespace, out value); + return value; + } + + set + { + Helper.Set(value, ref m_CatalogNamespace); + } + } + + public Utf8String Id + { + get + { + Utf8String value; + Helper.Get(m_Id, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Id); + } + } + + public Utf8String TitleText + { + get + { + Utf8String value; + Helper.Get(m_TitleText, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TitleText); + } + } + + public Utf8String DescriptionText + { + get + { + Utf8String value; + Helper.Get(m_DescriptionText, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DescriptionText); + } + } + + public Utf8String LongDescriptionText + { + get + { + Utf8String value; + Helper.Get(m_LongDescriptionText, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LongDescriptionText); + } + } + + public Utf8String TechnicalDetailsText_DEPRECATED + { + get + { + Utf8String value; + Helper.Get(m_TechnicalDetailsText_DEPRECATED, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TechnicalDetailsText_DEPRECATED); + } + } + + public Utf8String CurrencyCode + { + get + { + Utf8String value; + Helper.Get(m_CurrencyCode, out value); + return value; + } + + set + { + Helper.Set(value, ref m_CurrencyCode); + } + } + + public Result PriceResult + { + get + { + return m_PriceResult; + } + + set + { + m_PriceResult = value; + } + } + + public uint OriginalPrice_DEPRECATED + { + get + { + return m_OriginalPrice_DEPRECATED; + } + + set + { + m_OriginalPrice_DEPRECATED = value; + } + } + + public uint CurrentPrice_DEPRECATED + { + get + { + return m_CurrentPrice_DEPRECATED; + } + + set + { + m_CurrentPrice_DEPRECATED = value; + } + } + + public byte DiscountPercentage + { + get + { + return m_DiscountPercentage; + } + + set + { + m_DiscountPercentage = value; + } + } + + public long ExpirationTimestamp + { + get + { + return m_ExpirationTimestamp; + } + + set + { + m_ExpirationTimestamp = value; + } + } + + public uint PurchasedCount_DEPRECATED + { + get + { + return m_PurchasedCount_DEPRECATED; + } + + set + { + m_PurchasedCount_DEPRECATED = value; + } + } + + public int PurchaseLimit + { + get + { + return m_PurchaseLimit; + } + + set + { + m_PurchaseLimit = value; + } + } + + public bool AvailableForPurchase + { + get + { + bool value; + Helper.Get(m_AvailableForPurchase, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AvailableForPurchase); + } + } + + public ulong OriginalPrice64 + { + get + { + return m_OriginalPrice64; + } + + set + { + m_OriginalPrice64 = value; + } + } + + public ulong CurrentPrice64 + { + get + { + return m_CurrentPrice64; + } + + set + { + m_CurrentPrice64 = value; + } + } + + public uint DecimalPoint + { + get + { + return m_DecimalPoint; + } + + set + { + m_DecimalPoint = value; + } + } + + public long ReleaseDateTimestamp + { + get + { + return m_ReleaseDateTimestamp; + } + + set + { + m_ReleaseDateTimestamp = value; + } + } + + public long EffectiveDateTimestamp + { + get + { + return m_EffectiveDateTimestamp; + } + + set + { + m_EffectiveDateTimestamp = value; + } + } + + public void Set(ref CatalogOffer other) + { + m_ApiVersion = EcomInterface.CatalogofferApiLatest; + ServerIndex = other.ServerIndex; + CatalogNamespace = other.CatalogNamespace; + Id = other.Id; + TitleText = other.TitleText; + DescriptionText = other.DescriptionText; + LongDescriptionText = other.LongDescriptionText; + TechnicalDetailsText_DEPRECATED = other.TechnicalDetailsText_DEPRECATED; + CurrencyCode = other.CurrencyCode; + PriceResult = other.PriceResult; + OriginalPrice_DEPRECATED = other.OriginalPrice_DEPRECATED; + CurrentPrice_DEPRECATED = other.CurrentPrice_DEPRECATED; + DiscountPercentage = other.DiscountPercentage; + ExpirationTimestamp = other.ExpirationTimestamp; + PurchasedCount_DEPRECATED = other.PurchasedCount_DEPRECATED; + PurchaseLimit = other.PurchaseLimit; + AvailableForPurchase = other.AvailableForPurchase; + OriginalPrice64 = other.OriginalPrice64; + CurrentPrice64 = other.CurrentPrice64; + DecimalPoint = other.DecimalPoint; + ReleaseDateTimestamp = other.ReleaseDateTimestamp; + EffectiveDateTimestamp = other.EffectiveDateTimestamp; + } + + public void Set(ref CatalogOffer? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CatalogofferApiLatest; + ServerIndex = other.Value.ServerIndex; + CatalogNamespace = other.Value.CatalogNamespace; + Id = other.Value.Id; + TitleText = other.Value.TitleText; + DescriptionText = other.Value.DescriptionText; + LongDescriptionText = other.Value.LongDescriptionText; + TechnicalDetailsText_DEPRECATED = other.Value.TechnicalDetailsText_DEPRECATED; + CurrencyCode = other.Value.CurrencyCode; + PriceResult = other.Value.PriceResult; + OriginalPrice_DEPRECATED = other.Value.OriginalPrice_DEPRECATED; + CurrentPrice_DEPRECATED = other.Value.CurrentPrice_DEPRECATED; + DiscountPercentage = other.Value.DiscountPercentage; + ExpirationTimestamp = other.Value.ExpirationTimestamp; + PurchasedCount_DEPRECATED = other.Value.PurchasedCount_DEPRECATED; + PurchaseLimit = other.Value.PurchaseLimit; + AvailableForPurchase = other.Value.AvailableForPurchase; + OriginalPrice64 = other.Value.OriginalPrice64; + CurrentPrice64 = other.Value.CurrentPrice64; + DecimalPoint = other.Value.DecimalPoint; + ReleaseDateTimestamp = other.Value.ReleaseDateTimestamp; + EffectiveDateTimestamp = other.Value.EffectiveDateTimestamp; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_CatalogNamespace); + Helper.Dispose(ref m_Id); + Helper.Dispose(ref m_TitleText); + Helper.Dispose(ref m_DescriptionText); + Helper.Dispose(ref m_LongDescriptionText); + Helper.Dispose(ref m_TechnicalDetailsText_DEPRECATED); + Helper.Dispose(ref m_CurrencyCode); + } + + public void Get(out CatalogOffer output) + { + output = new CatalogOffer(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogOffer.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogOffer.cs.meta deleted file mode 100644 index 204c44ce..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogOffer.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cca819d92687728449f13af9f51964af -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogRelease.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogRelease.cs index 8adcb435..ac4b3f47 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogRelease.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogRelease.cs @@ -1,121 +1,122 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Contains information about a single release within the catalog. Instances of this structure are - /// created by . They must be passed to . - /// - public class CatalogRelease : ISettable - { - /// - /// A list of compatible APP IDs - /// - public string[] CompatibleAppIds { get; set; } - - /// - /// A list of compatible Platforms - /// - public string[] CompatiblePlatforms { get; set; } - - /// - /// Release note for compatible versions - /// - public string ReleaseNote { get; set; } - - internal void Set(CatalogReleaseInternal? other) - { - if (other != null) - { - CompatibleAppIds = other.Value.CompatibleAppIds; - CompatiblePlatforms = other.Value.CompatiblePlatforms; - ReleaseNote = other.Value.ReleaseNote; - } - } - - public void Set(object other) - { - Set(other as CatalogReleaseInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CatalogReleaseInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_CompatibleAppIdCount; - private System.IntPtr m_CompatibleAppIds; - private uint m_CompatiblePlatformCount; - private System.IntPtr m_CompatiblePlatforms; - private System.IntPtr m_ReleaseNote; - - public string[] CompatibleAppIds - { - get - { - string[] value; - Helper.TryMarshalGet(m_CompatibleAppIds, out value, m_CompatibleAppIdCount, true); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_CompatibleAppIds, value, out m_CompatibleAppIdCount, true); - } - } - - public string[] CompatiblePlatforms - { - get - { - string[] value; - Helper.TryMarshalGet(m_CompatiblePlatforms, out value, m_CompatiblePlatformCount, true); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_CompatiblePlatforms, value, out m_CompatiblePlatformCount, true); - } - } - - public string ReleaseNote - { - get - { - string value; - Helper.TryMarshalGet(m_ReleaseNote, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ReleaseNote, value); - } - } - - public void Set(CatalogRelease other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CatalogreleaseApiLatest; - CompatibleAppIds = other.CompatibleAppIds; - CompatiblePlatforms = other.CompatiblePlatforms; - ReleaseNote = other.ReleaseNote; - } - } - - public void Set(object other) - { - Set(other as CatalogRelease); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_CompatibleAppIds); - Helper.TryMarshalDispose(ref m_CompatiblePlatforms); - Helper.TryMarshalDispose(ref m_ReleaseNote); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Contains information about a single release within the catalog. Instances of this structure are + /// created by . They must be passed to . + /// + public struct CatalogRelease + { + /// + /// A list of compatible APP IDs + /// + public Utf8String[] CompatibleAppIds { get; set; } + + /// + /// A list of compatible Platforms + /// + public Utf8String[] CompatiblePlatforms { get; set; } + + /// + /// Release note for compatible versions + /// + public Utf8String ReleaseNote { get; set; } + + internal void Set(ref CatalogReleaseInternal other) + { + CompatibleAppIds = other.CompatibleAppIds; + CompatiblePlatforms = other.CompatiblePlatforms; + ReleaseNote = other.ReleaseNote; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CatalogReleaseInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_CompatibleAppIdCount; + private System.IntPtr m_CompatibleAppIds; + private uint m_CompatiblePlatformCount; + private System.IntPtr m_CompatiblePlatforms; + private System.IntPtr m_ReleaseNote; + + public Utf8String[] CompatibleAppIds + { + get + { + Utf8String[] value; + Helper.Get(m_CompatibleAppIds, out value, m_CompatibleAppIdCount, true); + return value; + } + + set + { + Helper.Set(value, ref m_CompatibleAppIds, true, out m_CompatibleAppIdCount); + } + } + + public Utf8String[] CompatiblePlatforms + { + get + { + Utf8String[] value; + Helper.Get(m_CompatiblePlatforms, out value, m_CompatiblePlatformCount, true); + return value; + } + + set + { + Helper.Set(value, ref m_CompatiblePlatforms, true, out m_CompatiblePlatformCount); + } + } + + public Utf8String ReleaseNote + { + get + { + Utf8String value; + Helper.Get(m_ReleaseNote, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ReleaseNote); + } + } + + public void Set(ref CatalogRelease other) + { + m_ApiVersion = EcomInterface.CatalogreleaseApiLatest; + CompatibleAppIds = other.CompatibleAppIds; + CompatiblePlatforms = other.CompatiblePlatforms; + ReleaseNote = other.ReleaseNote; + } + + public void Set(ref CatalogRelease? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CatalogreleaseApiLatest; + CompatibleAppIds = other.Value.CompatibleAppIds; + CompatiblePlatforms = other.Value.CompatiblePlatforms; + ReleaseNote = other.Value.ReleaseNote; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_CompatibleAppIds); + Helper.Dispose(ref m_CompatiblePlatforms); + Helper.Dispose(ref m_ReleaseNote); + } + + public void Get(out CatalogRelease output) + { + output = new CatalogRelease(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogRelease.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogRelease.cs.meta deleted file mode 100644 index 49986188..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CatalogRelease.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: aa4e1a90ce6cdaa4a9711d13425f6324 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutCallbackInfo.cs index a8d3e59b..14b8b8ee 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Output parameters for the Function. - /// - public class CheckoutCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, otherwise one of the error codes is returned. See eos_common.h - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the user who initiated the purchase - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// The transaction ID which can be used to obtain an using . - /// - public string TransactionId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(CheckoutCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - TransactionId = other.Value.TransactionId; - } - } - - public void Set(object other) - { - Set(other as CheckoutCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CheckoutCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TransactionId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string TransactionId - { - get - { - string value; - Helper.TryMarshalGet(m_TransactionId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Output parameters for the Function. + /// + public struct CheckoutCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful request, otherwise one of the error codes is returned. See eos_common.h + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the user who initiated the purchase + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The transaction ID which can be used to obtain an using . + /// + public Utf8String TransactionId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref CheckoutCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TransactionId = other.TransactionId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CheckoutCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TransactionId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String TransactionId + { + get + { + Utf8String value; + Helper.Get(m_TransactionId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TransactionId); + } + } + + public void Set(ref CheckoutCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TransactionId = other.TransactionId; + } + + public void Set(ref CheckoutCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TransactionId = other.Value.TransactionId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TransactionId); + } + + public void Get(out CheckoutCallbackInfo output) + { + output = new CheckoutCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutCallbackInfo.cs.meta deleted file mode 100644 index d6c425b1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3fe966403edb3d84dae9e4caf9f34b9d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutEntry.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutEntry.cs index 22f6529b..a93b7b78 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutEntry.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutEntry.cs @@ -1,71 +1,70 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Contains information about a request to purchase a single offer. This structure is set as part - /// of the structure. - /// - public class CheckoutEntry : ISettable - { - /// - /// The ID of the offer to purchase - /// - public string OfferId { get; set; } - - internal void Set(CheckoutEntryInternal? other) - { - if (other != null) - { - OfferId = other.Value.OfferId; - } - } - - public void Set(object other) - { - Set(other as CheckoutEntryInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CheckoutEntryInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_OfferId; - - public string OfferId - { - get - { - string value; - Helper.TryMarshalGet(m_OfferId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_OfferId, value); - } - } - - public void Set(CheckoutEntry other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CheckoutentryApiLatest; - OfferId = other.OfferId; - } - } - - public void Set(object other) - { - Set(other as CheckoutEntry); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_OfferId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Contains information about a request to purchase a single offer. This structure is set as part + /// of the structure. + /// + public struct CheckoutEntry + { + /// + /// The ID of the offer to purchase + /// + public Utf8String OfferId { get; set; } + + internal void Set(ref CheckoutEntryInternal other) + { + OfferId = other.OfferId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CheckoutEntryInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_OfferId; + + public Utf8String OfferId + { + get + { + Utf8String value; + Helper.Get(m_OfferId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_OfferId); + } + } + + public void Set(ref CheckoutEntry other) + { + m_ApiVersion = EcomInterface.CheckoutentryApiLatest; + OfferId = other.OfferId; + } + + public void Set(ref CheckoutEntry? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CheckoutentryApiLatest; + OfferId = other.Value.OfferId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_OfferId); + } + + public void Get(out CheckoutEntry output) + { + output = new CheckoutEntry(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutEntry.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutEntry.cs.meta deleted file mode 100644 index 7856df65..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutEntry.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: eaaf5665700b3bc409bd67acc25b6c1d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutOptions.cs index 5fd81a2e..4d6ccd6d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutOptions.cs @@ -1,83 +1,86 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class CheckoutOptions - { - /// - /// The Epic Online Services Account ID of the local user who is making the purchase - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The catalog namespace will be the current Sandbox ID (in ) unless overridden by this field - /// - public string OverrideCatalogNamespace { get; set; } - - /// - /// An array of elements, each containing the details of a single offer - /// - public CheckoutEntry[] Entries { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CheckoutOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_OverrideCatalogNamespace; - private uint m_EntryCount; - private System.IntPtr m_Entries; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string OverrideCatalogNamespace - { - set - { - Helper.TryMarshalSet(ref m_OverrideCatalogNamespace, value); - } - } - - public CheckoutEntry[] Entries - { - set - { - Helper.TryMarshalSet(ref m_Entries, value, out m_EntryCount); - } - } - - public void Set(CheckoutOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CheckoutApiLatest; - LocalUserId = other.LocalUserId; - OverrideCatalogNamespace = other.OverrideCatalogNamespace; - Entries = other.Entries; - } - } - - public void Set(object other) - { - Set(other as CheckoutOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_OverrideCatalogNamespace); - Helper.TryMarshalDispose(ref m_Entries); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CheckoutOptions + { + /// + /// The Epic Account ID of the local user who is making the purchase + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The catalog namespace will be the current Sandbox ID (in ) unless overridden by this field + /// + public Utf8String OverrideCatalogNamespace { get; set; } + + /// + /// An array of elements, each containing the details of a single offer + /// + public CheckoutEntry[] Entries { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CheckoutOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_OverrideCatalogNamespace; + private uint m_EntryCount; + private System.IntPtr m_Entries; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String OverrideCatalogNamespace + { + set + { + Helper.Set(value, ref m_OverrideCatalogNamespace); + } + } + + public CheckoutEntry[] Entries + { + set + { + Helper.Set(ref value, ref m_Entries, out m_EntryCount); + } + } + + public void Set(ref CheckoutOptions other) + { + m_ApiVersion = EcomInterface.CheckoutApiLatest; + LocalUserId = other.LocalUserId; + OverrideCatalogNamespace = other.OverrideCatalogNamespace; + Entries = other.Entries; + } + + public void Set(ref CheckoutOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CheckoutApiLatest; + LocalUserId = other.Value.LocalUserId; + OverrideCatalogNamespace = other.Value.OverrideCatalogNamespace; + Entries = other.Value.Entries; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_OverrideCatalogNamespace); + Helper.Dispose(ref m_Entries); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutOptions.cs.meta deleted file mode 100644 index 6afd2daa..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CheckoutOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 76761776a3ea0884ab0a0bfa2bc03d3d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIdOptions.cs index 9df63538..d193baa4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIdOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class CopyEntitlementByIdOptions - { - /// - /// The Epic Online Services Account ID of the local user whose entitlement is being copied - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// ID of the entitlement to retrieve from the cache - /// - public string EntitlementId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyEntitlementByIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_EntitlementId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string EntitlementId - { - set - { - Helper.TryMarshalSet(ref m_EntitlementId, value); - } - } - - public void Set(CopyEntitlementByIdOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CopyentitlementbyidApiLatest; - LocalUserId = other.LocalUserId; - EntitlementId = other.EntitlementId; - } - } - - public void Set(object other) - { - Set(other as CopyEntitlementByIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_EntitlementId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CopyEntitlementByIdOptions + { + /// + /// The Epic Account ID of the local user whose entitlement is being copied + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// ID of the entitlement to retrieve from the cache + /// + public Utf8String EntitlementId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyEntitlementByIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_EntitlementId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String EntitlementId + { + set + { + Helper.Set(value, ref m_EntitlementId); + } + } + + public void Set(ref CopyEntitlementByIdOptions other) + { + m_ApiVersion = EcomInterface.CopyentitlementbyidApiLatest; + LocalUserId = other.LocalUserId; + EntitlementId = other.EntitlementId; + } + + public void Set(ref CopyEntitlementByIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CopyentitlementbyidApiLatest; + LocalUserId = other.Value.LocalUserId; + EntitlementId = other.Value.EntitlementId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_EntitlementId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIdOptions.cs.meta deleted file mode 100644 index 8430b197..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c8cc7a577ee32b54f98ba37f6dbd37ab -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIndexOptions.cs index 0dfad4ba..e5597184 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class CopyEntitlementByIndexOptions - { - /// - /// The Epic Online Services Account ID of the local user whose entitlement is being copied - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// Index of the entitlement to retrieve from the cache - /// - public uint EntitlementIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyEntitlementByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private uint m_EntitlementIndex; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public uint EntitlementIndex - { - set - { - m_EntitlementIndex = value; - } - } - - public void Set(CopyEntitlementByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CopyentitlementbyindexApiLatest; - LocalUserId = other.LocalUserId; - EntitlementIndex = other.EntitlementIndex; - } - } - - public void Set(object other) - { - Set(other as CopyEntitlementByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CopyEntitlementByIndexOptions + { + /// + /// The Epic Account ID of the local user whose entitlement is being copied + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Index of the entitlement to retrieve from the cache + /// + public uint EntitlementIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyEntitlementByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private uint m_EntitlementIndex; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint EntitlementIndex + { + set + { + m_EntitlementIndex = value; + } + } + + public void Set(ref CopyEntitlementByIndexOptions other) + { + m_ApiVersion = EcomInterface.CopyentitlementbyindexApiLatest; + LocalUserId = other.LocalUserId; + EntitlementIndex = other.EntitlementIndex; + } + + public void Set(ref CopyEntitlementByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CopyentitlementbyindexApiLatest; + LocalUserId = other.Value.LocalUserId; + EntitlementIndex = other.Value.EntitlementIndex; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIndexOptions.cs.meta deleted file mode 100644 index 4c542619..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2a7400774c80ac24a863d9b735aca0af -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByNameAndIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByNameAndIndexOptions.cs index 86152486..0df19edc 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByNameAndIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByNameAndIndexOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class CopyEntitlementByNameAndIndexOptions - { - /// - /// The Epic Online Services Account ID of the local user whose entitlement is being copied - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// Name of the entitlement to retrieve from the cache - /// - public string EntitlementName { get; set; } - - /// - /// Index of the entitlement within the named set to retrieve from the cache. - /// - public uint Index { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyEntitlementByNameAndIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_EntitlementName; - private uint m_Index; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string EntitlementName - { - set - { - Helper.TryMarshalSet(ref m_EntitlementName, value); - } - } - - public uint Index - { - set - { - m_Index = value; - } - } - - public void Set(CopyEntitlementByNameAndIndexOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CopyentitlementbynameandindexApiLatest; - LocalUserId = other.LocalUserId; - EntitlementName = other.EntitlementName; - Index = other.Index; - } - } - - public void Set(object other) - { - Set(other as CopyEntitlementByNameAndIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_EntitlementName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CopyEntitlementByNameAndIndexOptions + { + /// + /// The Epic Account ID of the local user whose entitlement is being copied + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Name of the entitlement to retrieve from the cache + /// + public Utf8String EntitlementName { get; set; } + + /// + /// Index of the entitlement within the named set to retrieve from the cache. + /// + public uint Index { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyEntitlementByNameAndIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_EntitlementName; + private uint m_Index; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String EntitlementName + { + set + { + Helper.Set(value, ref m_EntitlementName); + } + } + + public uint Index + { + set + { + m_Index = value; + } + } + + public void Set(ref CopyEntitlementByNameAndIndexOptions other) + { + m_ApiVersion = EcomInterface.CopyentitlementbynameandindexApiLatest; + LocalUserId = other.LocalUserId; + EntitlementName = other.EntitlementName; + Index = other.Index; + } + + public void Set(ref CopyEntitlementByNameAndIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CopyentitlementbynameandindexApiLatest; + LocalUserId = other.Value.LocalUserId; + EntitlementName = other.Value.EntitlementName; + Index = other.Value.Index; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_EntitlementName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByNameAndIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByNameAndIndexOptions.cs.meta deleted file mode 100644 index 72544413..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyEntitlementByNameAndIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: db271fd9b0a87134bb05d7b4491c734e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemByIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemByIdOptions.cs index 4207c455..a19bd4fd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemByIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemByIdOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class CopyItemByIdOptions - { - /// - /// The Epic Online Services Account ID of the local user whose item is being copied - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The ID of the item to get. - /// - public string ItemId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyItemByIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ItemId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string ItemId - { - set - { - Helper.TryMarshalSet(ref m_ItemId, value); - } - } - - public void Set(CopyItemByIdOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CopyitembyidApiLatest; - LocalUserId = other.LocalUserId; - ItemId = other.ItemId; - } - } - - public void Set(object other) - { - Set(other as CopyItemByIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_ItemId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CopyItemByIdOptions + { + /// + /// The Epic Account ID of the local user whose item is being copied + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The ID of the item to get. + /// + public Utf8String ItemId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyItemByIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ItemId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String ItemId + { + set + { + Helper.Set(value, ref m_ItemId); + } + } + + public void Set(ref CopyItemByIdOptions other) + { + m_ApiVersion = EcomInterface.CopyitembyidApiLatest; + LocalUserId = other.LocalUserId; + ItemId = other.ItemId; + } + + public void Set(ref CopyItemByIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CopyitembyidApiLatest; + LocalUserId = other.Value.LocalUserId; + ItemId = other.Value.ItemId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ItemId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemByIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemByIdOptions.cs.meta deleted file mode 100644 index ca9c4e9d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemByIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ad3a9f1b0c36d1c4691417d6e0251276 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemImageInfoByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemImageInfoByIndexOptions.cs index f94c4eb9..7e05c6d6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemImageInfoByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemImageInfoByIndexOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class CopyItemImageInfoByIndexOptions - { - /// - /// The Epic Online Services Account ID of the local user whose item image is being copied - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The ID of the item to get the images for. - /// - public string ItemId { get; set; } - - /// - /// The index of the image to get. - /// - public uint ImageInfoIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyItemImageInfoByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ItemId; - private uint m_ImageInfoIndex; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string ItemId - { - set - { - Helper.TryMarshalSet(ref m_ItemId, value); - } - } - - public uint ImageInfoIndex - { - set - { - m_ImageInfoIndex = value; - } - } - - public void Set(CopyItemImageInfoByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CopyitemimageinfobyindexApiLatest; - LocalUserId = other.LocalUserId; - ItemId = other.ItemId; - ImageInfoIndex = other.ImageInfoIndex; - } - } - - public void Set(object other) - { - Set(other as CopyItemImageInfoByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_ItemId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CopyItemImageInfoByIndexOptions + { + /// + /// The Epic Account ID of the local user whose item image is being copied + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The ID of the item to get the images for. + /// + public Utf8String ItemId { get; set; } + + /// + /// The index of the image to get. + /// + public uint ImageInfoIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyItemImageInfoByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ItemId; + private uint m_ImageInfoIndex; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String ItemId + { + set + { + Helper.Set(value, ref m_ItemId); + } + } + + public uint ImageInfoIndex + { + set + { + m_ImageInfoIndex = value; + } + } + + public void Set(ref CopyItemImageInfoByIndexOptions other) + { + m_ApiVersion = EcomInterface.CopyitemimageinfobyindexApiLatest; + LocalUserId = other.LocalUserId; + ItemId = other.ItemId; + ImageInfoIndex = other.ImageInfoIndex; + } + + public void Set(ref CopyItemImageInfoByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CopyitemimageinfobyindexApiLatest; + LocalUserId = other.Value.LocalUserId; + ItemId = other.Value.ItemId; + ImageInfoIndex = other.Value.ImageInfoIndex; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ItemId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemImageInfoByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemImageInfoByIndexOptions.cs.meta deleted file mode 100644 index 6a0e48df..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemImageInfoByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7b686d3e730de0c4bb86b17fc2906cb0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemReleaseByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemReleaseByIndexOptions.cs index 98e8605b..7e67a42d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemReleaseByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemReleaseByIndexOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class CopyItemReleaseByIndexOptions - { - /// - /// The Epic Online Services Account ID of the local user whose item release is being copied - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The ID of the item to get the releases for. - /// - public string ItemId { get; set; } - - /// - /// The index of the release to get. - /// - public uint ReleaseIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyItemReleaseByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ItemId; - private uint m_ReleaseIndex; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string ItemId - { - set - { - Helper.TryMarshalSet(ref m_ItemId, value); - } - } - - public uint ReleaseIndex - { - set - { - m_ReleaseIndex = value; - } - } - - public void Set(CopyItemReleaseByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CopyitemreleasebyindexApiLatest; - LocalUserId = other.LocalUserId; - ItemId = other.ItemId; - ReleaseIndex = other.ReleaseIndex; - } - } - - public void Set(object other) - { - Set(other as CopyItemReleaseByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_ItemId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CopyItemReleaseByIndexOptions + { + /// + /// The Epic Account ID of the local user whose item release is being copied + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The ID of the item to get the releases for. + /// + public Utf8String ItemId { get; set; } + + /// + /// The index of the release to get. + /// + public uint ReleaseIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyItemReleaseByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ItemId; + private uint m_ReleaseIndex; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String ItemId + { + set + { + Helper.Set(value, ref m_ItemId); + } + } + + public uint ReleaseIndex + { + set + { + m_ReleaseIndex = value; + } + } + + public void Set(ref CopyItemReleaseByIndexOptions other) + { + m_ApiVersion = EcomInterface.CopyitemreleasebyindexApiLatest; + LocalUserId = other.LocalUserId; + ItemId = other.ItemId; + ReleaseIndex = other.ReleaseIndex; + } + + public void Set(ref CopyItemReleaseByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CopyitemreleasebyindexApiLatest; + LocalUserId = other.Value.LocalUserId; + ItemId = other.Value.ItemId; + ReleaseIndex = other.Value.ReleaseIndex; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ItemId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemReleaseByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemReleaseByIndexOptions.cs.meta deleted file mode 100644 index 982d5d43..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyItemReleaseByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7c35a95364d0999449aa9f9d026e9470 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyLastRedeemedEntitlementByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyLastRedeemedEntitlementByIndexOptions.cs new file mode 100644 index 00000000..5ac714e7 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyLastRedeemedEntitlementByIndexOptions.cs @@ -0,0 +1,67 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CopyLastRedeemedEntitlementByIndexOptions + { + /// + /// The Epic Account ID of the local user whose last redeemed entitlement id is being copied + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Index of the last redeemed entitlement id to retrieve from the cache + /// + public uint RedeemedEntitlementIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyLastRedeemedEntitlementByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private uint m_RedeemedEntitlementIndex; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint RedeemedEntitlementIndex + { + set + { + m_RedeemedEntitlementIndex = value; + } + } + + public void Set(ref CopyLastRedeemedEntitlementByIndexOptions other) + { + m_ApiVersion = EcomInterface.CopylastredeemedentitlementbyindexApiLatest; + LocalUserId = other.LocalUserId; + RedeemedEntitlementIndex = other.RedeemedEntitlementIndex; + } + + public void Set(ref CopyLastRedeemedEntitlementByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CopylastredeemedentitlementbyindexApiLatest; + LocalUserId = other.Value.LocalUserId; + RedeemedEntitlementIndex = other.Value.RedeemedEntitlementIndex; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIdOptions.cs index 6eddd448..8b828a16 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIdOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class CopyOfferByIdOptions - { - /// - /// The Epic Online Services Account ID of the local user whose offer is being copied - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The ID of the offer to get. - /// - public string OfferId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyOfferByIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_OfferId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string OfferId - { - set - { - Helper.TryMarshalSet(ref m_OfferId, value); - } - } - - public void Set(CopyOfferByIdOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CopyofferbyidApiLatest; - LocalUserId = other.LocalUserId; - OfferId = other.OfferId; - } - } - - public void Set(object other) - { - Set(other as CopyOfferByIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_OfferId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CopyOfferByIdOptions + { + /// + /// The Epic Account ID of the local user whose offer is being copied + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The ID of the offer to get. + /// + public Utf8String OfferId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyOfferByIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_OfferId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String OfferId + { + set + { + Helper.Set(value, ref m_OfferId); + } + } + + public void Set(ref CopyOfferByIdOptions other) + { + m_ApiVersion = EcomInterface.CopyofferbyidApiLatest; + LocalUserId = other.LocalUserId; + OfferId = other.OfferId; + } + + public void Set(ref CopyOfferByIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CopyofferbyidApiLatest; + LocalUserId = other.Value.LocalUserId; + OfferId = other.Value.OfferId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_OfferId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIdOptions.cs.meta deleted file mode 100644 index 2fc9f73b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 879baa6f2b057e14e95591c40d4081fc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIndexOptions.cs index 8c52158e..e41f9501 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class CopyOfferByIndexOptions - { - /// - /// The Epic Online Services Account ID of the local user whose offer is being copied - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The index of the offer to get. - /// - public uint OfferIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyOfferByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private uint m_OfferIndex; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public uint OfferIndex - { - set - { - m_OfferIndex = value; - } - } - - public void Set(CopyOfferByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CopyofferbyindexApiLatest; - LocalUserId = other.LocalUserId; - OfferIndex = other.OfferIndex; - } - } - - public void Set(object other) - { - Set(other as CopyOfferByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CopyOfferByIndexOptions + { + /// + /// The Epic Account ID of the local user whose offer is being copied + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The index of the offer to get. + /// + public uint OfferIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyOfferByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private uint m_OfferIndex; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint OfferIndex + { + set + { + m_OfferIndex = value; + } + } + + public void Set(ref CopyOfferByIndexOptions other) + { + m_ApiVersion = EcomInterface.CopyofferbyindexApiLatest; + LocalUserId = other.LocalUserId; + OfferIndex = other.OfferIndex; + } + + public void Set(ref CopyOfferByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CopyofferbyindexApiLatest; + LocalUserId = other.Value.LocalUserId; + OfferIndex = other.Value.OfferIndex; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIndexOptions.cs.meta deleted file mode 100644 index d514eb1c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b84455b097a06bc4386ff40b01fa3853 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferImageInfoByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferImageInfoByIndexOptions.cs index c9b4633e..b1503b8a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferImageInfoByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferImageInfoByIndexOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class CopyOfferImageInfoByIndexOptions - { - /// - /// The Epic Online Services Account ID of the local user whose offer image is being copied. - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The ID of the offer to get the images for. - /// - public string OfferId { get; set; } - - /// - /// The index of the image to get. - /// - public uint ImageInfoIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyOfferImageInfoByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_OfferId; - private uint m_ImageInfoIndex; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string OfferId - { - set - { - Helper.TryMarshalSet(ref m_OfferId, value); - } - } - - public uint ImageInfoIndex - { - set - { - m_ImageInfoIndex = value; - } - } - - public void Set(CopyOfferImageInfoByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CopyofferimageinfobyindexApiLatest; - LocalUserId = other.LocalUserId; - OfferId = other.OfferId; - ImageInfoIndex = other.ImageInfoIndex; - } - } - - public void Set(object other) - { - Set(other as CopyOfferImageInfoByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_OfferId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CopyOfferImageInfoByIndexOptions + { + /// + /// The Epic Account ID of the local user whose offer image is being copied. + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The ID of the offer to get the images for. + /// + public Utf8String OfferId { get; set; } + + /// + /// The index of the image to get. + /// + public uint ImageInfoIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyOfferImageInfoByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_OfferId; + private uint m_ImageInfoIndex; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String OfferId + { + set + { + Helper.Set(value, ref m_OfferId); + } + } + + public uint ImageInfoIndex + { + set + { + m_ImageInfoIndex = value; + } + } + + public void Set(ref CopyOfferImageInfoByIndexOptions other) + { + m_ApiVersion = EcomInterface.CopyofferimageinfobyindexApiLatest; + LocalUserId = other.LocalUserId; + OfferId = other.OfferId; + ImageInfoIndex = other.ImageInfoIndex; + } + + public void Set(ref CopyOfferImageInfoByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CopyofferimageinfobyindexApiLatest; + LocalUserId = other.Value.LocalUserId; + OfferId = other.Value.OfferId; + ImageInfoIndex = other.Value.ImageInfoIndex; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_OfferId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferImageInfoByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferImageInfoByIndexOptions.cs.meta deleted file mode 100644 index d4092899..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferImageInfoByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0d014f12c9f57974d91c1e91682a711f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferItemByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferItemByIndexOptions.cs index 652cc604..52b26797 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferItemByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferItemByIndexOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class CopyOfferItemByIndexOptions - { - /// - /// The Epic Online Services Account ID of the local user whose item is being copied - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The ID of the offer to get the items for. - /// - public string OfferId { get; set; } - - /// - /// The index of the item to get. - /// - public uint ItemIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyOfferItemByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_OfferId; - private uint m_ItemIndex; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string OfferId - { - set - { - Helper.TryMarshalSet(ref m_OfferId, value); - } - } - - public uint ItemIndex - { - set - { - m_ItemIndex = value; - } - } - - public void Set(CopyOfferItemByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CopyofferitembyindexApiLatest; - LocalUserId = other.LocalUserId; - OfferId = other.OfferId; - ItemIndex = other.ItemIndex; - } - } - - public void Set(object other) - { - Set(other as CopyOfferItemByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_OfferId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CopyOfferItemByIndexOptions + { + /// + /// The Epic Account ID of the local user whose item is being copied + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The ID of the offer to get the items for. + /// + public Utf8String OfferId { get; set; } + + /// + /// The index of the item to get. + /// + public uint ItemIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyOfferItemByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_OfferId; + private uint m_ItemIndex; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String OfferId + { + set + { + Helper.Set(value, ref m_OfferId); + } + } + + public uint ItemIndex + { + set + { + m_ItemIndex = value; + } + } + + public void Set(ref CopyOfferItemByIndexOptions other) + { + m_ApiVersion = EcomInterface.CopyofferitembyindexApiLatest; + LocalUserId = other.LocalUserId; + OfferId = other.OfferId; + ItemIndex = other.ItemIndex; + } + + public void Set(ref CopyOfferItemByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CopyofferitembyindexApiLatest; + LocalUserId = other.Value.LocalUserId; + OfferId = other.Value.OfferId; + ItemIndex = other.Value.ItemIndex; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_OfferId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferItemByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferItemByIndexOptions.cs.meta deleted file mode 100644 index e2df1fcf..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyOfferItemByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 118d1b36f9c21e2458214dd7a484ba9f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIdOptions.cs index 9bc235ef..56faf8ef 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIdOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class CopyTransactionByIdOptions - { - /// - /// The Epic Online Services Account ID of the local user who is associated with the transaction - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The ID of the transaction to get - /// - public string TransactionId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyTransactionByIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TransactionId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string TransactionId - { - set - { - Helper.TryMarshalSet(ref m_TransactionId, value); - } - } - - public void Set(CopyTransactionByIdOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CopytransactionbyidApiLatest; - LocalUserId = other.LocalUserId; - TransactionId = other.TransactionId; - } - } - - public void Set(object other) - { - Set(other as CopyTransactionByIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TransactionId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CopyTransactionByIdOptions + { + /// + /// The Epic Account ID of the local user who is associated with the transaction + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The ID of the transaction to get + /// + public Utf8String TransactionId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyTransactionByIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TransactionId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String TransactionId + { + set + { + Helper.Set(value, ref m_TransactionId); + } + } + + public void Set(ref CopyTransactionByIdOptions other) + { + m_ApiVersion = EcomInterface.CopytransactionbyidApiLatest; + LocalUserId = other.LocalUserId; + TransactionId = other.TransactionId; + } + + public void Set(ref CopyTransactionByIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CopytransactionbyidApiLatest; + LocalUserId = other.Value.LocalUserId; + TransactionId = other.Value.TransactionId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TransactionId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIdOptions.cs.meta deleted file mode 100644 index 70b7df2d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d77e4d277dd97064dad6d91ff4aee7e5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIndexOptions.cs index 142d3b17..37f6cad2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class CopyTransactionByIndexOptions - { - /// - /// The Epic Online Services Account ID of the local user who is associated with the transaction - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The index of the transaction to get - /// - public uint TransactionIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyTransactionByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private uint m_TransactionIndex; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public uint TransactionIndex - { - set - { - m_TransactionIndex = value; - } - } - - public void Set(CopyTransactionByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.CopytransactionbyindexApiLatest; - LocalUserId = other.LocalUserId; - TransactionIndex = other.TransactionIndex; - } - } - - public void Set(object other) - { - Set(other as CopyTransactionByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct CopyTransactionByIndexOptions + { + /// + /// The Epic Account ID of the local user who is associated with the transaction + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The index of the transaction to get + /// + public uint TransactionIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyTransactionByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private uint m_TransactionIndex; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint TransactionIndex + { + set + { + m_TransactionIndex = value; + } + } + + public void Set(ref CopyTransactionByIndexOptions other) + { + m_ApiVersion = EcomInterface.CopytransactionbyindexApiLatest; + LocalUserId = other.LocalUserId; + TransactionIndex = other.TransactionIndex; + } + + public void Set(ref CopyTransactionByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.CopytransactionbyindexApiLatest; + LocalUserId = other.Value.LocalUserId; + TransactionIndex = other.Value.TransactionIndex; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIndexOptions.cs.meta deleted file mode 100644 index b42a6f87..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/CopyTransactionByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3778d74437a64f34f993c1709fea9989 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomInterface.cs index bf83b805..9a62cfeb 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomInterface.cs @@ -1,957 +1,1091 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - public sealed partial class EcomInterface : Handle - { - public EcomInterface() - { - } - - public EcomInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the struct. - /// - public const int CatalogitemApiLatest = 1; - - /// - /// Timestamp value representing an undefined EntitlementEndTimestamp for - /// - public const int CatalogitemEntitlementendtimestampUndefined = -1; - - /// - /// The most recent version of the struct. - /// - public const int CatalogofferApiLatest = 3; - - /// - /// Timestamp value representing an undefined ExpirationTimestamp for - /// - public const int CatalogofferExpirationtimestampUndefined = -1; - - /// - /// The most recent version of the struct. - /// - public const int CatalogreleaseApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CheckoutApiLatest = 1; - - /// - /// The maximum number of entries in a single checkout. - /// - public const int CheckoutMaxEntries = 10; - - /// - /// The most recent version of the struct. - /// - public const int CheckoutentryApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyentitlementbyidApiLatest = 2; - - /// - /// The most recent version of the API. - /// - public const int CopyentitlementbyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyentitlementbynameandindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyitembyidApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyitemimageinfobyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyitemreleasebyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyofferbyidApiLatest = 2; - - /// - /// The most recent version of the API. - /// - public const int CopyofferbyindexApiLatest = 2; - - /// - /// The most recent version of the API. - /// - public const int CopyofferimageinfobyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyofferitembyindexApiLatest = 1; - - /// - /// The most recent version of the Function. - /// - public const int CopytransactionbyidApiLatest = 1; - - /// - /// The most recent version of the Function. - /// - public const int CopytransactionbyindexApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int EntitlementApiLatest = 2; - - /// - /// Timestamp value representing an undefined EndTimestamp for - /// - public const int EntitlementEndtimestampUndefined = -1; - - /// - /// The most recent version of the API. - /// - public const int GetentitlementsbynamecountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetentitlementscountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetitemimageinfocountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetitemreleasecountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetoffercountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetofferimageinfocountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetofferitemcountApiLatest = 1; - - /// - /// The most recent version of the Function. - /// - public const int GettransactioncountApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int ItemownershipApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int KeyimageinfoApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int QueryentitlementsApiLatest = 2; - - /// - /// The maximum number of entitlements that may be queried in a single pass - /// - public const int QueryentitlementsMaxEntitlementIds = 32; - - /// - /// The most recent version of the API. - /// - public const int QueryoffersApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int QueryownershipApiLatest = 2; - - /// - /// The maximum number of catalog items that may be queried in a single pass - /// - public const int QueryownershipMaxCatalogIds = 32; - - /// - /// The most recent version of the API. - /// - public const int QueryownershiptokenApiLatest = 2; - - /// - /// The maximum number of catalog items that may be queried in a single pass - /// - public const int QueryownershiptokenMaxCatalogitemIds = 32; - - /// - /// The most recent version of the API. - /// - public const int RedeementitlementsApiLatest = 1; - - /// - /// The maximum number of entitlement IDs that may be redeemed in a single pass - /// - public const int RedeementitlementsMaxIds = 32; - - /// - /// The maximum length of a transaction ID. - /// - public const int TransactionidMaximumLength = 64; - - /// - /// Initiates the purchase flow for a set of offers. The callback is triggered after the purchase flow. - /// On success, the set of entitlements that were unlocked will be cached. - /// On success, a Transaction ID will be returned. The Transaction ID can be used to obtain an - /// handle. The handle can then be used to retrieve the entitlements rewarded by the purchase. - /// - /// - /// structure containing filter criteria - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void Checkout(CheckoutOptions options, object clientData, OnCheckoutCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnCheckoutCallbackInternal(OnCheckoutCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Ecom_Checkout(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Fetches the entitlement with the given ID. - /// - /// - /// - /// structure containing the Epic Online Services Account ID and entitlement ID being accessed - /// the entitlement for the given ID, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutEntitlement - /// if the entitlement information is stale and passed out in OutEntitlement - /// if you pass a null pointer for the out parameter - /// if the entitlement is not found - /// - public Result CopyEntitlementById(CopyEntitlementByIdOptions options, out Entitlement outEntitlement) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outEntitlementAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Ecom_CopyEntitlementById(InnerHandle, optionsAddress, ref outEntitlementAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outEntitlementAddress, out outEntitlement)) - { - Bindings.EOS_Ecom_Entitlement_Release(outEntitlementAddress); - } - - return funcResult; - } - - /// - /// Fetches an entitlement from a given index. - /// - /// - /// structure containing the Epic Online Services Account ID and index being accessed - /// the entitlement for the given index, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutEntitlement - /// if the entitlement information is stale and passed out in OutEntitlement - /// if you pass a null pointer for the out parameter - /// if the entitlement is not found - /// - public Result CopyEntitlementByIndex(CopyEntitlementByIndexOptions options, out Entitlement outEntitlement) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outEntitlementAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Ecom_CopyEntitlementByIndex(InnerHandle, optionsAddress, ref outEntitlementAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outEntitlementAddress, out outEntitlement)) - { - Bindings.EOS_Ecom_Entitlement_Release(outEntitlementAddress); - } - - return funcResult; - } - - /// - /// Fetches a single entitlement with a given Entitlement Name. The Index is used to access individual - /// entitlements among those with the same Entitlement Name. The Index can be a value from 0 to - /// one less than the result from . - /// - /// - /// structure containing the Epic Online Services Account ID, entitlement name, and index being accessed - /// the entitlement for the given name index pair, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutEntitlement - /// if the entitlement information is stale and passed out in OutEntitlement - /// if you pass a null pointer for the out parameter - /// if the entitlement is not found - /// - public Result CopyEntitlementByNameAndIndex(CopyEntitlementByNameAndIndexOptions options, out Entitlement outEntitlement) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outEntitlementAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Ecom_CopyEntitlementByNameAndIndex(InnerHandle, optionsAddress, ref outEntitlementAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outEntitlementAddress, out outEntitlement)) - { - Bindings.EOS_Ecom_Entitlement_Release(outEntitlementAddress); - } - - return funcResult; - } - - /// - /// Fetches an item with a given ID. - /// - /// - /// - /// - /// structure containing the item ID being accessed - /// the item for the given index, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutItem - /// if the item information is stale and passed out in OutItem - /// if you pass a null pointer for the out parameter - /// if the offer is not found - /// - public Result CopyItemById(CopyItemByIdOptions options, out CatalogItem outItem) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outItemAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Ecom_CopyItemById(InnerHandle, optionsAddress, ref outItemAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outItemAddress, out outItem)) - { - Bindings.EOS_Ecom_CatalogItem_Release(outItemAddress); - } - - return funcResult; - } - - /// - /// Fetches an image from a given index. - /// - /// - /// structure containing the item ID and index being accessed - /// the image for the given index, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutImageInfo - /// if you pass a null pointer for the out parameter - /// if the associated item information is stale - /// if the image is not found - /// - public Result CopyItemImageInfoByIndex(CopyItemImageInfoByIndexOptions options, out KeyImageInfo outImageInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outImageInfoAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Ecom_CopyItemImageInfoByIndex(InnerHandle, optionsAddress, ref outImageInfoAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outImageInfoAddress, out outImageInfo)) - { - Bindings.EOS_Ecom_KeyImageInfo_Release(outImageInfoAddress); - } - - return funcResult; - } - - /// - /// Fetches a release from a given index. - /// - /// - /// structure containing the item ID and index being accessed - /// the release for the given index, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutRelease - /// if you pass a null pointer for the out parameter - /// if the associated item information is stale - /// if the release is not found - /// - public Result CopyItemReleaseByIndex(CopyItemReleaseByIndexOptions options, out CatalogRelease outRelease) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outReleaseAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Ecom_CopyItemReleaseByIndex(InnerHandle, optionsAddress, ref outReleaseAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outReleaseAddress, out outRelease)) - { - Bindings.EOS_Ecom_CatalogRelease_Release(outReleaseAddress); - } - - return funcResult; - } - - /// - /// Fetches an offer with a given ID. The pricing and text are localized to the provided account. - /// - /// - /// - /// structure containing the Epic Online Services Account ID and offer ID being accessed - /// the offer for the given index, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutOffer - /// if the offer information is stale and passed out in OutOffer - /// if the offer information has an invalid price and passed out in OutOffer - /// if you pass a null pointer for the out parameter - /// if the offer is not found - /// - public Result CopyOfferById(CopyOfferByIdOptions options, out CatalogOffer outOffer) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outOfferAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Ecom_CopyOfferById(InnerHandle, optionsAddress, ref outOfferAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outOfferAddress, out outOffer)) - { - Bindings.EOS_Ecom_CatalogOffer_Release(outOfferAddress); - } - - return funcResult; - } - - /// - /// Fetches an offer from a given index. The pricing and text are localized to the provided account. - /// - /// - /// - /// structure containing the Epic Online Services Account ID and index being accessed - /// the offer for the given index, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutOffer - /// if the offer information is stale and passed out in OutOffer - /// if the offer information has an invalid price and passed out in OutOffer - /// if you pass a null pointer for the out parameter - /// if the offer is not found - /// - public Result CopyOfferByIndex(CopyOfferByIndexOptions options, out CatalogOffer outOffer) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outOfferAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Ecom_CopyOfferByIndex(InnerHandle, optionsAddress, ref outOfferAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outOfferAddress, out outOffer)) - { - Bindings.EOS_Ecom_CatalogOffer_Release(outOfferAddress); - } - - return funcResult; - } - - /// - /// Fetches an image from a given index. - /// - /// - /// structure containing the offer ID and index being accessed - /// the image for the given index, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutImageInfo - /// if you pass a null pointer for the out parameter - /// if the associated offer information is stale - /// if the image is not found - /// - public Result CopyOfferImageInfoByIndex(CopyOfferImageInfoByIndexOptions options, out KeyImageInfo outImageInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outImageInfoAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Ecom_CopyOfferImageInfoByIndex(InnerHandle, optionsAddress, ref outImageInfoAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outImageInfoAddress, out outImageInfo)) - { - Bindings.EOS_Ecom_KeyImageInfo_Release(outImageInfoAddress); - } - - return funcResult; - } - - /// - /// Fetches an item from a given index. - /// - /// - /// - /// - /// structure containing the Epic Online Services Account ID and index being accessed - /// the item for the given index, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutItem - /// if you pass a null pointer for the out parameter - /// if the item information is stale - /// if the item is not found - /// - public Result CopyOfferItemByIndex(CopyOfferItemByIndexOptions options, out CatalogItem outItem) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outItemAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Ecom_CopyOfferItemByIndex(InnerHandle, optionsAddress, ref outItemAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outItemAddress, out outItem)) - { - Bindings.EOS_Ecom_CatalogItem_Release(outItemAddress); - } - - return funcResult; - } - - /// - /// Fetches the transaction handle at the given index. - /// - /// - /// - /// structure containing the Epic Online Services Account ID and transaction ID being accessed - /// - /// if the information is available and passed out in OutTransaction - /// if you pass a null pointer for the out parameter - /// if the transaction is not found - /// - public Result CopyTransactionById(CopyTransactionByIdOptions options, out Transaction outTransaction) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outTransactionAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Ecom_CopyTransactionById(InnerHandle, optionsAddress, ref outTransactionAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outTransactionAddress, out outTransaction); - - return funcResult; - } - - /// - /// Fetches the transaction handle at the given index. - /// - /// - /// - /// structure containing the Epic Online Services Account ID and index being accessed - /// - /// if the information is available and passed out in OutTransaction - /// if you pass a null pointer for the out parameter - /// if the transaction is not found - /// - public Result CopyTransactionByIndex(CopyTransactionByIndexOptions options, out Transaction outTransaction) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outTransactionAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Ecom_CopyTransactionByIndex(InnerHandle, optionsAddress, ref outTransactionAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outTransactionAddress, out outTransaction); - - return funcResult; - } - - /// - /// Fetch the number of entitlements with the given Entitlement Name that are cached for a given local user. - /// - /// - /// structure containing the Epic Online Services Account ID and name being accessed - /// - /// the number of entitlements found. - /// - public uint GetEntitlementsByNameCount(GetEntitlementsByNameCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Ecom_GetEntitlementsByNameCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Fetch the number of entitlements that are cached for a given local user. - /// - /// - /// structure containing the Epic Online Services Account ID being accessed - /// - /// the number of entitlements found. - /// - public uint GetEntitlementsCount(GetEntitlementsCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Ecom_GetEntitlementsCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Fetch the number of images that are associated with a given cached item for a local user. - /// - /// - /// the number of images found. - /// - public uint GetItemImageInfoCount(GetItemImageInfoCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Ecom_GetItemImageInfoCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Fetch the number of releases that are associated with a given cached item for a local user. - /// - /// - /// the number of releases found. - /// - public uint GetItemReleaseCount(GetItemReleaseCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Ecom_GetItemReleaseCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Fetch the number of offers that are cached for a given local user. - /// - /// - /// structure containing the Epic Online Services Account ID being accessed - /// - /// the number of offers found. - /// - public uint GetOfferCount(GetOfferCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Ecom_GetOfferCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Fetch the number of images that are associated with a given cached offer for a local user. - /// - /// - /// the number of images found. - /// - public uint GetOfferImageInfoCount(GetOfferImageInfoCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Ecom_GetOfferImageInfoCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Fetch the number of items that are associated with a given cached offer for a local user. - /// - /// - /// the number of items found. - /// - public uint GetOfferItemCount(GetOfferItemCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Ecom_GetOfferItemCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Fetch the number of transactions that are cached for a given local user. - /// - /// - /// - /// - /// the number of transactions found. - /// - public uint GetTransactionCount(GetTransactionCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Ecom_GetTransactionCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Query the entitlement information defined with Epic Online Services. - /// A set of entitlement names can be provided to filter the set of entitlements associated with the account. - /// This data will be cached for a limited time and retrieved again from the backend when necessary. - /// Use , , and to get the entitlement details. - /// Use to retrieve the number of entitlements with a specific entitlement name. - /// - /// structure containing the account and entitlement names to retrieve - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void QueryEntitlements(QueryEntitlementsOptions options, object clientData, OnQueryEntitlementsCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryEntitlementsCallbackInternal(OnQueryEntitlementsCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Ecom_QueryEntitlements(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Query for a list of catalog offers defined with Epic Online Services. - /// This data will be cached for a limited time and retrieved again from the backend when necessary. - /// - /// structure containing filter criteria - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void QueryOffers(QueryOffersOptions options, object clientData, OnQueryOffersCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryOffersCallbackInternal(OnQueryOffersCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Ecom_QueryOffers(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Query the ownership status for a given list of catalog item IDs defined with Epic Online Services. - /// This data will be cached for a limited time and retrieved again from the backend when necessary - /// - /// structure containing the account and catalog item IDs to retrieve - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void QueryOwnership(QueryOwnershipOptions options, object clientData, OnQueryOwnershipCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryOwnershipCallbackInternal(OnQueryOwnershipCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Ecom_QueryOwnership(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Query the ownership status for a given list of catalog item IDs defined with Epic Online Services. - /// The data is return via the callback in the form of a signed JWT that should be verified by an external backend server using a public key for authenticity. - /// - /// structure containing the account and catalog item IDs to retrieve in token form - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void QueryOwnershipToken(QueryOwnershipTokenOptions options, object clientData, OnQueryOwnershipTokenCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryOwnershipTokenCallbackInternal(OnQueryOwnershipTokenCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Ecom_QueryOwnershipToken(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Requests that the provided entitlement be marked redeemed. This will cause that entitlement - /// to no longer be returned from QueryEntitlements unless the include redeemed request flag is set true. - /// - /// structure containing entitlement to redeem - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void RedeemEntitlements(RedeemEntitlementsOptions options, object clientData, OnRedeemEntitlementsCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnRedeemEntitlementsCallbackInternal(OnRedeemEntitlementsCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Ecom_RedeemEntitlements(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnCheckoutCallbackInternal))] - internal static void OnCheckoutCallbackInternalImplementation(System.IntPtr data) - { - OnCheckoutCallback callback; - CheckoutCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryEntitlementsCallbackInternal))] - internal static void OnQueryEntitlementsCallbackInternalImplementation(System.IntPtr data) - { - OnQueryEntitlementsCallback callback; - QueryEntitlementsCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryOffersCallbackInternal))] - internal static void OnQueryOffersCallbackInternalImplementation(System.IntPtr data) - { - OnQueryOffersCallback callback; - QueryOffersCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryOwnershipCallbackInternal))] - internal static void OnQueryOwnershipCallbackInternalImplementation(System.IntPtr data) - { - OnQueryOwnershipCallback callback; - QueryOwnershipCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryOwnershipTokenCallbackInternal))] - internal static void OnQueryOwnershipTokenCallbackInternalImplementation(System.IntPtr data) - { - OnQueryOwnershipTokenCallback callback; - QueryOwnershipTokenCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnRedeemEntitlementsCallbackInternal))] - internal static void OnRedeemEntitlementsCallbackInternalImplementation(System.IntPtr data) - { - OnRedeemEntitlementsCallback callback; - RedeemEntitlementsCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + public sealed partial class EcomInterface : Handle + { + public EcomInterface() + { + } + + public EcomInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the struct. + /// + public const int CatalogitemApiLatest = 1; + + /// + /// Timestamp value representing an undefined EntitlementEndTimestamp for + /// + public const int CatalogitemEntitlementendtimestampUndefined = -1; + + /// + /// The most recent version of the struct. + /// + public const int CatalogofferApiLatest = 5; + + /// + /// Timestamp value representing an undefined EffectiveDateTimestamp for + /// + public const int CatalogofferEffectivedatetimestampUndefined = -1; + + /// + /// Timestamp value representing an undefined ExpirationTimestamp for + /// + public const int CatalogofferExpirationtimestampUndefined = -1; + + /// + /// Timestamp value representing an undefined ReleaseDateTimestamp for + /// + public const int CatalogofferReleasedatetimestampUndefined = -1; + + /// + /// The most recent version of the struct. + /// + public const int CatalogreleaseApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CheckoutApiLatest = 1; + + /// + /// The maximum number of entries in a single checkout. + /// + public const int CheckoutMaxEntries = 10; + + /// + /// The most recent version of the struct. + /// + public const int CheckoutentryApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyentitlementbyidApiLatest = 2; + + /// + /// The most recent version of the API. + /// + public const int CopyentitlementbyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyentitlementbynameandindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyitembyidApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyitemimageinfobyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyitemreleasebyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopylastredeemedentitlementbyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyofferbyidApiLatest = 3; + + /// + /// The most recent version of the API. + /// + public const int CopyofferbyindexApiLatest = 3; + + /// + /// The most recent version of the API. + /// + public const int CopyofferimageinfobyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyofferitembyindexApiLatest = 1; + + /// + /// The most recent version of the Function. + /// + public const int CopytransactionbyidApiLatest = 1; + + /// + /// The most recent version of the Function. + /// + public const int CopytransactionbyindexApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int EntitlementApiLatest = 2; + + /// + /// Timestamp value representing an undefined EndTimestamp for + /// + public const int EntitlementEndtimestampUndefined = -1; + + /// + /// The maximum length of an entitlement ID + /// + public const int EntitlementidMaxLength = 32; + + /// + /// The most recent version of the API. + /// + public const int GetentitlementsbynamecountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetentitlementscountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetitemimageinfocountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetitemreleasecountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetlastredeemedentitlementscountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetoffercountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetofferimageinfocountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetofferitemcountApiLatest = 1; + + /// + /// The most recent version of the Function. + /// + public const int GettransactioncountApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int ItemownershipApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int KeyimageinfoApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int QueryentitlementsApiLatest = 2; + + /// + /// The maximum number of entitlements that may be queried in a single pass + /// + public const int QueryentitlementsMaxEntitlementIds = 32; + + /// + /// The most recent version of the API. + /// + public const int QueryentitlementtokenApiLatest = 1; + + /// + /// The maximum number of entitlements that may be queried in a single pass. + /// + public const int QueryentitlementtokenMaxEntitlementIds = 32; + + /// + /// The most recent version of the API. + /// + public const int QueryoffersApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int QueryownershipApiLatest = 2; + + /// + /// The maximum number of catalog items that may be queried in a single pass + /// + public const int QueryownershipMaxCatalogIds = 50; + + /// + /// The most recent version of the API. + /// + public const int QueryownershiptokenApiLatest = 2; + + /// + /// The maximum number of catalog items that may be queried in a single pass + /// + public const int QueryownershiptokenMaxCatalogitemIds = 32; + + /// + /// The most recent version of the API. + /// + public const int RedeementitlementsApiLatest = 2; + + /// + /// The maximum number of entitlement IDs that may be redeemed in a single pass + /// + public const int RedeementitlementsMaxIds = 32; + + /// + /// The maximum length of a transaction ID. + /// + public const int TransactionidMaximumLength = 64; + + /// + /// Initiates the purchase flow for a set of offers. The callback is triggered after the purchase flow. + /// On success, the set of entitlements that were unlocked will be cached. + /// On success, a Transaction ID will be returned. The Transaction ID can be used to obtain an + /// handle. The handle can then be used to retrieve the entitlements rewarded by the purchase. + /// + /// + /// structure containing filter criteria + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void Checkout(ref CheckoutOptions options, object clientData, OnCheckoutCallback completionDelegate) + { + CheckoutOptionsInternal optionsInternal = new CheckoutOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnCheckoutCallbackInternal(OnCheckoutCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Ecom_Checkout(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Fetches the entitlement with the given ID. + /// + /// + /// + /// structure containing the Epic Account ID and entitlement ID being accessed + /// the entitlement for the given ID, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutEntitlement + /// if the entitlement information is stale and passed out in OutEntitlement + /// if you pass a null pointer for the out parameter + /// if the entitlement is not found + /// + public Result CopyEntitlementById(ref CopyEntitlementByIdOptions options, out Entitlement? outEntitlement) + { + CopyEntitlementByIdOptionsInternal optionsInternal = new CopyEntitlementByIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outEntitlementAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Ecom_CopyEntitlementById(InnerHandle, ref optionsInternal, ref outEntitlementAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outEntitlementAddress, out outEntitlement); + if (outEntitlement != null) + { + Bindings.EOS_Ecom_Entitlement_Release(outEntitlementAddress); + } + + return funcResult; + } + + /// + /// Fetches an entitlement from a given index. + /// + /// + /// structure containing the Epic Account ID and index being accessed + /// the entitlement for the given index, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutEntitlement + /// if the entitlement information is stale and passed out in OutEntitlement + /// if you pass a null pointer for the out parameter + /// if the entitlement is not found + /// + public Result CopyEntitlementByIndex(ref CopyEntitlementByIndexOptions options, out Entitlement? outEntitlement) + { + CopyEntitlementByIndexOptionsInternal optionsInternal = new CopyEntitlementByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outEntitlementAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Ecom_CopyEntitlementByIndex(InnerHandle, ref optionsInternal, ref outEntitlementAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outEntitlementAddress, out outEntitlement); + if (outEntitlement != null) + { + Bindings.EOS_Ecom_Entitlement_Release(outEntitlementAddress); + } + + return funcResult; + } + + /// + /// Fetches a single entitlement with a given Entitlement Name. The Index is used to access individual + /// entitlements among those with the same Entitlement Name. The Index can be a value from 0 to + /// one less than the result from . + /// + /// + /// structure containing the Epic Account ID, entitlement name, and index being accessed + /// the entitlement for the given name index pair, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutEntitlement + /// if the entitlement information is stale and passed out in OutEntitlement + /// if you pass a null pointer for the out parameter + /// if the entitlement is not found + /// + public Result CopyEntitlementByNameAndIndex(ref CopyEntitlementByNameAndIndexOptions options, out Entitlement? outEntitlement) + { + CopyEntitlementByNameAndIndexOptionsInternal optionsInternal = new CopyEntitlementByNameAndIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outEntitlementAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Ecom_CopyEntitlementByNameAndIndex(InnerHandle, ref optionsInternal, ref outEntitlementAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outEntitlementAddress, out outEntitlement); + if (outEntitlement != null) + { + Bindings.EOS_Ecom_Entitlement_Release(outEntitlementAddress); + } + + return funcResult; + } + + /// + /// Fetches an item with a given ID. + /// + /// + /// + /// + /// structure containing the item ID being accessed + /// the item for the given index, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutItem + /// if the item information is stale and passed out in OutItem + /// if you pass a null pointer for the out parameter + /// if the offer is not found + /// + public Result CopyItemById(ref CopyItemByIdOptions options, out CatalogItem? outItem) + { + CopyItemByIdOptionsInternal optionsInternal = new CopyItemByIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outItemAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Ecom_CopyItemById(InnerHandle, ref optionsInternal, ref outItemAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outItemAddress, out outItem); + if (outItem != null) + { + Bindings.EOS_Ecom_CatalogItem_Release(outItemAddress); + } + + return funcResult; + } + + /// + /// Fetches an image from a given index. + /// + /// + /// structure containing the item ID and index being accessed + /// the image for the given index, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutImageInfo + /// if you pass a null pointer for the out parameter + /// if the associated item information is stale + /// if the image is not found + /// + public Result CopyItemImageInfoByIndex(ref CopyItemImageInfoByIndexOptions options, out KeyImageInfo? outImageInfo) + { + CopyItemImageInfoByIndexOptionsInternal optionsInternal = new CopyItemImageInfoByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outImageInfoAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Ecom_CopyItemImageInfoByIndex(InnerHandle, ref optionsInternal, ref outImageInfoAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outImageInfoAddress, out outImageInfo); + if (outImageInfo != null) + { + Bindings.EOS_Ecom_KeyImageInfo_Release(outImageInfoAddress); + } + + return funcResult; + } + + /// + /// Fetches a release from a given index. + /// + /// + /// structure containing the item ID and index being accessed + /// the release for the given index, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutRelease + /// if you pass a null pointer for the out parameter + /// if the associated item information is stale + /// if the release is not found + /// + public Result CopyItemReleaseByIndex(ref CopyItemReleaseByIndexOptions options, out CatalogRelease? outRelease) + { + CopyItemReleaseByIndexOptionsInternal optionsInternal = new CopyItemReleaseByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outReleaseAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Ecom_CopyItemReleaseByIndex(InnerHandle, ref optionsInternal, ref outReleaseAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outReleaseAddress, out outRelease); + if (outRelease != null) + { + Bindings.EOS_Ecom_CatalogRelease_Release(outReleaseAddress); + } + + return funcResult; + } + + /// + /// Fetches a redeemed entitlement id from a given index. + /// Only entitlements that were redeemed during the last call can be copied. + /// + /// + /// structure containing the Epic Account ID and index being accessed + /// The ID of the redeemed entitlement. Must be long enough to hold a string of . + /// + /// The size of the OutRedeemedEntitlementId in characters. + /// The input buffer should include enough space to be null-terminated. + /// When the function returns, this parameter will be filled with the length of the string copied into OutRedeemedEntitlementId. + /// + /// + /// if the information is available and passed out in OutRedeemedEntitlementId + /// if you pass a null pointer for the out parameter + /// if the entitlement id is not found + /// + public Result CopyLastRedeemedEntitlementByIndex(ref CopyLastRedeemedEntitlementByIndexOptions options, out Utf8String outRedeemedEntitlementId) + { + CopyLastRedeemedEntitlementByIndexOptionsInternal optionsInternal = new CopyLastRedeemedEntitlementByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + int inOutRedeemedEntitlementIdLength = EntitlementidMaxLength + 1; + System.IntPtr outRedeemedEntitlementIdAddress = Helper.AddAllocation(inOutRedeemedEntitlementIdLength); + + var funcResult = Bindings.EOS_Ecom_CopyLastRedeemedEntitlementByIndex(InnerHandle, ref optionsInternal, outRedeemedEntitlementIdAddress, ref inOutRedeemedEntitlementIdLength); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outRedeemedEntitlementIdAddress, out outRedeemedEntitlementId); + Helper.Dispose(ref outRedeemedEntitlementIdAddress); + + return funcResult; + } + + /// + /// Fetches an offer with a given ID. The pricing and text are localized to the provided account. + /// + /// + /// + /// structure containing the Epic Account ID and offer ID being accessed + /// the offer for the given index, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutOffer + /// if the offer information is stale and passed out in OutOffer + /// if the offer information has an invalid price and passed out in OutOffer + /// if you pass a null pointer for the out parameter + /// if the offer is not found + /// + public Result CopyOfferById(ref CopyOfferByIdOptions options, out CatalogOffer? outOffer) + { + CopyOfferByIdOptionsInternal optionsInternal = new CopyOfferByIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outOfferAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Ecom_CopyOfferById(InnerHandle, ref optionsInternal, ref outOfferAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outOfferAddress, out outOffer); + if (outOffer != null) + { + Bindings.EOS_Ecom_CatalogOffer_Release(outOfferAddress); + } + + return funcResult; + } + + /// + /// Fetches an offer from a given index. The pricing and text are localized to the provided account. + /// + /// + /// + /// structure containing the Epic Account ID and index being accessed + /// the offer for the given index, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutOffer + /// if the offer information is stale and passed out in OutOffer + /// if the offer information has an invalid price and passed out in OutOffer + /// if you pass a null pointer for the out parameter + /// if the offer is not found + /// + public Result CopyOfferByIndex(ref CopyOfferByIndexOptions options, out CatalogOffer? outOffer) + { + CopyOfferByIndexOptionsInternal optionsInternal = new CopyOfferByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outOfferAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Ecom_CopyOfferByIndex(InnerHandle, ref optionsInternal, ref outOfferAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outOfferAddress, out outOffer); + if (outOffer != null) + { + Bindings.EOS_Ecom_CatalogOffer_Release(outOfferAddress); + } + + return funcResult; + } + + /// + /// Fetches an image from a given index. + /// + /// + /// structure containing the offer ID and index being accessed + /// the image for the given index, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutImageInfo + /// if you pass a null pointer for the out parameter + /// if the associated offer information is stale + /// if the image is not found + /// + public Result CopyOfferImageInfoByIndex(ref CopyOfferImageInfoByIndexOptions options, out KeyImageInfo? outImageInfo) + { + CopyOfferImageInfoByIndexOptionsInternal optionsInternal = new CopyOfferImageInfoByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outImageInfoAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Ecom_CopyOfferImageInfoByIndex(InnerHandle, ref optionsInternal, ref outImageInfoAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outImageInfoAddress, out outImageInfo); + if (outImageInfo != null) + { + Bindings.EOS_Ecom_KeyImageInfo_Release(outImageInfoAddress); + } + + return funcResult; + } + + /// + /// Fetches an item from a given index. + /// + /// + /// + /// + /// structure containing the Epic Account ID and index being accessed + /// the item for the given index, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutItem + /// if you pass a null pointer for the out parameter + /// if the item information is stale + /// if the item is not found + /// + public Result CopyOfferItemByIndex(ref CopyOfferItemByIndexOptions options, out CatalogItem? outItem) + { + CopyOfferItemByIndexOptionsInternal optionsInternal = new CopyOfferItemByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outItemAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Ecom_CopyOfferItemByIndex(InnerHandle, ref optionsInternal, ref outItemAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outItemAddress, out outItem); + if (outItem != null) + { + Bindings.EOS_Ecom_CatalogItem_Release(outItemAddress); + } + + return funcResult; + } + + /// + /// Fetches the transaction handle at the given index. + /// + /// + /// + /// structure containing the Epic Account ID and transaction ID being accessed + /// + /// if the information is available and passed out in OutTransaction + /// if you pass a null pointer for the out parameter + /// if the transaction is not found + /// + public Result CopyTransactionById(ref CopyTransactionByIdOptions options, out Transaction outTransaction) + { + CopyTransactionByIdOptionsInternal optionsInternal = new CopyTransactionByIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outTransactionAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Ecom_CopyTransactionById(InnerHandle, ref optionsInternal, ref outTransactionAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outTransactionAddress, out outTransaction); + + return funcResult; + } + + /// + /// Fetches the transaction handle at the given index. + /// + /// + /// + /// structure containing the Epic Account ID and index being accessed + /// + /// if the information is available and passed out in OutTransaction + /// if you pass a null pointer for the out parameter + /// if the transaction is not found + /// + public Result CopyTransactionByIndex(ref CopyTransactionByIndexOptions options, out Transaction outTransaction) + { + CopyTransactionByIndexOptionsInternal optionsInternal = new CopyTransactionByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outTransactionAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Ecom_CopyTransactionByIndex(InnerHandle, ref optionsInternal, ref outTransactionAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outTransactionAddress, out outTransaction); + + return funcResult; + } + + /// + /// Fetch the number of entitlements with the given Entitlement Name that are cached for a given local user. + /// + /// + /// structure containing the Epic Account ID and name being accessed + /// + /// the number of entitlements found. + /// + public uint GetEntitlementsByNameCount(ref GetEntitlementsByNameCountOptions options) + { + GetEntitlementsByNameCountOptionsInternal optionsInternal = new GetEntitlementsByNameCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Ecom_GetEntitlementsByNameCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Fetch the number of entitlements that are cached for a given local user. + /// + /// + /// structure containing the Epic Account ID being accessed + /// + /// the number of entitlements found. + /// + public uint GetEntitlementsCount(ref GetEntitlementsCountOptions options) + { + GetEntitlementsCountOptionsInternal optionsInternal = new GetEntitlementsCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Ecom_GetEntitlementsCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Fetch the number of images that are associated with a given cached item for a local user. + /// + /// + /// the number of images found. + /// + public uint GetItemImageInfoCount(ref GetItemImageInfoCountOptions options) + { + GetItemImageInfoCountOptionsInternal optionsInternal = new GetItemImageInfoCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Ecom_GetItemImageInfoCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Fetch the number of releases that are associated with a given cached item for a local user. + /// + /// + /// the number of releases found. + /// + public uint GetItemReleaseCount(ref GetItemReleaseCountOptions options) + { + GetItemReleaseCountOptionsInternal optionsInternal = new GetItemReleaseCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Ecom_GetItemReleaseCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Fetch the number of entitlements that were redeemed during the last call. + /// + /// + /// structure containing the Epic Account ID + /// + /// the number of the redeemed entitlements. + /// + public uint GetLastRedeemedEntitlementsCount(ref GetLastRedeemedEntitlementsCountOptions options) + { + GetLastRedeemedEntitlementsCountOptionsInternal optionsInternal = new GetLastRedeemedEntitlementsCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Ecom_GetLastRedeemedEntitlementsCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Fetch the number of offers that are cached for a given local user. + /// + /// + /// structure containing the Epic Account ID being accessed + /// + /// the number of offers found. + /// + public uint GetOfferCount(ref GetOfferCountOptions options) + { + GetOfferCountOptionsInternal optionsInternal = new GetOfferCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Ecom_GetOfferCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Fetch the number of images that are associated with a given cached offer for a local user. + /// + /// + /// the number of images found. + /// + public uint GetOfferImageInfoCount(ref GetOfferImageInfoCountOptions options) + { + GetOfferImageInfoCountOptionsInternal optionsInternal = new GetOfferImageInfoCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Ecom_GetOfferImageInfoCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Fetch the number of items that are associated with a given cached offer for a local user. + /// + /// + /// the number of items found. + /// + public uint GetOfferItemCount(ref GetOfferItemCountOptions options) + { + GetOfferItemCountOptionsInternal optionsInternal = new GetOfferItemCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Ecom_GetOfferItemCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Fetch the number of transactions that are cached for a given local user. + /// + /// + /// + /// + /// the number of transactions found. + /// + public uint GetTransactionCount(ref GetTransactionCountOptions options) + { + GetTransactionCountOptionsInternal optionsInternal = new GetTransactionCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Ecom_GetTransactionCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Query the entitlement verification status defined with Epic Online Services. + /// An optional set of entitlement names can be provided to filter the set of entitlements associated with the account. + /// The data is return via the callback in the form of a signed JWT that should be verified by an external backend server using a public key for authenticity. + /// + /// structure containing the account and catalog item IDs to retrieve in token form + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void QueryEntitlementToken(ref QueryEntitlementTokenOptions options, object clientData, OnQueryEntitlementTokenCallback completionDelegate) + { + QueryEntitlementTokenOptionsInternal optionsInternal = new QueryEntitlementTokenOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryEntitlementTokenCallbackInternal(OnQueryEntitlementTokenCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Ecom_QueryEntitlementToken(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Query the entitlement information defined with Epic Online Services. + /// A set of entitlement names can be provided to filter the set of entitlements associated with the account. + /// This data will be cached for a limited time and retrieved again from the backend when necessary. + /// Use , , and to get the entitlement details. + /// Use to retrieve the number of entitlements with a specific entitlement name. + /// + /// structure containing the account and entitlement names to retrieve + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void QueryEntitlements(ref QueryEntitlementsOptions options, object clientData, OnQueryEntitlementsCallback completionDelegate) + { + QueryEntitlementsOptionsInternal optionsInternal = new QueryEntitlementsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryEntitlementsCallbackInternal(OnQueryEntitlementsCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Ecom_QueryEntitlements(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Query for a list of catalog offers defined with Epic Online Services. + /// This data will be cached for a limited time and retrieved again from the backend when necessary. + /// + /// structure containing filter criteria + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void QueryOffers(ref QueryOffersOptions options, object clientData, OnQueryOffersCallback completionDelegate) + { + QueryOffersOptionsInternal optionsInternal = new QueryOffersOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryOffersCallbackInternal(OnQueryOffersCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Ecom_QueryOffers(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Query the ownership status for a given list of catalog item IDs defined with Epic Online Services. + /// This data will be cached for a limited time and retrieved again from the backend when necessary + /// + /// structure containing the account and catalog item IDs to retrieve + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void QueryOwnership(ref QueryOwnershipOptions options, object clientData, OnQueryOwnershipCallback completionDelegate) + { + QueryOwnershipOptionsInternal optionsInternal = new QueryOwnershipOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryOwnershipCallbackInternal(OnQueryOwnershipCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Ecom_QueryOwnership(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Query the ownership status for a given list of catalog item IDs defined with Epic Online Services. + /// The data is return via the callback in the form of a signed JWT that should be verified by an external backend server using a public key for authenticity. + /// + /// structure containing the account and catalog item IDs to retrieve in token form + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void QueryOwnershipToken(ref QueryOwnershipTokenOptions options, object clientData, OnQueryOwnershipTokenCallback completionDelegate) + { + QueryOwnershipTokenOptionsInternal optionsInternal = new QueryOwnershipTokenOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryOwnershipTokenCallbackInternal(OnQueryOwnershipTokenCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Ecom_QueryOwnershipToken(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Requests that the provided entitlement be marked redeemed. This will cause that entitlement + /// to no longer be returned from QueryEntitlements unless the include redeemed request flag is set true. + /// + /// structure containing entitlement to redeem + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void RedeemEntitlements(ref RedeemEntitlementsOptions options, object clientData, OnRedeemEntitlementsCallback completionDelegate) + { + RedeemEntitlementsOptionsInternal optionsInternal = new RedeemEntitlementsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnRedeemEntitlementsCallbackInternal(OnRedeemEntitlementsCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Ecom_RedeemEntitlements(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnCheckoutCallbackInternal))] + internal static void OnCheckoutCallbackInternalImplementation(ref CheckoutCallbackInfoInternal data) + { + OnCheckoutCallback callback; + CheckoutCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryEntitlementTokenCallbackInternal))] + internal static void OnQueryEntitlementTokenCallbackInternalImplementation(ref QueryEntitlementTokenCallbackInfoInternal data) + { + OnQueryEntitlementTokenCallback callback; + QueryEntitlementTokenCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryEntitlementsCallbackInternal))] + internal static void OnQueryEntitlementsCallbackInternalImplementation(ref QueryEntitlementsCallbackInfoInternal data) + { + OnQueryEntitlementsCallback callback; + QueryEntitlementsCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryOffersCallbackInternal))] + internal static void OnQueryOffersCallbackInternalImplementation(ref QueryOffersCallbackInfoInternal data) + { + OnQueryOffersCallback callback; + QueryOffersCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryOwnershipCallbackInternal))] + internal static void OnQueryOwnershipCallbackInternalImplementation(ref QueryOwnershipCallbackInfoInternal data) + { + OnQueryOwnershipCallback callback; + QueryOwnershipCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryOwnershipTokenCallbackInternal))] + internal static void OnQueryOwnershipTokenCallbackInternalImplementation(ref QueryOwnershipTokenCallbackInfoInternal data) + { + OnQueryOwnershipTokenCallback callback; + QueryOwnershipTokenCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnRedeemEntitlementsCallbackInternal))] + internal static void OnRedeemEntitlementsCallbackInternalImplementation(ref RedeemEntitlementsCallbackInfoInternal data) + { + OnRedeemEntitlementsCallback callback; + RedeemEntitlementsCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomInterface.cs.meta deleted file mode 100644 index 4416952a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 19e201c68699c7840963cc847067f987 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomItemType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomItemType.cs index 592c43c6..b76b0c96 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomItemType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomItemType.cs @@ -1,25 +1,25 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// An enumeration defining the type of catalog item. The primary use is to identify how the item is expended. - /// - public enum EcomItemType : int - { - /// - /// This entitlement is intended to persist. - /// - Durable = 0, - /// - /// This entitlement is intended to be transient and redeemed. - /// - /// - Consumable = 1, - /// - /// This entitlement has a type that is not currently intneded for an in-game store. - /// - Other = 2 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// An enumeration defining the type of catalog item. The primary use is to identify how the item is expended. + /// + public enum EcomItemType : int + { + /// + /// This entitlement is intended to persist. + /// + Durable = 0, + /// + /// This entitlement is intended to be transient and redeemed. + /// + /// + Consumable = 1, + /// + /// This entitlement has a type that is not currently intended for an in-game store. + /// + Other = 2 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomItemType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomItemType.cs.meta deleted file mode 100644 index 700f6818..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/EcomItemType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 462c6a0bb6575954a9b0f81c714b0dc1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Entitlement.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Entitlement.cs index 9dafc9bd..aea33e6d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Entitlement.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Entitlement.cs @@ -1,186 +1,190 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Contains information about a single entitlement associated with an account. Instances of this structure are - /// created by , , or . - /// They must be passed to . - /// - public class Entitlement : ISettable - { - /// - /// Name of the entitlement - /// - public string EntitlementName { get; set; } - - /// - /// ID of the entitlement owned by an account - /// - public string EntitlementId { get; set; } - - /// - /// ID of the item associated with the offer which granted this entitlement - /// - public string CatalogItemId { get; set; } - - /// - /// If queried using pagination then ServerIndex represents the index of the entitlement as it - /// exists on the server. If not queried using pagination then ServerIndex will be -1. - /// - public int ServerIndex { get; set; } - - /// - /// If true then the catalog has this entitlement marked as redeemed - /// - public bool Redeemed { get; set; } - - /// - /// If not -1 then this is a POSIX timestamp that this entitlement will end - /// - public long EndTimestamp { get; set; } - - internal void Set(EntitlementInternal? other) - { - if (other != null) - { - EntitlementName = other.Value.EntitlementName; - EntitlementId = other.Value.EntitlementId; - CatalogItemId = other.Value.CatalogItemId; - ServerIndex = other.Value.ServerIndex; - Redeemed = other.Value.Redeemed; - EndTimestamp = other.Value.EndTimestamp; - } - } - - public void Set(object other) - { - Set(other as EntitlementInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct EntitlementInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_EntitlementName; - private System.IntPtr m_EntitlementId; - private System.IntPtr m_CatalogItemId; - private int m_ServerIndex; - private int m_Redeemed; - private long m_EndTimestamp; - - public string EntitlementName - { - get - { - string value; - Helper.TryMarshalGet(m_EntitlementName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_EntitlementName, value); - } - } - - public string EntitlementId - { - get - { - string value; - Helper.TryMarshalGet(m_EntitlementId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_EntitlementId, value); - } - } - - public string CatalogItemId - { - get - { - string value; - Helper.TryMarshalGet(m_CatalogItemId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_CatalogItemId, value); - } - } - - public int ServerIndex - { - get - { - return m_ServerIndex; - } - - set - { - m_ServerIndex = value; - } - } - - public bool Redeemed - { - get - { - bool value; - Helper.TryMarshalGet(m_Redeemed, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Redeemed, value); - } - } - - public long EndTimestamp - { - get - { - return m_EndTimestamp; - } - - set - { - m_EndTimestamp = value; - } - } - - public void Set(Entitlement other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.EntitlementApiLatest; - EntitlementName = other.EntitlementName; - EntitlementId = other.EntitlementId; - CatalogItemId = other.CatalogItemId; - ServerIndex = other.ServerIndex; - Redeemed = other.Redeemed; - EndTimestamp = other.EndTimestamp; - } - } - - public void Set(object other) - { - Set(other as Entitlement); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_EntitlementName); - Helper.TryMarshalDispose(ref m_EntitlementId); - Helper.TryMarshalDispose(ref m_CatalogItemId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Contains information about a single entitlement associated with an account. Instances of this structure are + /// created by , , or . + /// They must be passed to . + /// + public struct Entitlement + { + /// + /// Name of the entitlement + /// + public Utf8String EntitlementName { get; set; } + + /// + /// ID of the entitlement owned by an account + /// + public Utf8String EntitlementId { get; set; } + + /// + /// ID of the item associated with the offer which granted this entitlement + /// + public Utf8String CatalogItemId { get; set; } + + /// + /// If queried using pagination then ServerIndex represents the index of the entitlement as it + /// exists on the server. If not queried using pagination then ServerIndex will be -1. + /// + public int ServerIndex { get; set; } + + /// + /// If true then the catalog has this entitlement marked as redeemed + /// + public bool Redeemed { get; set; } + + /// + /// If not -1 then this is a POSIX timestamp that this entitlement will end + /// + public long EndTimestamp { get; set; } + + internal void Set(ref EntitlementInternal other) + { + EntitlementName = other.EntitlementName; + EntitlementId = other.EntitlementId; + CatalogItemId = other.CatalogItemId; + ServerIndex = other.ServerIndex; + Redeemed = other.Redeemed; + EndTimestamp = other.EndTimestamp; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct EntitlementInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_EntitlementName; + private System.IntPtr m_EntitlementId; + private System.IntPtr m_CatalogItemId; + private int m_ServerIndex; + private int m_Redeemed; + private long m_EndTimestamp; + + public Utf8String EntitlementName + { + get + { + Utf8String value; + Helper.Get(m_EntitlementName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_EntitlementName); + } + } + + public Utf8String EntitlementId + { + get + { + Utf8String value; + Helper.Get(m_EntitlementId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_EntitlementId); + } + } + + public Utf8String CatalogItemId + { + get + { + Utf8String value; + Helper.Get(m_CatalogItemId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_CatalogItemId); + } + } + + public int ServerIndex + { + get + { + return m_ServerIndex; + } + + set + { + m_ServerIndex = value; + } + } + + public bool Redeemed + { + get + { + bool value; + Helper.Get(m_Redeemed, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Redeemed); + } + } + + public long EndTimestamp + { + get + { + return m_EndTimestamp; + } + + set + { + m_EndTimestamp = value; + } + } + + public void Set(ref Entitlement other) + { + m_ApiVersion = EcomInterface.EntitlementApiLatest; + EntitlementName = other.EntitlementName; + EntitlementId = other.EntitlementId; + CatalogItemId = other.CatalogItemId; + ServerIndex = other.ServerIndex; + Redeemed = other.Redeemed; + EndTimestamp = other.EndTimestamp; + } + + public void Set(ref Entitlement? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.EntitlementApiLatest; + EntitlementName = other.Value.EntitlementName; + EntitlementId = other.Value.EntitlementId; + CatalogItemId = other.Value.CatalogItemId; + ServerIndex = other.Value.ServerIndex; + Redeemed = other.Value.Redeemed; + EndTimestamp = other.Value.EndTimestamp; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_EntitlementName); + Helper.Dispose(ref m_EntitlementId); + Helper.Dispose(ref m_CatalogItemId); + } + + public void Get(out Entitlement output) + { + output = new Entitlement(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Entitlement.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Entitlement.cs.meta deleted file mode 100644 index db4f793c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Entitlement.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 58bdaf8015c66ba49992d27a18514a1b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsByNameCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsByNameCountOptions.cs index e771c72a..d72ce8cd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsByNameCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsByNameCountOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class GetEntitlementsByNameCountOptions - { - /// - /// The Epic Online Services Account ID of the local user for which to retrieve the entitlement count - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// Name of the entitlement to count in the cache - /// - public string EntitlementName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetEntitlementsByNameCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_EntitlementName; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string EntitlementName - { - set - { - Helper.TryMarshalSet(ref m_EntitlementName, value); - } - } - - public void Set(GetEntitlementsByNameCountOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.GetentitlementsbynamecountApiLatest; - LocalUserId = other.LocalUserId; - EntitlementName = other.EntitlementName; - } - } - - public void Set(object other) - { - Set(other as GetEntitlementsByNameCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_EntitlementName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct GetEntitlementsByNameCountOptions + { + /// + /// The Epic Account ID of the local user for which to retrieve the entitlement count + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Name of the entitlement to count in the cache + /// + public Utf8String EntitlementName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetEntitlementsByNameCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_EntitlementName; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String EntitlementName + { + set + { + Helper.Set(value, ref m_EntitlementName); + } + } + + public void Set(ref GetEntitlementsByNameCountOptions other) + { + m_ApiVersion = EcomInterface.GetentitlementsbynamecountApiLatest; + LocalUserId = other.LocalUserId; + EntitlementName = other.EntitlementName; + } + + public void Set(ref GetEntitlementsByNameCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.GetentitlementsbynamecountApiLatest; + LocalUserId = other.Value.LocalUserId; + EntitlementName = other.Value.EntitlementName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_EntitlementName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsByNameCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsByNameCountOptions.cs.meta deleted file mode 100644 index 7c8a7710..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsByNameCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ed68e2ef46d7ddf4ca42c9b5a4026dac -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsCountOptions.cs index 2834ebc6..ee0244de 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class GetEntitlementsCountOptions - { - /// - /// The Epic Online Services Account ID of the local user for which to retrieve the entitlement count - /// - public EpicAccountId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetEntitlementsCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(GetEntitlementsCountOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.GetentitlementscountApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as GetEntitlementsCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct GetEntitlementsCountOptions + { + /// + /// The Epic Account ID of the local user for which to retrieve the entitlement count + /// + public EpicAccountId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetEntitlementsCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref GetEntitlementsCountOptions other) + { + m_ApiVersion = EcomInterface.GetentitlementscountApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref GetEntitlementsCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.GetentitlementscountApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsCountOptions.cs.meta deleted file mode 100644 index 5fa1dcc6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetEntitlementsCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 559d33a465183de4f8c9aabc918ed5f0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemImageInfoCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemImageInfoCountOptions.cs index 28728f7c..f40f7196 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemImageInfoCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemImageInfoCountOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class GetItemImageInfoCountOptions - { - /// - /// The Epic Online Services Account ID of the local user whose item image is being accessed - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The ID of the item to get the images for. - /// - public string ItemId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetItemImageInfoCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ItemId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string ItemId - { - set - { - Helper.TryMarshalSet(ref m_ItemId, value); - } - } - - public void Set(GetItemImageInfoCountOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.GetitemimageinfocountApiLatest; - LocalUserId = other.LocalUserId; - ItemId = other.ItemId; - } - } - - public void Set(object other) - { - Set(other as GetItemImageInfoCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_ItemId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct GetItemImageInfoCountOptions + { + /// + /// The Epic Account ID of the local user whose item image is being accessed + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The ID of the item to get the images for. + /// + public Utf8String ItemId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetItemImageInfoCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ItemId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String ItemId + { + set + { + Helper.Set(value, ref m_ItemId); + } + } + + public void Set(ref GetItemImageInfoCountOptions other) + { + m_ApiVersion = EcomInterface.GetitemimageinfocountApiLatest; + LocalUserId = other.LocalUserId; + ItemId = other.ItemId; + } + + public void Set(ref GetItemImageInfoCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.GetitemimageinfocountApiLatest; + LocalUserId = other.Value.LocalUserId; + ItemId = other.Value.ItemId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ItemId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemImageInfoCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemImageInfoCountOptions.cs.meta deleted file mode 100644 index 2dcea988..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemImageInfoCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 37e2536378a540e49b6d7bd97b40f4a9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemReleaseCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemReleaseCountOptions.cs index 6dc370c3..a20e4375 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemReleaseCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemReleaseCountOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class GetItemReleaseCountOptions - { - /// - /// The Epic Online Services Account ID of the local user whose item release is being accessed - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The ID of the item to get the releases for. - /// - public string ItemId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetItemReleaseCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ItemId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string ItemId - { - set - { - Helper.TryMarshalSet(ref m_ItemId, value); - } - } - - public void Set(GetItemReleaseCountOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.GetitemreleasecountApiLatest; - LocalUserId = other.LocalUserId; - ItemId = other.ItemId; - } - } - - public void Set(object other) - { - Set(other as GetItemReleaseCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_ItemId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct GetItemReleaseCountOptions + { + /// + /// The Epic Account ID of the local user whose item release is being accessed + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The ID of the item to get the releases for. + /// + public Utf8String ItemId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetItemReleaseCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ItemId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String ItemId + { + set + { + Helper.Set(value, ref m_ItemId); + } + } + + public void Set(ref GetItemReleaseCountOptions other) + { + m_ApiVersion = EcomInterface.GetitemreleasecountApiLatest; + LocalUserId = other.LocalUserId; + ItemId = other.ItemId; + } + + public void Set(ref GetItemReleaseCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.GetitemreleasecountApiLatest; + LocalUserId = other.Value.LocalUserId; + ItemId = other.Value.ItemId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ItemId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemReleaseCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemReleaseCountOptions.cs.meta deleted file mode 100644 index 5caa6514..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetItemReleaseCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0cfe63f7c3e580a48886a4de01520a81 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetLastRedeemedEntitlementsCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetLastRedeemedEntitlementsCountOptions.cs new file mode 100644 index 00000000..3e12b490 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetLastRedeemedEntitlementsCountOptions.cs @@ -0,0 +1,51 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct GetLastRedeemedEntitlementsCountOptions + { + /// + /// The Epic Account ID of the local user for who to retrieve the last redeemed entitlements count + /// + public EpicAccountId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetLastRedeemedEntitlementsCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref GetLastRedeemedEntitlementsCountOptions other) + { + m_ApiVersion = EcomInterface.GetlastredeemedentitlementscountApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref GetLastRedeemedEntitlementsCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.GetlastredeemedentitlementscountApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferCountOptions.cs index 21cd25e9..b21b582d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class GetOfferCountOptions - { - /// - /// The Epic Online Services Account ID of the local user whose offers are being accessed - /// - public EpicAccountId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetOfferCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(GetOfferCountOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.GetoffercountApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as GetOfferCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct GetOfferCountOptions + { + /// + /// The Epic Account ID of the local user whose offers are being accessed + /// + public EpicAccountId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetOfferCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref GetOfferCountOptions other) + { + m_ApiVersion = EcomInterface.GetoffercountApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref GetOfferCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.GetoffercountApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferCountOptions.cs.meta deleted file mode 100644 index 53b20261..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8b83ce40345338c4fa85204536176870 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferImageInfoCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferImageInfoCountOptions.cs index bf31467b..698d09f4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferImageInfoCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferImageInfoCountOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class GetOfferImageInfoCountOptions - { - /// - /// The Epic Online Services Account ID of the local user whose offer image is being accessed. - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The ID of the offer to get the images for. - /// - public string OfferId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetOfferImageInfoCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_OfferId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string OfferId - { - set - { - Helper.TryMarshalSet(ref m_OfferId, value); - } - } - - public void Set(GetOfferImageInfoCountOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.GetofferimageinfocountApiLatest; - LocalUserId = other.LocalUserId; - OfferId = other.OfferId; - } - } - - public void Set(object other) - { - Set(other as GetOfferImageInfoCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_OfferId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct GetOfferImageInfoCountOptions + { + /// + /// The Epic Account ID of the local user whose offer image is being accessed. + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The ID of the offer to get the images for. + /// + public Utf8String OfferId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetOfferImageInfoCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_OfferId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String OfferId + { + set + { + Helper.Set(value, ref m_OfferId); + } + } + + public void Set(ref GetOfferImageInfoCountOptions other) + { + m_ApiVersion = EcomInterface.GetofferimageinfocountApiLatest; + LocalUserId = other.LocalUserId; + OfferId = other.OfferId; + } + + public void Set(ref GetOfferImageInfoCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.GetofferimageinfocountApiLatest; + LocalUserId = other.Value.LocalUserId; + OfferId = other.Value.OfferId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_OfferId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferImageInfoCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferImageInfoCountOptions.cs.meta deleted file mode 100644 index f57c1c51..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferImageInfoCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b27aaee9280104441b3dfc9171ea441d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferItemCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferItemCountOptions.cs index 84f30df1..cf78d90b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferItemCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferItemCountOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class GetOfferItemCountOptions - { - /// - /// The Epic Online Services Account ID of the local user who made the initial request for the Catalog Offer through - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// An ID that corresponds to a cached Catalog Offer (retrieved by ) - /// - public string OfferId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetOfferItemCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_OfferId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string OfferId - { - set - { - Helper.TryMarshalSet(ref m_OfferId, value); - } - } - - public void Set(GetOfferItemCountOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.GetofferitemcountApiLatest; - LocalUserId = other.LocalUserId; - OfferId = other.OfferId; - } - } - - public void Set(object other) - { - Set(other as GetOfferItemCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_OfferId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct GetOfferItemCountOptions + { + /// + /// The Epic Account ID of the local user who made the initial request for the Catalog Offer through + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// An ID that corresponds to a cached Catalog Offer (retrieved by ) + /// + public Utf8String OfferId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetOfferItemCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_OfferId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String OfferId + { + set + { + Helper.Set(value, ref m_OfferId); + } + } + + public void Set(ref GetOfferItemCountOptions other) + { + m_ApiVersion = EcomInterface.GetofferitemcountApiLatest; + LocalUserId = other.LocalUserId; + OfferId = other.OfferId; + } + + public void Set(ref GetOfferItemCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.GetofferitemcountApiLatest; + LocalUserId = other.Value.LocalUserId; + OfferId = other.Value.OfferId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_OfferId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferItemCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferItemCountOptions.cs.meta deleted file mode 100644 index f6d16a2e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetOfferItemCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 42232e64a11e4b647804cedc4d9cdc14 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetTransactionCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetTransactionCountOptions.cs index 23d19bd2..1efb2c92 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetTransactionCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetTransactionCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class GetTransactionCountOptions - { - /// - /// The Epic Online Services Account ID of the local user whose transaction count to get - /// - public EpicAccountId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetTransactionCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(GetTransactionCountOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.GettransactioncountApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as GetTransactionCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct GetTransactionCountOptions + { + /// + /// The Epic Account ID of the local user whose transaction count to get + /// + public EpicAccountId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetTransactionCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref GetTransactionCountOptions other) + { + m_ApiVersion = EcomInterface.GettransactioncountApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref GetTransactionCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.GettransactioncountApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetTransactionCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetTransactionCountOptions.cs.meta deleted file mode 100644 index a4610573..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/GetTransactionCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 44fbe2199fdde7343a3a5d419af0d459 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/ItemOwnership.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/ItemOwnership.cs index 965b99c8..b1e27a8d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/ItemOwnership.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/ItemOwnership.cs @@ -1,92 +1,92 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Contains information about a single item ownership associated with an account. This structure is - /// returned as part of the structure. - /// - public class ItemOwnership : ISettable - { - /// - /// ID of the catalog item - /// - public string Id { get; set; } - - /// - /// Is this catalog item owned by the local user - /// - public OwnershipStatus OwnershipStatus { get; set; } - - internal void Set(ItemOwnershipInternal? other) - { - if (other != null) - { - Id = other.Value.Id; - OwnershipStatus = other.Value.OwnershipStatus; - } - } - - public void Set(object other) - { - Set(other as ItemOwnershipInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ItemOwnershipInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Id; - private OwnershipStatus m_OwnershipStatus; - - public string Id - { - get - { - string value; - Helper.TryMarshalGet(m_Id, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Id, value); - } - } - - public OwnershipStatus OwnershipStatus - { - get - { - return m_OwnershipStatus; - } - - set - { - m_OwnershipStatus = value; - } - } - - public void Set(ItemOwnership other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.ItemownershipApiLatest; - Id = other.Id; - OwnershipStatus = other.OwnershipStatus; - } - } - - public void Set(object other) - { - Set(other as ItemOwnership); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Id); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Contains information about a single item ownership associated with an account. This structure is + /// returned as part of the structure. + /// + public struct ItemOwnership + { + /// + /// ID of the catalog item + /// + public Utf8String Id { get; set; } + + /// + /// Is this catalog item owned by the local user + /// + public OwnershipStatus OwnershipStatus { get; set; } + + internal void Set(ref ItemOwnershipInternal other) + { + Id = other.Id; + OwnershipStatus = other.OwnershipStatus; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ItemOwnershipInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Id; + private OwnershipStatus m_OwnershipStatus; + + public Utf8String Id + { + get + { + Utf8String value; + Helper.Get(m_Id, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Id); + } + } + + public OwnershipStatus OwnershipStatus + { + get + { + return m_OwnershipStatus; + } + + set + { + m_OwnershipStatus = value; + } + } + + public void Set(ref ItemOwnership other) + { + m_ApiVersion = EcomInterface.ItemownershipApiLatest; + Id = other.Id; + OwnershipStatus = other.OwnershipStatus; + } + + public void Set(ref ItemOwnership? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.ItemownershipApiLatest; + Id = other.Value.Id; + OwnershipStatus = other.Value.OwnershipStatus; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Id); + } + + public void Get(out ItemOwnership output) + { + output = new ItemOwnership(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/ItemOwnership.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/ItemOwnership.cs.meta deleted file mode 100644 index 94da81fc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/ItemOwnership.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 28f54abc364ddd24383f383d5ebbab82 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/KeyImageInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/KeyImageInfo.cs index 6da5af85..67ac24c8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/KeyImageInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/KeyImageInfo.cs @@ -1,141 +1,143 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Contains information about a key image used by the catalog. Instances of this structure are - /// created by . They must be passed to . - /// A Key Image is defined within Dev Portal and is associated with a Catalog Item. A Key Image is - /// intended to be used to provide imagery for an in-game store. - /// - /// - /// - public class KeyImageInfo : ISettable - { - /// - /// Describes the usage of the image (ex: home_thumbnail) - /// - public string Type { get; set; } - - /// - /// The URL of the image - /// - public string Url { get; set; } - - /// - /// The expected width in pixels of the image - /// - public uint Width { get; set; } - - /// - /// The expected height in pixels of the image - /// - public uint Height { get; set; } - - internal void Set(KeyImageInfoInternal? other) - { - if (other != null) - { - Type = other.Value.Type; - Url = other.Value.Url; - Width = other.Value.Width; - Height = other.Value.Height; - } - } - - public void Set(object other) - { - Set(other as KeyImageInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct KeyImageInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Type; - private System.IntPtr m_Url; - private uint m_Width; - private uint m_Height; - - public string Type - { - get - { - string value; - Helper.TryMarshalGet(m_Type, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Type, value); - } - } - - public string Url - { - get - { - string value; - Helper.TryMarshalGet(m_Url, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Url, value); - } - } - - public uint Width - { - get - { - return m_Width; - } - - set - { - m_Width = value; - } - } - - public uint Height - { - get - { - return m_Height; - } - - set - { - m_Height = value; - } - } - - public void Set(KeyImageInfo other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.KeyimageinfoApiLatest; - Type = other.Type; - Url = other.Url; - Width = other.Width; - Height = other.Height; - } - } - - public void Set(object other) - { - Set(other as KeyImageInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Type); - Helper.TryMarshalDispose(ref m_Url); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Contains information about a key image used by the catalog. Instances of this structure are + /// created by . They must be passed to . + /// A Key Image is defined within Dev Portal and is associated with a Catalog Item. A Key Image is + /// intended to be used to provide imagery for an in-game store. + /// + /// + /// + public struct KeyImageInfo + { + /// + /// Describes the usage of the image (ex: home_thumbnail) + /// + public Utf8String Type { get; set; } + + /// + /// The URL of the image + /// + public Utf8String Url { get; set; } + + /// + /// The expected width in pixels of the image + /// + public uint Width { get; set; } + + /// + /// The expected height in pixels of the image + /// + public uint Height { get; set; } + + internal void Set(ref KeyImageInfoInternal other) + { + Type = other.Type; + Url = other.Url; + Width = other.Width; + Height = other.Height; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct KeyImageInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Type; + private System.IntPtr m_Url; + private uint m_Width; + private uint m_Height; + + public Utf8String Type + { + get + { + Utf8String value; + Helper.Get(m_Type, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Type); + } + } + + public Utf8String Url + { + get + { + Utf8String value; + Helper.Get(m_Url, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Url); + } + } + + public uint Width + { + get + { + return m_Width; + } + + set + { + m_Width = value; + } + } + + public uint Height + { + get + { + return m_Height; + } + + set + { + m_Height = value; + } + } + + public void Set(ref KeyImageInfo other) + { + m_ApiVersion = EcomInterface.KeyimageinfoApiLatest; + Type = other.Type; + Url = other.Url; + Width = other.Width; + Height = other.Height; + } + + public void Set(ref KeyImageInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.KeyimageinfoApiLatest; + Type = other.Value.Type; + Url = other.Value.Url; + Width = other.Value.Width; + Height = other.Value.Height; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Type); + Helper.Dispose(ref m_Url); + } + + public void Get(out KeyImageInfo output) + { + output = new KeyImageInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/KeyImageInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/KeyImageInfo.cs.meta deleted file mode 100644 index 6b09eb09..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/KeyImageInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: beaf92e896dce5a43993ae0c8fb2b456 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnCheckoutCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnCheckoutCallback.cs index a531fbe6..3c2b9107 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnCheckoutCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnCheckoutCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnCheckoutCallback(CheckoutCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnCheckoutCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnCheckoutCallback(ref CheckoutCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnCheckoutCallbackInternal(ref CheckoutCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnCheckoutCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnCheckoutCallback.cs.meta deleted file mode 100644 index a8a7d236..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnCheckoutCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7d7d753828e48a24bbb23884f9c05174 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryEntitlementTokenCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryEntitlementTokenCallback.cs new file mode 100644 index 00000000..4b47cdca --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryEntitlementTokenCallback.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Function prototype definition for callbacks passed to . + /// + /// A containing the output information and result. + public delegate void OnQueryEntitlementTokenCallback(ref QueryEntitlementTokenCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryEntitlementTokenCallbackInternal(ref QueryEntitlementTokenCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryEntitlementsCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryEntitlementsCallback.cs index 34e0d086..6a985b95 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryEntitlementsCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryEntitlementsCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryEntitlementsCallback(QueryEntitlementsCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryEntitlementsCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryEntitlementsCallback(ref QueryEntitlementsCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryEntitlementsCallbackInternal(ref QueryEntitlementsCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryEntitlementsCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryEntitlementsCallback.cs.meta deleted file mode 100644 index f67d6b83..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryEntitlementsCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 17488c61c1c47dc41b438d3af157f68f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOffersCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOffersCallback.cs index 1313b346..5bd45d3a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOffersCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOffersCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryOffersCallback(QueryOffersCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryOffersCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryOffersCallback(ref QueryOffersCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryOffersCallbackInternal(ref QueryOffersCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOffersCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOffersCallback.cs.meta deleted file mode 100644 index b5f5f5cc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOffersCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a69dd0123a2e1fa4f8f5021780a6dc76 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipCallback.cs index 64af3856..233db7d6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryOwnershipCallback(QueryOwnershipCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryOwnershipCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryOwnershipCallback(ref QueryOwnershipCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryOwnershipCallbackInternal(ref QueryOwnershipCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipCallback.cs.meta deleted file mode 100644 index af112aab..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 271cb0d48e8b9344492ce9b86809fce7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipTokenCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipTokenCallback.cs index eeb01b17..b4b4ba43 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipTokenCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipTokenCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryOwnershipTokenCallback(QueryOwnershipTokenCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryOwnershipTokenCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryOwnershipTokenCallback(ref QueryOwnershipTokenCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryOwnershipTokenCallbackInternal(ref QueryOwnershipTokenCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipTokenCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipTokenCallback.cs.meta deleted file mode 100644 index 4dc010b0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnQueryOwnershipTokenCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4f9f16928aead5446b2854ae250eb39b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnRedeemEntitlementsCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnRedeemEntitlementsCallback.cs index 954e4ad2..2d163b55 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnRedeemEntitlementsCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnRedeemEntitlementsCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnRedeemEntitlementsCallback(RedeemEntitlementsCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnRedeemEntitlementsCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnRedeemEntitlementsCallback(ref RedeemEntitlementsCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnRedeemEntitlementsCallbackInternal(ref RedeemEntitlementsCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnRedeemEntitlementsCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnRedeemEntitlementsCallback.cs.meta deleted file mode 100644 index c7d3dd35..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OnRedeemEntitlementsCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 13fe76546acb06b4982ddad93a7b7a54 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OwnershipStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OwnershipStatus.cs index b06945c3..06d3f979 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OwnershipStatus.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OwnershipStatus.cs @@ -1,20 +1,20 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// An enumeration of the different ownership statuses. - /// - public enum OwnershipStatus : int - { - /// - /// The catalog item is not owned by the local user - /// - NotOwned = 0, - /// - /// The catalog item is owned by the local user - /// - Owned = 1 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// An enumeration of the different ownership statuses. + /// + public enum OwnershipStatus : int + { + /// + /// The catalog item is not owned by the local user + /// + NotOwned = 0, + /// + /// The catalog item is owned by the local user + /// + Owned = 1 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OwnershipStatus.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OwnershipStatus.cs.meta deleted file mode 100644 index 9a2c2e3d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/OwnershipStatus.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 23ee8ab21d1689140ad95fb12cbf62e0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementTokenCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementTokenCallbackInfo.cs new file mode 100644 index 00000000..e4022299 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementTokenCallbackInfo.cs @@ -0,0 +1,151 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Output parameters for the Function. + /// + public struct QueryEntitlementTokenCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local user whose entitlement was queried + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Entitlements token containing details about the catalog items queried + /// + public Utf8String EntitlementToken { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryEntitlementTokenCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + EntitlementToken = other.EntitlementToken; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryEntitlementTokenCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_EntitlementToken; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String EntitlementToken + { + get + { + Utf8String value; + Helper.Get(m_EntitlementToken, out value); + return value; + } + + set + { + Helper.Set(value, ref m_EntitlementToken); + } + } + + public void Set(ref QueryEntitlementTokenCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + EntitlementToken = other.EntitlementToken; + } + + public void Set(ref QueryEntitlementTokenCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + EntitlementToken = other.Value.EntitlementToken; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_EntitlementToken); + } + + public void Get(out QueryEntitlementTokenCallbackInfo output) + { + output = new QueryEntitlementTokenCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementTokenOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementTokenOptions.cs new file mode 100644 index 00000000..ac32b324 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementTokenOptions.cs @@ -0,0 +1,69 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct QueryEntitlementTokenOptions + { + /// + /// The Epic Account ID of the local user whose Entitlements you want to retrieve + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// An array of Entitlement Names that you want to check + /// + public Utf8String[] EntitlementNames { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryEntitlementTokenOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_EntitlementNames; + private uint m_EntitlementNameCount; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String[] EntitlementNames + { + set + { + Helper.Set(value, ref m_EntitlementNames, out m_EntitlementNameCount); + } + } + + public void Set(ref QueryEntitlementTokenOptions other) + { + m_ApiVersion = EcomInterface.QueryentitlementtokenApiLatest; + LocalUserId = other.LocalUserId; + EntitlementNames = other.EntitlementNames; + } + + public void Set(ref QueryEntitlementTokenOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.QueryentitlementtokenApiLatest; + LocalUserId = other.Value.LocalUserId; + EntitlementNames = other.Value.EntitlementNames; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_EntitlementNames); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsCallbackInfo.cs index 8d811f94..e560cff6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsCallbackInfo.cs @@ -1,87 +1,123 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Output parameters for the Function. - /// - public class QueryEntitlementsCallbackInfo : ICallbackInfo, ISettable - { - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local user whose entitlement was queried - /// - public EpicAccountId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryEntitlementsCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryEntitlementsCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryEntitlementsCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Output parameters for the Function. + /// + public struct QueryEntitlementsCallbackInfo : ICallbackInfo + { + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local user whose entitlement was queried + /// + public EpicAccountId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryEntitlementsCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryEntitlementsCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryEntitlementsCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryEntitlementsCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out QueryEntitlementsCallbackInfo output) + { + output = new QueryEntitlementsCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsCallbackInfo.cs.meta deleted file mode 100644 index 8c62783d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4b086e38c43b094459dc1b9f20cf6f1f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsOptions.cs index b24126dc..d66ac697 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsOptions.cs @@ -1,82 +1,85 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class QueryEntitlementsOptions - { - /// - /// The Epic Online Services Account ID of the local user whose Entitlements you want to retrieve - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// An array of Entitlement Names that you want to check - /// - public string[] EntitlementNames { get; set; } - - /// - /// If true, Entitlements that have been redeemed will be included in the results. - /// - public bool IncludeRedeemed { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryEntitlementsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_EntitlementNames; - private uint m_EntitlementNameCount; - private int m_IncludeRedeemed; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string[] EntitlementNames - { - set - { - Helper.TryMarshalSet(ref m_EntitlementNames, value, out m_EntitlementNameCount); - } - } - - public bool IncludeRedeemed - { - set - { - Helper.TryMarshalSet(ref m_IncludeRedeemed, value); - } - } - - public void Set(QueryEntitlementsOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.QueryentitlementsApiLatest; - LocalUserId = other.LocalUserId; - EntitlementNames = other.EntitlementNames; - IncludeRedeemed = other.IncludeRedeemed; - } - } - - public void Set(object other) - { - Set(other as QueryEntitlementsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_EntitlementNames); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct QueryEntitlementsOptions + { + /// + /// The Epic Account ID of the local user whose Entitlements you want to retrieve + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// An array of Entitlement Names that you want to check + /// + public Utf8String[] EntitlementNames { get; set; } + + /// + /// If true, Entitlements that have been redeemed will be included in the results. + /// + public bool IncludeRedeemed { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryEntitlementsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_EntitlementNames; + private uint m_EntitlementNameCount; + private int m_IncludeRedeemed; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String[] EntitlementNames + { + set + { + Helper.Set(value, ref m_EntitlementNames, out m_EntitlementNameCount); + } + } + + public bool IncludeRedeemed + { + set + { + Helper.Set(value, ref m_IncludeRedeemed); + } + } + + public void Set(ref QueryEntitlementsOptions other) + { + m_ApiVersion = EcomInterface.QueryentitlementsApiLatest; + LocalUserId = other.LocalUserId; + EntitlementNames = other.EntitlementNames; + IncludeRedeemed = other.IncludeRedeemed; + } + + public void Set(ref QueryEntitlementsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.QueryentitlementsApiLatest; + LocalUserId = other.Value.LocalUserId; + EntitlementNames = other.Value.EntitlementNames; + IncludeRedeemed = other.Value.IncludeRedeemed; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_EntitlementNames); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsOptions.cs.meta deleted file mode 100644 index 16a5a228..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryEntitlementsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 97d0e7e6a95ff004db058aa36afb66fd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersCallbackInfo.cs index d95c3d8d..9b932c11 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Output parameters for the Function. - /// - public class QueryOffersCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local user whose offer was queried; needed for localization of Catalog Item (Item) description text and pricing information - /// - public EpicAccountId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryOffersCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryOffersCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryOffersCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Output parameters for the Function. + /// + public struct QueryOffersCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local user whose offer was queried; needed for localization of Catalog Item (Item) description text and pricing information + /// + public EpicAccountId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryOffersCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryOffersCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryOffersCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryOffersCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out QueryOffersCallbackInfo output) + { + output = new QueryOffersCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersCallbackInfo.cs.meta deleted file mode 100644 index 34417550..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e7f1d3f12206389408b4fd663385fd7e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersOptions.cs index d21f17fa..63df13e2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class QueryOffersOptions - { - /// - /// The Epic Online Services Account ID of the local user whose offer to query - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// If not provided then the SandboxId is used as the catalog namespace - /// - public string OverrideCatalogNamespace { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryOffersOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_OverrideCatalogNamespace; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string OverrideCatalogNamespace - { - set - { - Helper.TryMarshalSet(ref m_OverrideCatalogNamespace, value); - } - } - - public void Set(QueryOffersOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.QueryoffersApiLatest; - LocalUserId = other.LocalUserId; - OverrideCatalogNamespace = other.OverrideCatalogNamespace; - } - } - - public void Set(object other) - { - Set(other as QueryOffersOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_OverrideCatalogNamespace); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct QueryOffersOptions + { + /// + /// The Epic Account ID of the local user whose offer to query + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// If not provided then the SandboxId is used as the catalog namespace + /// + public Utf8String OverrideCatalogNamespace { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryOffersOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_OverrideCatalogNamespace; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String OverrideCatalogNamespace + { + set + { + Helper.Set(value, ref m_OverrideCatalogNamespace); + } + } + + public void Set(ref QueryOffersOptions other) + { + m_ApiVersion = EcomInterface.QueryoffersApiLatest; + LocalUserId = other.LocalUserId; + OverrideCatalogNamespace = other.OverrideCatalogNamespace; + } + + public void Set(ref QueryOffersOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.QueryoffersApiLatest; + LocalUserId = other.Value.LocalUserId; + OverrideCatalogNamespace = other.Value.OverrideCatalogNamespace; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_OverrideCatalogNamespace); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersOptions.cs.meta deleted file mode 100644 index 76db04e5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOffersOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1300be193e2ca944eb113b8dc0fcde13 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipCallbackInfo.cs index 2340a99d..361e8445 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipCallbackInfo.cs @@ -1,108 +1,152 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Output parameters for the Function. - /// - public class QueryOwnershipCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local user whose ownership was queried - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// List of catalog items and their ownership status - /// - public ItemOwnership[] ItemOwnership { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryOwnershipCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - ItemOwnership = other.Value.ItemOwnership; - } - } - - public void Set(object other) - { - Set(other as QueryOwnershipCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryOwnershipCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ItemOwnership; - private uint m_ItemOwnershipCount; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public ItemOwnership[] ItemOwnership - { - get - { - ItemOwnership[] value; - Helper.TryMarshalGet(m_ItemOwnership, out value, m_ItemOwnershipCount); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Output parameters for the Function. + /// + public struct QueryOwnershipCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local user whose ownership was queried + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// List of catalog items and their ownership status + /// + public ItemOwnership[] ItemOwnership { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryOwnershipCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + ItemOwnership = other.ItemOwnership; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryOwnershipCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ItemOwnership; + private uint m_ItemOwnershipCount; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ItemOwnership[] ItemOwnership + { + get + { + ItemOwnership[] value; + Helper.Get(m_ItemOwnership, out value, m_ItemOwnershipCount); + return value; + } + + set + { + Helper.Set(ref value, ref m_ItemOwnership, out m_ItemOwnershipCount); + } + } + + public void Set(ref QueryOwnershipCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + ItemOwnership = other.ItemOwnership; + } + + public void Set(ref QueryOwnershipCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + ItemOwnership = other.Value.ItemOwnership; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ItemOwnership); + } + + public void Get(out QueryOwnershipCallbackInfo output) + { + output = new QueryOwnershipCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipCallbackInfo.cs.meta deleted file mode 100644 index 32df65ba..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7d50751bcb4b28d4f9f69c3df026f5a1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipOptions.cs index f74ad4ee..4448a297 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipOptions.cs @@ -1,83 +1,86 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class QueryOwnershipOptions - { - /// - /// The Epic Online Services Account ID of the local user whose ownership to query - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The array of Catalog Item IDs to check for ownership - /// - public string[] CatalogItemIds { get; set; } - - /// - /// Optional product namespace, if not the one specified during initialization - /// - public string CatalogNamespace { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryOwnershipOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_CatalogItemIds; - private uint m_CatalogItemIdCount; - private System.IntPtr m_CatalogNamespace; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string[] CatalogItemIds - { - set - { - Helper.TryMarshalSet(ref m_CatalogItemIds, value, out m_CatalogItemIdCount); - } - } - - public string CatalogNamespace - { - set - { - Helper.TryMarshalSet(ref m_CatalogNamespace, value); - } - } - - public void Set(QueryOwnershipOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.QueryownershipApiLatest; - LocalUserId = other.LocalUserId; - CatalogItemIds = other.CatalogItemIds; - CatalogNamespace = other.CatalogNamespace; - } - } - - public void Set(object other) - { - Set(other as QueryOwnershipOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_CatalogItemIds); - Helper.TryMarshalDispose(ref m_CatalogNamespace); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct QueryOwnershipOptions + { + /// + /// The Epic Account ID of the local user whose ownership to query + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The array of Catalog Item IDs to check for ownership + /// + public Utf8String[] CatalogItemIds { get; set; } + + /// + /// Optional product namespace, if not the one specified during initialization + /// + public Utf8String CatalogNamespace { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryOwnershipOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_CatalogItemIds; + private uint m_CatalogItemIdCount; + private System.IntPtr m_CatalogNamespace; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String[] CatalogItemIds + { + set + { + Helper.Set(value, ref m_CatalogItemIds, out m_CatalogItemIdCount); + } + } + + public Utf8String CatalogNamespace + { + set + { + Helper.Set(value, ref m_CatalogNamespace); + } + } + + public void Set(ref QueryOwnershipOptions other) + { + m_ApiVersion = EcomInterface.QueryownershipApiLatest; + LocalUserId = other.LocalUserId; + CatalogItemIds = other.CatalogItemIds; + CatalogNamespace = other.CatalogNamespace; + } + + public void Set(ref QueryOwnershipOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.QueryownershipApiLatest; + LocalUserId = other.Value.LocalUserId; + CatalogItemIds = other.Value.CatalogItemIds; + CatalogNamespace = other.Value.CatalogNamespace; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_CatalogItemIds); + Helper.Dispose(ref m_CatalogNamespace); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipOptions.cs.meta deleted file mode 100644 index 0c37256c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 085f4c6a1c0c3244789489844d8b9274 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenCallbackInfo.cs index ab7e0fe7..bc021486 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Output parameters for the Function. - /// - public class QueryOwnershipTokenCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local user whose ownership token was queried - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// Ownership token containing details about the catalog items queried - /// - public string OwnershipToken { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryOwnershipTokenCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - OwnershipToken = other.Value.OwnershipToken; - } - } - - public void Set(object other) - { - Set(other as QueryOwnershipTokenCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryOwnershipTokenCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_OwnershipToken; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string OwnershipToken - { - get - { - string value; - Helper.TryMarshalGet(m_OwnershipToken, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Output parameters for the Function. + /// + public struct QueryOwnershipTokenCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local user whose ownership token was queried + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Ownership token containing details about the catalog items queried + /// + public Utf8String OwnershipToken { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryOwnershipTokenCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + OwnershipToken = other.OwnershipToken; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryOwnershipTokenCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_OwnershipToken; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String OwnershipToken + { + get + { + Utf8String value; + Helper.Get(m_OwnershipToken, out value); + return value; + } + + set + { + Helper.Set(value, ref m_OwnershipToken); + } + } + + public void Set(ref QueryOwnershipTokenCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + OwnershipToken = other.OwnershipToken; + } + + public void Set(ref QueryOwnershipTokenCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + OwnershipToken = other.Value.OwnershipToken; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_OwnershipToken); + } + + public void Get(out QueryOwnershipTokenCallbackInfo output) + { + output = new QueryOwnershipTokenCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenCallbackInfo.cs.meta deleted file mode 100644 index 3a5ccc5e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3054d14c2a6626e4da95797335790c32 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenOptions.cs index 7aa5afb6..82a32832 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenOptions.cs @@ -1,83 +1,86 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class QueryOwnershipTokenOptions - { - /// - /// The Epic Online Services Account ID of the local user whose ownership token you want to query - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The array of Catalog Item IDs to check for ownership, matching in number to the CatalogItemIdCount - /// - public string[] CatalogItemIds { get; set; } - - /// - /// Optional product namespace, if not the one specified during initialization - /// - public string CatalogNamespace { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryOwnershipTokenOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_CatalogItemIds; - private uint m_CatalogItemIdCount; - private System.IntPtr m_CatalogNamespace; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string[] CatalogItemIds - { - set - { - Helper.TryMarshalSet(ref m_CatalogItemIds, value, out m_CatalogItemIdCount); - } - } - - public string CatalogNamespace - { - set - { - Helper.TryMarshalSet(ref m_CatalogNamespace, value); - } - } - - public void Set(QueryOwnershipTokenOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.QueryownershiptokenApiLatest; - LocalUserId = other.LocalUserId; - CatalogItemIds = other.CatalogItemIds; - CatalogNamespace = other.CatalogNamespace; - } - } - - public void Set(object other) - { - Set(other as QueryOwnershipTokenOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_CatalogItemIds); - Helper.TryMarshalDispose(ref m_CatalogNamespace); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct QueryOwnershipTokenOptions + { + /// + /// The Epic Account ID of the local user whose ownership token you want to query + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The array of Catalog Item IDs to check for ownership, matching in number to the CatalogItemIdCount + /// + public Utf8String[] CatalogItemIds { get; set; } + + /// + /// Optional product namespace, if not the one specified during initialization + /// + public Utf8String CatalogNamespace { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryOwnershipTokenOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_CatalogItemIds; + private uint m_CatalogItemIdCount; + private System.IntPtr m_CatalogNamespace; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String[] CatalogItemIds + { + set + { + Helper.Set(value, ref m_CatalogItemIds, out m_CatalogItemIdCount); + } + } + + public Utf8String CatalogNamespace + { + set + { + Helper.Set(value, ref m_CatalogNamespace); + } + } + + public void Set(ref QueryOwnershipTokenOptions other) + { + m_ApiVersion = EcomInterface.QueryownershiptokenApiLatest; + LocalUserId = other.LocalUserId; + CatalogItemIds = other.CatalogItemIds; + CatalogNamespace = other.CatalogNamespace; + } + + public void Set(ref QueryOwnershipTokenOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.QueryownershiptokenApiLatest; + LocalUserId = other.Value.LocalUserId; + CatalogItemIds = other.Value.CatalogItemIds; + CatalogNamespace = other.Value.CatalogNamespace; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_CatalogItemIds); + Helper.Dispose(ref m_CatalogNamespace); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenOptions.cs.meta deleted file mode 100644 index 01775c26..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/QueryOwnershipTokenOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 20e32c7d5480f4a4b9a174c9ed83d576 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsCallbackInfo.cs index d1bbc5dd..468720f3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsCallbackInfo.cs @@ -1,90 +1,148 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Output parameters for the Function. - /// - public class RedeemEntitlementsCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, otherwise one of the error codes is returned. See eos_common.h - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the user who has redeemed entitlements - /// - public EpicAccountId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(RedeemEntitlementsCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as RedeemEntitlementsCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RedeemEntitlementsCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Output parameters for the Function. + /// + public struct RedeemEntitlementsCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful request, otherwise one of the error codes is returned. See eos_common.h + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the user who has redeemed entitlements + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The number of redeemed Entitlements + /// + public uint RedeemedEntitlementIdsCount { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref RedeemEntitlementsCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RedeemedEntitlementIdsCount = other.RedeemedEntitlementIdsCount; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RedeemEntitlementsCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private uint m_RedeemedEntitlementIdsCount; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint RedeemedEntitlementIdsCount + { + get + { + return m_RedeemedEntitlementIdsCount; + } + + set + { + m_RedeemedEntitlementIdsCount = value; + } + } + + public void Set(ref RedeemEntitlementsCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RedeemedEntitlementIdsCount = other.RedeemedEntitlementIdsCount; + } + + public void Set(ref RedeemEntitlementsCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RedeemedEntitlementIdsCount = other.Value.RedeemedEntitlementIdsCount; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out RedeemEntitlementsCallbackInfo output) + { + output = new RedeemEntitlementsCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsCallbackInfo.cs.meta deleted file mode 100644 index b4912fc2..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3f365779f47a0ef4fa425379a7882a3f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsOptions.cs index fe90a8a5..9fe66a7c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsOptions.cs @@ -1,67 +1,69 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class RedeemEntitlementsOptions - { - /// - /// The Epic Online Services Account ID of the user who is redeeming Entitlements - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The array of Entitlements to redeem - /// - public string[] EntitlementIds { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RedeemEntitlementsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private uint m_EntitlementIdCount; - private System.IntPtr m_EntitlementIds; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string[] EntitlementIds - { - set - { - Helper.TryMarshalSet(ref m_EntitlementIds, value, out m_EntitlementIdCount); - } - } - - public void Set(RedeemEntitlementsOptions other) - { - if (other != null) - { - m_ApiVersion = EcomInterface.RedeementitlementsApiLatest; - LocalUserId = other.LocalUserId; - EntitlementIds = other.EntitlementIds; - } - } - - public void Set(object other) - { - Set(other as RedeemEntitlementsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_EntitlementIds); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct RedeemEntitlementsOptions + { + /// + /// The Epic Account ID of the user who is redeeming Entitlements + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The array of Entitlements to redeem + /// + public Utf8String[] EntitlementIds { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RedeemEntitlementsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private uint m_EntitlementIdCount; + private System.IntPtr m_EntitlementIds; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String[] EntitlementIds + { + set + { + Helper.Set(value, ref m_EntitlementIds, out m_EntitlementIdCount); + } + } + + public void Set(ref RedeemEntitlementsOptions other) + { + m_ApiVersion = EcomInterface.RedeementitlementsApiLatest; + LocalUserId = other.LocalUserId; + EntitlementIds = other.EntitlementIds; + } + + public void Set(ref RedeemEntitlementsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = EcomInterface.RedeementitlementsApiLatest; + LocalUserId = other.Value.LocalUserId; + EntitlementIds = other.Value.EntitlementIds; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_EntitlementIds); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsOptions.cs.meta deleted file mode 100644 index bc30cd4c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/RedeemEntitlementsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 481ed9b53735d474ea9d3774f5143d79 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Transaction.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Transaction.cs index f3e41a54..412fde42 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Transaction.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Transaction.cs @@ -1,115 +1,115 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - public sealed partial class Transaction : Handle - { - public Transaction() - { - } - - public Transaction(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the Function. - /// - public const int TransactionCopyentitlementbyindexApiLatest = 1; - - /// - /// The most recent version of the Function. - /// - public const int TransactionGetentitlementscountApiLatest = 1; - - /// - /// Fetches an entitlement from a given index. - /// - /// - /// structure containing the index being accessed - /// the entitlement for the given index, if it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutEntitlement - /// if the entitlement information is stale and passed out in OutEntitlement - /// if you pass a null pointer for the out parameter - /// if the entitlement is not found - /// - public Result CopyEntitlementByIndex(TransactionCopyEntitlementByIndexOptions options, out Entitlement outEntitlement) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outEntitlementAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Ecom_Transaction_CopyEntitlementByIndex(InnerHandle, optionsAddress, ref outEntitlementAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outEntitlementAddress, out outEntitlement)) - { - Bindings.EOS_Ecom_Entitlement_Release(outEntitlementAddress); - } - - return funcResult; - } - - /// - /// Fetch the number of entitlements that are part of this transaction. - /// - /// - /// structure containing the Epic Online Services Account ID being accessed - /// - /// the number of entitlements found. - /// - public uint GetEntitlementsCount(TransactionGetEntitlementsCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Ecom_Transaction_GetEntitlementsCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// The Ecom Transaction Interface exposes getters for accessing information about a completed transaction. - /// All Ecom Transaction Interface calls take a handle of type as the first parameter. - /// An handle is originally returned as part of the struct. - /// An handle can also be retrieved from an handle using . - /// It is expected that after a transaction that is called. - /// When is called any remaining transactions will also be released. - /// - /// - /// - /// - public Result GetTransactionId(out string outBuffer) - { - System.IntPtr outBufferAddress = System.IntPtr.Zero; - int inOutBufferLength = EcomInterface.TransactionidMaximumLength + 1; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_Ecom_Transaction_GetTransactionId(InnerHandle, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// Release the memory associated with an . Is is expected to be called after - /// being received from a . - /// - /// - /// - /// - /// A handle to a transaction. - public void Release() - { - Bindings.EOS_Ecom_Transaction_Release(InnerHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + public sealed partial class Transaction : Handle + { + public Transaction() + { + } + + public Transaction(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the Function. + /// + public const int TransactionCopyentitlementbyindexApiLatest = 1; + + /// + /// The most recent version of the Function. + /// + public const int TransactionGetentitlementscountApiLatest = 1; + + /// + /// Fetches an entitlement from a given index. + /// + /// + /// structure containing the index being accessed + /// the entitlement for the given index, if it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutEntitlement + /// if the entitlement information is stale and passed out in OutEntitlement + /// if you pass a null pointer for the out parameter + /// if the entitlement is not found + /// + public Result CopyEntitlementByIndex(ref TransactionCopyEntitlementByIndexOptions options, out Entitlement? outEntitlement) + { + TransactionCopyEntitlementByIndexOptionsInternal optionsInternal = new TransactionCopyEntitlementByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outEntitlementAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Ecom_Transaction_CopyEntitlementByIndex(InnerHandle, ref optionsInternal, ref outEntitlementAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outEntitlementAddress, out outEntitlement); + if (outEntitlement != null) + { + Bindings.EOS_Ecom_Entitlement_Release(outEntitlementAddress); + } + + return funcResult; + } + + /// + /// Fetch the number of entitlements that are part of this transaction. + /// + /// + /// structure containing the Epic Account ID being accessed + /// + /// the number of entitlements found. + /// + public uint GetEntitlementsCount(ref TransactionGetEntitlementsCountOptions options) + { + TransactionGetEntitlementsCountOptionsInternal optionsInternal = new TransactionGetEntitlementsCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Ecom_Transaction_GetEntitlementsCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// The Ecom Transaction Interface exposes getters for accessing information about a completed transaction. + /// All Ecom Transaction Interface calls take a handle of type as the first parameter. + /// An handle is originally returned as part of the struct. + /// An handle can also be retrieved from an handle using . + /// It is expected that after a transaction that is called. + /// When is called any remaining transactions will also be released. + /// + /// + /// + /// + public Result GetTransactionId(out Utf8String outBuffer) + { + int inOutBufferLength = EcomInterface.TransactionidMaximumLength + 1; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_Ecom_Transaction_GetTransactionId(InnerHandle, outBufferAddress, ref inOutBufferLength); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// Release the memory associated with an . Is is expected to be called after + /// being received from a . + /// + /// + /// + /// + /// A handle to a transaction. + public void Release() + { + Bindings.EOS_Ecom_Transaction_Release(InnerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Transaction.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Transaction.cs.meta deleted file mode 100644 index 73dad372..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/Transaction.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1e1453463c3bb14469ca206806e83c4d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionCopyEntitlementByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionCopyEntitlementByIndexOptions.cs index c0058198..65b587a7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionCopyEntitlementByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionCopyEntitlementByIndexOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class TransactionCopyEntitlementByIndexOptions - { - /// - /// The index of the entitlement to get - /// - public uint EntitlementIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct TransactionCopyEntitlementByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_EntitlementIndex; - - public uint EntitlementIndex - { - set - { - m_EntitlementIndex = value; - } - } - - public void Set(TransactionCopyEntitlementByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = Transaction.TransactionCopyentitlementbyindexApiLatest; - EntitlementIndex = other.EntitlementIndex; - } - } - - public void Set(object other) - { - Set(other as TransactionCopyEntitlementByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct TransactionCopyEntitlementByIndexOptions + { + /// + /// The index of the entitlement to get + /// + public uint EntitlementIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct TransactionCopyEntitlementByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_EntitlementIndex; + + public uint EntitlementIndex + { + set + { + m_EntitlementIndex = value; + } + } + + public void Set(ref TransactionCopyEntitlementByIndexOptions other) + { + m_ApiVersion = Transaction.TransactionCopyentitlementbyindexApiLatest; + EntitlementIndex = other.EntitlementIndex; + } + + public void Set(ref TransactionCopyEntitlementByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = Transaction.TransactionCopyentitlementbyindexApiLatest; + EntitlementIndex = other.Value.EntitlementIndex; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionCopyEntitlementByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionCopyEntitlementByIndexOptions.cs.meta deleted file mode 100644 index 3f20cdae..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionCopyEntitlementByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 10cae0974c140db4f8691e69769cb8c7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionGetEntitlementsCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionGetEntitlementsCountOptions.cs index 173502bf..7974f5ab 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionGetEntitlementsCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionGetEntitlementsCountOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Ecom -{ - /// - /// Input parameters for the function. - /// - public class TransactionGetEntitlementsCountOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct TransactionGetEntitlementsCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(TransactionGetEntitlementsCountOptions other) - { - if (other != null) - { - m_ApiVersion = Transaction.TransactionGetentitlementscountApiLatest; - } - } - - public void Set(object other) - { - Set(other as TransactionGetEntitlementsCountOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Ecom +{ + /// + /// Input parameters for the function. + /// + public struct TransactionGetEntitlementsCountOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct TransactionGetEntitlementsCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref TransactionGetEntitlementsCountOptions other) + { + m_ApiVersion = Transaction.TransactionGetentitlementscountApiLatest; + } + + public void Set(ref TransactionGetEntitlementsCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = Transaction.TransactionGetentitlementscountApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionGetEntitlementsCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionGetEntitlementsCountOptions.cs.meta deleted file mode 100644 index ba223eee..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Ecom/TransactionGetEntitlementsCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0ecae553fb6a7564b907ba01d4579f7f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/EpicAccountId.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/EpicAccountId.cs index 3ab1f36f..ce9c0096 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/EpicAccountId.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/EpicAccountId.cs @@ -1,100 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices -{ - public sealed partial class EpicAccountId : Handle - { - public EpicAccountId() - { - } - - public EpicAccountId(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// A character buffer of this size is large enough to fit a successful output of . This length does not include the null-terminator. - /// The EpicAccountId data structure is opaque in nature and no assumptions of its structure should be inferred - /// - public const int EpicaccountidMaxLength = 32; - - /// - /// Retrieve an from a raw string representing an Epic Online Services Account ID. The input string must be null-terminated. - /// NOTE: There is no validation on the string format, this should only be used with values serialized from legitimate sources such as - /// - /// The stringified account ID for which to retrieve the Epic Online Services Account ID - /// - /// The that corresponds to the AccountIdString - /// - public static EpicAccountId FromString(string accountIdString) - { - var accountIdStringAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref accountIdStringAddress, accountIdString); - - var funcResult = Bindings.EOS_EpicAccountId_FromString(accountIdStringAddress); - - Helper.TryMarshalDispose(ref accountIdStringAddress); - - EpicAccountId funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Check whether or not the given Epic Online Services Account ID is considered valid - /// NOTE: This will return true for any created with as there is no validation - /// - /// The Epic Online Services Account ID to check for validity - /// - /// true if the is valid, otherwise false - /// - public bool IsValid() - { - var funcResult = Bindings.EOS_EpicAccountId_IsValid(InnerHandle); - - bool funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Retrieve a null-terminated stringified Epic Online Services Account ID from an . This is useful for replication of Epic Online Services Account IDs in multiplayer games. - /// This string will be no larger than + 1 and will only contain UTF8-encoded printable characters (excluding the null-terminator). - /// - /// The Epic Online Services Account ID for which to retrieve the stringified version. - /// The buffer into which the character data should be written - /// - /// The size of the OutBuffer in characters. - /// The input buffer should include enough space to be null-terminated. - /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer including the null termination character. - /// - /// - /// An that indicates whether the Epic Online Services Account ID string was copied into the OutBuffer. - /// - The OutBuffer was filled, and InOutBufferLength contains the number of characters copied into OutBuffer including the null terminator. - /// - Either OutBuffer or InOutBufferLength were passed as NULL parameters. - /// - The AccountId is invalid and cannot be stringified. - /// - The OutBuffer is not large enough to receive the Epic Online Services Account ID string. InOutBufferLength contains the required minimum length to perform the operation successfully. - /// - public Result ToString(out string outBuffer) - { - System.IntPtr outBufferAddress = System.IntPtr.Zero; - int inOutBufferLength = EpicaccountidMaxLength + 1; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_EpicAccountId_ToString(InnerHandle, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - public override string ToString() - { - string funcResult; - ToString(out funcResult); - return funcResult; - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices +{ + public sealed partial class EpicAccountId : Handle + { + public EpicAccountId() + { + } + + public EpicAccountId(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// A character buffer of this size is large enough to fit a successful output of . This length does not include the null-terminator. + /// The EpicAccountId data structure is opaque in nature and no assumptions of its structure should be inferred + /// + public const int EpicaccountidMaxLength = 32; + + /// + /// Retrieve an from a raw string representing an Epic Account ID. The input string must be null-terminated. + /// NOTE: There is no validation on the string format, this should only be used with values serialized from legitimate sources such as + /// + /// The stringified account ID for which to retrieve the Epic Account ID + /// + /// The that corresponds to the AccountIdString + /// + public static EpicAccountId FromString(Utf8String accountIdString) + { + var accountIdStringAddress = System.IntPtr.Zero; + Helper.Set(accountIdString, ref accountIdStringAddress); + + var funcResult = Bindings.EOS_EpicAccountId_FromString(accountIdStringAddress); + + Helper.Dispose(ref accountIdStringAddress); + + EpicAccountId funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + public static explicit operator EpicAccountId(Utf8String value) + { + return FromString(value); + } + + /// + /// Check whether or not the given Epic Account ID is considered valid + /// NOTE: This will return true for any created with as there is no validation + /// + /// The Epic Account ID to check for validity + /// + /// if the is valid, otherwise + /// + public bool IsValid() + { + var funcResult = Bindings.EOS_EpicAccountId_IsValid(InnerHandle); + + bool funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Retrieve a null-terminated stringified Epic Account ID from an . This is useful for replication of Epic Account IDs in multiplayer games. + /// This string will be no larger than + 1 and will only contain UTF8-encoded printable characters as well as a null-terminator. + /// + /// The Epic Account ID for which to retrieve the stringified version. + /// The buffer into which the character data should be written + /// + /// The size of the OutBuffer in characters. + /// The input buffer should include enough space to be null-terminated. + /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer including the null-termination character. + /// + /// + /// An that indicates whether the Epic Account ID string was copied into the OutBuffer. + /// - The OutBuffer was filled, and InOutBufferLength contains the number of characters copied into OutBuffer including the null-terminator. + /// - Either OutBuffer or InOutBufferLength were passed as parameters. + /// - The AccountId is invalid and cannot be stringified. + /// - The OutBuffer is not large enough to receive the Epic Account ID string. InOutBufferLength contains the required minimum length to perform the operation successfully. + /// + public Result ToString(out Utf8String outBuffer) + { + int inOutBufferLength = EpicaccountidMaxLength + 1; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_EpicAccountId_ToString(InnerHandle, outBufferAddress, ref inOutBufferLength); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + public override string ToString() + { + Utf8String funcResult; + ToString(out funcResult); + return funcResult; + } + + public override string ToString(string format, System.IFormatProvider formatProvider) + { + if (format != null) + { + return string.Format(format, ToString()); + } + + return ToString(); + } + + public static explicit operator Utf8String(EpicAccountId value) + { + Utf8String result = null; + + if (value != null) + { + value.ToString(out result); + } + + return result; + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/EpicAccountId.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/EpicAccountId.cs.meta deleted file mode 100644 index b59a41b3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/EpicAccountId.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e5546a14899946348b50622f44ad9f7c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalAccountType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalAccountType.cs index 9597575d..e24fb826 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalAccountType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalAccountType.cs @@ -1,71 +1,72 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices -{ - /// - /// All supported external account providers - /// - /// - public enum ExternalAccountType : int - { - /// - /// External account is associated with Epic Games - /// - Epic = 0, - /// - /// External account is associated with Steam - /// - Steam = 1, - /// - /// External account is associated with PlayStation(TM)Network - /// - Psn = 2, - /// - /// External account is associated with Xbox Live - /// - /// With EOS Connect API, the associated account type is Partner XUID (PXUID). - /// With EOS UserInfo API, the associated account type is Xbox Live ID (XUID). - /// - Xbl = 3, - /// - /// External account is associated with Discord - /// - Discord = 4, - /// - /// External account is associated with GOG - /// - Gog = 5, - /// - /// External account is associated with Nintendo - /// - /// With both EOS Connect and EOS UserInfo APIs, the associated account type is Nintendo Service Account ID. - /// Local user authentication is possible using Nintendo Account ID, while the account type does not get exposed to the SDK in queries related to linked accounts information. - /// - Nintendo = 6, - /// - /// External account is associated with Uplay - /// - Uplay = 7, - /// - /// External account is associated with an OpenID Provider - /// - Openid = 8, - /// - /// External account is associated with Apple - /// - Apple = 9, - /// - /// External account is associated with Google - /// - Google = 10, - /// - /// External account is associated with Oculus - /// - Oculus = 11, - /// - /// External account is associated with itch.io - /// - Itchio = 12 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices +{ + /// + /// All supported external account providers + /// + /// + public enum ExternalAccountType : int + { + /// + /// External account is associated with Epic Games + /// + Epic = 0, + /// + /// External account is associated with Steam + /// + Steam = 1, + /// + /// External account is associated with PlayStation(TM)Network + /// + Psn = 2, + /// + /// External account is associated with Xbox Live + /// + Xbl = 3, + /// + /// External account is associated with Discord + /// + Discord = 4, + /// + /// External account is associated with GOG + /// + Gog = 5, + /// + /// External account is associated with Nintendo + /// + /// With both EOS Connect and EOS UserInfo APIs, the associated account type is Nintendo Service Account ID. + /// Local user authentication is possible using Nintendo Account ID, while the account type does not get exposed to the SDK in queries related to linked accounts information. + /// + Nintendo = 6, + /// + /// External account is associated with Uplay + /// + Uplay = 7, + /// + /// External account is associated with an OpenID Provider + /// + Openid = 8, + /// + /// External account is associated with Apple + /// + Apple = 9, + /// + /// External account is associated with Google + /// + Google = 10, + /// + /// External account is associated with Oculus + /// + Oculus = 11, + /// + /// External account is associated with itch.io + /// + Itchio = 12, + /// + /// External account is associated with Amazon + /// + Amazon = 13 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalAccountType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalAccountType.cs.meta deleted file mode 100644 index d0262176..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalAccountType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d4508452da5a0e343b4971832cc0a0b5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalCredentialType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalCredentialType.cs index 96547116..631b2d38 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalCredentialType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalCredentialType.cs @@ -1,174 +1,202 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices -{ - /// - /// List of the supported identity providers to authenticate a user. - /// - /// The type of authentication token is specific to each provider. - /// Tokens in string format should be passed as-is to the function. - /// Tokens retrieved as raw byte arrays should be converted into a hex-encoded UTF-8 string (e.g. "FA87097A..") before being passed to the function. - /// can be used for this conversion. - /// - /// - /// - public enum ExternalCredentialType : int - { - /// - /// Epic Games User Token - /// - /// Acquired using that returns ::AccessToken. - /// - /// Supported with . - /// - Epic = 0, - /// - /// Steam Encrypted App Ticket - /// - /// Generated using the ISteamUser::RequestEncryptedAppTicket API of Steamworks SDK. - /// For ticket generation parameters, use pDataToInclude(NULL) and cbDataToInclude(0). - /// - /// The retrieved App Ticket byte buffer needs to be converted into a hex-encoded UTF-8 string (e.g. "FA87097A..") before passing it to the or APIs. - /// can be used for this conversion. - /// - /// Supported with , . - /// - SteamAppTicket = 1, - /// - /// PlayStation(TM)Network ID Token - /// - /// Retrieved from the PlayStation(R) SDK. Please see first-party documentation for additional information. - /// - /// Supported with , . - /// - PsnIdToken = 2, - /// - /// Xbox Live XSTS Token - /// - /// Retrieved from the GDK and XDK. Please see first-party documentation for additional information. - /// - /// Supported with , . - /// - XblXstsToken = 3, - /// - /// Discord Access Token - /// - /// Retrieved using the ApplicationManager::GetOAuth2Token API of Discord SDK. - /// - /// Supported with . - /// - DiscordAccessToken = 4, - /// - /// GOG Galaxy Encrypted App Ticket - /// - /// Generated using the IUser::RequestEncryptedAppTicket API of GOG Galaxy SDK. - /// For ticket generation parameters, use data(NULL) and dataSize(0). - /// - /// The retrieved App Ticket byte buffer needs to be converted into a hex-encoded UTF-8 string (e.g. "FA87097A..") before passing it to the API. - /// For C/C++ API integration, use the API for the conversion. - /// For C# integration, you can use for the conversion. - /// - /// Supported with . - /// - GogSessionTicket = 5, - /// - /// Nintendo Account ID Token - /// - /// Identifies a Nintendo user account and is acquired through web flow authentication where the local user logs in using their email address/sign-in ID and password. - /// This is the common Nintendo account that users login with outside the Nintendo Switch device. - /// - /// Supported with , . - /// - NintendoIdToken = 6, - /// - /// Nintendo Service Account ID Token (NSA ID) - /// - /// The NSA ID identifies uniquely the local Nintendo Switch device. The authentication token is acquired locally without explicit user credentials. - /// As such, it is the primary authentication method for seamless login on Nintendo Switch. - /// - /// The NSA ID is not exposed directly to the user and does not provide any means for login outside the local device. - /// Because of this, Nintendo Switch users will need to link their Nintendo Account or another external user account - /// to their Product User ID in order to share their game progression across other platforms. Otherwise, the user will - /// not be able to login to their existing Product User ID on another platform due to missing login credentials to use. - /// It is recommended that the game explicitly communicates this restriction to the user so that they will know to add - /// the first linked external account on the Nintendo Switch device and then proceed with login on another platform. - /// - /// In addition to sharing cross-platform game progression, linking the Nintendo Account or another external account - /// will allow preserving the game progression permanently. Otherwise, the game progression will be tied only to the - /// local device. In case the user loses access to their local device, they will not be able to recover the game - /// progression if it is only associated with this account type. - /// - /// Supported with , . - /// - NintendoNsaIdToken = 7, - /// - /// Uplay Access Token - /// - UplayAccessToken = 8, - /// - /// OpenID Provider Access Token - /// - /// Supported with . - /// - OpenidAccessToken = 9, - /// - /// Device ID access token that identifies the current locally logged in user profile on the local device. - /// The local user profile here refers to the operating system user login, for example the user's Windows Account - /// or on a mobile device the default active user profile. - /// - /// This credential type is used to automatically login the local user using the EOS Connect Device ID feature. - /// - /// The intended use of the Device ID feature is to allow automatically logging in the user on a mobile device - /// and to allow playing the game without requiring the user to necessarily login using a real user account at all. - /// This makes a seamless first-time experience possible and allows linking the local device with a real external - /// user account at a later time, sharing the same that is being used with the Device ID feature. - /// - /// Supported with . - /// - /// - DeviceidAccessToken = 10, - /// - /// Apple ID Token - /// - /// Supported with . - /// - AppleIdToken = 11, - /// - /// Google ID Token - /// - /// Supported with . - /// - GoogleIdToken = 12, - /// - /// Oculus User ID and Nonce - /// - /// Call ovr_User_GetUserProof(), or Platform.User.GetUserProof() if you are using Unity, to retrieve the nonce. - /// Then pass the local User ID and the Nonce as a "|" formatted string for the Token parameter. - /// - /// Note that in order to successfully retrieve a valid non-zero id for the local user using ovr_User_GetUser(), - /// your Oculus App needs to be configured in the Oculus Developer Dashboard to have the User ID feature enabled. - /// - /// Supported with . - /// - OculusUseridNonce = 13, - /// - /// itch.io JWT Access Token - /// - /// Use the itch.io app manifest to receive a JWT access token for the local user via the ITCHIO_API_KEY process environment variable. - /// The itch.io access token is valid for 7 days after which the game needs to be restarted by the user as otherwise EOS Connect - /// authentication session can no longer be refreshed. - /// - /// Supported with . - /// - ItchioJwt = 14, - /// - /// itch.io Key Access Token - /// - /// This access token type is retrieved through the OAuth 2.0 authentication flow for the itch.io application. - /// - /// Supported with . - /// - ItchioKey = 15 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices +{ + /// + /// List of the supported identity providers to authenticate a user. + /// + /// The type of authentication token is specific to each provider. + /// Tokens in string format should be passed as-is to the function. + /// Tokens retrieved as raw byte arrays should be converted into a hex-encoded UTF-8 string (e.g. "FA87097A..") before being passed to the function. + /// can be used for this conversion. + /// + /// + /// + public enum ExternalCredentialType : int + { + /// + /// Epic Account Services Token + /// + /// Using ID Token is preferred, retrieved with that returns . + /// Using Auth Token is supported for backwards compatibility, retrieved with that returns . + /// + /// Supported with . + /// + /// + /// + Epic = 0, + /// + /// Steam Encrypted App Ticket + /// + /// Generated using the ISteamUser::RequestEncryptedAppTicket API of Steamworks SDK. + /// For ticket generation parameters, use pDataToInclude() and cbDataToInclude(0). + /// + /// The retrieved App Ticket byte buffer needs to be converted into a hex-encoded UTF-8 string (e.g. "FA87097A..") before passing it to the API. + /// can be used for this conversion. + /// + /// Supported with . + /// + SteamAppTicket = 1, + /// + /// PlayStation(TM)Network ID Token + /// + /// Retrieved from the PlayStation(R) SDK. Please see first-party documentation for additional information. + /// + /// Supported with , . + /// + PsnIdToken = 2, + /// + /// Xbox Live XSTS Token + /// + /// Retrieved from the GDK and XDK. Please see first-party documentation for additional information. + /// + /// Supported with , . + /// + XblXstsToken = 3, + /// + /// Discord Access Token + /// + /// Retrieved using the ApplicationManager::GetOAuth2Token API of Discord SDK. + /// + /// Supported with . + /// + DiscordAccessToken = 4, + /// + /// GOG Galaxy Encrypted App Ticket + /// + /// Generated using the IUser::RequestEncryptedAppTicket API of GOG Galaxy SDK. + /// For ticket generation parameters, use data() and dataSize(0). + /// + /// The retrieved App Ticket byte buffer needs to be converted into a hex-encoded UTF-8 string (e.g. "FA87097A..") before passing it to the API. + /// For C/C++ API integration, use the API for the conversion. + /// For C# integration, you can use for the conversion. + /// + /// Supported with . + /// + GogSessionTicket = 5, + /// + /// Nintendo Account ID Token + /// + /// Identifies a Nintendo user account and is acquired through web flow authentication where the local user logs in using their email address/sign-in ID and password. + /// This is the common Nintendo account that users login with outside the Nintendo Switch device. + /// + /// Supported with , . + /// + NintendoIdToken = 6, + /// + /// Nintendo Service Account ID Token (NSA ID) + /// + /// The NSA ID identifies uniquely the local Nintendo Switch device. The authentication token is acquired locally without explicit user credentials. + /// As such, it is the primary authentication method for seamless login on Nintendo Switch. + /// + /// The NSA ID is not exposed directly to the user and does not provide any means for login outside the local device. + /// Because of this, Nintendo Switch users will need to link their Nintendo Account or another external user account + /// to their Product User ID in order to share their game progression across other platforms. Otherwise, the user will + /// not be able to login to their existing Product User ID on another platform due to missing login credentials to use. + /// It is recommended that the game explicitly communicates this restriction to the user so that they will know to add + /// the first linked external account on the Nintendo Switch device and then proceed with login on another platform. + /// + /// In addition to sharing cross-platform game progression, linking the Nintendo Account or another external account + /// will allow preserving the game progression permanently. Otherwise, the game progression will be tied only to the + /// local device. In case the user loses access to their local device, they will not be able to recover the game + /// progression if it is only associated with this account type. + /// + /// Supported with , . + /// + NintendoNsaIdToken = 7, + /// + /// Uplay Access Token + /// + UplayAccessToken = 8, + /// + /// OpenID Provider Access Token + /// + /// Supported with . + /// + OpenidAccessToken = 9, + /// + /// Device ID access token that identifies the current locally logged in user profile on the local device. + /// The local user profile here refers to the operating system user login, for example the user's Windows Account + /// or on a mobile device the default active user profile. + /// + /// This credential type is used to automatically login the local user using the EOS Connect Device ID feature. + /// + /// The intended use of the Device ID feature is to allow automatically logging in the user on a mobile device + /// and to allow playing the game without requiring the user to necessarily login using a real user account at all. + /// This makes a seamless first-time experience possible and allows linking the local device with a real external + /// user account at a later time, sharing the same that is being used with the Device ID feature. + /// + /// Supported with . + /// + /// + DeviceidAccessToken = 10, + /// + /// Apple ID Token + /// + /// Supported with . + /// + AppleIdToken = 11, + /// + /// Google ID Token + /// + /// Supported with . + /// + GoogleIdToken = 12, + /// + /// Oculus User ID and Nonce + /// + /// Call ovr_User_GetUserProof(), or Platform.User.GetUserProof() if you are using Unity, to retrieve the nonce. + /// Then pass the local User ID and the Nonce as a "|" formatted string for the Token parameter. + /// + /// Note that in order to successfully retrieve a valid non-zero id for the local user using ovr_User_GetUser(), + /// your Oculus App needs to be configured in the Oculus Developer Dashboard to have the User ID feature enabled. + /// + /// Supported with . + /// + OculusUseridNonce = 13, + /// + /// itch.io JWT Access Token + /// + /// Use the itch.io app manifest to receive a JWT access token for the local user via the ITCHIO_API_KEY process environment variable. + /// The itch.io access token is valid for 7 days after which the game needs to be restarted by the user as otherwise EOS Connect + /// authentication session can no longer be refreshed. + /// + /// Supported with . + /// + ItchioJwt = 14, + /// + /// itch.io Key Access Token + /// + /// This access token type is retrieved through the OAuth 2.0 authentication flow for the itch.io application. + /// + /// Supported with . + /// + ItchioKey = 15, + /// + /// Epic Games ID Token + /// + /// Acquired using that returns . + /// + /// Supported with . + /// + EpicIdToken = 16, + /// + /// Amazon Access Token + /// + /// Supported with . + /// + AmazonAccessToken = 17, + /// + /// Steam Auth Session Ticket + /// + /// Generated using the ISteamUser::GetAuthSessionTicket API of Steamworks SDK. + /// + /// The retrieved Auth Session Ticket byte buffer needs to be converted into a hex-encoded UTF-8 string (e.g. "FA87097A..") before passing it to the or APIs. + /// can be used for this conversion. + /// + /// Supported with , . + /// + SteamSessionTicket = 18 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalCredentialType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalCredentialType.cs.meta deleted file mode 100644 index f1cc2e5e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ExternalCredentialType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2404c6fa1750b204db8aca404f08db5b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends.meta deleted file mode 100644 index 6082c9d0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 30eb20d6b42187542abfb943f6b91ecd -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteCallbackInfo.cs index f9bbcc49..03e7f8fd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Output parameters for the Function. - /// - public class AcceptInviteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned if an invite was accepted, otherwise one of the error codes is returned. See eos_common.h - /// - public Result ResultCode { get; private set; } - - /// - /// Context that is passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the user who is accepting the friends list invitation - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// The Epic Online Services Account ID of the user who sent the local user a friends list invitation - /// - public EpicAccountId TargetUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(AcceptInviteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as AcceptInviteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AcceptInviteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public EpicAccountId TargetUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Output parameters for the Function. + /// + public struct AcceptInviteCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned if an invite was accepted, otherwise one of the error codes is returned. See eos_common.h + /// + public Result ResultCode { get; set; } + + /// + /// Context that is passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the user who is accepting the friends list invitation + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user who sent the local user a friends list invitation + /// + public EpicAccountId TargetUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref AcceptInviteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AcceptInviteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + get + { + EpicAccountId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref AcceptInviteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref AcceptInviteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out AcceptInviteCallbackInfo output) + { + output = new AcceptInviteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteCallbackInfo.cs.meta deleted file mode 100644 index 7b889051..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: addc0ce661988174f9a8c014ae0f0081 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteOptions.cs index ddde6b45..04e7f202 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Input parameters for the function. - /// - public class AcceptInviteOptions - { - /// - /// The Epic Online Services Account ID of the local, logged-in user who is accepting the friends list invitation - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID of the user who sent the friends list invitation - /// - public EpicAccountId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AcceptInviteOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(AcceptInviteOptions other) - { - if (other != null) - { - m_ApiVersion = FriendsInterface.AcceptinviteApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as AcceptInviteOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Input parameters for the function. + /// + public struct AcceptInviteOptions + { + /// + /// The Epic Account ID of the local, logged-in user who is accepting the friends list invitation + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user who sent the friends list invitation + /// + public EpicAccountId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AcceptInviteOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref AcceptInviteOptions other) + { + m_ApiVersion = FriendsInterface.AcceptinviteApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref AcceptInviteOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = FriendsInterface.AcceptinviteApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteOptions.cs.meta deleted file mode 100644 index 44c23593..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AcceptInviteOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 512a7d1e50fc78c41ac58df0c1c14886 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AddNotifyFriendsUpdateOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AddNotifyFriendsUpdateOptions.cs index 9a8efe7a..bd7eefbc 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AddNotifyFriendsUpdateOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AddNotifyFriendsUpdateOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Input parameters for the function. - /// - public class AddNotifyFriendsUpdateOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyFriendsUpdateOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyFriendsUpdateOptions other) - { - if (other != null) - { - m_ApiVersion = FriendsInterface.AddnotifyfriendsupdateApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyFriendsUpdateOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Input parameters for the function. + /// + public struct AddNotifyFriendsUpdateOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyFriendsUpdateOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyFriendsUpdateOptions other) + { + m_ApiVersion = FriendsInterface.AddnotifyfriendsupdateApiLatest; + } + + public void Set(ref AddNotifyFriendsUpdateOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = FriendsInterface.AddnotifyfriendsupdateApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AddNotifyFriendsUpdateOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AddNotifyFriendsUpdateOptions.cs.meta deleted file mode 100644 index fd3eb9b5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/AddNotifyFriendsUpdateOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ecbda98459fea46498e458297354055d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsInterface.cs index 5cada696..8fd2f900 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsInterface.cs @@ -1,306 +1,305 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - public sealed partial class FriendsInterface : Handle - { - public FriendsInterface() - { - } - - public FriendsInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int AcceptinviteApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifyfriendsupdateApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetfriendatindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetfriendscountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetstatusApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int QueryfriendsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int RejectinviteApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SendinviteApiLatest = 1; - - /// - /// Starts an asynchronous task that accepts a friend invitation from another user. The completion delegate is executed after the backend response has been received. - /// - /// structure containing the logged in account and the inviting account - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void AcceptInvite(AcceptInviteOptions options, object clientData, OnAcceptInviteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnAcceptInviteCallbackInternal(OnAcceptInviteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Friends_AcceptInvite(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Listen for changes to friends for a particular account. - /// - /// Information about who would like notifications. - /// This value is returned to the caller when FriendsUpdateHandler is invoked. - /// The callback to be invoked when a change to any friend status changes. - /// - /// A valid notification ID if successfully bound, or otherwise - /// - public ulong AddNotifyFriendsUpdate(AddNotifyFriendsUpdateOptions options, object clientData, OnFriendsUpdateCallback friendsUpdateHandler) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var friendsUpdateHandlerInternal = new OnFriendsUpdateCallbackInternal(OnFriendsUpdateCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, friendsUpdateHandler, friendsUpdateHandlerInternal); - - var funcResult = Bindings.EOS_Friends_AddNotifyFriendsUpdate(InnerHandle, optionsAddress, clientDataAddress, friendsUpdateHandlerInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Retrieves the Epic Online Services Account ID of an entry from the friends list that has already been retrieved by the API. - /// The Epic Online Services Account ID returned by this function may belong to an account that has been invited to be a friend or that has invited the local user to be a friend. - /// To determine if the Epic Online Services Account ID returned by this function is a friend or a pending friend invitation, use the function. - /// - /// - /// - /// structure containing the Epic Online Services Account ID of the owner of the friends list and the index into the list - /// - /// the Epic Online Services Account ID of the friend. Note that if the index provided is out of bounds, the returned Epic Online Services Account ID will be a "null" account ID. - /// - public EpicAccountId GetFriendAtIndex(GetFriendAtIndexOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Friends_GetFriendAtIndex(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - EpicAccountId funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Retrieves the number of friends on the friends list that has already been retrieved by the API. - /// - /// - /// structure containing the Epic Online Services Account ID of user who owns the friends list - /// - /// the number of friends on the list - /// - public int GetFriendsCount(GetFriendsCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Friends_GetFriendsCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Retrieve the friendship status between the local user and another user. - /// - /// - /// structure containing the Epic Online Services Account ID of the friend list to check and the account of the user to test friendship status - /// - /// A value indicating whether the two accounts have a friendship, pending invites in either direction, or no relationship - /// is returned for two users that have confirmed friendship - /// is returned when the local user has sent a friend invitation but the other user has not accepted or rejected it - /// is returned when the other user has sent a friend invitation to the local user - /// is returned when there is no known relationship - /// - public FriendsStatus GetStatus(GetStatusOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Friends_GetStatus(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Starts an asynchronous task that reads the user's friends list from the backend service, caching it for future use. - /// - /// @note When the Social Overlay is enabled then this will be called automatically. The Social Overlay is enabled by default (see ). - /// - /// structure containing the account for which to retrieve the friends list - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void QueryFriends(QueryFriendsOptions options, object clientData, OnQueryFriendsCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryFriendsCallbackInternal(OnQueryFriendsCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Friends_QueryFriends(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Starts an asynchronous task that rejects a friend invitation from another user. The completion delegate is executed after the backend response has been received. - /// - /// structure containing the logged in account and the inviting account - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void RejectInvite(RejectInviteOptions options, object clientData, OnRejectInviteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnRejectInviteCallbackInternal(OnRejectInviteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Friends_RejectInvite(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Stop listening for friends changes on a previously bound handler. - /// - /// The previously bound notification ID. - public void RemoveNotifyFriendsUpdate(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_Friends_RemoveNotifyFriendsUpdate(InnerHandle, notificationId); - } - - /// - /// Starts an asynchronous task that sends a friend invitation to another user. The completion delegate is executed after the backend response has been received. - /// It does not indicate that the target user has responded to the friend invitation. - /// - /// structure containing the account to send the invite from and the account to send the invite to - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void SendInvite(SendInviteOptions options, object clientData, OnSendInviteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnSendInviteCallbackInternal(OnSendInviteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Friends_SendInvite(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnAcceptInviteCallbackInternal))] - internal static void OnAcceptInviteCallbackInternalImplementation(System.IntPtr data) - { - OnAcceptInviteCallback callback; - AcceptInviteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnFriendsUpdateCallbackInternal))] - internal static void OnFriendsUpdateCallbackInternalImplementation(System.IntPtr data) - { - OnFriendsUpdateCallback callback; - OnFriendsUpdateInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryFriendsCallbackInternal))] - internal static void OnQueryFriendsCallbackInternalImplementation(System.IntPtr data) - { - OnQueryFriendsCallback callback; - QueryFriendsCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnRejectInviteCallbackInternal))] - internal static void OnRejectInviteCallbackInternalImplementation(System.IntPtr data) - { - OnRejectInviteCallback callback; - RejectInviteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnSendInviteCallbackInternal))] - internal static void OnSendInviteCallbackInternalImplementation(System.IntPtr data) - { - OnSendInviteCallback callback; - SendInviteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + public sealed partial class FriendsInterface : Handle + { + public FriendsInterface() + { + } + + public FriendsInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int AcceptinviteApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifyfriendsupdateApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetfriendatindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetfriendscountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetstatusApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int QueryfriendsApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int RejectinviteApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SendinviteApiLatest = 1; + + /// + /// Starts an asynchronous task that accepts a friend invitation from another user. The completion delegate is executed after the backend response has been received. + /// + /// structure containing the logged in account and the inviting account + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void AcceptInvite(ref AcceptInviteOptions options, object clientData, OnAcceptInviteCallback completionDelegate) + { + AcceptInviteOptionsInternal optionsInternal = new AcceptInviteOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnAcceptInviteCallbackInternal(OnAcceptInviteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Friends_AcceptInvite(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Listen for changes to friends for a particular account. + /// + /// Information about who would like notifications. + /// This value is returned to the caller when FriendsUpdateHandler is invoked. + /// The callback to be invoked when a change to any friend status changes. + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyFriendsUpdate(ref AddNotifyFriendsUpdateOptions options, object clientData, OnFriendsUpdateCallback friendsUpdateHandler) + { + AddNotifyFriendsUpdateOptionsInternal optionsInternal = new AddNotifyFriendsUpdateOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var friendsUpdateHandlerInternal = new OnFriendsUpdateCallbackInternal(OnFriendsUpdateCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, friendsUpdateHandler, friendsUpdateHandlerInternal); + + var funcResult = Bindings.EOS_Friends_AddNotifyFriendsUpdate(InnerHandle, ref optionsInternal, clientDataAddress, friendsUpdateHandlerInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Retrieves the Epic Account ID of an entry from the friends list that has already been retrieved by the API. + /// The Epic Account ID returned by this function may belong to an account that has been invited to be a friend or that has invited the local user to be a friend. + /// To determine if the Epic Account ID returned by this function is a friend or a pending friend invitation, use the function. + /// + /// + /// + /// structure containing the Epic Account ID of the owner of the friends list and the index into the list + /// + /// the Epic Account ID of the friend. Note that if the index provided is out of bounds, the returned Epic Account ID will be a "null" account ID. + /// + public EpicAccountId GetFriendAtIndex(ref GetFriendAtIndexOptions options) + { + GetFriendAtIndexOptionsInternal optionsInternal = new GetFriendAtIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Friends_GetFriendAtIndex(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + EpicAccountId funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Retrieves the number of friends on the friends list that has already been retrieved by the API. + /// + /// + /// structure containing the Epic Account ID of user who owns the friends list + /// + /// the number of friends on the list + /// + public int GetFriendsCount(ref GetFriendsCountOptions options) + { + GetFriendsCountOptionsInternal optionsInternal = new GetFriendsCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Friends_GetFriendsCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Retrieve the friendship status between the local user and another user. + /// + /// + /// structure containing the Epic Account ID of the friend list to check and the account of the user to test friendship status + /// + /// A value indicating whether the two accounts have a friendship, pending invites in either direction, or no relationship + /// is returned for two users that have confirmed friendship + /// is returned when the local user has sent a friend invitation but the other user has not accepted or rejected it + /// is returned when the other user has sent a friend invitation to the local user + /// is returned when there is no known relationship + /// + public FriendsStatus GetStatus(ref GetStatusOptions options) + { + GetStatusOptionsInternal optionsInternal = new GetStatusOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Friends_GetStatus(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Starts an asynchronous task that reads the user's friends list from the backend service, caching it for future use. + /// When the Social Overlay is enabled then this will be called automatically. The Social Overlay is enabled by default (see EOS_PF_DISABLE_SOCIAL_OVERLAY). + /// + /// structure containing the account for which to retrieve the friends list + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void QueryFriends(ref QueryFriendsOptions options, object clientData, OnQueryFriendsCallback completionDelegate) + { + QueryFriendsOptionsInternal optionsInternal = new QueryFriendsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryFriendsCallbackInternal(OnQueryFriendsCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Friends_QueryFriends(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Starts an asynchronous task that rejects a friend invitation from another user. The completion delegate is executed after the backend response has been received. + /// + /// structure containing the logged in account and the inviting account + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void RejectInvite(ref RejectInviteOptions options, object clientData, OnRejectInviteCallback completionDelegate) + { + RejectInviteOptionsInternal optionsInternal = new RejectInviteOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnRejectInviteCallbackInternal(OnRejectInviteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Friends_RejectInvite(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Stop listening for friends changes on a previously bound handler. + /// + /// The previously bound notification ID. + public void RemoveNotifyFriendsUpdate(ulong notificationId) + { + Bindings.EOS_Friends_RemoveNotifyFriendsUpdate(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Starts an asynchronous task that sends a friend invitation to another user. The completion delegate is executed after the backend response has been received. + /// It does not indicate that the target user has responded to the friend invitation. + /// + /// structure containing the account to send the invite from and the account to send the invite to + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void SendInvite(ref SendInviteOptions options, object clientData, OnSendInviteCallback completionDelegate) + { + SendInviteOptionsInternal optionsInternal = new SendInviteOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnSendInviteCallbackInternal(OnSendInviteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Friends_SendInvite(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnAcceptInviteCallbackInternal))] + internal static void OnAcceptInviteCallbackInternalImplementation(ref AcceptInviteCallbackInfoInternal data) + { + OnAcceptInviteCallback callback; + AcceptInviteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnFriendsUpdateCallbackInternal))] + internal static void OnFriendsUpdateCallbackInternalImplementation(ref OnFriendsUpdateInfoInternal data) + { + OnFriendsUpdateCallback callback; + OnFriendsUpdateInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryFriendsCallbackInternal))] + internal static void OnQueryFriendsCallbackInternalImplementation(ref QueryFriendsCallbackInfoInternal data) + { + OnQueryFriendsCallback callback; + QueryFriendsCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnRejectInviteCallbackInternal))] + internal static void OnRejectInviteCallbackInternalImplementation(ref RejectInviteCallbackInfoInternal data) + { + OnRejectInviteCallback callback; + RejectInviteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnSendInviteCallbackInternal))] + internal static void OnSendInviteCallbackInternalImplementation(ref SendInviteCallbackInfoInternal data) + { + OnSendInviteCallback callback; + SendInviteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsInterface.cs.meta deleted file mode 100644 index 4dd58106..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 702b2a7398b4b4a4a90a4d6cf24b171e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsStatus.cs index 2ebd5f99..74cfd576 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsStatus.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsStatus.cs @@ -1,28 +1,28 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// An enumeration of the different friendship statuses. - /// - public enum FriendsStatus : int - { - /// - /// The two accounts have no friendship status - /// - NotFriends = 0, - /// - /// The local account has sent a friend invite to the other account - /// - InviteSent = 1, - /// - /// The other account has sent a friend invite to the local account - /// - InviteReceived = 2, - /// - /// The accounts have accepted friendship - /// - Friends = 3 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// An enumeration of the different friendship statuses. + /// + public enum FriendsStatus : int + { + /// + /// The two accounts have no friendship status + /// + NotFriends = 0, + /// + /// The local account has sent a friend invite to the other account + /// + InviteSent = 1, + /// + /// The other account has sent a friend invite to the local account + /// + InviteReceived = 2, + /// + /// The accounts have accepted friendship + /// + Friends = 3 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsStatus.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsStatus.cs.meta deleted file mode 100644 index fde207ac..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/FriendsStatus.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 17174af1a956faa40b2a5131c96e955b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendAtIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendAtIndexOptions.cs index 3087e80d..a485aadc 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendAtIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendAtIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Input parameters for the function. - /// - public class GetFriendAtIndexOptions - { - /// - /// The Epic Online Services Account ID of the user whose friend list is being queried - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// Index into the friend list. This value must be between 0 and -1 inclusively. - /// - public int Index { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetFriendAtIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private int m_Index; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public int Index - { - set - { - m_Index = value; - } - } - - public void Set(GetFriendAtIndexOptions other) - { - if (other != null) - { - m_ApiVersion = FriendsInterface.GetfriendatindexApiLatest; - LocalUserId = other.LocalUserId; - Index = other.Index; - } - } - - public void Set(object other) - { - Set(other as GetFriendAtIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Input parameters for the function. + /// + public struct GetFriendAtIndexOptions + { + /// + /// The Epic Account ID of the user whose friend list is being queried + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Index into the friend list. This value must be between 0 and -1 inclusively. + /// + public int Index { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetFriendAtIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private int m_Index; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public int Index + { + set + { + m_Index = value; + } + } + + public void Set(ref GetFriendAtIndexOptions other) + { + m_ApiVersion = FriendsInterface.GetfriendatindexApiLatest; + LocalUserId = other.LocalUserId; + Index = other.Index; + } + + public void Set(ref GetFriendAtIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = FriendsInterface.GetfriendatindexApiLatest; + LocalUserId = other.Value.LocalUserId; + Index = other.Value.Index; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendAtIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendAtIndexOptions.cs.meta deleted file mode 100644 index c97e1242..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendAtIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 72ac25a9d25384147ac5303dbbc6f156 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendsCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendsCountOptions.cs index f67045f4..93e5bc02 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendsCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendsCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Input parameters for the function. - /// - public class GetFriendsCountOptions - { - /// - /// The Epic Online Services Account ID of the user whose friends should be counted - /// - public EpicAccountId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetFriendsCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(GetFriendsCountOptions other) - { - if (other != null) - { - m_ApiVersion = FriendsInterface.GetfriendscountApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as GetFriendsCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Input parameters for the function. + /// + public struct GetFriendsCountOptions + { + /// + /// The Epic Account ID of the user whose friends should be counted + /// + public EpicAccountId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetFriendsCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref GetFriendsCountOptions other) + { + m_ApiVersion = FriendsInterface.GetfriendscountApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref GetFriendsCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = FriendsInterface.GetfriendscountApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendsCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendsCountOptions.cs.meta deleted file mode 100644 index 13da1623..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetFriendsCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cdeadb659eb33c94ea916efced6573b1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetStatusOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetStatusOptions.cs index 293e1eb1..5460907d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetStatusOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetStatusOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Input parameters for the function. - /// - public class GetStatusOptions - { - /// - /// The Epic Online Services Account ID of the local, logged in user - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID of the user whose friendship status with the local user is being queried - /// - public EpicAccountId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetStatusOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(GetStatusOptions other) - { - if (other != null) - { - m_ApiVersion = FriendsInterface.GetstatusApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as GetStatusOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Input parameters for the function. + /// + public struct GetStatusOptions + { + /// + /// The Epic Account ID of the local, logged in user + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user whose friendship status with the local user is being queried + /// + public EpicAccountId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetStatusOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref GetStatusOptions other) + { + m_ApiVersion = FriendsInterface.GetstatusApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref GetStatusOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = FriendsInterface.GetstatusApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetStatusOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetStatusOptions.cs.meta deleted file mode 100644 index 9073ef71..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/GetStatusOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 97d6fe89a9e05914daf1b780c3a4386c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnAcceptInviteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnAcceptInviteCallback.cs index 49da2bfa..90414d5e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnAcceptInviteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnAcceptInviteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result. - public delegate void OnAcceptInviteCallback(AcceptInviteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnAcceptInviteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result. + public delegate void OnAcceptInviteCallback(ref AcceptInviteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnAcceptInviteCallbackInternal(ref AcceptInviteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnAcceptInviteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnAcceptInviteCallback.cs.meta deleted file mode 100644 index 028068fe..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnAcceptInviteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 219cc05a05ea0554fb88fef1bcb57d68 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateCallback.cs index 3ccc5e16..1eff4556 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Callback for information related to a friend status update. - /// - public delegate void OnFriendsUpdateCallback(OnFriendsUpdateInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnFriendsUpdateCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Callback for information related to a friend status update. + /// + public delegate void OnFriendsUpdateCallback(ref OnFriendsUpdateInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnFriendsUpdateCallbackInternal(ref OnFriendsUpdateInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateCallback.cs.meta deleted file mode 100644 index 7d1a5c8b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4438b4c28a7fddd40b6db231fb24e448 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateInfo.cs index ce7cb52e..a7477d52 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateInfo.cs @@ -1,122 +1,173 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Structure containing information about a friend status update. - /// - public class OnFriendsUpdateInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local user who is receiving the update - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// The Epic Online Services Account ID of the user whose status is being updated. - /// - public EpicAccountId TargetUserId { get; private set; } - - /// - /// The previous status of the user. - /// - public FriendsStatus PreviousStatus { get; private set; } - - /// - /// The current status of the user. - /// - public FriendsStatus CurrentStatus { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(OnFriendsUpdateInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - PreviousStatus = other.Value.PreviousStatus; - CurrentStatus = other.Value.CurrentStatus; - } - } - - public void Set(object other) - { - Set(other as OnFriendsUpdateInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnFriendsUpdateInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - private FriendsStatus m_PreviousStatus; - private FriendsStatus m_CurrentStatus; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public EpicAccountId TargetUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - - public FriendsStatus PreviousStatus - { - get - { - return m_PreviousStatus; - } - } - - public FriendsStatus CurrentStatus - { - get - { - return m_CurrentStatus; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Structure containing information about a friend status update. + /// + public struct OnFriendsUpdateInfo : ICallbackInfo + { + /// + /// Client-specified data passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local user who is receiving the update + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user whose status is being updated. + /// + public EpicAccountId TargetUserId { get; set; } + + /// + /// The previous status of the user. + /// + public FriendsStatus PreviousStatus { get; set; } + + /// + /// The current status of the user. + /// + public FriendsStatus CurrentStatus { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnFriendsUpdateInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + PreviousStatus = other.PreviousStatus; + CurrentStatus = other.CurrentStatus; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnFriendsUpdateInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + private FriendsStatus m_PreviousStatus; + private FriendsStatus m_CurrentStatus; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + get + { + EpicAccountId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public FriendsStatus PreviousStatus + { + get + { + return m_PreviousStatus; + } + + set + { + m_PreviousStatus = value; + } + } + + public FriendsStatus CurrentStatus + { + get + { + return m_CurrentStatus; + } + + set + { + m_CurrentStatus = value; + } + } + + public void Set(ref OnFriendsUpdateInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + PreviousStatus = other.PreviousStatus; + CurrentStatus = other.CurrentStatus; + } + + public void Set(ref OnFriendsUpdateInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + PreviousStatus = other.Value.PreviousStatus; + CurrentStatus = other.Value.CurrentStatus; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out OnFriendsUpdateInfo output) + { + output = new OnFriendsUpdateInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateInfo.cs.meta deleted file mode 100644 index abf63e01..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnFriendsUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 29a3d9b2b113f1f4fa1719daf837512e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnQueryFriendsCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnQueryFriendsCallback.cs index c78cc7b3..4bf94536 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnQueryFriendsCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnQueryFriendsCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryFriendsCallback(QueryFriendsCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryFriendsCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryFriendsCallback(ref QueryFriendsCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryFriendsCallbackInternal(ref QueryFriendsCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnQueryFriendsCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnQueryFriendsCallback.cs.meta deleted file mode 100644 index c80646ff..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnQueryFriendsCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 131eb553320c0804a8f0f64c1271d447 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnRejectInviteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnRejectInviteCallback.cs index 69921832..4c7c02f3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnRejectInviteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnRejectInviteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing output information and the result. - public delegate void OnRejectInviteCallback(RejectInviteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnRejectInviteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing output information and the result. + public delegate void OnRejectInviteCallback(ref RejectInviteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnRejectInviteCallbackInternal(ref RejectInviteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnRejectInviteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnRejectInviteCallback.cs.meta deleted file mode 100644 index a872bc8d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnRejectInviteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b8e35b1bdc6576c4b895c0a545f94f8f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnSendInviteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnSendInviteCallback.cs index 919eb356..9fcb13dd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnSendInviteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnSendInviteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result. - public delegate void OnSendInviteCallback(SendInviteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnSendInviteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result. + public delegate void OnSendInviteCallback(ref SendInviteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnSendInviteCallbackInternal(ref SendInviteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnSendInviteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnSendInviteCallback.cs.meta deleted file mode 100644 index e3ad0f1c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnSendInviteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 832ec241457fcd64f9e1094b2e34a293 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsCallbackInfo.cs index 04a912c0..9c7525b3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Output parameters for the Function. These parameters are received through the callback provided to - /// - public class QueryFriendsCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the user whose friends were queried - /// - public EpicAccountId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryFriendsCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryFriendsCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryFriendsCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Output parameters for the Function. These parameters are received through the callback provided to + /// + public struct QueryFriendsCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the user whose friends were queried + /// + public EpicAccountId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryFriendsCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryFriendsCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryFriendsCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryFriendsCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out QueryFriendsCallbackInfo output) + { + output = new QueryFriendsCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsCallbackInfo.cs.meta deleted file mode 100644 index 84643012..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: babf34d0fc5f64548bf4d37591d1d3a8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsOptions.cs index 857b0702..6f027b0e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Input parameters for the function. - /// - public class QueryFriendsOptions - { - /// - /// The Epic Online Services Account ID of the local, logged-in user whose friends list you want to retrieve - /// - public EpicAccountId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryFriendsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(QueryFriendsOptions other) - { - if (other != null) - { - m_ApiVersion = FriendsInterface.QueryfriendsApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryFriendsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Input parameters for the function. + /// + public struct QueryFriendsOptions + { + /// + /// The Epic Account ID of the local, logged-in user whose friends list you want to retrieve + /// + public EpicAccountId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryFriendsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryFriendsOptions other) + { + m_ApiVersion = FriendsInterface.QueryfriendsApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryFriendsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = FriendsInterface.QueryfriendsApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsOptions.cs.meta deleted file mode 100644 index 0d98a93d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/QueryFriendsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 255cfe9cbe5e97a46bbdcaadab6ae60f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteCallbackInfo.cs index 1355c459..443050c6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Output parameters for the Function. - /// - public class RejectInviteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned if an invite was accepted, otherwise one of the error codes is returned. See eos_common.h - /// - public Result ResultCode { get; private set; } - - /// - /// Context that is passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the user who is rejecting the friends list invitation - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// The Epic Online Services Account ID of the user who sent the friends list invitation - /// - public EpicAccountId TargetUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(RejectInviteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as RejectInviteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RejectInviteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public EpicAccountId TargetUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Output parameters for the Function. + /// + public struct RejectInviteCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned if an invite was accepted, otherwise one of the error codes is returned. See eos_common.h + /// + public Result ResultCode { get; set; } + + /// + /// Context that is passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the user who is rejecting the friends list invitation + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user who sent the friends list invitation + /// + public EpicAccountId TargetUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref RejectInviteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RejectInviteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + get + { + EpicAccountId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref RejectInviteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref RejectInviteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out RejectInviteCallbackInfo output) + { + output = new RejectInviteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteCallbackInfo.cs.meta deleted file mode 100644 index cd0ab445..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1568749c99c5f644d8c53cb714fcd07c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteOptions.cs index 9ce62f9f..efc61359 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Input parameters for the function. - /// - public class RejectInviteOptions - { - /// - /// The Epic Online Services Account ID of the local, logged-in user who is rejecting a friends list invitation - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID of the user who sent the friends list invitation - /// - public EpicAccountId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RejectInviteOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(RejectInviteOptions other) - { - if (other != null) - { - m_ApiVersion = FriendsInterface.RejectinviteApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as RejectInviteOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Input parameters for the function. + /// + public struct RejectInviteOptions + { + /// + /// The Epic Account ID of the local, logged-in user who is rejecting a friends list invitation + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user who sent the friends list invitation + /// + public EpicAccountId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RejectInviteOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref RejectInviteOptions other) + { + m_ApiVersion = FriendsInterface.RejectinviteApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref RejectInviteOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = FriendsInterface.RejectinviteApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteOptions.cs.meta deleted file mode 100644 index a652dea7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/RejectInviteOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b5ac09b0bea3d1d4ea95540af2cafda9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteCallbackInfo.cs index 3965fee8..3413a342 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Output parameters for the API. - /// - public class SendInviteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned if the invitation was sent, otherwise one of the error codes is returned. See eos_common.h - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the user who sent the friends list invitation - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// The Epic Online Services Account ID of the user to whom the friends list invitation was sent - /// - public EpicAccountId TargetUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(SendInviteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as SendInviteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SendInviteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public EpicAccountId TargetUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Output parameters for the API. + /// + public struct SendInviteCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned if the invitation was sent, otherwise one of the error codes is returned. See eos_common.h + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the user who sent the friends list invitation + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user to whom the friends list invitation was sent + /// + public EpicAccountId TargetUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref SendInviteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SendInviteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + get + { + EpicAccountId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref SendInviteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref SendInviteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out SendInviteCallbackInfo output) + { + output = new SendInviteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteCallbackInfo.cs.meta deleted file mode 100644 index c6ed9b69..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e76d44ddaf200164f938abc822eafc65 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteOptions.cs index ab7cdebc..708fe743 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Friends -{ - /// - /// Input parameters for the function. - /// - public class SendInviteOptions - { - /// - /// The Epic Online Services Account ID of the local, logged-in user who is sending the friends list invitation - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID of the user who is receiving the friends list invitation - /// - public EpicAccountId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SendInviteOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(SendInviteOptions other) - { - if (other != null) - { - m_ApiVersion = FriendsInterface.SendinviteApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as SendInviteOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Friends +{ + /// + /// Input parameters for the function. + /// + public struct SendInviteOptions + { + /// + /// The Epic Account ID of the local, logged-in user who is sending the friends list invitation + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user who is receiving the friends list invitation + /// + public EpicAccountId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SendInviteOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref SendInviteOptions other) + { + m_ApiVersion = FriendsInterface.SendinviteApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref SendInviteOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = FriendsInterface.SendinviteApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteOptions.cs.meta deleted file mode 100644 index 5faca767..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/SendInviteOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 354e85c1d71475b43aaff4c27a90e06b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS.meta deleted file mode 100644 index 711042cd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c4e2c8142a8bbd54f849b66b64e2f41d -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth.meta deleted file mode 100644 index 4b1fbee7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f34a811300e2b8748afd1f40a21c96b0 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/AuthInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/AuthInterface.cs index 88465201..0262f1fe 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/AuthInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/AuthInterface.cs @@ -1,28 +1,28 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - public sealed partial class AuthInterface : Handle - { - /// - /// The most recent version of the structure. - /// - public const int AuthIoscredentialssystemauthcredentialsoptionsApiLatest = 1; - - public void Login(IOSLoginOptions options, object clientData, OnLoginCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnLoginCallbackInternal(OnLoginCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Auth_Login(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + public sealed partial class AuthInterface : Handle + { + /// + /// The most recent version of the structure. + /// + public const int IosCredentialssystemauthcredentialsoptionsApiLatest = 1; + + public void Login(ref IOSLoginOptions options, object clientData, OnLoginCallback completionDelegate) + { + IOSLoginOptionsInternal optionsInternal = new IOSLoginOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnLoginCallbackInternal(OnLoginCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + IOSBindings.EOS_Auth_Login(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/AuthInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/AuthInterface.cs.meta deleted file mode 100644 index fb41d54d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/AuthInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 49084b77c143d1e458f237231c2f8aff -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentials.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentials.cs index bc7e4179..37559faf 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentials.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentials.cs @@ -1,179 +1,182 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// A structure that contains login credentials. What is required is dependent on the type of login being initiated. - /// - /// This is part of the input structure and related to device auth. - /// - /// Use of the ID and Token fields differs based on the Type. They should be null, unless specified: - /// - ID is the email address, and Token is the password. - /// - Token is the exchange code. - /// - If targeting console platforms, Token is the long lived refresh token. Otherwise N/A. - /// - N/A. - /// - ID is the host (e.g. localhost:6547), and Token is the credential name registered in the EOS Developer Authentication Tool. - /// - Token is the refresh token. - /// - SystemAuthCredentialsOptions may be required if targeting mobile platforms. Otherwise N/A. - /// - Token is the external auth token specified by ExternalType. - /// - /// - /// - /// - public class IOSCredentials : ISettable - { - /// - /// ID of the user logging in, based on - /// - public string Id { get; set; } - - /// - /// Credentials or token related to the user logging in - /// - public string Token { get; set; } - - /// - /// Type of login. Needed to identify the auth method to use - /// - public LoginCredentialType Type { get; set; } - - /// - /// This field is for system specific options, if any. - /// - /// If provided, the structure will be located in (System)/eos_(system).h. - /// The structure will be named EOS_(System)_Auth_CredentialsOptions. - /// - public IOSCredentialsSystemAuthCredentialsOptions SystemAuthCredentialsOptions { get; set; } - - /// - /// Type of external login. Needed to identify the external auth method to use. - /// Used when login type is set to , ignored for other methods. - /// - public ExternalCredentialType ExternalType { get; set; } - - internal void Set(IOSCredentialsInternal? other) - { - if (other != null) - { - Id = other.Value.Id; - Token = other.Value.Token; - Type = other.Value.Type; - SystemAuthCredentialsOptions = other.Value.SystemAuthCredentialsOptions; - ExternalType = other.Value.ExternalType; - } - } - - public void Set(object other) - { - Set(other as IOSCredentialsInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct IOSCredentialsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Id; - private System.IntPtr m_Token; - private LoginCredentialType m_Type; - private System.IntPtr m_SystemAuthCredentialsOptions; - private ExternalCredentialType m_ExternalType; - - public string Id - { - get - { - string value; - Helper.TryMarshalGet(m_Id, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Id, value); - } - } - - public string Token - { - get - { - string value; - Helper.TryMarshalGet(m_Token, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Token, value); - } - } - - public LoginCredentialType Type - { - get - { - return m_Type; - } - - set - { - m_Type = value; - } - } - - public IOSCredentialsSystemAuthCredentialsOptions SystemAuthCredentialsOptions - { - get - { - IOSCredentialsSystemAuthCredentialsOptions value; - Helper.TryMarshalGet(m_SystemAuthCredentialsOptions, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_SystemAuthCredentialsOptions, value); - } - } - - public ExternalCredentialType ExternalType - { - get - { - return m_ExternalType; - } - - set - { - m_ExternalType = value; - } - } - - public void Set(IOSCredentials other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.CredentialsApiLatest; - Id = other.Id; - Token = other.Token; - Type = other.Type; - SystemAuthCredentialsOptions = other.SystemAuthCredentialsOptions; - ExternalType = other.ExternalType; - } - } - - public void Set(object other) - { - Set(other as IOSCredentials); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Id); - Helper.TryMarshalDispose(ref m_Token); - Helper.TryMarshalDispose(ref m_SystemAuthCredentialsOptions); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// A structure that contains login credentials. What is required is dependent on the type of login being initiated. + /// + /// This is part of the input structure and related to device auth. + /// + /// Use of the ID and Token fields differs based on the Type. They should be null, unless specified: + /// - ID is the email address, and Token is the password. + /// - Token is the exchange code. + /// - If targeting console platforms, Token is the long lived refresh token. Otherwise N/A. + /// - N/A. + /// - ID is the host (e.g. localhost:6547), and Token is the credential name registered in the EOS Developer Authentication Tool. + /// - Token is the refresh token. + /// - SystemAuthCredentialsOptions may be required if targeting mobile platforms. Otherwise N/A. + /// - Token is the external auth token specified by ExternalType. + /// + /// + /// + /// + public struct IOSCredentials + { + /// + /// ID of the user logging in, based on + /// + public Utf8String Id { get; set; } + + /// + /// Credentials or token related to the user logging in + /// + public Utf8String Token { get; set; } + + /// + /// Type of login. Needed to identify the auth method to use + /// + public LoginCredentialType Type { get; set; } + + /// + /// This field is for system specific options, if any. + /// + /// If provided, the structure will be located in (System)/eos_(system).h. + /// The structure will be named EOS_(System)_Auth_CredentialsOptions. + /// + public IOSCredentialsSystemAuthCredentialsOptions? SystemAuthCredentialsOptions { get; set; } + + /// + /// Type of external login. Needed to identify the external auth method to use. + /// Used when login type is set to , ignored for other methods. + /// + public ExternalCredentialType ExternalType { get; set; } + + internal void Set(ref IOSCredentialsInternal other) + { + Id = other.Id; + Token = other.Token; + Type = other.Type; + SystemAuthCredentialsOptions = other.SystemAuthCredentialsOptions; + ExternalType = other.ExternalType; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct IOSCredentialsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Id; + private System.IntPtr m_Token; + private LoginCredentialType m_Type; + private System.IntPtr m_SystemAuthCredentialsOptions; + private ExternalCredentialType m_ExternalType; + + public Utf8String Id + { + get + { + Utf8String value; + Helper.Get(m_Id, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Id); + } + } + + public Utf8String Token + { + get + { + Utf8String value; + Helper.Get(m_Token, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Token); + } + } + + public LoginCredentialType Type + { + get + { + return m_Type; + } + + set + { + m_Type = value; + } + } + + public IOSCredentialsSystemAuthCredentialsOptions? SystemAuthCredentialsOptions + { + get + { + IOSCredentialsSystemAuthCredentialsOptions? value; + Helper.Get(m_SystemAuthCredentialsOptions, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_SystemAuthCredentialsOptions); + } + } + + public ExternalCredentialType ExternalType + { + get + { + return m_ExternalType; + } + + set + { + m_ExternalType = value; + } + } + + public void Set(ref IOSCredentials other) + { + m_ApiVersion = AuthInterface.CredentialsApiLatest; + Id = other.Id; + Token = other.Token; + Type = other.Type; + SystemAuthCredentialsOptions = other.SystemAuthCredentialsOptions; + ExternalType = other.ExternalType; + } + + public void Set(ref IOSCredentials? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.CredentialsApiLatest; + Id = other.Value.Id; + Token = other.Value.Token; + Type = other.Value.Type; + SystemAuthCredentialsOptions = other.Value.SystemAuthCredentialsOptions; + ExternalType = other.Value.ExternalType; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Id); + Helper.Dispose(ref m_Token); + Helper.Dispose(ref m_SystemAuthCredentialsOptions); + } + + public void Get(out IOSCredentials output) + { + output = new IOSCredentials(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentials.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentials.cs.meta deleted file mode 100644 index 48effd48..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentials.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dad144cd8e084c14cada22c9476bf6e3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentialsSystemAuthCredentialsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentialsSystemAuthCredentialsOptions.cs index 6adec2ef..475478d0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentialsSystemAuthCredentialsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentialsSystemAuthCredentialsOptions.cs @@ -1,73 +1,72 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Options for initializing login for IOS. - /// - public class IOSCredentialsSystemAuthCredentialsOptions : ISettable - { - /// - /// When calling - /// NSObject that implements the ASWebAuthenticationPresentationContextProviding protocol, - /// typically this is added to the applications UIViewController. - /// Required for iOS 13+ only, for earlier versions this value must be a nullptr. - /// using: (void*)CFBridgingRetain(presentationContextProviding) - /// EOSSDK will release this bridged object when the value is consumed for iOS 13+. - /// - public System.IntPtr PresentationContextProviding { get; set; } - - internal void Set(IOSCredentialsSystemAuthCredentialsOptionsInternal? other) - { - if (other != null) - { - PresentationContextProviding = other.Value.PresentationContextProviding; - } - } - - public void Set(object other) - { - Set(other as IOSCredentialsSystemAuthCredentialsOptionsInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct IOSCredentialsSystemAuthCredentialsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_PresentationContextProviding; - - public System.IntPtr PresentationContextProviding - { - get - { - return m_PresentationContextProviding; - } - - set - { - m_PresentationContextProviding = value; - } - } - - public void Set(IOSCredentialsSystemAuthCredentialsOptions other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.AuthIoscredentialssystemauthcredentialsoptionsApiLatest; - PresentationContextProviding = other.PresentationContextProviding; - } - } - - public void Set(object other) - { - Set(other as IOSCredentialsSystemAuthCredentialsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_PresentationContextProviding); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Options for initializing login for IOS. + /// + public struct IOSCredentialsSystemAuthCredentialsOptions + { + /// + /// When calling + /// NSObject that implements the ASWebAuthenticationPresentationContextProviding protocol, + /// typically this is added to the applications UIViewController. + /// Required for iOS 13+ only, for earlier versions this value must be a nullptr. + /// using: (*)CFBridgingRetain(presentationContextProviding) + /// EOSSDK will release this bridged object when the value is consumed for iOS 13+. + /// + public System.IntPtr PresentationContextProviding { get; set; } + + internal void Set(ref IOSCredentialsSystemAuthCredentialsOptionsInternal other) + { + PresentationContextProviding = other.PresentationContextProviding; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct IOSCredentialsSystemAuthCredentialsOptionsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_PresentationContextProviding; + + public System.IntPtr PresentationContextProviding + { + get + { + return m_PresentationContextProviding; + } + + set + { + m_PresentationContextProviding = value; + } + } + + public void Set(ref IOSCredentialsSystemAuthCredentialsOptions other) + { + m_ApiVersion = AuthInterface.IosCredentialssystemauthcredentialsoptionsApiLatest; + PresentationContextProviding = other.PresentationContextProviding; + } + + public void Set(ref IOSCredentialsSystemAuthCredentialsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.IosCredentialssystemauthcredentialsoptionsApiLatest; + PresentationContextProviding = other.Value.PresentationContextProviding; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_PresentationContextProviding); + } + + public void Get(out IOSCredentialsSystemAuthCredentialsOptions output) + { + output = new IOSCredentialsSystemAuthCredentialsOptions(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentialsSystemAuthCredentialsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentialsSystemAuthCredentialsOptions.cs.meta deleted file mode 100644 index c7889c2e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSCredentialsSystemAuthCredentialsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c13756854fbcf4f468ffb3983a48a4a1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSLoginOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSLoginOptions.cs index c1f32ca9..27dcf8a9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSLoginOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSLoginOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Auth -{ - /// - /// Input parameters for the function. - /// - public class IOSLoginOptions - { - /// - /// Credentials specified for a given login method - /// - public IOSCredentials Credentials { get; set; } - - /// - /// Auth scope flags are permissions to request from the user while they are logging in. This is a bitwise-or union of flags defined above - /// - public AuthScopeFlags ScopeFlags { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct IOSLoginOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Credentials; - private AuthScopeFlags m_ScopeFlags; - - public IOSCredentials Credentials - { - set - { - Helper.TryMarshalSet(ref m_Credentials, value); - } - } - - public AuthScopeFlags ScopeFlags - { - set - { - m_ScopeFlags = value; - } - } - - public void Set(IOSLoginOptions other) - { - if (other != null) - { - m_ApiVersion = AuthInterface.LoginApiLatest; - Credentials = other.Credentials; - ScopeFlags = other.ScopeFlags; - } - } - - public void Set(object other) - { - Set(other as IOSLoginOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Credentials); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Auth +{ + /// + /// Input parameters for the function. + /// + public struct IOSLoginOptions + { + /// + /// Credentials specified for a given login method + /// + public IOSCredentials? Credentials { get; set; } + + /// + /// Auth scope flags are permissions to request from the user while they are logging in. This is a bitwise-or union of flags defined above + /// + public AuthScopeFlags ScopeFlags { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct IOSLoginOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Credentials; + private AuthScopeFlags m_ScopeFlags; + + public IOSCredentials? Credentials + { + set + { + Helper.Set(ref value, ref m_Credentials); + } + } + + public AuthScopeFlags ScopeFlags + { + set + { + m_ScopeFlags = value; + } + } + + public void Set(ref IOSLoginOptions other) + { + m_ApiVersion = AuthInterface.LoginApiLatest; + Credentials = other.Credentials; + ScopeFlags = other.ScopeFlags; + } + + public void Set(ref IOSLoginOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = AuthInterface.LoginApiLatest; + Credentials = other.Value.Credentials; + ScopeFlags = other.Value.ScopeFlags; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Credentials); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSLoginOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSLoginOptions.cs.meta deleted file mode 100644 index 99d2dc38..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/Auth/IOSLoginOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 977aab44af152fd43a26e65a81194e50 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/IOSBindings.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/IOSBindings.cs new file mode 100644 index 00000000..ae7672cf --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IOS/IOSBindings.cs @@ -0,0 +1,116 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +#if DEBUG + #define EOS_DEBUG +#endif + +#if UNITY_EDITOR + #define EOS_EDITOR +#endif + +#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_PS4 || UNITY_XBOXONE || UNITY_SWITCH || UNITY_IOS || UNITY_ANDROID + #define EOS_UNITY +#endif + +#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN || PLATFORM_64BITS || PLATFORM_32BITS + #if UNITY_EDITOR_WIN || UNITY_64 || PLATFORM_64BITS + #define EOS_PLATFORM_WINDOWS_64 + #else + #define EOS_PLATFORM_WINDOWS_32 + #endif + +#elif UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX + #define EOS_PLATFORM_OSX + +#elif UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX + #define EOS_PLATFORM_LINUX + +#elif UNITY_PS4 + #define EOS_PLATFORM_PS4 + +#elif UNITY_XBOXONE + #define EOS_PLATFORM_XBOXONE + +#elif UNITY_SWITCH + #define EOS_PLATFORM_SWITCH + +#elif UNITY_IOS || __IOS__ + #define EOS_PLATFORM_IOS + +#elif UNITY_ANDROID || __ANDROID__ + #define EOS_PLATFORM_ANDROID + +#endif + +#if EOS_EDITOR + #define EOS_DYNAMIC_BINDINGS +#endif + +#if EOS_DYNAMIC_BINDINGS + #if EOS_PLATFORM_WINDOWS_32 + #define EOS_DYNAMIC_BINDINGS_NAME_TYPE3 + #elif EOS_PLATFORM_OSX + #define EOS_DYNAMIC_BINDINGS_NAME_TYPE2 + #else + #define EOS_DYNAMIC_BINDINGS_NAME_TYPE1 + #endif +#endif + +using System; +using System.Runtime.InteropServices; + +namespace Epic.OnlineServices +{ + public static class IOSBindings + { +#if EOS_DYNAMIC_BINDINGS_NAME_TYPE1 + private const string EOS_Auth_LoginName = "EOS_Auth_Login"; +#endif + +#if EOS_DYNAMIC_BINDINGS_NAME_TYPE2 + private const string EOS_Auth_LoginName = "_EOS_Auth_Login"; +#endif + +#if EOS_DYNAMIC_BINDINGS_NAME_TYPE3 + private const string EOS_Auth_LoginName = "_EOS_Auth_Login@16"; +#endif + +#if EOS_DYNAMIC_BINDINGS + /// + /// Hooks the dynamic SDK API bindings. EOS_DYNAMIC_BINDINGS or EOS_EDITOR must be set. + /// + /// The library handle to find functions in. The type is platform dependent, but would typically be . + /// A delegate that gets a function pointer using the given library handle and function name. + public static void Hook(TLibraryHandle libraryHandle, Func getFunctionPointer) + { + System.IntPtr functionPointer; + + functionPointer = getFunctionPointer(libraryHandle, EOS_Auth_LoginName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Auth_LoginName); + EOS_Auth_Login = (EOS_Auth_LoginDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Auth_LoginDelegate)); + } +#endif + +#if EOS_DYNAMIC_BINDINGS + /// + /// Unhooks the dynamic SDK API bindings. EOS_DYNAMIC_BINDINGS or EOS_EDITOR must be set. + /// + public static void Unhook() + { + EOS_Auth_Login = null; + } +#endif + +#if EOS_DYNAMIC_BINDINGS + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void EOS_Auth_LoginDelegate(System.IntPtr handle, ref Auth.IOSLoginOptionsInternal options, System.IntPtr clientData, Auth.OnLoginCallbackInternal completionDelegate); + internal static EOS_Auth_LoginDelegate EOS_Auth_Login; +#endif + +#if !EOS_DYNAMIC_BINDINGS + [DllImport(Config.LibraryName)] + internal static extern void EOS_Auth_Login(System.IntPtr handle, ref Auth.IOSLoginOptionsInternal options, System.IntPtr clientData, Auth.OnLoginCallbackInternal completionDelegate); +#endif + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/CreateIntegratedPlatformOptionsContainerOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/CreateIntegratedPlatformOptionsContainerOptions.cs new file mode 100644 index 00000000..f6507d52 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/CreateIntegratedPlatformOptionsContainerOptions.cs @@ -0,0 +1,35 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.IntegratedPlatform +{ + /// + /// Data for the function. + /// + public struct CreateIntegratedPlatformOptionsContainerOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CreateIntegratedPlatformOptionsContainerOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref CreateIntegratedPlatformOptionsContainerOptions other) + { + m_ApiVersion = IntegratedPlatformInterface.CreateintegratedplatformoptionscontainerApiLatest; + } + + public void Set(ref CreateIntegratedPlatformOptionsContainerOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = IntegratedPlatformInterface.CreateintegratedplatformoptionscontainerApiLatest; + } + } + + public void Dispose() + { + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/IntegratedPlatformInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/IntegratedPlatformInterface.cs new file mode 100644 index 00000000..bdae5995 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/IntegratedPlatformInterface.cs @@ -0,0 +1,47 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.IntegratedPlatform +{ + public sealed partial class IntegratedPlatformInterface + { + public const int CreateintegratedplatformoptionscontainerApiLatest = 1; + + /// + /// A macro to identify the Steam integrated platform. + /// + public static readonly Utf8String IptSteam = "STEAM"; + + public const int OptionsApiLatest = 1; + + public const int SteamOptionsApiLatest = 2; + + /// + /// Creates an integrated platform options container handle. This handle can used to add multiple options to your container which will then be applied with . + /// The resulting handle must be released by calling once it has been passed to . + /// + /// + /// + /// + /// structure containing operation input parameters. + /// Pointer to an integrated platform options container handle to be set if successful. + /// + /// Success if we successfully created the integrated platform options container handle pointed at in OutIntegratedPlatformOptionsContainerHandle, or an error result if the input data was invalid. + /// + public static Result CreateIntegratedPlatformOptionsContainer(ref CreateIntegratedPlatformOptionsContainerOptions options, out IntegratedPlatformOptionsContainer outIntegratedPlatformOptionsContainerHandle) + { + CreateIntegratedPlatformOptionsContainerOptionsInternal optionsInternal = new CreateIntegratedPlatformOptionsContainerOptionsInternal(); + optionsInternal.Set(ref options); + + var outIntegratedPlatformOptionsContainerHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainer(ref optionsInternal, ref outIntegratedPlatformOptionsContainerHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outIntegratedPlatformOptionsContainerHandleAddress, out outIntegratedPlatformOptionsContainerHandle); + + return funcResult; + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/IntegratedPlatformManagementFlags.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/IntegratedPlatformManagementFlags.cs new file mode 100644 index 00000000..7c298e95 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/IntegratedPlatformManagementFlags.cs @@ -0,0 +1,65 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.IntegratedPlatform +{ + /// + /// These flags are used to determine how a specific Integrated Platform will be managed. + /// + [System.Flags] + public enum IntegratedPlatformManagementFlags : int + { + /// + /// The integrated platform library should be disabled. This is equivalent to providing no flags. + /// + Disabled = 0x0001, + /// + /// The integrated platform library is managed by the calling application. EOS SDK should only hook into an existing instance of the integrated platform library. + /// + LibraryManagedByApplication = 0x0002, + /// + /// EOS SDK should fully manage the integrated platform library. It will do this by performing the load, initialize, tick and unload operations as necessary. + /// + LibraryManagedBySDK = 0x0004, + /// + /// The EOS SDK should not mirror the EOS rich presence with the Integrated Platform. + /// The default behavior is for EOS SDK to share local presence with the Integrated Platform. + /// + DisablePresenceMirroring = 0x0008, + /// + /// EOS SDK should not perform any sessions management through the Integrated Platform. + /// The default behavior is for EOS SDK to perform sessions management through the Integrated Platform. + /// Sessions management includes: + /// - sharing the lobby and session presence enabled games with the Integrated Platform. + /// - handling Social Overlay join button events which cannot be handled by normal processing of Epic Services. + /// - handling Social Overlay invite button events which cannot be handled by normal processing of Epic Services. + /// - handling startup requests from the Integrated Platform to immediately join a game due to in invite while offline. + /// + /// + DisableSDKManagedSessions = 0x0010, + /// + /// Some features within the EOS SDK may wish to know a preference of Integrated Platform versus EOS. + /// When determining an absolute platform preference those with this flag will be skipped. + /// The IntegratedPlatforms list is provided via the during . + /// + /// The primary usage of the and flags is with game invites + /// from the Social Overlay. + /// + /// For game invites from the Social Overlay the EOS SDK will follow these rules: + /// - If the only account ID we can determine for the target player is an EAS ID then the EOS system will be used. + /// - If the only account ID we can determine for the target player is an integrated platform ID then the integrated platform system will be used. + /// - If both are available then the EOS SDK will operate in 1 of 3 modes: + /// - no preference identified: use both the EOS and integrated platform systems. + /// - PreferEOS: Use EOS if the target is an EAS friend and is either online in EAS or not online for the integrated platform. + /// - PreferIntegrated: Use integrated platform if the target is an integrated platform friend and is either online in the integrated platform or not online for EAS. + /// - If the integrated platform fails to send then try EAS if was not already used. + /// + PreferEOSIdentity = 0x0020, + /// + /// Some features within the EOS SDK may wish to know a preference of Integrated Platform versus EOS. + /// For further explanation see . + /// + /// + PreferIntegratedIdentity = 0x0040 + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/IntegratedPlatformOptionsContainer.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/IntegratedPlatformOptionsContainer.cs new file mode 100644 index 00000000..30adfe28 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/IntegratedPlatformOptionsContainer.cs @@ -0,0 +1,48 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.IntegratedPlatform +{ + public sealed partial class IntegratedPlatformOptionsContainer : Handle + { + public IntegratedPlatformOptionsContainer() + { + } + + public IntegratedPlatformOptionsContainer(System.IntPtr innerHandle) : base(innerHandle) + { + } + + public const int IntegratedplatformoptionscontainerAddApiLatest = 1; + + /// + /// Adds an integrated platform options to the container. + /// + /// Object containing properties related to setting a user's Status + /// + /// Success if modification was added successfully, otherwise an error code related to the problem + /// + public Result Add(ref IntegratedPlatformOptionsContainerAddOptions inOptions) + { + IntegratedPlatformOptionsContainerAddOptionsInternal inOptionsInternal = new IntegratedPlatformOptionsContainerAddOptionsInternal(); + inOptionsInternal.Set(ref inOptions); + + var funcResult = Bindings.EOS_IntegratedPlatformOptionsContainer_Add(InnerHandle, ref inOptionsInternal); + + Helper.Dispose(ref inOptionsInternal); + + return funcResult; + } + + /// + /// Release the memory associated with an handle. This must be called on Handles retrieved from . + /// This can be safely called on a integrated platform options container handle. + /// + /// + /// The integrated platform options container handle to release. + public void Release() + { + Bindings.EOS_IntegratedPlatformOptionsContainer_Release(InnerHandle); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/IntegratedPlatformOptionsContainerAddOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/IntegratedPlatformOptionsContainerAddOptions.cs new file mode 100644 index 00000000..4e9acae5 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/IntegratedPlatformOptionsContainerAddOptions.cs @@ -0,0 +1,51 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.IntegratedPlatform +{ + /// + /// Data for the function. + /// + public struct IntegratedPlatformOptionsContainerAddOptions + { + /// + /// The integrated platform options to add. + /// + public Options? Options { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct IntegratedPlatformOptionsContainerAddOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Options; + + public Options? Options + { + set + { + Helper.Set(ref value, ref m_Options); + } + } + + public void Set(ref IntegratedPlatformOptionsContainerAddOptions other) + { + m_ApiVersion = IntegratedPlatformOptionsContainer.IntegratedplatformoptionscontainerAddApiLatest; + Options = other.Options; + } + + public void Set(ref IntegratedPlatformOptionsContainerAddOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = IntegratedPlatformOptionsContainer.IntegratedplatformoptionscontainerAddApiLatest; + Options = other.Value.Options; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Options); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/Options.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/Options.cs new file mode 100644 index 00000000..792a6a77 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/Options.cs @@ -0,0 +1,115 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.IntegratedPlatform +{ + /// + /// + public struct Options + { + /// + /// The type to be initialized. + /// + public Utf8String Type { get; set; } + + /// + /// Identifies how to initialize the IntegratedPlatform. + /// + public IntegratedPlatformManagementFlags Flags { get; set; } + + /// + /// Options specific to this integrated platform type. + /// This parameter is either required or set to based on the platform type. + /// + /// + public System.IntPtr InitOptions { get; set; } + + internal void Set(ref OptionsInternal other) + { + Type = other.Type; + Flags = other.Flags; + InitOptions = other.InitOptions; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OptionsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Type; + private IntegratedPlatformManagementFlags m_Flags; + private System.IntPtr m_InitOptions; + + public Utf8String Type + { + get + { + Utf8String value; + Helper.Get(m_Type, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Type); + } + } + + public IntegratedPlatformManagementFlags Flags + { + get + { + return m_Flags; + } + + set + { + m_Flags = value; + } + } + + public System.IntPtr InitOptions + { + get + { + return m_InitOptions; + } + + set + { + m_InitOptions = value; + } + } + + public void Set(ref Options other) + { + m_ApiVersion = IntegratedPlatformInterface.OptionsApiLatest; + Type = other.Type; + Flags = other.Flags; + InitOptions = other.InitOptions; + } + + public void Set(ref Options? other) + { + if (other.HasValue) + { + m_ApiVersion = IntegratedPlatformInterface.OptionsApiLatest; + Type = other.Value.Type; + Flags = other.Value.Flags; + InitOptions = other.Value.InitOptions; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Type); + Helper.Dispose(ref m_InitOptions); + } + + public void Get(out Options output) + { + output = new Options(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/SteamOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/SteamOptions.cs new file mode 100644 index 00000000..c942718d --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/IntegratedPlatform/SteamOptions.cs @@ -0,0 +1,130 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.IntegratedPlatform +{ + /// + /// Required initialization options to use with for Steam. + /// Steamworks API needs to be at least v1.48 + /// + /// + public struct SteamOptions + { + /// + /// Usage of this parameter is dependent on the specified . + /// + /// Optional with . + /// Set to override the loaded library basename, or use to assume the default basename by platform: + /// + /// - Linux: libsteam_api.so, + /// - macOS: libsteam_api.dylib, + /// - Windows 32-bit: steam_api.dll, + /// - Windows 64-bit: steam_api64.dll. + /// + /// Required with . + /// Set to a fully qualified file path to the Steamworks SDK runtime library on disk. + /// + public Utf8String OverrideLibraryPath { get; set; } + + /// + /// Used to specify the major version of the Steam SDK your game is compiled against, e.g.: + /// + /// Options.SteamMajorVersion = 1; + /// + public uint SteamMajorVersion { get; set; } + + /// + /// Used to specify the minor version of the Steam SDK your game is compiled against, e.g.: + /// + /// Options.SteamMinorVersion = 48; + /// + public uint SteamMinorVersion { get; set; } + + internal void Set(ref SteamOptionsInternal other) + { + OverrideLibraryPath = other.OverrideLibraryPath; + SteamMajorVersion = other.SteamMajorVersion; + SteamMinorVersion = other.SteamMinorVersion; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SteamOptionsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_OverrideLibraryPath; + private uint m_SteamMajorVersion; + private uint m_SteamMinorVersion; + + public Utf8String OverrideLibraryPath + { + get + { + Utf8String value; + Helper.Get(m_OverrideLibraryPath, out value); + return value; + } + + set + { + Helper.Set(value, ref m_OverrideLibraryPath); + } + } + + public uint SteamMajorVersion + { + get + { + return m_SteamMajorVersion; + } + + set + { + m_SteamMajorVersion = value; + } + } + + public uint SteamMinorVersion + { + get + { + return m_SteamMinorVersion; + } + + set + { + m_SteamMinorVersion = value; + } + } + + public void Set(ref SteamOptions other) + { + m_ApiVersion = IntegratedPlatformInterface.SteamOptionsApiLatest; + OverrideLibraryPath = other.OverrideLibraryPath; + SteamMajorVersion = other.SteamMajorVersion; + SteamMinorVersion = other.SteamMinorVersion; + } + + public void Set(ref SteamOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = IntegratedPlatformInterface.SteamOptionsApiLatest; + OverrideLibraryPath = other.Value.OverrideLibraryPath; + SteamMajorVersion = other.Value.SteamMajorVersion; + SteamMinorVersion = other.Value.SteamMinorVersion; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_OverrideLibraryPath); + } + + public void Get(out SteamOptions output) + { + output = new SteamOptions(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS.meta deleted file mode 100644 index 4fecb8f8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c2bdfde16650411409809e0eb396291c -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/AddNotifyPermissionsUpdateReceivedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/AddNotifyPermissionsUpdateReceivedOptions.cs index 796d07b7..9b87a65f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/AddNotifyPermissionsUpdateReceivedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/AddNotifyPermissionsUpdateReceivedOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - public class AddNotifyPermissionsUpdateReceivedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyPermissionsUpdateReceivedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyPermissionsUpdateReceivedOptions other) - { - if (other != null) - { - m_ApiVersion = KWSInterface.AddnotifypermissionsupdatereceivedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyPermissionsUpdateReceivedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + public struct AddNotifyPermissionsUpdateReceivedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyPermissionsUpdateReceivedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyPermissionsUpdateReceivedOptions other) + { + m_ApiVersion = KWSInterface.AddnotifypermissionsupdatereceivedApiLatest; + } + + public void Set(ref AddNotifyPermissionsUpdateReceivedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = KWSInterface.AddnotifypermissionsupdatereceivedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/AddNotifyPermissionsUpdateReceivedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/AddNotifyPermissionsUpdateReceivedOptions.cs.meta deleted file mode 100644 index 18f9271b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/AddNotifyPermissionsUpdateReceivedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6d9d5d28037eb8a4380ffa4106461a52 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CopyPermissionByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CopyPermissionByIndexOptions.cs index 9d214eb0..3ce11ca1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CopyPermissionByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CopyPermissionByIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Input parameters for the function. - /// - public class CopyPermissionByIndexOptions - { - /// - /// The Product User ID of the local user whose permissions are being accessed - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The index of the permission to get. - /// - public uint Index { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyPermissionByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private uint m_Index; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public uint Index - { - set - { - m_Index = value; - } - } - - public void Set(CopyPermissionByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = KWSInterface.CopypermissionbyindexApiLatest; - LocalUserId = other.LocalUserId; - Index = other.Index; - } - } - - public void Set(object other) - { - Set(other as CopyPermissionByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Input parameters for the function. + /// + public struct CopyPermissionByIndexOptions + { + /// + /// The Product User ID of the local user whose permissions are being accessed + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The index of the permission to get. + /// + public uint Index { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyPermissionByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private uint m_Index; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint Index + { + set + { + m_Index = value; + } + } + + public void Set(ref CopyPermissionByIndexOptions other) + { + m_ApiVersion = KWSInterface.CopypermissionbyindexApiLatest; + LocalUserId = other.LocalUserId; + Index = other.Index; + } + + public void Set(ref CopyPermissionByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = KWSInterface.CopypermissionbyindexApiLatest; + LocalUserId = other.Value.LocalUserId; + Index = other.Value.Index; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CopyPermissionByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CopyPermissionByIndexOptions.cs.meta deleted file mode 100644 index 05556509..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CopyPermissionByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b6a4c62ad85e56947ab88767ba78dd31 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserCallbackInfo.cs index 813ec4fe..bd3d5187 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserCallbackInfo.cs @@ -1,124 +1,175 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Output parameters for the Function. These parameters are received through the callback provided to - /// - public class CreateUserCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// Local user that created a KWS entry - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// KWS UserId created - /// - public string KWSUserId { get; private set; } - - /// - /// Is this user a minor - /// - public bool IsMinor { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(CreateUserCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - KWSUserId = other.Value.KWSUserId; - IsMinor = other.Value.IsMinor; - } - } - - public void Set(object other) - { - Set(other as CreateUserCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CreateUserCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_KWSUserId; - private int m_IsMinor; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string KWSUserId - { - get - { - string value; - Helper.TryMarshalGet(m_KWSUserId, out value); - return value; - } - } - - public bool IsMinor - { - get - { - bool value; - Helper.TryMarshalGet(m_IsMinor, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Output parameters for the Function. These parameters are received through the callback provided to + /// + public struct CreateUserCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// Local user that created a KWS entry + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// KWS UserId created + /// + public Utf8String KWSUserId { get; set; } + + /// + /// Is this user a minor + /// + public bool IsMinor { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref CreateUserCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + KWSUserId = other.KWSUserId; + IsMinor = other.IsMinor; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CreateUserCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_KWSUserId; + private int m_IsMinor; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String KWSUserId + { + get + { + Utf8String value; + Helper.Get(m_KWSUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_KWSUserId); + } + } + + public bool IsMinor + { + get + { + bool value; + Helper.Get(m_IsMinor, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IsMinor); + } + } + + public void Set(ref CreateUserCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + KWSUserId = other.KWSUserId; + IsMinor = other.IsMinor; + } + + public void Set(ref CreateUserCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + KWSUserId = other.Value.KWSUserId; + IsMinor = other.Value.IsMinor; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_KWSUserId); + } + + public void Get(out CreateUserCallbackInfo output) + { + output = new CreateUserCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserCallbackInfo.cs.meta deleted file mode 100644 index 2c12cd42..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: df4f102a65f6e3849960685977544452 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserOptions.cs index 43da8589..bf2629ab 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserOptions.cs @@ -1,82 +1,85 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Input parameters for the function. - /// - public class CreateUserOptions - { - /// - /// Local user creating a KWS entry - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// Date of birth in ISO8601 form (YYYY-MM-DD) - /// - public string DateOfBirth { get; set; } - - /// - /// Parent email - /// - public string ParentEmail { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CreateUserOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_DateOfBirth; - private System.IntPtr m_ParentEmail; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string DateOfBirth - { - set - { - Helper.TryMarshalSet(ref m_DateOfBirth, value); - } - } - - public string ParentEmail - { - set - { - Helper.TryMarshalSet(ref m_ParentEmail, value); - } - } - - public void Set(CreateUserOptions other) - { - if (other != null) - { - m_ApiVersion = KWSInterface.CreateuserApiLatest; - LocalUserId = other.LocalUserId; - DateOfBirth = other.DateOfBirth; - ParentEmail = other.ParentEmail; - } - } - - public void Set(object other) - { - Set(other as CreateUserOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_DateOfBirth); - Helper.TryMarshalDispose(ref m_ParentEmail); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Input parameters for the function. + /// + public struct CreateUserOptions + { + /// + /// Local user creating a KWS entry + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Date of birth in ISO8601 form (YYYY-MM-DD) + /// + public Utf8String DateOfBirth { get; set; } + + /// + /// Parent email + /// + public Utf8String ParentEmail { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CreateUserOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_DateOfBirth; + private System.IntPtr m_ParentEmail; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String DateOfBirth + { + set + { + Helper.Set(value, ref m_DateOfBirth); + } + } + + public Utf8String ParentEmail + { + set + { + Helper.Set(value, ref m_ParentEmail); + } + } + + public void Set(ref CreateUserOptions other) + { + m_ApiVersion = KWSInterface.CreateuserApiLatest; + LocalUserId = other.LocalUserId; + DateOfBirth = other.DateOfBirth; + ParentEmail = other.ParentEmail; + } + + public void Set(ref CreateUserOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = KWSInterface.CreateuserApiLatest; + LocalUserId = other.Value.LocalUserId; + DateOfBirth = other.Value.DateOfBirth; + ParentEmail = other.Value.ParentEmail; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_DateOfBirth); + Helper.Dispose(ref m_ParentEmail); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserOptions.cs.meta deleted file mode 100644 index 68f229d5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/CreateUserOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a13f7900ad0d840449f8f981297c5929 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionByKeyOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionByKeyOptions.cs index 6bc0dd0c..47092944 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionByKeyOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionByKeyOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Input parameters for the function. - /// - public class GetPermissionByKeyOptions - { - /// - /// The Product User ID of the local user getting permissions - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// Permission name to query - /// - public string Key { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetPermissionByKeyOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Key; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string Key - { - set - { - Helper.TryMarshalSet(ref m_Key, value); - } - } - - public void Set(GetPermissionByKeyOptions other) - { - if (other != null) - { - m_ApiVersion = KWSInterface.GetpermissionbykeyApiLatest; - LocalUserId = other.LocalUserId; - Key = other.Key; - } - } - - public void Set(object other) - { - Set(other as GetPermissionByKeyOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_Key); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Input parameters for the function. + /// + public struct GetPermissionByKeyOptions + { + /// + /// The Product User ID of the local user getting permissions + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Permission name to query + /// + public Utf8String Key { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetPermissionByKeyOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Key; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Key + { + set + { + Helper.Set(value, ref m_Key); + } + } + + public void Set(ref GetPermissionByKeyOptions other) + { + m_ApiVersion = KWSInterface.GetpermissionbykeyApiLatest; + LocalUserId = other.LocalUserId; + Key = other.Key; + } + + public void Set(ref GetPermissionByKeyOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = KWSInterface.GetpermissionbykeyApiLatest; + LocalUserId = other.Value.LocalUserId; + Key = other.Value.Key; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Key); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionByKeyOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionByKeyOptions.cs.meta deleted file mode 100644 index 71912f95..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionByKeyOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 01ceeff5ac9490f4099bd80f7ac3feb7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionsCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionsCountOptions.cs index 0fc990d2..f576a8fb 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionsCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionsCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Input parameters for the function. - /// - public class GetPermissionsCountOptions - { - /// - /// The Product User ID of the local user whose permissions are being accessed - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetPermissionsCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(GetPermissionsCountOptions other) - { - if (other != null) - { - m_ApiVersion = KWSInterface.GetpermissionscountApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as GetPermissionsCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Input parameters for the function. + /// + public struct GetPermissionsCountOptions + { + /// + /// The Product User ID of the local user whose permissions are being accessed + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetPermissionsCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref GetPermissionsCountOptions other) + { + m_ApiVersion = KWSInterface.GetpermissionscountApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref GetPermissionsCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = KWSInterface.GetpermissionscountApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionsCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionsCountOptions.cs.meta deleted file mode 100644 index 1f402a78..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/GetPermissionsCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 72765ba93cd23ea4c8e386e792038b78 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSInterface.cs index 70459402..deec0bd1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSInterface.cs @@ -1,408 +1,409 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - public sealed partial class KWSInterface : Handle - { - public KWSInterface() - { - } - - public KWSInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int AddnotifypermissionsupdatereceivedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopypermissionbyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CreateuserApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetpermissionbykeyApiLatest = 1; - - public const int GetpermissionscountApiLatest = 1; - - /// - /// Maximum size of the name for the permission - /// - public const int MaxPermissionLength = 32; - - /// - /// Maximum number of permissions that may be requested - /// - public const int MaxPermissions = 16; - - /// - /// The most recent version of the API. - /// - public const int PermissionstatusApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int QueryagegateApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int QuerypermissionsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int RequestpermissionsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int UpdateparentemailApiLatest = 1; - - /// - /// This interface is not available for general access at this time. - /// - /// Register to receive notifications about KWS permissions changes for any logged in local users - /// @note must call to remove the notification - /// - /// Structure containing information about the request. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// A callback that is fired when a notification is received. - /// - /// handle representing the registered callback - /// - public ulong AddNotifyPermissionsUpdateReceived(AddNotifyPermissionsUpdateReceivedOptions options, object clientData, OnPermissionsUpdateReceivedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnPermissionsUpdateReceivedCallbackInternal(OnPermissionsUpdateReceivedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_KWS_AddNotifyPermissionsUpdateReceived(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// This interface is not available for general access at this time. - /// - /// Fetch a permission for a given by index for a given local user - /// - /// - /// - /// - /// - /// Structure containing the input parameters - /// the permission for the given index, if it exists and is valid, use when finished - /// - /// if the permission state is known for the given user and index - /// if the user is not found or the index is invalid - /// - public Result CopyPermissionByIndex(CopyPermissionByIndexOptions options, out PermissionStatus outPermission) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outPermissionAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_KWS_CopyPermissionByIndex(InnerHandle, optionsAddress, ref outPermissionAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outPermissionAddress, out outPermission)) - { - Bindings.EOS_KWS_PermissionStatus_Release(outPermissionAddress); - } - - return funcResult; - } - - /// - /// This interface is not available for general access at this time. - /// - /// Create an account with Kids Web Services and associate it with the local Product User ID - /// - /// options required for creating an account such as the local users Product User ID, their data of birth, and parental contact information - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the operation completes, either successfully or in error - /// - /// if account creation completes successfully - /// if any of the options are incorrect - /// if the number of allowed requests is exceeded - /// - public void CreateUser(CreateUserOptions options, object clientData, OnCreateUserCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnCreateUserCallbackInternal(OnCreateUserCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_KWS_CreateUser(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// This interface is not available for general access at this time. - /// - /// Fetch the state of a given permission that are cached for a given local user. - /// - /// - /// - /// - /// Structure containing the input parameters - /// the permission for the given key, if it exists and is valid - /// - /// if the permission state is known for the given user and key - /// if the user or the permission is not found - /// - public Result GetPermissionByKey(GetPermissionByKeyOptions options, out KWSPermissionStatus outPermission) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - outPermission = Helper.GetDefault(); - - var funcResult = Bindings.EOS_KWS_GetPermissionByKey(InnerHandle, optionsAddress, ref outPermission); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// This interface is not available for general access at this time. - /// - /// Fetch the number of permissions found for a given local user - /// - /// Structure containing the input parameters - /// - /// the number of permissions associated with the given user - /// - public int GetPermissionsCount(GetPermissionsCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_KWS_GetPermissionsCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// This interface is not available for general access at this time. - /// - /// Query the client's country and age permissions for client side reasoning about the possible need enforce age based restrictions - /// - /// options required for interacting with the age gate system - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the operation completes, either successfully or in error - /// - /// if the query completes successfully - /// if any of the options are incorrect - /// if the number of allowed queries is exceeded - /// - public void QueryAgeGate(QueryAgeGateOptions options, object clientData, OnQueryAgeGateCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryAgeGateCallbackInternal(OnQueryAgeGateCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_KWS_QueryAgeGate(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// This interface is not available for general access at this time. - /// - /// Query the current state of permissions for a given local Product User ID - /// - /// options required for querying permissions such as the local users Product User ID - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the operation completes, either successfully or in error - /// - /// if the account query completes successfully - /// if any of the options are incorrect - /// if the number of allowed requests is exceeded - /// - public void QueryPermissions(QueryPermissionsOptions options, object clientData, OnQueryPermissionsCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryPermissionsCallbackInternal(OnQueryPermissionsCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_KWS_QueryPermissions(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// This interface is not available for general access at this time. - /// - /// Unregister from receiving notifications about KWS permissions related to logged in users - /// - /// Handle representing the registered callback - public void RemoveNotifyPermissionsUpdateReceived(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_KWS_RemoveNotifyPermissionsUpdateReceived(InnerHandle, inId); - } - - /// - /// This interface is not available for general access at this time. - /// - /// Request new permissions for a given local Product User ID - /// - /// options required for updating permissions such as the new list of permissions - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the operation completes, either successfully or in error - /// - /// if contact information update completes successfully - /// if any of the options are incorrect - /// if the number of allowed requests is exceeded - /// if the account requesting permissions has no parent email associated with it - /// if the number of permissions exceeds , or if any permission name exceeds - /// - public void RequestPermissions(RequestPermissionsOptions options, object clientData, OnRequestPermissionsCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnRequestPermissionsCallbackInternal(OnRequestPermissionsCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_KWS_RequestPermissions(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// This interface is not available for general access at this time. - /// - /// Update the parent contact information for a given local Product User ID - /// - /// options required for updating the contact information such as the new email address - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the operation completes, either successfully or in error - /// - /// if contact information update completes successfully - /// if any of the options are incorrect - /// if the number of allowed requests is exceeded - /// - public void UpdateParentEmail(UpdateParentEmailOptions options, object clientData, OnUpdateParentEmailCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnUpdateParentEmailCallbackInternal(OnUpdateParentEmailCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_KWS_UpdateParentEmail(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnCreateUserCallbackInternal))] - internal static void OnCreateUserCallbackInternalImplementation(System.IntPtr data) - { - OnCreateUserCallback callback; - CreateUserCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnPermissionsUpdateReceivedCallbackInternal))] - internal static void OnPermissionsUpdateReceivedCallbackInternalImplementation(System.IntPtr data) - { - OnPermissionsUpdateReceivedCallback callback; - PermissionsUpdateReceivedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryAgeGateCallbackInternal))] - internal static void OnQueryAgeGateCallbackInternalImplementation(System.IntPtr data) - { - OnQueryAgeGateCallback callback; - QueryAgeGateCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryPermissionsCallbackInternal))] - internal static void OnQueryPermissionsCallbackInternalImplementation(System.IntPtr data) - { - OnQueryPermissionsCallback callback; - QueryPermissionsCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnRequestPermissionsCallbackInternal))] - internal static void OnRequestPermissionsCallbackInternalImplementation(System.IntPtr data) - { - OnRequestPermissionsCallback callback; - RequestPermissionsCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnUpdateParentEmailCallbackInternal))] - internal static void OnUpdateParentEmailCallbackInternalImplementation(System.IntPtr data) - { - OnUpdateParentEmailCallback callback; - UpdateParentEmailCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + public sealed partial class KWSInterface : Handle + { + public KWSInterface() + { + } + + public KWSInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int AddnotifypermissionsupdatereceivedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopypermissionbyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CreateuserApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetpermissionbykeyApiLatest = 1; + + public const int GetpermissionscountApiLatest = 1; + + /// + /// Maximum size of the name for the permission + /// + public const int MaxPermissionLength = 32; + + /// + /// Maximum number of permissions that may be requested + /// + public const int MaxPermissions = 16; + + /// + /// The most recent version of the API. + /// + public const int PermissionstatusApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int QueryagegateApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int QuerypermissionsApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int RequestpermissionsApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UpdateparentemailApiLatest = 1; + + /// + /// This interface is not available for general access at this time. + /// + /// Register to receive notifications about KWS permissions changes for any logged in local users + /// must call EOS_KWS_RemoveNotifyPermissionsUpdateReceived to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a notification is received. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyPermissionsUpdateReceived(ref AddNotifyPermissionsUpdateReceivedOptions options, object clientData, OnPermissionsUpdateReceivedCallback notificationFn) + { + AddNotifyPermissionsUpdateReceivedOptionsInternal optionsInternal = new AddNotifyPermissionsUpdateReceivedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnPermissionsUpdateReceivedCallbackInternal(OnPermissionsUpdateReceivedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_KWS_AddNotifyPermissionsUpdateReceived(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// This interface is not available for general access at this time. + /// + /// Fetch a permission for a given by index for a given local user + /// + /// + /// + /// + /// + /// Structure containing the input parameters + /// the permission for the given index, if it exists and is valid, use when finished + /// + /// if the permission state is known for the given user and index + /// if the user is not found or the index is invalid + /// + public Result CopyPermissionByIndex(ref CopyPermissionByIndexOptions options, out PermissionStatus? outPermission) + { + CopyPermissionByIndexOptionsInternal optionsInternal = new CopyPermissionByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outPermissionAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_KWS_CopyPermissionByIndex(InnerHandle, ref optionsInternal, ref outPermissionAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outPermissionAddress, out outPermission); + if (outPermission != null) + { + Bindings.EOS_KWS_PermissionStatus_Release(outPermissionAddress); + } + + return funcResult; + } + + /// + /// This interface is not available for general access at this time. + /// + /// Create an account with Kids Web Services and associate it with the local Product User ID + /// + /// options required for creating an account such as the local users Product User ID, their data of birth, and parental contact information + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the operation completes, either successfully or in error + /// + /// if account creation completes successfully + /// if any of the options are incorrect + /// if the number of allowed requests is exceeded + /// + public void CreateUser(ref CreateUserOptions options, object clientData, OnCreateUserCallback completionDelegate) + { + CreateUserOptionsInternal optionsInternal = new CreateUserOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnCreateUserCallbackInternal(OnCreateUserCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_KWS_CreateUser(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// This interface is not available for general access at this time. + /// + /// Fetch the state of a given permission that are cached for a given local user. + /// + /// + /// + /// + /// Structure containing the input parameters + /// the permission for the given key, if it exists and is valid + /// + /// if the permission state is known for the given user and key + /// if the user or the permission is not found + /// + public Result GetPermissionByKey(ref GetPermissionByKeyOptions options, out KWSPermissionStatus outPermission) + { + GetPermissionByKeyOptionsInternal optionsInternal = new GetPermissionByKeyOptionsInternal(); + optionsInternal.Set(ref options); + + outPermission = Helper.GetDefault(); + + var funcResult = Bindings.EOS_KWS_GetPermissionByKey(InnerHandle, ref optionsInternal, ref outPermission); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// This interface is not available for general access at this time. + /// + /// Fetch the number of permissions found for a given local user + /// + /// Structure containing the input parameters + /// + /// the number of permissions associated with the given user + /// + public int GetPermissionsCount(ref GetPermissionsCountOptions options) + { + GetPermissionsCountOptionsInternal optionsInternal = new GetPermissionsCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_KWS_GetPermissionsCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// This interface is not available for general access at this time. + /// + /// Query the client's country and age permissions for client side reasoning about the possible need enforce age based restrictions + /// + /// options required for interacting with the age gate system + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the operation completes, either successfully or in error + /// + /// if the query completes successfully + /// if any of the options are incorrect + /// if the number of allowed queries is exceeded + /// + public void QueryAgeGate(ref QueryAgeGateOptions options, object clientData, OnQueryAgeGateCallback completionDelegate) + { + QueryAgeGateOptionsInternal optionsInternal = new QueryAgeGateOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryAgeGateCallbackInternal(OnQueryAgeGateCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_KWS_QueryAgeGate(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// This interface is not available for general access at this time. + /// + /// Query the current state of permissions for a given local Product User ID + /// + /// options required for querying permissions such as the local users Product User ID + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the operation completes, either successfully or in error + /// + /// if the account query completes successfully + /// if any of the options are incorrect + /// if the number of allowed requests is exceeded + /// + public void QueryPermissions(ref QueryPermissionsOptions options, object clientData, OnQueryPermissionsCallback completionDelegate) + { + QueryPermissionsOptionsInternal optionsInternal = new QueryPermissionsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryPermissionsCallbackInternal(OnQueryPermissionsCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_KWS_QueryPermissions(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// This interface is not available for general access at this time. + /// + /// Unregister from receiving notifications about KWS permissions related to logged in users + /// + /// Handle representing the registered callback + public void RemoveNotifyPermissionsUpdateReceived(ulong inId) + { + Bindings.EOS_KWS_RemoveNotifyPermissionsUpdateReceived(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// This interface is not available for general access at this time. + /// + /// Request new permissions for a given local Product User ID + /// + /// options required for updating permissions such as the new list of permissions + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the operation completes, either successfully or in error + /// + /// if contact information update completes successfully + /// if any of the options are incorrect + /// if the number of allowed requests is exceeded + /// if the account requesting permissions has no parent email associated with it + /// if the number of permissions exceeds , or if any permission name exceeds + /// + public void RequestPermissions(ref RequestPermissionsOptions options, object clientData, OnRequestPermissionsCallback completionDelegate) + { + RequestPermissionsOptionsInternal optionsInternal = new RequestPermissionsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnRequestPermissionsCallbackInternal(OnRequestPermissionsCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_KWS_RequestPermissions(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// This interface is not available for general access at this time. + /// + /// Update the parent contact information for a given local Product User ID + /// + /// options required for updating the contact information such as the new email address + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the operation completes, either successfully or in error + /// + /// if contact information update completes successfully + /// if any of the options are incorrect + /// if the number of allowed requests is exceeded + /// + public void UpdateParentEmail(ref UpdateParentEmailOptions options, object clientData, OnUpdateParentEmailCallback completionDelegate) + { + UpdateParentEmailOptionsInternal optionsInternal = new UpdateParentEmailOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnUpdateParentEmailCallbackInternal(OnUpdateParentEmailCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_KWS_UpdateParentEmail(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnCreateUserCallbackInternal))] + internal static void OnCreateUserCallbackInternalImplementation(ref CreateUserCallbackInfoInternal data) + { + OnCreateUserCallback callback; + CreateUserCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnPermissionsUpdateReceivedCallbackInternal))] + internal static void OnPermissionsUpdateReceivedCallbackInternalImplementation(ref PermissionsUpdateReceivedCallbackInfoInternal data) + { + OnPermissionsUpdateReceivedCallback callback; + PermissionsUpdateReceivedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryAgeGateCallbackInternal))] + internal static void OnQueryAgeGateCallbackInternalImplementation(ref QueryAgeGateCallbackInfoInternal data) + { + OnQueryAgeGateCallback callback; + QueryAgeGateCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryPermissionsCallbackInternal))] + internal static void OnQueryPermissionsCallbackInternalImplementation(ref QueryPermissionsCallbackInfoInternal data) + { + OnQueryPermissionsCallback callback; + QueryPermissionsCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnRequestPermissionsCallbackInternal))] + internal static void OnRequestPermissionsCallbackInternalImplementation(ref RequestPermissionsCallbackInfoInternal data) + { + OnRequestPermissionsCallback callback; + RequestPermissionsCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnUpdateParentEmailCallbackInternal))] + internal static void OnUpdateParentEmailCallbackInternalImplementation(ref UpdateParentEmailCallbackInfoInternal data) + { + OnUpdateParentEmailCallback callback; + UpdateParentEmailCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSInterface.cs.meta deleted file mode 100644 index ac0f0f0a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 12aa585d3ca1acb4e81b288635e51b0b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSPermissionStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSPermissionStatus.cs index 521b365b..23473d39 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSPermissionStatus.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSPermissionStatus.cs @@ -1,24 +1,24 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// An enumeration of the different permission statuses. - /// - public enum KWSPermissionStatus : int - { - /// - /// Permission has been granted - /// - Granted = 0, - /// - /// Permission has been rejected - /// - Rejected = 1, - /// - /// Permission is still pending approval - /// - Pending = 2 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// An enumeration of the different permission statuses. + /// + public enum KWSPermissionStatus : int + { + /// + /// Permission has been granted + /// + Granted = 0, + /// + /// Permission has been rejected + /// + Rejected = 1, + /// + /// Permission is still pending approval + /// + Pending = 2 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSPermissionStatus.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSPermissionStatus.cs.meta deleted file mode 100644 index 8aedc243..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/KWSPermissionStatus.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d264c38b113661e49b09841569b5545e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnCreateUserCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnCreateUserCallback.cs index 86dac1b2..fc4ac3b8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnCreateUserCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnCreateUserCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnCreateUserCallback(CreateUserCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnCreateUserCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnCreateUserCallback(ref CreateUserCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnCreateUserCallbackInternal(ref CreateUserCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnCreateUserCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnCreateUserCallback.cs.meta deleted file mode 100644 index 9e97df08..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnCreateUserCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d28bcb0bd88bff04097d15a94524a20c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnPermissionsUpdateReceivedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnPermissionsUpdateReceivedCallback.cs index f0215eb0..36538412 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnPermissionsUpdateReceivedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnPermissionsUpdateReceivedCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Function prototype definition for notifications that comes from - /// - /// A containing the output information and result - public delegate void OnPermissionsUpdateReceivedCallback(PermissionsUpdateReceivedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnPermissionsUpdateReceivedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Function prototype definition for notifications that comes from + /// + /// A containing the output information and result + public delegate void OnPermissionsUpdateReceivedCallback(ref PermissionsUpdateReceivedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnPermissionsUpdateReceivedCallbackInternal(ref PermissionsUpdateReceivedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnPermissionsUpdateReceivedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnPermissionsUpdateReceivedCallback.cs.meta deleted file mode 100644 index 9a3589c9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnPermissionsUpdateReceivedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bb92cb7e5f193e748b3c72c806257ba5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryAgeGateCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryAgeGateCallback.cs index bf8ccc9a..decd0027 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryAgeGateCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryAgeGateCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryAgeGateCallback(QueryAgeGateCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryAgeGateCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryAgeGateCallback(ref QueryAgeGateCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryAgeGateCallbackInternal(ref QueryAgeGateCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryAgeGateCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryAgeGateCallback.cs.meta deleted file mode 100644 index f3bc9ba5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryAgeGateCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7e56ff2d7825ba24a86d9c540956347c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryPermissionsCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryPermissionsCallback.cs index 9442a3aa..fc6a91ad 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryPermissionsCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryPermissionsCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryPermissionsCallback(QueryPermissionsCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryPermissionsCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryPermissionsCallback(ref QueryPermissionsCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryPermissionsCallbackInternal(ref QueryPermissionsCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryPermissionsCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryPermissionsCallback.cs.meta deleted file mode 100644 index f66bfd4d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnQueryPermissionsCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b9dd43e8bb2f16647be3a75e9b591b26 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnRequestPermissionsCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnRequestPermissionsCallback.cs index c179eca3..5fabc9fa 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnRequestPermissionsCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnRequestPermissionsCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnRequestPermissionsCallback(RequestPermissionsCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnRequestPermissionsCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnRequestPermissionsCallback(ref RequestPermissionsCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnRequestPermissionsCallbackInternal(ref RequestPermissionsCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnRequestPermissionsCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnRequestPermissionsCallback.cs.meta deleted file mode 100644 index 31b11093..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnRequestPermissionsCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dbf5a3bf9dfbd6f4aad45b3e44e39078 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnUpdateParentEmailCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnUpdateParentEmailCallback.cs index 73da653d..37c2bf15 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnUpdateParentEmailCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnUpdateParentEmailCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnUpdateParentEmailCallback(UpdateParentEmailCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnUpdateParentEmailCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnUpdateParentEmailCallback(ref UpdateParentEmailCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnUpdateParentEmailCallbackInternal(ref UpdateParentEmailCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnUpdateParentEmailCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnUpdateParentEmailCallback.cs.meta deleted file mode 100644 index bf90b530..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/OnUpdateParentEmailCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d054ae5a4e99dd14b940fc545448f643 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionStatus.cs index 3f9c92fb..6acb12c4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionStatus.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionStatus.cs @@ -1,88 +1,88 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - public class PermissionStatus : ISettable - { - /// - /// Name of the permission - /// - public string Name { get; set; } - - /// - /// Status of the permission - /// - public KWSPermissionStatus Status { get; set; } - - internal void Set(PermissionStatusInternal? other) - { - if (other != null) - { - Name = other.Value.Name; - Status = other.Value.Status; - } - } - - public void Set(object other) - { - Set(other as PermissionStatusInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PermissionStatusInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Name; - private KWSPermissionStatus m_Status; - - public string Name - { - get - { - string value; - Helper.TryMarshalGet(m_Name, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Name, value); - } - } - - public KWSPermissionStatus Status - { - get - { - return m_Status; - } - - set - { - m_Status = value; - } - } - - public void Set(PermissionStatus other) - { - if (other != null) - { - m_ApiVersion = KWSInterface.PermissionstatusApiLatest; - Name = other.Name; - Status = other.Status; - } - } - - public void Set(object other) - { - Set(other as PermissionStatus); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Name); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + public struct PermissionStatus + { + /// + /// Name of the permission + /// + public Utf8String Name { get; set; } + + /// + /// Status of the permission + /// + public KWSPermissionStatus Status { get; set; } + + internal void Set(ref PermissionStatusInternal other) + { + Name = other.Name; + Status = other.Status; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PermissionStatusInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Name; + private KWSPermissionStatus m_Status; + + public Utf8String Name + { + get + { + Utf8String value; + Helper.Get(m_Name, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Name); + } + } + + public KWSPermissionStatus Status + { + get + { + return m_Status; + } + + set + { + m_Status = value; + } + } + + public void Set(ref PermissionStatus other) + { + m_ApiVersion = KWSInterface.PermissionstatusApiLatest; + Name = other.Name; + Status = other.Status; + } + + public void Set(ref PermissionStatus? other) + { + if (other.HasValue) + { + m_ApiVersion = KWSInterface.PermissionstatusApiLatest; + Name = other.Value.Name; + Status = other.Value.Status; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Name); + } + + public void Get(out PermissionStatus output) + { + output = new PermissionStatus(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionStatus.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionStatus.cs.meta deleted file mode 100644 index 3c9ed847..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionStatus.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 61f05b9ccc180854a8db7690d45ba245 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionsUpdateReceivedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionsUpdateReceivedCallbackInfo.cs index 83682a0e..d824f8d5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionsUpdateReceivedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionsUpdateReceivedCallbackInfo.cs @@ -1,75 +1,104 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Output parameters for the Function. - /// - public class PermissionsUpdateReceivedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// Recipient Local user id - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(PermissionsUpdateReceivedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as PermissionsUpdateReceivedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PermissionsUpdateReceivedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Output parameters for the Function. + /// + public struct PermissionsUpdateReceivedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// Recipient Local user id + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref PermissionsUpdateReceivedCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PermissionsUpdateReceivedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref PermissionsUpdateReceivedCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref PermissionsUpdateReceivedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out PermissionsUpdateReceivedCallbackInfo output) + { + output = new PermissionsUpdateReceivedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionsUpdateReceivedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionsUpdateReceivedCallbackInfo.cs.meta deleted file mode 100644 index d9b7e378..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/PermissionsUpdateReceivedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b9c51247588c2b24eb07e3626c175593 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateCallbackInfo.cs index 3683bce9..d7edd859 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateCallbackInfo.cs @@ -1,105 +1,148 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Output parameters for the Function. These parameters are received through the callback provided to - /// - public class QueryAgeGateCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// Country code determined for this request based on the local client's ip address that the backend resolves - /// - public string CountryCode { get; private set; } - - /// - /// Age of consent in the given country - /// - public uint AgeOfConsent { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryAgeGateCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - CountryCode = other.Value.CountryCode; - AgeOfConsent = other.Value.AgeOfConsent; - } - } - - public void Set(object other) - { - Set(other as QueryAgeGateCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryAgeGateCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_CountryCode; - private uint m_AgeOfConsent; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string CountryCode - { - get - { - string value; - Helper.TryMarshalGet(m_CountryCode, out value); - return value; - } - } - - public uint AgeOfConsent - { - get - { - return m_AgeOfConsent; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Output parameters for the Function. These parameters are received through the callback provided to + /// + public struct QueryAgeGateCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// Country code determined for this request based on the local client's ip address that the backend resolves + /// + public Utf8String CountryCode { get; set; } + + /// + /// Age of consent in the given country + /// + public uint AgeOfConsent { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryAgeGateCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + CountryCode = other.CountryCode; + AgeOfConsent = other.AgeOfConsent; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryAgeGateCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_CountryCode; + private uint m_AgeOfConsent; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String CountryCode + { + get + { + Utf8String value; + Helper.Get(m_CountryCode, out value); + return value; + } + + set + { + Helper.Set(value, ref m_CountryCode); + } + } + + public uint AgeOfConsent + { + get + { + return m_AgeOfConsent; + } + + set + { + m_AgeOfConsent = value; + } + } + + public void Set(ref QueryAgeGateCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + CountryCode = other.CountryCode; + AgeOfConsent = other.AgeOfConsent; + } + + public void Set(ref QueryAgeGateCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + CountryCode = other.Value.CountryCode; + AgeOfConsent = other.Value.AgeOfConsent; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_CountryCode); + } + + public void Get(out QueryAgeGateCallbackInfo output) + { + output = new QueryAgeGateCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateCallbackInfo.cs.meta deleted file mode 100644 index 83adb611..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 020258c5d325b1449a7dc0277f3a72ac -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateOptions.cs index 7af7ddbc..c55174a9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Input parameters for the function. - /// - public class QueryAgeGateOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryAgeGateOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(QueryAgeGateOptions other) - { - if (other != null) - { - m_ApiVersion = KWSInterface.QueryagegateApiLatest; - } - } - - public void Set(object other) - { - Set(other as QueryAgeGateOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Input parameters for the function. + /// + public struct QueryAgeGateOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryAgeGateOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref QueryAgeGateOptions other) + { + m_ApiVersion = KWSInterface.QueryagegateApiLatest; + } + + public void Set(ref QueryAgeGateOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = KWSInterface.QueryagegateApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateOptions.cs.meta deleted file mode 100644 index 102a7bde..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryAgeGateOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 28f69c227595abb4d9eba2329ab7dd1e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsCallbackInfo.cs index e8b3bc20..71788dc2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsCallbackInfo.cs @@ -1,141 +1,200 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Output parameters for the Function. These parameters are received through the callback provided to - /// - public class QueryPermissionsCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// Local user querying their permisssions - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// KWS UserId created - /// - public string KWSUserId { get; private set; } - - /// - /// Date of birth in ISO8601 form (YYYY-MM-DD) - /// - public string DateOfBirth { get; private set; } - - /// - /// Is this user a minor - /// - public bool IsMinor { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryPermissionsCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - KWSUserId = other.Value.KWSUserId; - DateOfBirth = other.Value.DateOfBirth; - IsMinor = other.Value.IsMinor; - } - } - - public void Set(object other) - { - Set(other as QueryPermissionsCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryPermissionsCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_KWSUserId; - private System.IntPtr m_DateOfBirth; - private int m_IsMinor; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string KWSUserId - { - get - { - string value; - Helper.TryMarshalGet(m_KWSUserId, out value); - return value; - } - } - - public string DateOfBirth - { - get - { - string value; - Helper.TryMarshalGet(m_DateOfBirth, out value); - return value; - } - } - - public bool IsMinor - { - get - { - bool value; - Helper.TryMarshalGet(m_IsMinor, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Output parameters for the Function. These parameters are received through the callback provided to + /// + public struct QueryPermissionsCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// Local user querying their permissions + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// KWS UserId created + /// + public Utf8String KWSUserId { get; set; } + + /// + /// Date of birth in ISO8601 form (YYYY-MM-DD) + /// + public Utf8String DateOfBirth { get; set; } + + /// + /// Is this user a minor + /// + public bool IsMinor { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryPermissionsCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + KWSUserId = other.KWSUserId; + DateOfBirth = other.DateOfBirth; + IsMinor = other.IsMinor; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryPermissionsCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_KWSUserId; + private System.IntPtr m_DateOfBirth; + private int m_IsMinor; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String KWSUserId + { + get + { + Utf8String value; + Helper.Get(m_KWSUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_KWSUserId); + } + } + + public Utf8String DateOfBirth + { + get + { + Utf8String value; + Helper.Get(m_DateOfBirth, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DateOfBirth); + } + } + + public bool IsMinor + { + get + { + bool value; + Helper.Get(m_IsMinor, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IsMinor); + } + } + + public void Set(ref QueryPermissionsCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + KWSUserId = other.KWSUserId; + DateOfBirth = other.DateOfBirth; + IsMinor = other.IsMinor; + } + + public void Set(ref QueryPermissionsCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + KWSUserId = other.Value.KWSUserId; + DateOfBirth = other.Value.DateOfBirth; + IsMinor = other.Value.IsMinor; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_KWSUserId); + Helper.Dispose(ref m_DateOfBirth); + } + + public void Get(out QueryPermissionsCallbackInfo output) + { + output = new QueryPermissionsCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsCallbackInfo.cs.meta deleted file mode 100644 index 8343a548..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a73ae0dd9b32dbb44a246d5e4756c457 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsOptions.cs index 7bd17c8d..ef2761f9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Input parameters for the function. - /// - public class QueryPermissionsOptions - { - /// - /// Local user querying their permisssions - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryPermissionsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(QueryPermissionsOptions other) - { - if (other != null) - { - m_ApiVersion = KWSInterface.QuerypermissionsApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryPermissionsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Input parameters for the function. + /// + public struct QueryPermissionsOptions + { + /// + /// Local user querying their permissions + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryPermissionsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryPermissionsOptions other) + { + m_ApiVersion = KWSInterface.QuerypermissionsApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryPermissionsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = KWSInterface.QuerypermissionsApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsOptions.cs.meta deleted file mode 100644 index b3fbdc5b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/QueryPermissionsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e716b8c9feeac084381651d1d850c8d9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsCallbackInfo.cs index 9bd4a459..59ef3dfc 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Output parameters for the Function. These parameters are received through the callback provided to - /// - public class RequestPermissionsCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// Local user requesting new permisssions - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(RequestPermissionsCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as RequestPermissionsCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RequestPermissionsCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Output parameters for the Function. These parameters are received through the callback provided to + /// + public struct RequestPermissionsCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// Local user requesting new permissions + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref RequestPermissionsCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RequestPermissionsCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref RequestPermissionsCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref RequestPermissionsCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out RequestPermissionsCallbackInfo output) + { + output = new RequestPermissionsCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsCallbackInfo.cs.meta deleted file mode 100644 index d69b6aec..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8a6ca4dda3b10eb4da52a096bb7d953c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsOptions.cs index e4cf9082..1418014e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsOptions.cs @@ -1,67 +1,69 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Input parameters for the function. - /// - public class RequestPermissionsOptions - { - /// - /// Local user requesting new permisssions - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// Names of the permissions to request (Setup with KWS) - /// - public string[] PermissionKeys { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RequestPermissionsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private uint m_PermissionKeyCount; - private System.IntPtr m_PermissionKeys; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string[] PermissionKeys - { - set - { - Helper.TryMarshalSet(ref m_PermissionKeys, value, out m_PermissionKeyCount, true); - } - } - - public void Set(RequestPermissionsOptions other) - { - if (other != null) - { - m_ApiVersion = KWSInterface.RequestpermissionsApiLatest; - LocalUserId = other.LocalUserId; - PermissionKeys = other.PermissionKeys; - } - } - - public void Set(object other) - { - Set(other as RequestPermissionsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_PermissionKeys); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Input parameters for the function. + /// + public struct RequestPermissionsOptions + { + /// + /// Local user requesting new permissions + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Names of the permissions to request (Setup with KWS) + /// + public Utf8String[] PermissionKeys { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RequestPermissionsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private uint m_PermissionKeyCount; + private System.IntPtr m_PermissionKeys; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String[] PermissionKeys + { + set + { + Helper.Set(value, ref m_PermissionKeys, true, out m_PermissionKeyCount); + } + } + + public void Set(ref RequestPermissionsOptions other) + { + m_ApiVersion = KWSInterface.RequestpermissionsApiLatest; + LocalUserId = other.LocalUserId; + PermissionKeys = other.PermissionKeys; + } + + public void Set(ref RequestPermissionsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = KWSInterface.RequestpermissionsApiLatest; + LocalUserId = other.Value.LocalUserId; + PermissionKeys = other.Value.PermissionKeys; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_PermissionKeys); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsOptions.cs.meta deleted file mode 100644 index b7840e5c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/RequestPermissionsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 19ecc27202536d246a56bd9821a2edc0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailCallbackInfo.cs index d04f8c74..7ad67745 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Output parameters for the Function. These parameters are received through the callback provided to - /// - public class UpdateParentEmailCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// Local user updating their parental email - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(UpdateParentEmailCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as UpdateParentEmailCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateParentEmailCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Output parameters for the Function. These parameters are received through the callback provided to + /// + public struct UpdateParentEmailCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// Local user updating their parental email + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref UpdateParentEmailCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateParentEmailCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref UpdateParentEmailCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref UpdateParentEmailCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out UpdateParentEmailCallbackInfo output) + { + output = new UpdateParentEmailCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailCallbackInfo.cs.meta deleted file mode 100644 index 7aca0a77..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ed870fbc6f328614d82ddadb80dffa32 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailOptions.cs index f2c9e807..7828a2c8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.KWS -{ - /// - /// Input parameters for the function. - /// - public class UpdateParentEmailOptions - { - /// - /// Local user updating parental information - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// New parent email - /// - public string ParentEmail { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateParentEmailOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ParentEmail; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string ParentEmail - { - set - { - Helper.TryMarshalSet(ref m_ParentEmail, value); - } - } - - public void Set(UpdateParentEmailOptions other) - { - if (other != null) - { - m_ApiVersion = KWSInterface.UpdateparentemailApiLatest; - LocalUserId = other.LocalUserId; - ParentEmail = other.ParentEmail; - } - } - - public void Set(object other) - { - Set(other as UpdateParentEmailOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_ParentEmail); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.KWS +{ + /// + /// Input parameters for the function. + /// + public struct UpdateParentEmailOptions + { + /// + /// Local user updating parental information + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// New parent email + /// + public Utf8String ParentEmail { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateParentEmailOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ParentEmail; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String ParentEmail + { + set + { + Helper.Set(value, ref m_ParentEmail); + } + } + + public void Set(ref UpdateParentEmailOptions other) + { + m_ApiVersion = KWSInterface.UpdateparentemailApiLatest; + LocalUserId = other.LocalUserId; + ParentEmail = other.ParentEmail; + } + + public void Set(ref UpdateParentEmailOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = KWSInterface.UpdateparentemailApiLatest; + LocalUserId = other.Value.LocalUserId; + ParentEmail = other.Value.ParentEmail; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ParentEmail); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailOptions.cs.meta deleted file mode 100644 index b466925c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/KWS/UpdateParentEmailOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 82f12ec2a0b998746b472da4c7be695a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards.meta deleted file mode 100644 index 5ccbe18e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2590407af2364e24c926ef01e58095fe -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByIndexOptions.cs index 6a1fcb86..c3948599 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByIndexOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Input parameters for the function. - /// - public class CopyLeaderboardDefinitionByIndexOptions - { - /// - /// Index of the leaderboard definition to retrieve from the cache - /// - public uint LeaderboardIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyLeaderboardDefinitionByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_LeaderboardIndex; - - public uint LeaderboardIndex - { - set - { - m_LeaderboardIndex = value; - } - } - - public void Set(CopyLeaderboardDefinitionByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.CopyleaderboarddefinitionbyindexApiLatest; - LeaderboardIndex = other.LeaderboardIndex; - } - } - - public void Set(object other) - { - Set(other as CopyLeaderboardDefinitionByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Input parameters for the function. + /// + public struct CopyLeaderboardDefinitionByIndexOptions + { + /// + /// Index of the leaderboard definition to retrieve from the cache + /// + public uint LeaderboardIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyLeaderboardDefinitionByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_LeaderboardIndex; + + public uint LeaderboardIndex + { + set + { + m_LeaderboardIndex = value; + } + } + + public void Set(ref CopyLeaderboardDefinitionByIndexOptions other) + { + m_ApiVersion = LeaderboardsInterface.CopyleaderboarddefinitionbyindexApiLatest; + LeaderboardIndex = other.LeaderboardIndex; + } + + public void Set(ref CopyLeaderboardDefinitionByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.CopyleaderboarddefinitionbyindexApiLatest; + LeaderboardIndex = other.Value.LeaderboardIndex; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByIndexOptions.cs.meta deleted file mode 100644 index e88d206d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b0f2c0d4fcc53db4b83aca3b904e4700 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByLeaderboardIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByLeaderboardIdOptions.cs index e62557c6..3c4a0afb 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByLeaderboardIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByLeaderboardIdOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Input parameters for the function. - /// - public class CopyLeaderboardDefinitionByLeaderboardIdOptions - { - /// - /// The ID of the leaderboard whose definition you want to copy from the cache - /// - public string LeaderboardId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyLeaderboardDefinitionByLeaderboardIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LeaderboardId; - - public string LeaderboardId - { - set - { - Helper.TryMarshalSet(ref m_LeaderboardId, value); - } - } - - public void Set(CopyLeaderboardDefinitionByLeaderboardIdOptions other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.CopyleaderboarddefinitionbyleaderboardidApiLatest; - LeaderboardId = other.LeaderboardId; - } - } - - public void Set(object other) - { - Set(other as CopyLeaderboardDefinitionByLeaderboardIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LeaderboardId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Input parameters for the function. + /// + public struct CopyLeaderboardDefinitionByLeaderboardIdOptions + { + /// + /// The ID of the leaderboard whose definition you want to copy from the cache + /// + public Utf8String LeaderboardId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyLeaderboardDefinitionByLeaderboardIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LeaderboardId; + + public Utf8String LeaderboardId + { + set + { + Helper.Set(value, ref m_LeaderboardId); + } + } + + public void Set(ref CopyLeaderboardDefinitionByLeaderboardIdOptions other) + { + m_ApiVersion = LeaderboardsInterface.CopyleaderboarddefinitionbyleaderboardidApiLatest; + LeaderboardId = other.LeaderboardId; + } + + public void Set(ref CopyLeaderboardDefinitionByLeaderboardIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.CopyleaderboarddefinitionbyleaderboardidApiLatest; + LeaderboardId = other.Value.LeaderboardId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LeaderboardId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByLeaderboardIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByLeaderboardIdOptions.cs.meta deleted file mode 100644 index 579fc931..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByLeaderboardIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9b02d82a7f85eb34eb19d0b6a557dfb5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByIndexOptions.cs index 6035fd46..1d2538f8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByIndexOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Input parameters for the function. - /// - public class CopyLeaderboardRecordByIndexOptions - { - /// - /// Index of the leaderboard record to retrieve from the cache - /// - public uint LeaderboardRecordIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyLeaderboardRecordByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_LeaderboardRecordIndex; - - public uint LeaderboardRecordIndex - { - set - { - m_LeaderboardRecordIndex = value; - } - } - - public void Set(CopyLeaderboardRecordByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.CopyleaderboardrecordbyindexApiLatest; - LeaderboardRecordIndex = other.LeaderboardRecordIndex; - } - } - - public void Set(object other) - { - Set(other as CopyLeaderboardRecordByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Input parameters for the function. + /// + public struct CopyLeaderboardRecordByIndexOptions + { + /// + /// Index of the leaderboard record to retrieve from the cache + /// + public uint LeaderboardRecordIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyLeaderboardRecordByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_LeaderboardRecordIndex; + + public uint LeaderboardRecordIndex + { + set + { + m_LeaderboardRecordIndex = value; + } + } + + public void Set(ref CopyLeaderboardRecordByIndexOptions other) + { + m_ApiVersion = LeaderboardsInterface.CopyleaderboardrecordbyindexApiLatest; + LeaderboardRecordIndex = other.LeaderboardRecordIndex; + } + + public void Set(ref CopyLeaderboardRecordByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.CopyleaderboardrecordbyindexApiLatest; + LeaderboardRecordIndex = other.Value.LeaderboardRecordIndex; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByIndexOptions.cs.meta deleted file mode 100644 index 2479ae98..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d1ab398c8570bfb46bf9296e9e57fa4b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByUserIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByUserIdOptions.cs index 855ee3e2..4d8ab536 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByUserIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByUserIdOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Input parameters for the function. - /// - public class CopyLeaderboardRecordByUserIdOptions - { - /// - /// Leaderboard data will be copied from the cache if it relates to the user matching this Product User ID - /// - public ProductUserId UserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyLeaderboardRecordByUserIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserId; - - public ProductUserId UserId - { - set - { - Helper.TryMarshalSet(ref m_UserId, value); - } - } - - public void Set(CopyLeaderboardRecordByUserIdOptions other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.CopyleaderboardrecordbyuseridApiLatest; - UserId = other.UserId; - } - } - - public void Set(object other) - { - Set(other as CopyLeaderboardRecordByUserIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Input parameters for the function. + /// + public struct CopyLeaderboardRecordByUserIdOptions + { + /// + /// Leaderboard data will be copied from the cache if it relates to the user matching this Product User ID + /// + public ProductUserId UserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyLeaderboardRecordByUserIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserId; + + public ProductUserId UserId + { + set + { + Helper.Set(value, ref m_UserId); + } + } + + public void Set(ref CopyLeaderboardRecordByUserIdOptions other) + { + m_ApiVersion = LeaderboardsInterface.CopyleaderboardrecordbyuseridApiLatest; + UserId = other.UserId; + } + + public void Set(ref CopyLeaderboardRecordByUserIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.CopyleaderboardrecordbyuseridApiLatest; + UserId = other.Value.UserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByUserIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByUserIdOptions.cs.meta deleted file mode 100644 index 50ca511d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardRecordByUserIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3b8157c7f92ecb84cbc6a4729aea431c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByIndexOptions.cs index 4c8219ff..54f3cada 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Input parameters for the function. - /// - public class CopyLeaderboardUserScoreByIndexOptions - { - /// - /// Index of the sorted leaderboard user score to retrieve from the cache. - /// - public uint LeaderboardUserScoreIndex { get; set; } - - /// - /// Name of the stat used to rank the leaderboard. - /// - public string StatName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyLeaderboardUserScoreByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_LeaderboardUserScoreIndex; - private System.IntPtr m_StatName; - - public uint LeaderboardUserScoreIndex - { - set - { - m_LeaderboardUserScoreIndex = value; - } - } - - public string StatName - { - set - { - Helper.TryMarshalSet(ref m_StatName, value); - } - } - - public void Set(CopyLeaderboardUserScoreByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.CopyleaderboarduserscorebyindexApiLatest; - LeaderboardUserScoreIndex = other.LeaderboardUserScoreIndex; - StatName = other.StatName; - } - } - - public void Set(object other) - { - Set(other as CopyLeaderboardUserScoreByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_StatName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Input parameters for the function. + /// + public struct CopyLeaderboardUserScoreByIndexOptions + { + /// + /// Index of the sorted leaderboard user score to retrieve from the cache. + /// + public uint LeaderboardUserScoreIndex { get; set; } + + /// + /// Name of the stat used to rank the leaderboard. + /// + public Utf8String StatName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyLeaderboardUserScoreByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_LeaderboardUserScoreIndex; + private System.IntPtr m_StatName; + + public uint LeaderboardUserScoreIndex + { + set + { + m_LeaderboardUserScoreIndex = value; + } + } + + public Utf8String StatName + { + set + { + Helper.Set(value, ref m_StatName); + } + } + + public void Set(ref CopyLeaderboardUserScoreByIndexOptions other) + { + m_ApiVersion = LeaderboardsInterface.CopyleaderboarduserscorebyindexApiLatest; + LeaderboardUserScoreIndex = other.LeaderboardUserScoreIndex; + StatName = other.StatName; + } + + public void Set(ref CopyLeaderboardUserScoreByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.CopyleaderboarduserscorebyindexApiLatest; + LeaderboardUserScoreIndex = other.Value.LeaderboardUserScoreIndex; + StatName = other.Value.StatName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_StatName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByIndexOptions.cs.meta deleted file mode 100644 index 60be1de4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 08e7fb423b75cef4ab625a8987e92f8d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByUserIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByUserIdOptions.cs index 8029f6a8..756ad076 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByUserIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByUserIdOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Input parameters for the function. - /// - public class CopyLeaderboardUserScoreByUserIdOptions - { - /// - /// The Product User ID to look for when copying leaderboard score data from the cache - /// - public ProductUserId UserId { get; set; } - - /// - /// The name of the stat that is used to rank this leaderboard - /// - public string StatName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyLeaderboardUserScoreByUserIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserId; - private System.IntPtr m_StatName; - - public ProductUserId UserId - { - set - { - Helper.TryMarshalSet(ref m_UserId, value); - } - } - - public string StatName - { - set - { - Helper.TryMarshalSet(ref m_StatName, value); - } - } - - public void Set(CopyLeaderboardUserScoreByUserIdOptions other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.CopyleaderboarduserscorebyuseridApiLatest; - UserId = other.UserId; - StatName = other.StatName; - } - } - - public void Set(object other) - { - Set(other as CopyLeaderboardUserScoreByUserIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserId); - Helper.TryMarshalDispose(ref m_StatName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Input parameters for the function. + /// + public struct CopyLeaderboardUserScoreByUserIdOptions + { + /// + /// The Product User ID to look for when copying leaderboard score data from the cache + /// + public ProductUserId UserId { get; set; } + + /// + /// The name of the stat that is used to rank this leaderboard + /// + public Utf8String StatName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyLeaderboardUserScoreByUserIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserId; + private System.IntPtr m_StatName; + + public ProductUserId UserId + { + set + { + Helper.Set(value, ref m_UserId); + } + } + + public Utf8String StatName + { + set + { + Helper.Set(value, ref m_StatName); + } + } + + public void Set(ref CopyLeaderboardUserScoreByUserIdOptions other) + { + m_ApiVersion = LeaderboardsInterface.CopyleaderboarduserscorebyuseridApiLatest; + UserId = other.UserId; + StatName = other.StatName; + } + + public void Set(ref CopyLeaderboardUserScoreByUserIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.CopyleaderboarduserscorebyuseridApiLatest; + UserId = other.Value.UserId; + StatName = other.Value.StatName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserId); + Helper.Dispose(ref m_StatName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByUserIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByUserIdOptions.cs.meta deleted file mode 100644 index b2f0b019..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardUserScoreByUserIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 16c1d8ee7e069d44fbfd96b8a6c118d1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/Definition.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/Definition.cs index 400584c3..e02fb1ea 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/Definition.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/Definition.cs @@ -1,161 +1,164 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Contains information about a single leaderboard definition - /// - public class Definition : ISettable - { - /// - /// Unique ID to identify leaderboard. - /// - public string LeaderboardId { get; set; } - - /// - /// Name of stat used to rank leaderboard. - /// - public string StatName { get; set; } - - /// - /// Aggregation used to sort leaderboard. - /// - public LeaderboardAggregation Aggregation { get; set; } - - /// - /// The POSIX timestamp for the start time, or . - /// - public System.DateTimeOffset? StartTime { get; set; } - - /// - /// The POSIX timestamp for the end time, or . - /// - public System.DateTimeOffset? EndTime { get; set; } - - internal void Set(DefinitionInternal? other) - { - if (other != null) - { - LeaderboardId = other.Value.LeaderboardId; - StatName = other.Value.StatName; - Aggregation = other.Value.Aggregation; - StartTime = other.Value.StartTime; - EndTime = other.Value.EndTime; - } - } - - public void Set(object other) - { - Set(other as DefinitionInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DefinitionInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LeaderboardId; - private System.IntPtr m_StatName; - private LeaderboardAggregation m_Aggregation; - private long m_StartTime; - private long m_EndTime; - - public string LeaderboardId - { - get - { - string value; - Helper.TryMarshalGet(m_LeaderboardId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LeaderboardId, value); - } - } - - public string StatName - { - get - { - string value; - Helper.TryMarshalGet(m_StatName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_StatName, value); - } - } - - public LeaderboardAggregation Aggregation - { - get - { - return m_Aggregation; - } - - set - { - m_Aggregation = value; - } - } - - public System.DateTimeOffset? StartTime - { - get - { - System.DateTimeOffset? value; - Helper.TryMarshalGet(m_StartTime, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_StartTime, value); - } - } - - public System.DateTimeOffset? EndTime - { - get - { - System.DateTimeOffset? value; - Helper.TryMarshalGet(m_EndTime, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_EndTime, value); - } - } - - public void Set(Definition other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.DefinitionApiLatest; - LeaderboardId = other.LeaderboardId; - StatName = other.StatName; - Aggregation = other.Aggregation; - StartTime = other.StartTime; - EndTime = other.EndTime; - } - } - - public void Set(object other) - { - Set(other as Definition); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LeaderboardId); - Helper.TryMarshalDispose(ref m_StatName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Contains information about a single leaderboard definition + /// + public struct Definition + { + /// + /// Unique ID to identify leaderboard. + /// + public Utf8String LeaderboardId { get; set; } + + /// + /// Name of stat used to rank leaderboard. + /// + public Utf8String StatName { get; set; } + + /// + /// Aggregation used to sort leaderboard. + /// + public LeaderboardAggregation Aggregation { get; set; } + + /// + /// The POSIX timestamp for the start time, or . + /// + public System.DateTimeOffset? StartTime { get; set; } + + /// + /// The POSIX timestamp for the end time, or . + /// + public System.DateTimeOffset? EndTime { get; set; } + + internal void Set(ref DefinitionInternal other) + { + LeaderboardId = other.LeaderboardId; + StatName = other.StatName; + Aggregation = other.Aggregation; + StartTime = other.StartTime; + EndTime = other.EndTime; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DefinitionInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LeaderboardId; + private System.IntPtr m_StatName; + private LeaderboardAggregation m_Aggregation; + private long m_StartTime; + private long m_EndTime; + + public Utf8String LeaderboardId + { + get + { + Utf8String value; + Helper.Get(m_LeaderboardId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LeaderboardId); + } + } + + public Utf8String StatName + { + get + { + Utf8String value; + Helper.Get(m_StatName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_StatName); + } + } + + public LeaderboardAggregation Aggregation + { + get + { + return m_Aggregation; + } + + set + { + m_Aggregation = value; + } + } + + public System.DateTimeOffset? StartTime + { + get + { + System.DateTimeOffset? value; + Helper.Get(m_StartTime, out value); + return value; + } + + set + { + Helper.Set(value, ref m_StartTime); + } + } + + public System.DateTimeOffset? EndTime + { + get + { + System.DateTimeOffset? value; + Helper.Get(m_EndTime, out value); + return value; + } + + set + { + Helper.Set(value, ref m_EndTime); + } + } + + public void Set(ref Definition other) + { + m_ApiVersion = LeaderboardsInterface.DefinitionApiLatest; + LeaderboardId = other.LeaderboardId; + StatName = other.StatName; + Aggregation = other.Aggregation; + StartTime = other.StartTime; + EndTime = other.EndTime; + } + + public void Set(ref Definition? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.DefinitionApiLatest; + LeaderboardId = other.Value.LeaderboardId; + StatName = other.Value.StatName; + Aggregation = other.Value.Aggregation; + StartTime = other.Value.StartTime; + EndTime = other.Value.EndTime; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LeaderboardId); + Helper.Dispose(ref m_StatName); + } + + public void Get(out Definition output) + { + output = new Definition(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/Definition.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/Definition.cs.meta deleted file mode 100644 index 34a4f242..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/Definition.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e52b26c0ef6f8d64ea1e1a8e7ce7ac29 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardDefinitionCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardDefinitionCountOptions.cs index 3e3eb9dd..5d65d022 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardDefinitionCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardDefinitionCountOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Input parameters for the function. - /// - public class GetLeaderboardDefinitionCountOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetLeaderboardDefinitionCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(GetLeaderboardDefinitionCountOptions other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.GetleaderboarddefinitioncountApiLatest; - } - } - - public void Set(object other) - { - Set(other as GetLeaderboardDefinitionCountOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Input parameters for the function. + /// + public struct GetLeaderboardDefinitionCountOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetLeaderboardDefinitionCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref GetLeaderboardDefinitionCountOptions other) + { + m_ApiVersion = LeaderboardsInterface.GetleaderboarddefinitioncountApiLatest; + } + + public void Set(ref GetLeaderboardDefinitionCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.GetleaderboarddefinitioncountApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardDefinitionCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardDefinitionCountOptions.cs.meta deleted file mode 100644 index f7a36874..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardDefinitionCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e582a3f5179269a4a8dabf2dd1753576 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardRecordCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardRecordCountOptions.cs index 5796a68e..c79c895e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardRecordCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardRecordCountOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Input parameters for the function. - /// - public class GetLeaderboardRecordCountOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetLeaderboardRecordCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(GetLeaderboardRecordCountOptions other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.GetleaderboardrecordcountApiLatest; - } - } - - public void Set(object other) - { - Set(other as GetLeaderboardRecordCountOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Input parameters for the function. + /// + public struct GetLeaderboardRecordCountOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetLeaderboardRecordCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref GetLeaderboardRecordCountOptions other) + { + m_ApiVersion = LeaderboardsInterface.GetleaderboardrecordcountApiLatest; + } + + public void Set(ref GetLeaderboardRecordCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.GetleaderboardrecordcountApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardRecordCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardRecordCountOptions.cs.meta deleted file mode 100644 index eb9469ac..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardRecordCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 02270b9822729b144bcf68634cc5cb37 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardUserScoreCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardUserScoreCountOptions.cs index 475a0eec..1ce6f355 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardUserScoreCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardUserScoreCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Input parameters for the function. - /// - public class GetLeaderboardUserScoreCountOptions - { - /// - /// Name of stat used to rank leaderboard. - /// - public string StatName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetLeaderboardUserScoreCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_StatName; - - public string StatName - { - set - { - Helper.TryMarshalSet(ref m_StatName, value); - } - } - - public void Set(GetLeaderboardUserScoreCountOptions other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.GetleaderboarduserscorecountApiLatest; - StatName = other.StatName; - } - } - - public void Set(object other) - { - Set(other as GetLeaderboardUserScoreCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_StatName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Input parameters for the function. + /// + public struct GetLeaderboardUserScoreCountOptions + { + /// + /// Name of stat used to rank leaderboard. + /// + public Utf8String StatName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetLeaderboardUserScoreCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_StatName; + + public Utf8String StatName + { + set + { + Helper.Set(value, ref m_StatName); + } + } + + public void Set(ref GetLeaderboardUserScoreCountOptions other) + { + m_ApiVersion = LeaderboardsInterface.GetleaderboarduserscorecountApiLatest; + StatName = other.StatName; + } + + public void Set(ref GetLeaderboardUserScoreCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.GetleaderboarduserscorecountApiLatest; + StatName = other.Value.StatName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_StatName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardUserScoreCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardUserScoreCountOptions.cs.meta deleted file mode 100644 index 85048524..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/GetLeaderboardUserScoreCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cec09345cbdb8b843a2bd6df5ce31d88 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardAggregation.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardAggregation.cs index e4857c68..db01e465 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardAggregation.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardAggregation.cs @@ -1,28 +1,28 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// An enumeration of the different leaderboard aggregation types. - /// - public enum LeaderboardAggregation : int - { - /// - /// Minimum - /// - Min = 0, - /// - /// Maximum - /// - Max = 1, - /// - /// Sum - /// - Sum = 2, - /// - /// Latest - /// - Latest = 3 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// An enumeration of the different leaderboard aggregation types. + /// + public enum LeaderboardAggregation : int + { + /// + /// Minimum + /// + Min = 0, + /// + /// Maximum + /// + Max = 1, + /// + /// Sum + /// + Sum = 2, + /// + /// Latest + /// + Latest = 3 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardAggregation.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardAggregation.cs.meta deleted file mode 100644 index 13243084..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardAggregation.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dc4291a3978fe0d40aa8db798dfa39e1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardRecord.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardRecord.cs index fee33740..6866b58d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardRecord.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardRecord.cs @@ -1,136 +1,138 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Contains information about a single leaderboard record - /// - public class LeaderboardRecord : ISettable - { - /// - /// The Product User ID assoicated with this record - /// - public ProductUserId UserId { get; set; } - - /// - /// Sorted position on leaderboard - /// - public uint Rank { get; set; } - - /// - /// Leaderboard score - /// - public int Score { get; set; } - - /// - /// The latest display name seen for the user since they last time logged in. This is empty if the user does not have a display name set. - /// - public string UserDisplayName { get; set; } - - internal void Set(LeaderboardRecordInternal? other) - { - if (other != null) - { - UserId = other.Value.UserId; - Rank = other.Value.Rank; - Score = other.Value.Score; - UserDisplayName = other.Value.UserDisplayName; - } - } - - public void Set(object other) - { - Set(other as LeaderboardRecordInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LeaderboardRecordInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserId; - private uint m_Rank; - private int m_Score; - private System.IntPtr m_UserDisplayName; - - public ProductUserId UserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_UserId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UserId, value); - } - } - - public uint Rank - { - get - { - return m_Rank; - } - - set - { - m_Rank = value; - } - } - - public int Score - { - get - { - return m_Score; - } - - set - { - m_Score = value; - } - } - - public string UserDisplayName - { - get - { - string value; - Helper.TryMarshalGet(m_UserDisplayName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UserDisplayName, value); - } - } - - public void Set(LeaderboardRecord other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.LeaderboardrecordApiLatest; - UserId = other.UserId; - Rank = other.Rank; - Score = other.Score; - UserDisplayName = other.UserDisplayName; - } - } - - public void Set(object other) - { - Set(other as LeaderboardRecord); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserId); - Helper.TryMarshalDispose(ref m_UserDisplayName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Contains information about a single leaderboard record + /// + public struct LeaderboardRecord + { + /// + /// The Product User ID associated with this record + /// + public ProductUserId UserId { get; set; } + + /// + /// Sorted position on leaderboard + /// + public uint Rank { get; set; } + + /// + /// Leaderboard score + /// + public int Score { get; set; } + + /// + /// The latest display name seen for the user since they last time logged in. This is empty if the user does not have a display name set. + /// + public Utf8String UserDisplayName { get; set; } + + internal void Set(ref LeaderboardRecordInternal other) + { + UserId = other.UserId; + Rank = other.Rank; + Score = other.Score; + UserDisplayName = other.UserDisplayName; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LeaderboardRecordInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserId; + private uint m_Rank; + private int m_Score; + private System.IntPtr m_UserDisplayName; + + public ProductUserId UserId + { + get + { + ProductUserId value; + Helper.Get(m_UserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UserId); + } + } + + public uint Rank + { + get + { + return m_Rank; + } + + set + { + m_Rank = value; + } + } + + public int Score + { + get + { + return m_Score; + } + + set + { + m_Score = value; + } + } + + public Utf8String UserDisplayName + { + get + { + Utf8String value; + Helper.Get(m_UserDisplayName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UserDisplayName); + } + } + + public void Set(ref LeaderboardRecord other) + { + m_ApiVersion = LeaderboardsInterface.LeaderboardrecordApiLatest; + UserId = other.UserId; + Rank = other.Rank; + Score = other.Score; + UserDisplayName = other.UserDisplayName; + } + + public void Set(ref LeaderboardRecord? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.LeaderboardrecordApiLatest; + UserId = other.Value.UserId; + Rank = other.Value.Rank; + Score = other.Value.Score; + UserDisplayName = other.Value.UserDisplayName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserId); + Helper.Dispose(ref m_UserDisplayName); + } + + public void Get(out LeaderboardRecord output) + { + output = new LeaderboardRecord(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardRecord.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardRecord.cs.meta deleted file mode 100644 index 315f70a4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardRecord.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 33f1bc10f6a94e84e859ff03f0e9166c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardUserScore.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardUserScore.cs index 87c5ecd7..a5f66ff4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardUserScore.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardUserScore.cs @@ -1,91 +1,91 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Contains information about a single leaderboard user score - /// - public class LeaderboardUserScore : ISettable - { - /// - /// The Product User ID of the user who got this score - /// - public ProductUserId UserId { get; set; } - - /// - /// Leaderboard score - /// - public int Score { get; set; } - - internal void Set(LeaderboardUserScoreInternal? other) - { - if (other != null) - { - UserId = other.Value.UserId; - Score = other.Value.Score; - } - } - - public void Set(object other) - { - Set(other as LeaderboardUserScoreInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LeaderboardUserScoreInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserId; - private int m_Score; - - public ProductUserId UserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_UserId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UserId, value); - } - } - - public int Score - { - get - { - return m_Score; - } - - set - { - m_Score = value; - } - } - - public void Set(LeaderboardUserScore other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.LeaderboarduserscoreApiLatest; - UserId = other.UserId; - Score = other.Score; - } - } - - public void Set(object other) - { - Set(other as LeaderboardUserScore); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Contains information about a single leaderboard user score + /// + public struct LeaderboardUserScore + { + /// + /// The Product User ID of the user who got this score + /// + public ProductUserId UserId { get; set; } + + /// + /// Leaderboard score + /// + public int Score { get; set; } + + internal void Set(ref LeaderboardUserScoreInternal other) + { + UserId = other.UserId; + Score = other.Score; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LeaderboardUserScoreInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserId; + private int m_Score; + + public ProductUserId UserId + { + get + { + ProductUserId value; + Helper.Get(m_UserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UserId); + } + } + + public int Score + { + get + { + return m_Score; + } + + set + { + m_Score = value; + } + } + + public void Set(ref LeaderboardUserScore other) + { + m_ApiVersion = LeaderboardsInterface.LeaderboarduserscoreApiLatest; + UserId = other.UserId; + Score = other.Score; + } + + public void Set(ref LeaderboardUserScore? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.LeaderboarduserscoreApiLatest; + UserId = other.Value.UserId; + Score = other.Value.Score; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserId); + } + + public void Get(out LeaderboardUserScore output) + { + output = new LeaderboardUserScore(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardUserScore.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardUserScore.cs.meta deleted file mode 100644 index 1dc4a1b3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardUserScore.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3effc0fc9e797724ca31294df589be0b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardsInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardsInterface.cs index b1fbd72e..8bc3a3a3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardsInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardsInterface.cs @@ -1,452 +1,458 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - public sealed partial class LeaderboardsInterface : Handle - { - public LeaderboardsInterface() - { - } - - public LeaderboardsInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the struct. - /// - public const int CopyleaderboarddefinitionbyindexApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int CopyleaderboarddefinitionbyleaderboardidApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int CopyleaderboardrecordbyindexApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int CopyleaderboardrecordbyuseridApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int CopyleaderboarduserscorebyindexApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int CopyleaderboarduserscorebyuseridApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int DefinitionApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetleaderboarddefinitioncountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetleaderboardrecordcountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetleaderboarduserscorecountApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int LeaderboardrecordApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int LeaderboarduserscoreApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int QueryleaderboarddefinitionsApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int QueryleaderboardranksApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int QueryleaderboarduserscoresApiLatest = 2; - - /// - /// Timestamp value representing an undefined time for . - /// - public const int TimeUndefined = -1; - - /// - /// The most recent version of the struct. - /// - public const int UserscoresquerystatinfoApiLatest = 1; - - /// - /// Fetches a leaderboard definition from the cache using an index. - /// - /// - /// Structure containing the index being accessed. - /// The leaderboard data for the given index, if it exists and is valid, use when finished. - /// - /// if the information is available and passed out in OutLeaderboardDefinition - /// if you pass a null pointer for the out parameter - /// if the leaderboard is not found - /// - public Result CopyLeaderboardDefinitionByIndex(CopyLeaderboardDefinitionByIndexOptions options, out Definition outLeaderboardDefinition) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outLeaderboardDefinitionAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Leaderboards_CopyLeaderboardDefinitionByIndex(InnerHandle, optionsAddress, ref outLeaderboardDefinitionAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outLeaderboardDefinitionAddress, out outLeaderboardDefinition)) - { - Bindings.EOS_Leaderboards_Definition_Release(outLeaderboardDefinitionAddress); - } - - return funcResult; - } - - /// - /// Fetches a leaderboard definition from the cache using a leaderboard ID. - /// - /// - /// Structure containing the leaderboard ID being accessed. - /// The leaderboard definition for the given leaderboard ID, if it exists and is valid, use when finished. - /// - /// if the information is available and passed out in OutLeaderboardDefinition - /// if you pass a null pointer for the out parameter - /// if the leaderboard data is not found - /// - public Result CopyLeaderboardDefinitionByLeaderboardId(CopyLeaderboardDefinitionByLeaderboardIdOptions options, out Definition outLeaderboardDefinition) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outLeaderboardDefinitionAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId(InnerHandle, optionsAddress, ref outLeaderboardDefinitionAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outLeaderboardDefinitionAddress, out outLeaderboardDefinition)) - { - Bindings.EOS_Leaderboards_Definition_Release(outLeaderboardDefinitionAddress); - } - - return funcResult; - } - - /// - /// Fetches a leaderboard record from a given index. - /// - /// - /// Structure containing the index being accessed. - /// The leaderboard record for the given index, if it exists and is valid, use when finished. - /// - /// if the leaderboard record is available and passed out in OutLeaderboardRecord - /// if you pass a null pointer for the out parameter - /// if the leaderboard is not found - /// - public Result CopyLeaderboardRecordByIndex(CopyLeaderboardRecordByIndexOptions options, out LeaderboardRecord outLeaderboardRecord) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outLeaderboardRecordAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Leaderboards_CopyLeaderboardRecordByIndex(InnerHandle, optionsAddress, ref outLeaderboardRecordAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outLeaderboardRecordAddress, out outLeaderboardRecord)) - { - Bindings.EOS_Leaderboards_LeaderboardRecord_Release(outLeaderboardRecordAddress); - } - - return funcResult; - } - - /// - /// Fetches a leaderboard record from a given user ID. - /// - /// - /// Structure containing the user ID being accessed. - /// The leaderboard record for the given user ID, if it exists and is valid, use when finished. - /// - /// if the leaderboard record is available and passed out in OutLeaderboardRecord - /// if you pass a null pointer for the out parameter - /// if the leaderboard data is not found - /// - public Result CopyLeaderboardRecordByUserId(CopyLeaderboardRecordByUserIdOptions options, out LeaderboardRecord outLeaderboardRecord) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outLeaderboardRecordAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Leaderboards_CopyLeaderboardRecordByUserId(InnerHandle, optionsAddress, ref outLeaderboardRecordAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outLeaderboardRecordAddress, out outLeaderboardRecord)) - { - Bindings.EOS_Leaderboards_LeaderboardRecord_Release(outLeaderboardRecordAddress); - } - - return funcResult; - } - - /// - /// Fetches leaderboard user score from a given index. - /// - /// - /// Structure containing the index being accessed. - /// The leaderboard user score for the given index, if it exists and is valid, use when finished. - /// - /// if the leaderboard scores are available and passed out in OutLeaderboardUserScore - /// if you pass a null pointer for the out parameter - /// if the leaderboard user scores are not found - /// - public Result CopyLeaderboardUserScoreByIndex(CopyLeaderboardUserScoreByIndexOptions options, out LeaderboardUserScore outLeaderboardUserScore) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outLeaderboardUserScoreAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Leaderboards_CopyLeaderboardUserScoreByIndex(InnerHandle, optionsAddress, ref outLeaderboardUserScoreAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outLeaderboardUserScoreAddress, out outLeaderboardUserScore)) - { - Bindings.EOS_Leaderboards_LeaderboardUserScore_Release(outLeaderboardUserScoreAddress); - } - - return funcResult; - } - - /// - /// Fetches leaderboard user score from a given user ID. - /// - /// - /// Structure containing the user ID being accessed. - /// The leaderboard user score for the given user ID, if it exists and is valid, use when finished. - /// - /// if the leaderboard scores are available and passed out in OutLeaderboardUserScore - /// if you pass a null pointer for the out parameter - /// if the leaderboard user scores are not found - /// - public Result CopyLeaderboardUserScoreByUserId(CopyLeaderboardUserScoreByUserIdOptions options, out LeaderboardUserScore outLeaderboardUserScore) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outLeaderboardUserScoreAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Leaderboards_CopyLeaderboardUserScoreByUserId(InnerHandle, optionsAddress, ref outLeaderboardUserScoreAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outLeaderboardUserScoreAddress, out outLeaderboardUserScore)) - { - Bindings.EOS_Leaderboards_LeaderboardUserScore_Release(outLeaderboardUserScoreAddress); - } - - return funcResult; - } - - /// - /// Fetch the number of leaderboards definitions that are cached locally. - /// - /// - /// - /// The Options associated with retrieving the leaderboard count. - /// - /// Number of leaderboards or 0 if there is an error - /// - public uint GetLeaderboardDefinitionCount(GetLeaderboardDefinitionCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Leaderboards_GetLeaderboardDefinitionCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Fetch the number of leaderboard records that are cached locally. - /// - /// - /// - /// The Options associated with retrieving the leaderboard record count. - /// - /// Number of leaderboard records or 0 if there is an error - /// - public uint GetLeaderboardRecordCount(GetLeaderboardRecordCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Leaderboards_GetLeaderboardRecordCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Fetch the number of leaderboard user scores that are cached locally. - /// - /// - /// - /// The Options associated with retrieving the leaderboard user scores count. - /// - /// Number of leaderboard records or 0 if there is an error - /// - public uint GetLeaderboardUserScoreCount(GetLeaderboardUserScoreCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Leaderboards_GetLeaderboardUserScoreCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Query for a list of existing leaderboards definitions including their attributes. - /// - /// Structure containing information about the application whose leaderboard definitions we're retrieving. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// This function is called when the query operation completes. - /// - /// if the operation completes successfully - /// if any of the options are incorrect - /// - public void QueryLeaderboardDefinitions(QueryLeaderboardDefinitionsOptions options, object clientData, OnQueryLeaderboardDefinitionsCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryLeaderboardDefinitionsCompleteCallbackInternal(OnQueryLeaderboardDefinitionsCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Leaderboards_QueryLeaderboardDefinitions(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Retrieves top leaderboard records by rank in the leaderboard matching the given leaderboard ID. - /// - /// Structure containing information about the leaderboard records we're retrieving. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// This function is called when the query operation completes. - /// - /// if the operation completes successfully - /// if any of the options are incorrect - /// - public void QueryLeaderboardRanks(QueryLeaderboardRanksOptions options, object clientData, OnQueryLeaderboardRanksCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryLeaderboardRanksCompleteCallbackInternal(OnQueryLeaderboardRanksCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Leaderboards_QueryLeaderboardRanks(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Query for a list of scores for a given list of users. - /// - /// Structure containing information about the users whose scores we're retrieving. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// This function is called when the query operation completes. - /// - /// if the operation completes successfully - /// if any of the options are incorrect - /// - public void QueryLeaderboardUserScores(QueryLeaderboardUserScoresOptions options, object clientData, OnQueryLeaderboardUserScoresCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryLeaderboardUserScoresCompleteCallbackInternal(OnQueryLeaderboardUserScoresCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Leaderboards_QueryLeaderboardUserScores(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnQueryLeaderboardDefinitionsCompleteCallbackInternal))] - internal static void OnQueryLeaderboardDefinitionsCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnQueryLeaderboardDefinitionsCompleteCallback callback; - OnQueryLeaderboardDefinitionsCompleteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryLeaderboardRanksCompleteCallbackInternal))] - internal static void OnQueryLeaderboardRanksCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnQueryLeaderboardRanksCompleteCallback callback; - OnQueryLeaderboardRanksCompleteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryLeaderboardUserScoresCompleteCallbackInternal))] - internal static void OnQueryLeaderboardUserScoresCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnQueryLeaderboardUserScoresCompleteCallback callback; - OnQueryLeaderboardUserScoresCompleteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + public sealed partial class LeaderboardsInterface : Handle + { + public LeaderboardsInterface() + { + } + + public LeaderboardsInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the struct. + /// + public const int CopyleaderboarddefinitionbyindexApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int CopyleaderboarddefinitionbyleaderboardidApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int CopyleaderboardrecordbyindexApiLatest = 2; + + /// + /// The most recent version of the struct. + /// + public const int CopyleaderboardrecordbyuseridApiLatest = 2; + + /// + /// The most recent version of the struct. + /// + public const int CopyleaderboarduserscorebyindexApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int CopyleaderboarduserscorebyuseridApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int DefinitionApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetleaderboarddefinitioncountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetleaderboardrecordcountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetleaderboarduserscorecountApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int LeaderboardrecordApiLatest = 2; + + /// + /// The most recent version of the struct. + /// + public const int LeaderboarduserscoreApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int QueryleaderboarddefinitionsApiLatest = 2; + + /// + /// The most recent version of the struct. + /// + public const int QueryleaderboardranksApiLatest = 2; + + /// + /// The most recent version of the struct. + /// + public const int QueryleaderboarduserscoresApiLatest = 2; + + /// + /// Timestamp value representing an undefined time for . + /// + public const int TimeUndefined = -1; + + /// + /// The most recent version of the struct. + /// + public const int UserscoresquerystatinfoApiLatest = 1; + + /// + /// Fetches a leaderboard definition from the cache using an index. + /// + /// + /// Structure containing the index being accessed. + /// The leaderboard data for the given index, if it exists and is valid, use when finished. + /// + /// if the information is available and passed out in OutLeaderboardDefinition + /// if you pass a null pointer for the out parameter + /// if the leaderboard is not found + /// + public Result CopyLeaderboardDefinitionByIndex(ref CopyLeaderboardDefinitionByIndexOptions options, out Definition? outLeaderboardDefinition) + { + CopyLeaderboardDefinitionByIndexOptionsInternal optionsInternal = new CopyLeaderboardDefinitionByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outLeaderboardDefinitionAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Leaderboards_CopyLeaderboardDefinitionByIndex(InnerHandle, ref optionsInternal, ref outLeaderboardDefinitionAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outLeaderboardDefinitionAddress, out outLeaderboardDefinition); + if (outLeaderboardDefinition != null) + { + Bindings.EOS_Leaderboards_Definition_Release(outLeaderboardDefinitionAddress); + } + + return funcResult; + } + + /// + /// Fetches a leaderboard definition from the cache using a leaderboard ID. + /// + /// + /// Structure containing the leaderboard ID being accessed. + /// The leaderboard definition for the given leaderboard ID, if it exists and is valid, use when finished. + /// + /// if the information is available and passed out in OutLeaderboardDefinition + /// if you pass a null pointer for the out parameter + /// if the leaderboard data is not found + /// + public Result CopyLeaderboardDefinitionByLeaderboardId(ref CopyLeaderboardDefinitionByLeaderboardIdOptions options, out Definition? outLeaderboardDefinition) + { + CopyLeaderboardDefinitionByLeaderboardIdOptionsInternal optionsInternal = new CopyLeaderboardDefinitionByLeaderboardIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outLeaderboardDefinitionAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Leaderboards_CopyLeaderboardDefinitionByLeaderboardId(InnerHandle, ref optionsInternal, ref outLeaderboardDefinitionAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outLeaderboardDefinitionAddress, out outLeaderboardDefinition); + if (outLeaderboardDefinition != null) + { + Bindings.EOS_Leaderboards_Definition_Release(outLeaderboardDefinitionAddress); + } + + return funcResult; + } + + /// + /// Fetches a leaderboard record from a given index. + /// + /// + /// Structure containing the index being accessed. + /// The leaderboard record for the given index, if it exists and is valid, use when finished. + /// + /// if the leaderboard record is available and passed out in OutLeaderboardRecord + /// if you pass a null pointer for the out parameter + /// if the leaderboard is not found + /// + public Result CopyLeaderboardRecordByIndex(ref CopyLeaderboardRecordByIndexOptions options, out LeaderboardRecord? outLeaderboardRecord) + { + CopyLeaderboardRecordByIndexOptionsInternal optionsInternal = new CopyLeaderboardRecordByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outLeaderboardRecordAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Leaderboards_CopyLeaderboardRecordByIndex(InnerHandle, ref optionsInternal, ref outLeaderboardRecordAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outLeaderboardRecordAddress, out outLeaderboardRecord); + if (outLeaderboardRecord != null) + { + Bindings.EOS_Leaderboards_LeaderboardRecord_Release(outLeaderboardRecordAddress); + } + + return funcResult; + } + + /// + /// Fetches a leaderboard record from a given user ID. + /// + /// + /// Structure containing the user ID being accessed. + /// The leaderboard record for the given user ID, if it exists and is valid, use when finished. + /// + /// if the leaderboard record is available and passed out in OutLeaderboardRecord + /// if you pass a null pointer for the out parameter + /// if the leaderboard data is not found + /// + public Result CopyLeaderboardRecordByUserId(ref CopyLeaderboardRecordByUserIdOptions options, out LeaderboardRecord? outLeaderboardRecord) + { + CopyLeaderboardRecordByUserIdOptionsInternal optionsInternal = new CopyLeaderboardRecordByUserIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outLeaderboardRecordAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Leaderboards_CopyLeaderboardRecordByUserId(InnerHandle, ref optionsInternal, ref outLeaderboardRecordAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outLeaderboardRecordAddress, out outLeaderboardRecord); + if (outLeaderboardRecord != null) + { + Bindings.EOS_Leaderboards_LeaderboardRecord_Release(outLeaderboardRecordAddress); + } + + return funcResult; + } + + /// + /// Fetches leaderboard user score from a given index. + /// + /// + /// Structure containing the index being accessed. + /// The leaderboard user score for the given index, if it exists and is valid, use when finished. + /// + /// if the leaderboard scores are available and passed out in OutLeaderboardUserScore + /// if you pass a null pointer for the out parameter + /// if the leaderboard user scores are not found + /// + public Result CopyLeaderboardUserScoreByIndex(ref CopyLeaderboardUserScoreByIndexOptions options, out LeaderboardUserScore? outLeaderboardUserScore) + { + CopyLeaderboardUserScoreByIndexOptionsInternal optionsInternal = new CopyLeaderboardUserScoreByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outLeaderboardUserScoreAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Leaderboards_CopyLeaderboardUserScoreByIndex(InnerHandle, ref optionsInternal, ref outLeaderboardUserScoreAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outLeaderboardUserScoreAddress, out outLeaderboardUserScore); + if (outLeaderboardUserScore != null) + { + Bindings.EOS_Leaderboards_LeaderboardUserScore_Release(outLeaderboardUserScoreAddress); + } + + return funcResult; + } + + /// + /// Fetches leaderboard user score from a given user ID. + /// + /// + /// Structure containing the user ID being accessed. + /// The leaderboard user score for the given user ID, if it exists and is valid, use when finished. + /// + /// if the leaderboard scores are available and passed out in OutLeaderboardUserScore + /// if you pass a null pointer for the out parameter + /// if the leaderboard user scores are not found + /// + public Result CopyLeaderboardUserScoreByUserId(ref CopyLeaderboardUserScoreByUserIdOptions options, out LeaderboardUserScore? outLeaderboardUserScore) + { + CopyLeaderboardUserScoreByUserIdOptionsInternal optionsInternal = new CopyLeaderboardUserScoreByUserIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outLeaderboardUserScoreAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Leaderboards_CopyLeaderboardUserScoreByUserId(InnerHandle, ref optionsInternal, ref outLeaderboardUserScoreAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outLeaderboardUserScoreAddress, out outLeaderboardUserScore); + if (outLeaderboardUserScore != null) + { + Bindings.EOS_Leaderboards_LeaderboardUserScore_Release(outLeaderboardUserScoreAddress); + } + + return funcResult; + } + + /// + /// Fetch the number of leaderboards definitions that are cached locally. + /// + /// + /// + /// The Options associated with retrieving the leaderboard count. + /// + /// Number of leaderboards or 0 if there is an error + /// + public uint GetLeaderboardDefinitionCount(ref GetLeaderboardDefinitionCountOptions options) + { + GetLeaderboardDefinitionCountOptionsInternal optionsInternal = new GetLeaderboardDefinitionCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Leaderboards_GetLeaderboardDefinitionCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Fetch the number of leaderboard records that are cached locally. + /// + /// + /// + /// The Options associated with retrieving the leaderboard record count. + /// + /// Number of leaderboard records or 0 if there is an error + /// + public uint GetLeaderboardRecordCount(ref GetLeaderboardRecordCountOptions options) + { + GetLeaderboardRecordCountOptionsInternal optionsInternal = new GetLeaderboardRecordCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Leaderboards_GetLeaderboardRecordCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Fetch the number of leaderboard user scores that are cached locally. + /// + /// + /// + /// The Options associated with retrieving the leaderboard user scores count. + /// + /// Number of leaderboard records or 0 if there is an error + /// + public uint GetLeaderboardUserScoreCount(ref GetLeaderboardUserScoreCountOptions options) + { + GetLeaderboardUserScoreCountOptionsInternal optionsInternal = new GetLeaderboardUserScoreCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Leaderboards_GetLeaderboardUserScoreCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Query for a list of existing leaderboards definitions including their attributes. + /// + /// Structure containing information about the application whose leaderboard definitions we're retrieving. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// This function is called when the query operation completes. + /// + /// if the operation completes successfully + /// if any of the options are incorrect + /// + public void QueryLeaderboardDefinitions(ref QueryLeaderboardDefinitionsOptions options, object clientData, OnQueryLeaderboardDefinitionsCompleteCallback completionDelegate) + { + QueryLeaderboardDefinitionsOptionsInternal optionsInternal = new QueryLeaderboardDefinitionsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryLeaderboardDefinitionsCompleteCallbackInternal(OnQueryLeaderboardDefinitionsCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Leaderboards_QueryLeaderboardDefinitions(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Retrieves top leaderboard records by rank in the leaderboard matching the given leaderboard ID. + /// + /// Structure containing information about the leaderboard records we're retrieving. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// This function is called when the query operation completes. + /// + /// if the operation completes successfully + /// if any of the options are incorrect + /// + public void QueryLeaderboardRanks(ref QueryLeaderboardRanksOptions options, object clientData, OnQueryLeaderboardRanksCompleteCallback completionDelegate) + { + QueryLeaderboardRanksOptionsInternal optionsInternal = new QueryLeaderboardRanksOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryLeaderboardRanksCompleteCallbackInternal(OnQueryLeaderboardRanksCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Leaderboards_QueryLeaderboardRanks(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Query for a list of scores for a given list of users. + /// + /// Structure containing information about the users whose scores we're retrieving. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// This function is called when the query operation completes. + /// + /// if the operation completes successfully + /// if any of the options are incorrect + /// + public void QueryLeaderboardUserScores(ref QueryLeaderboardUserScoresOptions options, object clientData, OnQueryLeaderboardUserScoresCompleteCallback completionDelegate) + { + QueryLeaderboardUserScoresOptionsInternal optionsInternal = new QueryLeaderboardUserScoresOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryLeaderboardUserScoresCompleteCallbackInternal(OnQueryLeaderboardUserScoresCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Leaderboards_QueryLeaderboardUserScores(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnQueryLeaderboardDefinitionsCompleteCallbackInternal))] + internal static void OnQueryLeaderboardDefinitionsCompleteCallbackInternalImplementation(ref OnQueryLeaderboardDefinitionsCompleteCallbackInfoInternal data) + { + OnQueryLeaderboardDefinitionsCompleteCallback callback; + OnQueryLeaderboardDefinitionsCompleteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryLeaderboardRanksCompleteCallbackInternal))] + internal static void OnQueryLeaderboardRanksCompleteCallbackInternalImplementation(ref OnQueryLeaderboardRanksCompleteCallbackInfoInternal data) + { + OnQueryLeaderboardRanksCompleteCallback callback; + OnQueryLeaderboardRanksCompleteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryLeaderboardUserScoresCompleteCallbackInternal))] + internal static void OnQueryLeaderboardUserScoresCompleteCallbackInternalImplementation(ref OnQueryLeaderboardUserScoresCompleteCallbackInfoInternal data) + { + OnQueryLeaderboardUserScoresCompleteCallback callback; + OnQueryLeaderboardUserScoresCompleteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardsInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardsInterface.cs.meta deleted file mode 100644 index 026758d1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/LeaderboardsInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9a859968d01f0984ca7dd60f105f7049 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallback.cs index 70db0a5b..7bbb871b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryLeaderboardDefinitionsCompleteCallback(OnQueryLeaderboardDefinitionsCompleteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryLeaderboardDefinitionsCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryLeaderboardDefinitionsCompleteCallback(ref OnQueryLeaderboardDefinitionsCompleteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryLeaderboardDefinitionsCompleteCallbackInternal(ref OnQueryLeaderboardDefinitionsCompleteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallback.cs.meta deleted file mode 100644 index 515a7ec5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4f39050f8f83e664d9ed6219ab798211 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallbackInfo.cs index dc2c55f5..cdd5e6d5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Data containing the result information for a query leaderboard definitions request. - /// - public class OnQueryLeaderboardDefinitionsCompleteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(OnQueryLeaderboardDefinitionsCompleteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as OnQueryLeaderboardDefinitionsCompleteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnQueryLeaderboardDefinitionsCompleteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Data containing the result information for a query leaderboard definitions request. + /// + public struct OnQueryLeaderboardDefinitionsCompleteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref OnQueryLeaderboardDefinitionsCompleteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnQueryLeaderboardDefinitionsCompleteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref OnQueryLeaderboardDefinitionsCompleteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref OnQueryLeaderboardDefinitionsCompleteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out OnQueryLeaderboardDefinitionsCompleteCallbackInfo output) + { + output = new OnQueryLeaderboardDefinitionsCompleteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallbackInfo.cs.meta deleted file mode 100644 index c9ef619e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardDefinitionsCompleteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d9a2bd49787c0ea45a1b90e9aa384ed8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallback.cs index 826392e4..47a395f9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryLeaderboardRanksCompleteCallback(OnQueryLeaderboardRanksCompleteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryLeaderboardRanksCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryLeaderboardRanksCompleteCallback(ref OnQueryLeaderboardRanksCompleteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryLeaderboardRanksCompleteCallbackInternal(ref OnQueryLeaderboardRanksCompleteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallback.cs.meta deleted file mode 100644 index cf6baec1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 638e42d885078174c90912a7a339a6cd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallbackInfo.cs index 477a4d61..4581264f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Data containing the result information for a query leaderboard ranks request. - /// - public class OnQueryLeaderboardRanksCompleteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(OnQueryLeaderboardRanksCompleteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as OnQueryLeaderboardRanksCompleteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnQueryLeaderboardRanksCompleteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Data containing the result information for a query leaderboard ranks request. + /// + public struct OnQueryLeaderboardRanksCompleteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref OnQueryLeaderboardRanksCompleteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnQueryLeaderboardRanksCompleteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref OnQueryLeaderboardRanksCompleteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref OnQueryLeaderboardRanksCompleteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out OnQueryLeaderboardRanksCompleteCallbackInfo output) + { + output = new OnQueryLeaderboardRanksCompleteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallbackInfo.cs.meta deleted file mode 100644 index 05254ef5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardRanksCompleteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 78db9f31918b3cf4f96f0aa2a8605b8a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallback.cs index 09cf79c5..317c6bc6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryLeaderboardUserScoresCompleteCallback(OnQueryLeaderboardUserScoresCompleteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryLeaderboardUserScoresCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryLeaderboardUserScoresCompleteCallback(ref OnQueryLeaderboardUserScoresCompleteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryLeaderboardUserScoresCompleteCallbackInternal(ref OnQueryLeaderboardUserScoresCompleteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallback.cs.meta deleted file mode 100644 index 91018a13..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f6a918bfd989a034c8ea147e6ffed675 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallbackInfo.cs index 53ba4305..acdd7af4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Data containing the result information for a query leaderboard user scores request. - /// - public class OnQueryLeaderboardUserScoresCompleteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(OnQueryLeaderboardUserScoresCompleteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as OnQueryLeaderboardUserScoresCompleteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnQueryLeaderboardUserScoresCompleteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Data containing the result information for a query leaderboard user scores request. + /// + public struct OnQueryLeaderboardUserScoresCompleteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref OnQueryLeaderboardUserScoresCompleteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnQueryLeaderboardUserScoresCompleteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref OnQueryLeaderboardUserScoresCompleteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref OnQueryLeaderboardUserScoresCompleteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out OnQueryLeaderboardUserScoresCompleteCallbackInfo output) + { + output = new OnQueryLeaderboardUserScoresCompleteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallbackInfo.cs.meta deleted file mode 100644 index daf0b51a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/OnQueryLeaderboardUserScoresCompleteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8fd41293763da5646960e70f611fc6c2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardDefinitionsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardDefinitionsOptions.cs index 5ee52e87..c775b6a6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardDefinitionsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardDefinitionsOptions.cs @@ -1,84 +1,87 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Input parameters for the function. - /// StartTime and EndTime are optional parameters, they can be used to limit the list of definitions - /// to overlap the time window specified. - /// - public class QueryLeaderboardDefinitionsOptions - { - /// - /// An optional POSIX timestamp for the leaderboard's start time, or - /// - public System.DateTimeOffset? StartTime { get; set; } - - /// - /// An optional POSIX timestamp for the leaderboard's end time, or - /// - public System.DateTimeOffset? EndTime { get; set; } - - /// - /// Product User ID for user who is querying definitions. - /// Must be set when using a client policy that requires a valid logged in user. - /// Not used for Dedicated Server where no user is available. - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryLeaderboardDefinitionsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private long m_StartTime; - private long m_EndTime; - private System.IntPtr m_LocalUserId; - - public System.DateTimeOffset? StartTime - { - set - { - Helper.TryMarshalSet(ref m_StartTime, value); - } - } - - public System.DateTimeOffset? EndTime - { - set - { - Helper.TryMarshalSet(ref m_EndTime, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(QueryLeaderboardDefinitionsOptions other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.QueryleaderboarddefinitionsApiLatest; - StartTime = other.StartTime; - EndTime = other.EndTime; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryLeaderboardDefinitionsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Input parameters for the function. + /// StartTime and EndTime are optional parameters, they can be used to limit the list of definitions + /// to overlap the time window specified. + /// + public struct QueryLeaderboardDefinitionsOptions + { + /// + /// An optional POSIX timestamp for the leaderboard's start time, or + /// + public System.DateTimeOffset? StartTime { get; set; } + + /// + /// An optional POSIX timestamp for the leaderboard's end time, or + /// + public System.DateTimeOffset? EndTime { get; set; } + + /// + /// Product User ID for user who is querying definitions. + /// Must be set when using a client policy that requires a valid logged in user. + /// Not used for Dedicated Server where no user is available. + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryLeaderboardDefinitionsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private long m_StartTime; + private long m_EndTime; + private System.IntPtr m_LocalUserId; + + public System.DateTimeOffset? StartTime + { + set + { + Helper.Set(value, ref m_StartTime); + } + } + + public System.DateTimeOffset? EndTime + { + set + { + Helper.Set(value, ref m_EndTime); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryLeaderboardDefinitionsOptions other) + { + m_ApiVersion = LeaderboardsInterface.QueryleaderboarddefinitionsApiLatest; + StartTime = other.StartTime; + EndTime = other.EndTime; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryLeaderboardDefinitionsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.QueryleaderboarddefinitionsApiLatest; + StartTime = other.Value.StartTime; + EndTime = other.Value.EndTime; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardDefinitionsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardDefinitionsOptions.cs.meta deleted file mode 100644 index c7aac604..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardDefinitionsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 19af4d60f20707c47b12c6d3cad09ad7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardRanksOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardRanksOptions.cs index 2f72ff52..f4406bf8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardRanksOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardRanksOptions.cs @@ -1,69 +1,71 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Input parameters for the function. - /// - /// - public class QueryLeaderboardRanksOptions - { - /// - /// The ID of the leaderboard whose information you want to retrieve. - /// - public string LeaderboardId { get; set; } - - /// - /// Product User ID for user who is querying ranks. - /// Must be set when using a client policy that requires a valid logged in user. - /// Not used for Dedicated Server where no user is available. - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryLeaderboardRanksOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LeaderboardId; - private System.IntPtr m_LocalUserId; - - public string LeaderboardId - { - set - { - Helper.TryMarshalSet(ref m_LeaderboardId, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(QueryLeaderboardRanksOptions other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.QueryleaderboardranksApiLatest; - LeaderboardId = other.LeaderboardId; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryLeaderboardRanksOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LeaderboardId); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Input parameters for the function. + /// + /// + public struct QueryLeaderboardRanksOptions + { + /// + /// The ID of the leaderboard whose information you want to retrieve. + /// + public Utf8String LeaderboardId { get; set; } + + /// + /// Product User ID for user who is querying ranks. + /// Must be set when using a client policy that requires a valid logged in user. + /// Not used for Dedicated Server where no user is available. + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryLeaderboardRanksOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LeaderboardId; + private System.IntPtr m_LocalUserId; + + public Utf8String LeaderboardId + { + set + { + Helper.Set(value, ref m_LeaderboardId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryLeaderboardRanksOptions other) + { + m_ApiVersion = LeaderboardsInterface.QueryleaderboardranksApiLatest; + LeaderboardId = other.LeaderboardId; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryLeaderboardRanksOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.QueryleaderboardranksApiLatest; + LeaderboardId = other.Value.LeaderboardId; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LeaderboardId); + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardRanksOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardRanksOptions.cs.meta deleted file mode 100644 index cea043d5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardRanksOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 11f5aba4c6e5293498b03379e0e548d8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardUserScoresOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardUserScoresOptions.cs index 7de6de3b..0da55b28 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardUserScoresOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardUserScoresOptions.cs @@ -1,116 +1,121 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Input parameters for the function. - /// - public class QueryLeaderboardUserScoresOptions - { - /// - /// An array of Product User IDs indicating the users whose scores you want to retrieve - /// - public ProductUserId[] UserIds { get; set; } - - /// - /// The stats to be collected, along with the sorting method to use when determining rank order for each stat - /// - public UserScoresQueryStatInfo[] StatInfo { get; set; } - - /// - /// An optional POSIX timestamp, or ; results will only include scores made after this time - /// - public System.DateTimeOffset? StartTime { get; set; } - - /// - /// An optional POSIX timestamp, or ; results will only include scores made before this time - /// - public System.DateTimeOffset? EndTime { get; set; } - - /// - /// Product User ID for user who is querying user scores. - /// Must be set when using a client policy that requires a valid logged in user. - /// Not used for Dedicated Server where no user is available. - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryLeaderboardUserScoresOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserIds; - private uint m_UserIdsCount; - private System.IntPtr m_StatInfo; - private uint m_StatInfoCount; - private long m_StartTime; - private long m_EndTime; - private System.IntPtr m_LocalUserId; - - public ProductUserId[] UserIds - { - set - { - Helper.TryMarshalSet(ref m_UserIds, value, out m_UserIdsCount); - } - } - - public UserScoresQueryStatInfo[] StatInfo - { - set - { - Helper.TryMarshalSet(ref m_StatInfo, value, out m_StatInfoCount); - } - } - - public System.DateTimeOffset? StartTime - { - set - { - Helper.TryMarshalSet(ref m_StartTime, value); - } - } - - public System.DateTimeOffset? EndTime - { - set - { - Helper.TryMarshalSet(ref m_EndTime, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(QueryLeaderboardUserScoresOptions other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.QueryleaderboarduserscoresApiLatest; - UserIds = other.UserIds; - StatInfo = other.StatInfo; - StartTime = other.StartTime; - EndTime = other.EndTime; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryLeaderboardUserScoresOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserIds); - Helper.TryMarshalDispose(ref m_StatInfo); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Input parameters for the function. + /// + public struct QueryLeaderboardUserScoresOptions + { + /// + /// An array of Product User IDs indicating the users whose scores you want to retrieve + /// + public ProductUserId[] UserIds { get; set; } + + /// + /// The stats to be collected, along with the sorting method to use when determining rank order for each stat + /// + public UserScoresQueryStatInfo[] StatInfo { get; set; } + + /// + /// An optional POSIX timestamp, or ; results will only include scores made after this time + /// + public System.DateTimeOffset? StartTime { get; set; } + + /// + /// An optional POSIX timestamp, or ; results will only include scores made before this time + /// + public System.DateTimeOffset? EndTime { get; set; } + + /// + /// Product User ID for user who is querying user scores. + /// Must be set when using a client policy that requires a valid logged in user. + /// Not used for Dedicated Server where no user is available. + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryLeaderboardUserScoresOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserIds; + private uint m_UserIdsCount; + private System.IntPtr m_StatInfo; + private uint m_StatInfoCount; + private long m_StartTime; + private long m_EndTime; + private System.IntPtr m_LocalUserId; + + public ProductUserId[] UserIds + { + set + { + Helper.Set(value, ref m_UserIds, out m_UserIdsCount); + } + } + + public UserScoresQueryStatInfo[] StatInfo + { + set + { + Helper.Set(ref value, ref m_StatInfo, out m_StatInfoCount); + } + } + + public System.DateTimeOffset? StartTime + { + set + { + Helper.Set(value, ref m_StartTime); + } + } + + public System.DateTimeOffset? EndTime + { + set + { + Helper.Set(value, ref m_EndTime); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryLeaderboardUserScoresOptions other) + { + m_ApiVersion = LeaderboardsInterface.QueryleaderboarduserscoresApiLatest; + UserIds = other.UserIds; + StatInfo = other.StatInfo; + StartTime = other.StartTime; + EndTime = other.EndTime; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryLeaderboardUserScoresOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.QueryleaderboarduserscoresApiLatest; + UserIds = other.Value.UserIds; + StatInfo = other.Value.StatInfo; + StartTime = other.Value.StartTime; + EndTime = other.Value.EndTime; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserIds); + Helper.Dispose(ref m_StatInfo); + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardUserScoresOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardUserScoresOptions.cs.meta deleted file mode 100644 index 5454b473..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/QueryLeaderboardUserScoresOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e74c386ae3573a140ac0331fc8fc4fd6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/UserScoresQueryStatInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/UserScoresQueryStatInfo.cs index 0d46d543..03d301e3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/UserScoresQueryStatInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/UserScoresQueryStatInfo.cs @@ -1,91 +1,91 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Leaderboards -{ - /// - /// Contains information about a single stat to query with user scores. - /// - public class UserScoresQueryStatInfo : ISettable - { - /// - /// The name of the stat to query. - /// - public string StatName { get; set; } - - /// - /// Aggregation used to sort the cached user scores. - /// - public LeaderboardAggregation Aggregation { get; set; } - - internal void Set(UserScoresQueryStatInfoInternal? other) - { - if (other != null) - { - StatName = other.Value.StatName; - Aggregation = other.Value.Aggregation; - } - } - - public void Set(object other) - { - Set(other as UserScoresQueryStatInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UserScoresQueryStatInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_StatName; - private LeaderboardAggregation m_Aggregation; - - public string StatName - { - get - { - string value; - Helper.TryMarshalGet(m_StatName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_StatName, value); - } - } - - public LeaderboardAggregation Aggregation - { - get - { - return m_Aggregation; - } - - set - { - m_Aggregation = value; - } - } - - public void Set(UserScoresQueryStatInfo other) - { - if (other != null) - { - m_ApiVersion = LeaderboardsInterface.UserscoresquerystatinfoApiLatest; - StatName = other.StatName; - Aggregation = other.Aggregation; - } - } - - public void Set(object other) - { - Set(other as UserScoresQueryStatInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_StatName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Leaderboards +{ + /// + /// Contains information about a single stat to query with user scores. + /// + public struct UserScoresQueryStatInfo + { + /// + /// The name of the stat to query. + /// + public Utf8String StatName { get; set; } + + /// + /// Aggregation used to sort the cached user scores. + /// + public LeaderboardAggregation Aggregation { get; set; } + + internal void Set(ref UserScoresQueryStatInfoInternal other) + { + StatName = other.StatName; + Aggregation = other.Aggregation; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UserScoresQueryStatInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_StatName; + private LeaderboardAggregation m_Aggregation; + + public Utf8String StatName + { + get + { + Utf8String value; + Helper.Get(m_StatName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_StatName); + } + } + + public LeaderboardAggregation Aggregation + { + get + { + return m_Aggregation; + } + + set + { + m_Aggregation = value; + } + } + + public void Set(ref UserScoresQueryStatInfo other) + { + m_ApiVersion = LeaderboardsInterface.UserscoresquerystatinfoApiLatest; + StatName = other.StatName; + Aggregation = other.Aggregation; + } + + public void Set(ref UserScoresQueryStatInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = LeaderboardsInterface.UserscoresquerystatinfoApiLatest; + StatName = other.Value.StatName; + Aggregation = other.Value.Aggregation; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_StatName); + } + + public void Get(out UserScoresQueryStatInfo output) + { + output = new UserScoresQueryStatInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/UserScoresQueryStatInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/UserScoresQueryStatInfo.cs.meta deleted file mode 100644 index 4bbef203..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/UserScoresQueryStatInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3db3f110bf230624ebeeb0ba47e2c66a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby.meta deleted file mode 100644 index 0c456883..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ebed7fec7c5a39a44a458d8765fa96d6 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyJoinLobbyAcceptedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyJoinLobbyAcceptedOptions.cs index 2760e7a6..923d5dc2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyJoinLobbyAcceptedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyJoinLobbyAcceptedOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - public class AddNotifyJoinLobbyAcceptedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyJoinLobbyAcceptedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyJoinLobbyAcceptedOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.AddnotifyjoinlobbyacceptedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyJoinLobbyAcceptedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public struct AddNotifyJoinLobbyAcceptedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyJoinLobbyAcceptedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyJoinLobbyAcceptedOptions other) + { + m_ApiVersion = LobbyInterface.AddnotifyjoinlobbyacceptedApiLatest; + } + + public void Set(ref AddNotifyJoinLobbyAcceptedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.AddnotifyjoinlobbyacceptedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyJoinLobbyAcceptedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyJoinLobbyAcceptedOptions.cs.meta deleted file mode 100644 index 4a3c70e8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyJoinLobbyAcceptedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5e06c3f83f4b06b43ae3b3aab12aa533 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteAcceptedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteAcceptedOptions.cs index 256b6bd8..01906038 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteAcceptedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteAcceptedOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - public class AddNotifyLobbyInviteAcceptedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyLobbyInviteAcceptedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyLobbyInviteAcceptedOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.AddnotifylobbyinviteacceptedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyLobbyInviteAcceptedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public struct AddNotifyLobbyInviteAcceptedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyLobbyInviteAcceptedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyLobbyInviteAcceptedOptions other) + { + m_ApiVersion = LobbyInterface.AddnotifylobbyinviteacceptedApiLatest; + } + + public void Set(ref AddNotifyLobbyInviteAcceptedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.AddnotifylobbyinviteacceptedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteAcceptedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteAcceptedOptions.cs.meta deleted file mode 100644 index 6da5ac50..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteAcceptedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7fd3e6f425769764fa92a3b9f0ad7360 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteReceivedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteReceivedOptions.cs index 1cb35f72..8a054099 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteReceivedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteReceivedOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - public class AddNotifyLobbyInviteReceivedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyLobbyInviteReceivedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyLobbyInviteReceivedOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.AddnotifylobbyinvitereceivedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyLobbyInviteReceivedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public struct AddNotifyLobbyInviteReceivedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyLobbyInviteReceivedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyLobbyInviteReceivedOptions other) + { + m_ApiVersion = LobbyInterface.AddnotifylobbyinvitereceivedApiLatest; + } + + public void Set(ref AddNotifyLobbyInviteReceivedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.AddnotifylobbyinvitereceivedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteReceivedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteReceivedOptions.cs.meta deleted file mode 100644 index 6fbf59c6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteReceivedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3b4191b6b5ca2ec4aa320ce3d0fc832f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteRejectedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteRejectedOptions.cs new file mode 100644 index 00000000..e352ae30 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyInviteRejectedOptions.cs @@ -0,0 +1,32 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public struct AddNotifyLobbyInviteRejectedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyLobbyInviteRejectedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyLobbyInviteRejectedOptions other) + { + m_ApiVersion = LobbyInterface.AddnotifylobbyinviterejectedApiLatest; + } + + public void Set(ref AddNotifyLobbyInviteRejectedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.AddnotifylobbyinviterejectedApiLatest; + } + } + + public void Dispose() + { + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberStatusReceivedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberStatusReceivedOptions.cs index e45f55d3..b707be07 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberStatusReceivedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberStatusReceivedOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class AddNotifyLobbyMemberStatusReceivedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyLobbyMemberStatusReceivedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyLobbyMemberStatusReceivedOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.AddnotifylobbymemberstatusreceivedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyLobbyMemberStatusReceivedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct AddNotifyLobbyMemberStatusReceivedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyLobbyMemberStatusReceivedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyLobbyMemberStatusReceivedOptions other) + { + m_ApiVersion = LobbyInterface.AddnotifylobbymemberstatusreceivedApiLatest; + } + + public void Set(ref AddNotifyLobbyMemberStatusReceivedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.AddnotifylobbymemberstatusreceivedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberStatusReceivedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberStatusReceivedOptions.cs.meta deleted file mode 100644 index f4dd1a4b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberStatusReceivedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 13edac33f6a464743a0aaeb715d3185e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberUpdateReceivedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberUpdateReceivedOptions.cs index feab64a5..2de790a2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberUpdateReceivedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberUpdateReceivedOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - public class AddNotifyLobbyMemberUpdateReceivedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyLobbyMemberUpdateReceivedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyLobbyMemberUpdateReceivedOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.AddnotifylobbymemberupdatereceivedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyLobbyMemberUpdateReceivedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public struct AddNotifyLobbyMemberUpdateReceivedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyLobbyMemberUpdateReceivedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyLobbyMemberUpdateReceivedOptions other) + { + m_ApiVersion = LobbyInterface.AddnotifylobbymemberupdatereceivedApiLatest; + } + + public void Set(ref AddNotifyLobbyMemberUpdateReceivedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.AddnotifylobbymemberupdatereceivedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberUpdateReceivedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberUpdateReceivedOptions.cs.meta deleted file mode 100644 index f2d23fe4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyMemberUpdateReceivedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d84acc132a53240489cfb967095a5587 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyUpdateReceivedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyUpdateReceivedOptions.cs index a6bde50b..262bfd97 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyUpdateReceivedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyUpdateReceivedOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - public class AddNotifyLobbyUpdateReceivedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyLobbyUpdateReceivedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyLobbyUpdateReceivedOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.AddnotifylobbyupdatereceivedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyLobbyUpdateReceivedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public struct AddNotifyLobbyUpdateReceivedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyLobbyUpdateReceivedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyLobbyUpdateReceivedOptions other) + { + m_ApiVersion = LobbyInterface.AddnotifylobbyupdatereceivedApiLatest; + } + + public void Set(ref AddNotifyLobbyUpdateReceivedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.AddnotifylobbyupdatereceivedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyUpdateReceivedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyUpdateReceivedOptions.cs.meta deleted file mode 100644 index 7b0a3247..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyLobbyUpdateReceivedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 96bf26d500675914e94d5015623eca48 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyRTCRoomConnectionChangedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyRTCRoomConnectionChangedOptions.cs index 58c0396f..5fbb7b29 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyRTCRoomConnectionChangedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyRTCRoomConnectionChangedOptions.cs @@ -1,66 +1,70 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class AddNotifyRTCRoomConnectionChangedOptions - { - /// - /// The ID of the lobby to receive RTC Room connection change notifications for - /// - public string LobbyId { get; set; } - - /// - /// The Product User ID of the local user in the lobby - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyRTCRoomConnectionChangedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LobbyId; - private System.IntPtr m_LocalUserId; - - public string LobbyId - { - set - { - Helper.TryMarshalSet(ref m_LobbyId, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(AddNotifyRTCRoomConnectionChangedOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.AddnotifyrtcroomconnectionchangedApiLatest; - LobbyId = other.LobbyId; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as AddNotifyRTCRoomConnectionChangedOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LobbyId); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct AddNotifyRTCRoomConnectionChangedOptions + { + /// + /// The ID of the lobby to receive RTC Room connection change notifications for + /// This is deprecated and no longer needed. The notification is raised for any LobbyId or LocalUserId. If any filtering is required, the callback struct () has both a LobbyId and LocalUserId field. + /// + public Utf8String LobbyId_DEPRECATED { get; set; } + + /// + /// The Product User ID of the local user in the lobby + /// This is deprecated and no longer needed. The notification is raised for any LobbyId or LocalUserId. If any filtering is required, the callback struct () has both a LobbyId and LocalUserId field. + /// + public ProductUserId LocalUserId_DEPRECATED { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyRTCRoomConnectionChangedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LobbyId_DEPRECATED; + private System.IntPtr m_LocalUserId_DEPRECATED; + + public Utf8String LobbyId_DEPRECATED + { + set + { + Helper.Set(value, ref m_LobbyId_DEPRECATED); + } + } + + public ProductUserId LocalUserId_DEPRECATED + { + set + { + Helper.Set(value, ref m_LocalUserId_DEPRECATED); + } + } + + public void Set(ref AddNotifyRTCRoomConnectionChangedOptions other) + { + m_ApiVersion = LobbyInterface.AddnotifyrtcroomconnectionchangedApiLatest; + LobbyId_DEPRECATED = other.LobbyId_DEPRECATED; + LocalUserId_DEPRECATED = other.LocalUserId_DEPRECATED; + } + + public void Set(ref AddNotifyRTCRoomConnectionChangedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.AddnotifyrtcroomconnectionchangedApiLatest; + LobbyId_DEPRECATED = other.Value.LobbyId_DEPRECATED; + LocalUserId_DEPRECATED = other.Value.LocalUserId_DEPRECATED; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LobbyId_DEPRECATED); + Helper.Dispose(ref m_LocalUserId_DEPRECATED); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyRTCRoomConnectionChangedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyRTCRoomConnectionChangedOptions.cs.meta deleted file mode 100644 index 350aed1e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifyRTCRoomConnectionChangedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e35b44ebe6f918b419a6dbd5d3a7a424 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifySendLobbyNativeInviteRequestedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifySendLobbyNativeInviteRequestedOptions.cs new file mode 100644 index 00000000..290e0694 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AddNotifySendLobbyNativeInviteRequestedOptions.cs @@ -0,0 +1,32 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public struct AddNotifySendLobbyNativeInviteRequestedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifySendLobbyNativeInviteRequestedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifySendLobbyNativeInviteRequestedOptions other) + { + m_ApiVersion = LobbyInterface.AddnotifysendlobbynativeinviterequestedApiLatest; + } + + public void Set(ref AddNotifySendLobbyNativeInviteRequestedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.AddnotifysendlobbynativeinviterequestedApiLatest; + } + } + + public void Dispose() + { + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/Attribute.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/Attribute.cs index fe4eab18..36c644eb 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/Attribute.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/Attribute.cs @@ -1,92 +1,92 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// An attribute and its visibility setting stored with a lobby. - /// Used to store both lobby and lobby member data - /// - public class Attribute : ISettable - { - /// - /// Key/Value pair describing the attribute - /// - public AttributeData Data { get; set; } - - /// - /// Is this attribute public or private to the lobby and its members - /// - public LobbyAttributeVisibility Visibility { get; set; } - - internal void Set(AttributeInternal? other) - { - if (other != null) - { - Data = other.Value.Data; - Visibility = other.Value.Visibility; - } - } - - public void Set(object other) - { - Set(other as AttributeInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AttributeInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Data; - private LobbyAttributeVisibility m_Visibility; - - public AttributeData Data - { - get - { - AttributeData value; - Helper.TryMarshalGet(m_Data, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Data, value); - } - } - - public LobbyAttributeVisibility Visibility - { - get - { - return m_Visibility; - } - - set - { - m_Visibility = value; - } - } - - public void Set(Attribute other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.AttributeApiLatest; - Data = other.Data; - Visibility = other.Visibility; - } - } - - public void Set(object other) - { - Set(other as Attribute); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Data); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// An attribute and its visibility setting stored with a lobby. + /// Used to store both lobby and lobby member data + /// + public struct Attribute + { + /// + /// Key/Value pair describing the attribute + /// + public AttributeData? Data { get; set; } + + /// + /// Is this attribute public or private to the lobby and its members + /// + public LobbyAttributeVisibility Visibility { get; set; } + + internal void Set(ref AttributeInternal other) + { + Data = other.Data; + Visibility = other.Visibility; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AttributeInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Data; + private LobbyAttributeVisibility m_Visibility; + + public AttributeData? Data + { + get + { + AttributeData? value; + Helper.Get(m_Data, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_Data); + } + } + + public LobbyAttributeVisibility Visibility + { + get + { + return m_Visibility; + } + + set + { + m_Visibility = value; + } + } + + public void Set(ref Attribute other) + { + m_ApiVersion = LobbyInterface.AttributeApiLatest; + Data = other.Data; + Visibility = other.Visibility; + } + + public void Set(ref Attribute? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.AttributeApiLatest; + Data = other.Value.Data; + Visibility = other.Value.Visibility; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Data); + } + + public void Get(out Attribute output) + { + output = new Attribute(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/Attribute.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/Attribute.cs.meta deleted file mode 100644 index 7bf73c33..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/Attribute.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6a682d95ea71d51409dc14367c91d8ec -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeData.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeData.cs index f7f067cb..9854863e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeData.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeData.cs @@ -1,91 +1,91 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Contains information about lobby and lobby member data - /// - public class AttributeData : ISettable - { - /// - /// Name of the lobby attribute - /// - public string Key { get; set; } - - public AttributeDataValue Value { get; set; } - - internal void Set(AttributeDataInternal? other) - { - if (other != null) - { - Key = other.Value.Key; - Value = other.Value.Value; - } - } - - public void Set(object other) - { - Set(other as AttributeDataInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AttributeDataInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Key; - private AttributeDataValueInternal m_Value; - - public string Key - { - get - { - string value; - Helper.TryMarshalGet(m_Key, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Key, value); - } - } - - public AttributeDataValue Value - { - get - { - AttributeDataValue value; - Helper.TryMarshalGet(m_Value, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Value, value); - } - } - - public void Set(AttributeData other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.AttributedataApiLatest; - Key = other.Key; - Value = other.Value; - } - } - - public void Set(object other) - { - Set(other as AttributeData); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Key); - Helper.TryMarshalDispose(ref m_Value); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Contains information about lobby and lobby member data + /// + public struct AttributeData + { + /// + /// Name of the lobby attribute + /// + public Utf8String Key { get; set; } + + public AttributeDataValue Value { get; set; } + + internal void Set(ref AttributeDataInternal other) + { + Key = other.Key; + Value = other.Value; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AttributeDataInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Key; + private AttributeDataValueInternal m_Value; + + public Utf8String Key + { + get + { + Utf8String value; + Helper.Get(m_Key, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Key); + } + } + + public AttributeDataValue Value + { + get + { + AttributeDataValue value; + Helper.Get(ref m_Value, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_Value); + } + } + + public void Set(ref AttributeData other) + { + m_ApiVersion = LobbyInterface.AttributedataApiLatest; + Key = other.Key; + Value = other.Value; + } + + public void Set(ref AttributeData? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.AttributedataApiLatest; + Key = other.Value.Key; + Value = other.Value.Value; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Key); + Helper.Dispose(ref m_Value); + } + + public void Get(out AttributeData output) + { + output = new AttributeData(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeData.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeData.cs.meta deleted file mode 100644 index 5e943d3f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f5b866b948948d14685b3d32bc88a5f5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeDataValue.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeDataValue.cs index 28b91846..0be77397 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeDataValue.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeDataValue.cs @@ -1,234 +1,240 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - public class AttributeDataValue : ISettable - { - private long? m_AsInt64; - private double? m_AsDouble; - private bool? m_AsBool; - private string m_AsUtf8; - private AttributeType m_ValueType; - - /// - /// Stored as an 8 byte integer - /// - public long? AsInt64 - { - get - { - long? value; - Helper.TryMarshalGet(m_AsInt64, out value, m_ValueType, AttributeType.Int64); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsInt64, value, ref m_ValueType, AttributeType.Int64); - } - } - - /// - /// Stored as a double precision floating point - /// - public double? AsDouble - { - get - { - double? value; - Helper.TryMarshalGet(m_AsDouble, out value, m_ValueType, AttributeType.Double); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsDouble, value, ref m_ValueType, AttributeType.Double); - } - } - - /// - /// Stored as a boolean - /// - public bool? AsBool - { - get - { - bool? value; - Helper.TryMarshalGet(m_AsBool, out value, m_ValueType, AttributeType.Boolean); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsBool, value, ref m_ValueType, AttributeType.Boolean); - } - } - - /// - /// Stored as a null terminated UTF8 string - /// - public string AsUtf8 - { - get - { - string value; - Helper.TryMarshalGet(m_AsUtf8, out value, m_ValueType, AttributeType.String); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsUtf8, value, ref m_ValueType, AttributeType.String); - } - } - - /// - /// Type of value stored in the union - /// - public AttributeType ValueType - { - get - { - return m_ValueType; - } - - private set - { - m_ValueType = value; - } - } - - public static implicit operator AttributeDataValue(long value) - { - return new AttributeDataValue() { AsInt64 = value }; - } - - public static implicit operator AttributeDataValue(double value) - { - return new AttributeDataValue() { AsDouble = value }; - } - - public static implicit operator AttributeDataValue(bool value) - { - return new AttributeDataValue() { AsBool = value }; - } - - public static implicit operator AttributeDataValue(string value) - { - return new AttributeDataValue() { AsUtf8 = value }; - } - - internal void Set(AttributeDataValueInternal? other) - { - if (other != null) - { - AsInt64 = other.Value.AsInt64; - AsDouble = other.Value.AsDouble; - AsBool = other.Value.AsBool; - AsUtf8 = other.Value.AsUtf8; - } - } - - public void Set(object other) - { - Set(other as AttributeDataValueInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Explicit, Pack = 8)] - internal struct AttributeDataValueInternal : ISettable, System.IDisposable - { - [System.Runtime.InteropServices.FieldOffset(0)] - private long m_AsInt64; - [System.Runtime.InteropServices.FieldOffset(0)] - private double m_AsDouble; - [System.Runtime.InteropServices.FieldOffset(0)] - private int m_AsBool; - [System.Runtime.InteropServices.FieldOffset(0)] - private System.IntPtr m_AsUtf8; - [System.Runtime.InteropServices.FieldOffset(8)] - private AttributeType m_ValueType; - - public long? AsInt64 - { - get - { - long? value; - Helper.TryMarshalGet(m_AsInt64, out value, m_ValueType, AttributeType.Int64); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsInt64, value, ref m_ValueType, AttributeType.Int64, this); - } - } - - public double? AsDouble - { - get - { - double? value; - Helper.TryMarshalGet(m_AsDouble, out value, m_ValueType, AttributeType.Double); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsDouble, value, ref m_ValueType, AttributeType.Double, this); - } - } - - public bool? AsBool - { - get - { - bool? value; - Helper.TryMarshalGet(m_AsBool, out value, m_ValueType, AttributeType.Boolean); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsBool, value, ref m_ValueType, AttributeType.Boolean, this); - } - } - - public string AsUtf8 - { - get - { - string value; - Helper.TryMarshalGet(m_AsUtf8, out value, m_ValueType, AttributeType.String); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsUtf8, value, ref m_ValueType, AttributeType.String, this); - } - } - - public void Set(AttributeDataValue other) - { - if (other != null) - { - AsInt64 = other.AsInt64; - AsDouble = other.AsDouble; - AsBool = other.AsBool; - AsUtf8 = other.AsUtf8; - } - } - - public void Set(object other) - { - Set(other as AttributeDataValue); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AsUtf8, m_ValueType, AttributeType.String); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public struct AttributeDataValue + { + private long? m_AsInt64; + private double? m_AsDouble; + private bool? m_AsBool; + private Utf8String m_AsUtf8; + private AttributeType m_ValueType; + + /// + /// Stored as an 8 byte integer + /// + public long? AsInt64 + { + get + { + long? value; + Helper.Get(m_AsInt64, out value, m_ValueType, AttributeType.Int64); + return value; + } + + set + { + Helper.Set(value, ref m_AsInt64, AttributeType.Int64, ref m_ValueType); + } + } + + /// + /// Stored as a precision floating point + /// + public double? AsDouble + { + get + { + double? value; + Helper.Get(m_AsDouble, out value, m_ValueType, AttributeType.Double); + return value; + } + + set + { + Helper.Set(value, ref m_AsDouble, AttributeType.Double, ref m_ValueType); + } + } + + /// + /// Stored as a boolean + /// + public bool? AsBool + { + get + { + bool? value; + Helper.Get(m_AsBool, out value, m_ValueType, AttributeType.Boolean); + return value; + } + + set + { + Helper.Set(value, ref m_AsBool, AttributeType.Boolean, ref m_ValueType); + } + } + + /// + /// Stored as a null terminated UTF8 string + /// + public Utf8String AsUtf8 + { + get + { + Utf8String value; + Helper.Get(m_AsUtf8, out value, m_ValueType, AttributeType.String); + return value; + } + + set + { + Helper.Set(value, ref m_AsUtf8, AttributeType.String, ref m_ValueType); + } + } + + /// + /// Type of value stored in the union + /// + public AttributeType ValueType + { + get + { + return m_ValueType; + } + + private set + { + m_ValueType = value; + } + } + + public static implicit operator AttributeDataValue(long value) + { + return new AttributeDataValue() { AsInt64 = value }; + } + + public static implicit operator AttributeDataValue(double value) + { + return new AttributeDataValue() { AsDouble = value }; + } + + public static implicit operator AttributeDataValue(bool value) + { + return new AttributeDataValue() { AsBool = value }; + } + + public static implicit operator AttributeDataValue(Utf8String value) + { + return new AttributeDataValue() { AsUtf8 = value }; + } + + public static implicit operator AttributeDataValue(string value) + { + return new AttributeDataValue() { AsUtf8 = value }; + } + + internal void Set(ref AttributeDataValueInternal other) + { + AsInt64 = other.AsInt64; + AsDouble = other.AsDouble; + AsBool = other.AsBool; + AsUtf8 = other.AsUtf8; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Explicit, Pack = 8)] + internal struct AttributeDataValueInternal : IGettable, ISettable, System.IDisposable + { + [System.Runtime.InteropServices.FieldOffset(0)] + private long m_AsInt64; + [System.Runtime.InteropServices.FieldOffset(0)] + private double m_AsDouble; + [System.Runtime.InteropServices.FieldOffset(0)] + private int m_AsBool; + [System.Runtime.InteropServices.FieldOffset(0)] + private System.IntPtr m_AsUtf8; + [System.Runtime.InteropServices.FieldOffset(8)] + private AttributeType m_ValueType; + + public long? AsInt64 + { + get + { + long? value; + Helper.Get(m_AsInt64, out value, m_ValueType, AttributeType.Int64); + return value; + } + + set + { + Helper.Set(value, ref m_AsInt64, AttributeType.Int64, ref m_ValueType, this); + } + } + + public double? AsDouble + { + get + { + double? value; + Helper.Get(m_AsDouble, out value, m_ValueType, AttributeType.Double); + return value; + } + + set + { + Helper.Set(value, ref m_AsDouble, AttributeType.Double, ref m_ValueType, this); + } + } + + public bool? AsBool + { + get + { + bool? value; + Helper.Get(m_AsBool, out value, m_ValueType, AttributeType.Boolean); + return value; + } + + set + { + Helper.Set(value, ref m_AsBool, AttributeType.Boolean, ref m_ValueType, this); + } + } + + public Utf8String AsUtf8 + { + get + { + Utf8String value; + Helper.Get(m_AsUtf8, out value, m_ValueType, AttributeType.String); + return value; + } + + set + { + Helper.Set(value, ref m_AsUtf8, AttributeType.String, ref m_ValueType, this); + } + } + + public void Set(ref AttributeDataValue other) + { + AsInt64 = other.AsInt64; + AsDouble = other.AsDouble; + AsBool = other.AsBool; + AsUtf8 = other.AsUtf8; + } + + public void Set(ref AttributeDataValue? other) + { + if (other.HasValue) + { + AsInt64 = other.Value.AsInt64; + AsDouble = other.Value.AsDouble; + AsBool = other.Value.AsBool; + AsUtf8 = other.Value.AsUtf8; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AsUtf8, m_ValueType, AttributeType.String); + } + + public void Get(out AttributeDataValue output) + { + output = new AttributeDataValue(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeDataValue.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeDataValue.cs.meta deleted file mode 100644 index bd36ed71..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/AttributeDataValue.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 909a7d5bfeb14c34782caa2f1c1f529f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByInviteIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByInviteIdOptions.cs index d600feaf..d30d2a62 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByInviteIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByInviteIdOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class CopyLobbyDetailsHandleByInviteIdOptions - { - /// - /// The ID of an invitation to join the lobby - /// - public string InviteId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyLobbyDetailsHandleByInviteIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_InviteId; - - public string InviteId - { - set - { - Helper.TryMarshalSet(ref m_InviteId, value); - } - } - - public void Set(CopyLobbyDetailsHandleByInviteIdOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.CopylobbydetailshandlebyinviteidApiLatest; - InviteId = other.InviteId; - } - } - - public void Set(object other) - { - Set(other as CopyLobbyDetailsHandleByInviteIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_InviteId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct CopyLobbyDetailsHandleByInviteIdOptions + { + /// + /// The ID of an invitation to join the lobby + /// + public Utf8String InviteId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyLobbyDetailsHandleByInviteIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_InviteId; + + public Utf8String InviteId + { + set + { + Helper.Set(value, ref m_InviteId); + } + } + + public void Set(ref CopyLobbyDetailsHandleByInviteIdOptions other) + { + m_ApiVersion = LobbyInterface.CopylobbydetailshandlebyinviteidApiLatest; + InviteId = other.InviteId; + } + + public void Set(ref CopyLobbyDetailsHandleByInviteIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.CopylobbydetailshandlebyinviteidApiLatest; + InviteId = other.Value.InviteId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_InviteId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByInviteIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByInviteIdOptions.cs.meta deleted file mode 100644 index c7954c4f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByInviteIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 074e2fe7450820c44a2fa2922239ebbb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByUiEventIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByUiEventIdOptions.cs index bad99031..46ab3126 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByUiEventIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByUiEventIdOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class CopyLobbyDetailsHandleByUiEventIdOptions - { - /// - /// UI Event associated with the lobby - /// - public ulong UiEventId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyLobbyDetailsHandleByUiEventIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private ulong m_UiEventId; - - public ulong UiEventId - { - set - { - m_UiEventId = value; - } - } - - public void Set(CopyLobbyDetailsHandleByUiEventIdOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.CopylobbydetailshandlebyuieventidApiLatest; - UiEventId = other.UiEventId; - } - } - - public void Set(object other) - { - Set(other as CopyLobbyDetailsHandleByUiEventIdOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct CopyLobbyDetailsHandleByUiEventIdOptions + { + /// + /// UI Event associated with the lobby + /// + public ulong UiEventId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyLobbyDetailsHandleByUiEventIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private ulong m_UiEventId; + + public ulong UiEventId + { + set + { + m_UiEventId = value; + } + } + + public void Set(ref CopyLobbyDetailsHandleByUiEventIdOptions other) + { + m_ApiVersion = LobbyInterface.CopylobbydetailshandlebyuieventidApiLatest; + UiEventId = other.UiEventId; + } + + public void Set(ref CopyLobbyDetailsHandleByUiEventIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.CopylobbydetailshandlebyuieventidApiLatest; + UiEventId = other.Value.UiEventId; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByUiEventIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByUiEventIdOptions.cs.meta deleted file mode 100644 index 1ca8cf9a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleByUiEventIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 98293fa3642bc11478e85cb2a04ca55d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleOptions.cs index 68e3d037..269766f0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class CopyLobbyDetailsHandleOptions - { - /// - /// The ID of the lobby - /// - public string LobbyId { get; set; } - - /// - /// The Product User ID of the local user making the request - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyLobbyDetailsHandleOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LobbyId; - private System.IntPtr m_LocalUserId; - - public string LobbyId - { - set - { - Helper.TryMarshalSet(ref m_LobbyId, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(CopyLobbyDetailsHandleOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.CopylobbydetailshandleApiLatest; - LobbyId = other.LobbyId; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as CopyLobbyDetailsHandleOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LobbyId); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct CopyLobbyDetailsHandleOptions + { + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + /// + /// The Product User ID of the local user making the request + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyLobbyDetailsHandleOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LobbyId; + private System.IntPtr m_LocalUserId; + + public Utf8String LobbyId + { + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref CopyLobbyDetailsHandleOptions other) + { + m_ApiVersion = LobbyInterface.CopylobbydetailshandleApiLatest; + LobbyId = other.LobbyId; + LocalUserId = other.LocalUserId; + } + + public void Set(ref CopyLobbyDetailsHandleOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.CopylobbydetailshandleApiLatest; + LobbyId = other.Value.LobbyId; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LobbyId); + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleOptions.cs.meta deleted file mode 100644 index 7eb51c05..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CopyLobbyDetailsHandleOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 623cd5acca8126f469518880b9474bd4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyCallbackInfo.cs index d9e69086..29f9da09 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the function. - /// - public class CreateLobbyCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The new lobby's ID - /// - public string LobbyId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(CreateLobbyCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LobbyId = other.Value.LobbyId; - } - } - - public void Set(object other) - { - Set(other as CreateLobbyCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CreateLobbyCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LobbyId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct CreateLobbyCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The new lobby's ID + /// + public Utf8String LobbyId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref CreateLobbyCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CreateLobbyCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref CreateLobbyCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + + public void Set(ref CreateLobbyCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + } + + public void Get(out CreateLobbyCallbackInfo output) + { + output = new CreateLobbyCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyCallbackInfo.cs.meta deleted file mode 100644 index df912427..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a3256c75cebae99469b976c10d0a42f6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyOptions.cs index 9005afcf..c413cb57 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyOptions.cs @@ -1,207 +1,255 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class CreateLobbyOptions - { - /// - /// The Product User ID of the local user creating the lobby; this user will automatically join the lobby as its owner - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The maximum number of users who can be in the lobby at a time - /// - public uint MaxLobbyMembers { get; set; } - - /// - /// The initial permission level of the lobby - /// - public LobbyPermissionLevel PermissionLevel { get; set; } - - /// - /// If true, this lobby will be associated with presence information. A user's presence can only be associated with one lobby at a time. - /// This affects the ability of the Social Overlay to show game related actions to take in the user's social graph. - /// - /// @note The Social Overlay can handle only one of the following three options at a time: - /// using the bPresenceEnabled flags within the Sessions interface - /// using the bPresenceEnabled flags within the Lobby interface - /// using - /// - /// - /// - /// - /// - public bool PresenceEnabled { get; set; } - - /// - /// Are members of the lobby allowed to invite others - /// - public bool AllowInvites { get; set; } - - /// - /// Bucket ID associated with the lobby - /// - public string BucketId { get; set; } - - /// - /// Is host migration allowed (will the lobby stay open if the original host leaves?) - /// NOTE: is still allowed regardless of this setting - /// - public bool DisableHostMigration { get; set; } - - /// - /// Creates a real-time communication (RTC) room for all members of this lobby. All members of the lobby will automatically join the RTC - /// room when they connect to the lobby and they will automatically leave the RTC room when they leave or are removed from the lobby. - /// While the joining and leaving of the RTC room is automatic, applications will still need to use the EOS RTC interfaces to handle all - /// other functionality for the room. - /// - /// - /// - public bool EnableRTCRoom { get; set; } - - /// - /// (Optional) Allows the local application to set local audio options for the RTC Room if it is enabled. Set this to NULL if the RTC - /// RTC room is disabled or you would like to use the defaults. - /// - public LocalRTCOptions LocalRTCOptions { get; set; } - - /// - /// (Optional) Set to a globally unique value to override the backend assignment - /// If not specified the backend service will assign one to the lobby. Do not mix and match override and non override settings. - /// This value can be of size [, ] - /// - public string LobbyId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CreateLobbyOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private uint m_MaxLobbyMembers; - private LobbyPermissionLevel m_PermissionLevel; - private int m_PresenceEnabled; - private int m_AllowInvites; - private System.IntPtr m_BucketId; - private int m_DisableHostMigration; - private int m_EnableRTCRoom; - private System.IntPtr m_LocalRTCOptions; - private System.IntPtr m_LobbyId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public uint MaxLobbyMembers - { - set - { - m_MaxLobbyMembers = value; - } - } - - public LobbyPermissionLevel PermissionLevel - { - set - { - m_PermissionLevel = value; - } - } - - public bool PresenceEnabled - { - set - { - Helper.TryMarshalSet(ref m_PresenceEnabled, value); - } - } - - public bool AllowInvites - { - set - { - Helper.TryMarshalSet(ref m_AllowInvites, value); - } - } - - public string BucketId - { - set - { - Helper.TryMarshalSet(ref m_BucketId, value); - } - } - - public bool DisableHostMigration - { - set - { - Helper.TryMarshalSet(ref m_DisableHostMigration, value); - } - } - - public bool EnableRTCRoom - { - set - { - Helper.TryMarshalSet(ref m_EnableRTCRoom, value); - } - } - - public LocalRTCOptions LocalRTCOptions - { - set - { - Helper.TryMarshalSet(ref m_LocalRTCOptions, value); - } - } - - public string LobbyId - { - set - { - Helper.TryMarshalSet(ref m_LobbyId, value); - } - } - - public void Set(CreateLobbyOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.CreatelobbyApiLatest; - LocalUserId = other.LocalUserId; - MaxLobbyMembers = other.MaxLobbyMembers; - PermissionLevel = other.PermissionLevel; - PresenceEnabled = other.PresenceEnabled; - AllowInvites = other.AllowInvites; - BucketId = other.BucketId; - DisableHostMigration = other.DisableHostMigration; - EnableRTCRoom = other.EnableRTCRoom; - LocalRTCOptions = other.LocalRTCOptions; - LobbyId = other.LobbyId; - } - } - - public void Set(object other) - { - Set(other as CreateLobbyOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_BucketId); - Helper.TryMarshalDispose(ref m_LocalRTCOptions); - Helper.TryMarshalDispose(ref m_LobbyId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct CreateLobbyOptions + { + /// + /// The Product User ID of the local user creating the lobby; this user will automatically join the lobby as its owner + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The maximum number of users who can be in the lobby at a time + /// + public uint MaxLobbyMembers { get; set; } + + /// + /// The initial permission level of the lobby + /// + public LobbyPermissionLevel PermissionLevel { get; set; } + + /// + /// If true, this lobby will be associated with presence information. A user's presence can only be associated with one lobby at a time. + /// This affects the ability of the Social Overlay to show game related actions to take in the user's social graph. + /// The Social Overlay can handle only one of the following three options at a time: + /// using the bPresenceEnabled flags within the Sessions interface + /// using the bPresenceEnabled flags within the Lobby interface + /// using EOS_PresenceModification_SetJoinInfo + /// + /// + /// + /// + /// + /// + public bool PresenceEnabled { get; set; } + + /// + /// Are members of the lobby allowed to invite others + /// + public bool AllowInvites { get; set; } + + /// + /// Bucket ID associated with the lobby + /// + public Utf8String BucketId { get; set; } + + /// + /// Is host migration allowed (will the lobby stay open if the original host leaves?) + /// NOTE: is still allowed regardless of this setting + /// + public bool DisableHostMigration { get; set; } + + /// + /// Creates a real-time communication (RTC) room for all members of this lobby. All members of the lobby will automatically join the RTC + /// room when they connect to the lobby and they will automatically leave the RTC room when they leave or are removed from the lobby. + /// While the joining and leaving of the RTC room is automatic, applications will still need to use the EOS RTC interfaces to handle all + /// other functionality for the room. + /// + /// + /// + public bool EnableRTCRoom { get; set; } + + /// + /// (Optional) Allows the local application to set local audio options for the RTC Room if it is enabled. Set this to if the RTC + /// RTC room is disabled or you would like to use the defaults. + /// + public LocalRTCOptions? LocalRTCOptions { get; set; } + + /// + /// (Optional) Set to a globally unique value to override the backend assignment + /// If not specified the backend service will assign one to the lobby. Do not mix and match override and non override settings. + /// This value can be of size [, ] + /// + public Utf8String LobbyId { get; set; } + + /// + /// Is allowed. + /// This is provided to support cases where an integrated platform's invite system is used. + /// In these cases the game should provide the lobby ID securely to the invited player. Such as by attaching the + /// lobby ID to the integrated platform's session data or sending the lobby ID within the invite data. + /// + public bool EnableJoinById { get; set; } + + /// + /// Does rejoining after being kicked require an invite? + /// When this is set, a kicked player cannot return to the session even if the session was set with + /// . When this is set, a player with invite privileges must use to + /// allow the kicked player to return to the session. + /// + public bool RejoinAfterKickRequiresInvite { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CreateLobbyOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private uint m_MaxLobbyMembers; + private LobbyPermissionLevel m_PermissionLevel; + private int m_PresenceEnabled; + private int m_AllowInvites; + private System.IntPtr m_BucketId; + private int m_DisableHostMigration; + private int m_EnableRTCRoom; + private System.IntPtr m_LocalRTCOptions; + private System.IntPtr m_LobbyId; + private int m_EnableJoinById; + private int m_RejoinAfterKickRequiresInvite; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint MaxLobbyMembers + { + set + { + m_MaxLobbyMembers = value; + } + } + + public LobbyPermissionLevel PermissionLevel + { + set + { + m_PermissionLevel = value; + } + } + + public bool PresenceEnabled + { + set + { + Helper.Set(value, ref m_PresenceEnabled); + } + } + + public bool AllowInvites + { + set + { + Helper.Set(value, ref m_AllowInvites); + } + } + + public Utf8String BucketId + { + set + { + Helper.Set(value, ref m_BucketId); + } + } + + public bool DisableHostMigration + { + set + { + Helper.Set(value, ref m_DisableHostMigration); + } + } + + public bool EnableRTCRoom + { + set + { + Helper.Set(value, ref m_EnableRTCRoom); + } + } + + public LocalRTCOptions? LocalRTCOptions + { + set + { + Helper.Set(ref value, ref m_LocalRTCOptions); + } + } + + public Utf8String LobbyId + { + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public bool EnableJoinById + { + set + { + Helper.Set(value, ref m_EnableJoinById); + } + } + + public bool RejoinAfterKickRequiresInvite + { + set + { + Helper.Set(value, ref m_RejoinAfterKickRequiresInvite); + } + } + + public void Set(ref CreateLobbyOptions other) + { + m_ApiVersion = LobbyInterface.CreatelobbyApiLatest; + LocalUserId = other.LocalUserId; + MaxLobbyMembers = other.MaxLobbyMembers; + PermissionLevel = other.PermissionLevel; + PresenceEnabled = other.PresenceEnabled; + AllowInvites = other.AllowInvites; + BucketId = other.BucketId; + DisableHostMigration = other.DisableHostMigration; + EnableRTCRoom = other.EnableRTCRoom; + LocalRTCOptions = other.LocalRTCOptions; + LobbyId = other.LobbyId; + EnableJoinById = other.EnableJoinById; + RejoinAfterKickRequiresInvite = other.RejoinAfterKickRequiresInvite; + } + + public void Set(ref CreateLobbyOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.CreatelobbyApiLatest; + LocalUserId = other.Value.LocalUserId; + MaxLobbyMembers = other.Value.MaxLobbyMembers; + PermissionLevel = other.Value.PermissionLevel; + PresenceEnabled = other.Value.PresenceEnabled; + AllowInvites = other.Value.AllowInvites; + BucketId = other.Value.BucketId; + DisableHostMigration = other.Value.DisableHostMigration; + EnableRTCRoom = other.Value.EnableRTCRoom; + LocalRTCOptions = other.Value.LocalRTCOptions; + LobbyId = other.Value.LobbyId; + EnableJoinById = other.Value.EnableJoinById; + RejoinAfterKickRequiresInvite = other.Value.RejoinAfterKickRequiresInvite; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_BucketId); + Helper.Dispose(ref m_LocalRTCOptions); + Helper.Dispose(ref m_LobbyId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyOptions.cs.meta deleted file mode 100644 index 04290859..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbyOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0e4d5dc96a7f7b94e8b0850abed588e5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbySearchOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbySearchOptions.cs index a12e5539..5f2c8d03 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbySearchOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbySearchOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class CreateLobbySearchOptions - { - /// - /// Maximum number of results allowed from the search - /// - public uint MaxResults { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CreateLobbySearchOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_MaxResults; - - public uint MaxResults - { - set - { - m_MaxResults = value; - } - } - - public void Set(CreateLobbySearchOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.CreatelobbysearchApiLatest; - MaxResults = other.MaxResults; - } - } - - public void Set(object other) - { - Set(other as CreateLobbySearchOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct CreateLobbySearchOptions + { + /// + /// Maximum number of results allowed from the search + /// + public uint MaxResults { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CreateLobbySearchOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_MaxResults; + + public uint MaxResults + { + set + { + m_MaxResults = value; + } + } + + public void Set(ref CreateLobbySearchOptions other) + { + m_ApiVersion = LobbyInterface.CreatelobbysearchApiLatest; + MaxResults = other.MaxResults; + } + + public void Set(ref CreateLobbySearchOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.CreatelobbysearchApiLatest; + MaxResults = other.Value.MaxResults; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbySearchOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbySearchOptions.cs.meta deleted file mode 100644 index 2b3911c5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/CreateLobbySearchOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7a8f8912638afff4cbec565ee688239b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyCallbackInfo.cs index c2e27437..89f04d03 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the function. - /// - public class DestroyLobbyCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The destroyed lobby's ID - /// - public string LobbyId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(DestroyLobbyCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LobbyId = other.Value.LobbyId; - } - } - - public void Set(object other) - { - Set(other as DestroyLobbyCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DestroyLobbyCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LobbyId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct DestroyLobbyCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The destroyed lobby's ID + /// + public Utf8String LobbyId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref DestroyLobbyCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DestroyLobbyCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref DestroyLobbyCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + + public void Set(ref DestroyLobbyCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + } + + public void Get(out DestroyLobbyCallbackInfo output) + { + output = new DestroyLobbyCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyCallbackInfo.cs.meta deleted file mode 100644 index 6822c4ed..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e6e5061f0211e1a45817a8e716234167 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyOptions.cs index f47f2b16..8aa09928 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class DestroyLobbyOptions - { - /// - /// The Product User ID of the local user requesting destruction of the lobby; this user must currently own the lobby - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The ID of the lobby to destroy - /// - public string LobbyId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DestroyLobbyOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_LobbyId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string LobbyId - { - set - { - Helper.TryMarshalSet(ref m_LobbyId, value); - } - } - - public void Set(DestroyLobbyOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.DestroylobbyApiLatest; - LocalUserId = other.LocalUserId; - LobbyId = other.LobbyId; - } - } - - public void Set(object other) - { - Set(other as DestroyLobbyOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_LobbyId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct DestroyLobbyOptions + { + /// + /// The Product User ID of the local user requesting destruction of the lobby; this user must currently own the lobby + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The ID of the lobby to destroy + /// + public Utf8String LobbyId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DestroyLobbyOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_LobbyId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String LobbyId + { + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref DestroyLobbyOptions other) + { + m_ApiVersion = LobbyInterface.DestroylobbyApiLatest; + LocalUserId = other.LocalUserId; + LobbyId = other.LobbyId; + } + + public void Set(ref DestroyLobbyOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.DestroylobbyApiLatest; + LocalUserId = other.Value.LocalUserId; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_LobbyId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyOptions.cs.meta deleted file mode 100644 index cec2726c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/DestroyLobbyOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 45a290071be27d244b4b73714f9b7c90 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteCountOptions.cs index 5b5c6ab9..41eb67c7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class GetInviteCountOptions - { - /// - /// The Product User ID of the local user whose cached lobby invitations you want to count - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetInviteCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(GetInviteCountOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.GetinvitecountApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as GetInviteCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct GetInviteCountOptions + { + /// + /// The Product User ID of the local user whose cached lobby invitations you want to count + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetInviteCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref GetInviteCountOptions other) + { + m_ApiVersion = LobbyInterface.GetinvitecountApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref GetInviteCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.GetinvitecountApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteCountOptions.cs.meta deleted file mode 100644 index 88ccd74b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 65813cdd9cd1e494f9626a1ddb672748 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteIdByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteIdByIndexOptions.cs index ae281d39..72f8223b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteIdByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteIdByIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class GetInviteIdByIndexOptions - { - /// - /// The Product User ID of the local user who received the cached invitation - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The index of the invitation ID to retrieve - /// - public uint Index { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetInviteIdByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private uint m_Index; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public uint Index - { - set - { - m_Index = value; - } - } - - public void Set(GetInviteIdByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.GetinviteidbyindexApiLatest; - LocalUserId = other.LocalUserId; - Index = other.Index; - } - } - - public void Set(object other) - { - Set(other as GetInviteIdByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct GetInviteIdByIndexOptions + { + /// + /// The Product User ID of the local user who received the cached invitation + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The index of the invitation ID to retrieve + /// + public uint Index { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetInviteIdByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private uint m_Index; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint Index + { + set + { + m_Index = value; + } + } + + public void Set(ref GetInviteIdByIndexOptions other) + { + m_ApiVersion = LobbyInterface.GetinviteidbyindexApiLatest; + LocalUserId = other.LocalUserId; + Index = other.Index; + } + + public void Set(ref GetInviteIdByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.GetinviteidbyindexApiLatest; + LocalUserId = other.Value.LocalUserId; + Index = other.Value.Index; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteIdByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteIdByIndexOptions.cs.meta deleted file mode 100644 index 767c7077..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetInviteIdByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 16a4f002e66199d4d89b1a4230c5c99b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetRTCRoomNameOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetRTCRoomNameOptions.cs index 73387e2c..15e51bb8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetRTCRoomNameOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetRTCRoomNameOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class GetRTCRoomNameOptions - { - /// - /// The ID of the lobby to get the RTC Room name for - /// - public string LobbyId { get; set; } - - /// - /// The Product User ID of the local user in the lobby - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetRTCRoomNameOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LobbyId; - private System.IntPtr m_LocalUserId; - - public string LobbyId - { - set - { - Helper.TryMarshalSet(ref m_LobbyId, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(GetRTCRoomNameOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.GetrtcroomnameApiLatest; - LobbyId = other.LobbyId; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as GetRTCRoomNameOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LobbyId); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct GetRTCRoomNameOptions + { + /// + /// The ID of the lobby to get the RTC Room name for + /// + public Utf8String LobbyId { get; set; } + + /// + /// The Product User ID of the local user in the lobby + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetRTCRoomNameOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LobbyId; + private System.IntPtr m_LocalUserId; + + public Utf8String LobbyId + { + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref GetRTCRoomNameOptions other) + { + m_ApiVersion = LobbyInterface.GetrtcroomnameApiLatest; + LobbyId = other.LobbyId; + LocalUserId = other.LocalUserId; + } + + public void Set(ref GetRTCRoomNameOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.GetrtcroomnameApiLatest; + LobbyId = other.Value.LobbyId; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LobbyId); + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetRTCRoomNameOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetRTCRoomNameOptions.cs.meta deleted file mode 100644 index cd594197..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/GetRTCRoomNameOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4b5c5d44cec49494e99f119ba77e68de -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/HardMuteMemberCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/HardMuteMemberCallbackInfo.cs new file mode 100644 index 00000000..181dd132 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/HardMuteMemberCallbackInfo.cs @@ -0,0 +1,151 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct HardMuteMemberCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + /// + /// The Product User ID of the lobby member whose mute status has been updated + /// + public ProductUserId TargetUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref HardMuteMemberCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + TargetUserId = other.TargetUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct HardMuteMemberCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + private System.IntPtr m_TargetUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref HardMuteMemberCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref HardMuteMemberCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out HardMuteMemberCallbackInfo output) + { + output = new HardMuteMemberCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/HardMuteMemberOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/HardMuteMemberOptions.cs new file mode 100644 index 00000000..2faad6dc --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/HardMuteMemberOptions.cs @@ -0,0 +1,101 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct HardMuteMemberOptions + { + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + /// + /// The Product User ID of the local user requesting the hard mute; this user must be the lobby owner + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the lobby member to hard mute + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// TargetUserId hard mute status (mute on or off) + /// + public bool HardMute { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct HardMuteMemberOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LobbyId; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + private int m_HardMute; + + public Utf8String LobbyId + { + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public bool HardMute + { + set + { + Helper.Set(value, ref m_HardMute); + } + } + + public void Set(ref HardMuteMemberOptions other) + { + m_ApiVersion = LobbyInterface.HardmutememberApiLatest; + LobbyId = other.LobbyId; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + HardMute = other.HardMute; + } + + public void Set(ref HardMuteMemberOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.HardmutememberApiLatest; + LobbyId = other.Value.LobbyId; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + HardMute = other.Value.HardMute; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LobbyId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/IsRTCRoomConnectedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/IsRTCRoomConnectedOptions.cs index 57db2833..5e9cf02d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/IsRTCRoomConnectedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/IsRTCRoomConnectedOptions.cs @@ -1,63 +1,65 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - public class IsRTCRoomConnectedOptions - { - /// - /// The ID of the lobby to get the RTC Room name for - /// - public string LobbyId { get; set; } - - /// - /// The Product User ID of the local user in the lobby - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct IsRTCRoomConnectedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LobbyId; - private System.IntPtr m_LocalUserId; - - public string LobbyId - { - set - { - Helper.TryMarshalSet(ref m_LobbyId, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(IsRTCRoomConnectedOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.IsrtcroomconnectedApiLatest; - LobbyId = other.LobbyId; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as IsRTCRoomConnectedOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LobbyId); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public struct IsRTCRoomConnectedOptions + { + /// + /// The ID of the lobby to get the RTC Room name for + /// + public Utf8String LobbyId { get; set; } + + /// + /// The Product User ID of the local user in the lobby + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct IsRTCRoomConnectedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LobbyId; + private System.IntPtr m_LocalUserId; + + public Utf8String LobbyId + { + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref IsRTCRoomConnectedOptions other) + { + m_ApiVersion = LobbyInterface.IsrtcroomconnectedApiLatest; + LobbyId = other.LobbyId; + LocalUserId = other.LocalUserId; + } + + public void Set(ref IsRTCRoomConnectedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.IsrtcroomconnectedApiLatest; + LobbyId = other.Value.LobbyId; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LobbyId); + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/IsRTCRoomConnectedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/IsRTCRoomConnectedOptions.cs.meta deleted file mode 100644 index 5ee1bb74..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/IsRTCRoomConnectedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4327a6bcef5a7724092fc7dd7ac70cc5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyAcceptedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyAcceptedCallbackInfo.cs index 4cc8eb9e..e290691c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyAcceptedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyAcceptedCallbackInfo.cs @@ -1,92 +1,128 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the Function. - /// - public class JoinLobbyAcceptedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local user who is joining - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The UI Event associated with this Join Game event. - /// This should be used with to get a handle to be used - /// when calling . - /// - public ulong UiEventId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(JoinLobbyAcceptedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - UiEventId = other.Value.UiEventId; - } - } - - public void Set(object other) - { - Set(other as JoinLobbyAcceptedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct JoinLobbyAcceptedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private ulong m_UiEventId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public ulong UiEventId - { - get - { - return m_UiEventId; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the Function. + /// + public struct JoinLobbyAcceptedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local user who is joining + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The UI Event associated with this Join Game event. + /// This should be used with to get a handle to be used + /// when calling . + /// + public ulong UiEventId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref JoinLobbyAcceptedCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + UiEventId = other.UiEventId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct JoinLobbyAcceptedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private ulong m_UiEventId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ulong UiEventId + { + get + { + return m_UiEventId; + } + + set + { + m_UiEventId = value; + } + } + + public void Set(ref JoinLobbyAcceptedCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + UiEventId = other.UiEventId; + } + + public void Set(ref JoinLobbyAcceptedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + UiEventId = other.Value.UiEventId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out JoinLobbyAcceptedCallbackInfo output) + { + output = new JoinLobbyAcceptedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyAcceptedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyAcceptedCallbackInfo.cs.meta deleted file mode 100644 index b8e3bea6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyAcceptedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f8b8c1bf2c2b8eb45b9879f5018ab4a0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyByIdCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyByIdCallbackInfo.cs new file mode 100644 index 00000000..45fd3f0a --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyByIdCallbackInfo.cs @@ -0,0 +1,126 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct JoinLobbyByIdCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref JoinLobbyByIdCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct JoinLobbyByIdCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref JoinLobbyByIdCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + + public void Set(ref JoinLobbyByIdCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + } + + public void Get(out JoinLobbyByIdCallbackInfo output) + { + output = new JoinLobbyByIdCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyByIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyByIdOptions.cs new file mode 100644 index 00000000..9c0ff813 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyByIdOptions.cs @@ -0,0 +1,114 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct JoinLobbyByIdOptions + { + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + /// + /// The Product User ID of the local user joining the lobby + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// If true, this lobby will be associated with the user's presence information. A user can only associate one lobby at a time with their presence information. + /// This affects the ability of the Social Overlay to show game related actions to take in the user's social graph. + /// The Social Overlay can handle only one of the following three options at a time: + /// using the bPresenceEnabled flags within the Sessions interface + /// using the bPresenceEnabled flags within the Lobby interface + /// using EOS_PresenceModification_SetJoinInfo + /// + /// + /// + /// + /// + /// + /// + public bool PresenceEnabled { get; set; } + + /// + /// (Optional) Set this value to override the default local options for the RTC Room, if it is enabled for this lobby. Set this to if + /// your application does not use the Lobby RTC Rooms feature, or if you would like to use the default settings. This option is ignored if + /// the specified lobby does not have an RTC Room enabled and will not cause errors. + /// + public LocalRTCOptions? LocalRTCOptions { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct JoinLobbyByIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LobbyId; + private System.IntPtr m_LocalUserId; + private int m_PresenceEnabled; + private System.IntPtr m_LocalRTCOptions; + + public Utf8String LobbyId + { + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public bool PresenceEnabled + { + set + { + Helper.Set(value, ref m_PresenceEnabled); + } + } + + public LocalRTCOptions? LocalRTCOptions + { + set + { + Helper.Set(ref value, ref m_LocalRTCOptions); + } + } + + public void Set(ref JoinLobbyByIdOptions other) + { + m_ApiVersion = LobbyInterface.JoinlobbybyidApiLatest; + LobbyId = other.LobbyId; + LocalUserId = other.LocalUserId; + PresenceEnabled = other.PresenceEnabled; + LocalRTCOptions = other.LocalRTCOptions; + } + + public void Set(ref JoinLobbyByIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.JoinlobbybyidApiLatest; + LobbyId = other.Value.LobbyId; + LocalUserId = other.Value.LocalUserId; + PresenceEnabled = other.Value.PresenceEnabled; + LocalRTCOptions = other.Value.LocalRTCOptions; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LobbyId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_LocalRTCOptions); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyCallbackInfo.cs index 42458ba9..57b3611c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the function. - /// - public class JoinLobbyCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The ID of the lobby - /// - public string LobbyId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(JoinLobbyCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LobbyId = other.Value.LobbyId; - } - } - - public void Set(object other) - { - Set(other as JoinLobbyCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct JoinLobbyCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LobbyId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct JoinLobbyCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref JoinLobbyCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct JoinLobbyCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref JoinLobbyCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + + public void Set(ref JoinLobbyCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + } + + public void Get(out JoinLobbyCallbackInfo output) + { + output = new JoinLobbyCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyCallbackInfo.cs.meta deleted file mode 100644 index e29b5b50..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fa9009633d289704fa445fddeec1a14a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyOptions.cs index 3c5d6ce1..da9e5108 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyOptions.cs @@ -1,110 +1,113 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class JoinLobbyOptions - { - /// - /// The handle of the lobby to join - /// - public LobbyDetails LobbyDetailsHandle { get; set; } - - /// - /// The Product User ID of the local user joining the lobby - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// If true, this lobby will be associated with the user's presence information. A user can only associate one lobby at a time with their presence information. - /// This affects the ability of the Social Overlay to show game related actions to take in the user's social graph. - /// - /// @note The Social Overlay can handle only one of the following three options at a time: - /// using the bPresenceEnabled flags within the Sessions interface - /// using the bPresenceEnabled flags within the Lobby interface - /// using - /// - /// - /// - /// - /// - /// - public bool PresenceEnabled { get; set; } - - /// - /// (Optional) Set this value to override the default local options for the RTC Room, if it is enabled for this lobby. Set this to NULL if - /// your application does not use the Lobby RTC Rooms feature, or if you would like to use the default settings. This option is ignored if - /// the specified lobby does not have an RTC Room enabled and will not cause errors. - /// - public LocalRTCOptions LocalRTCOptions { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct JoinLobbyOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LobbyDetailsHandle; - private System.IntPtr m_LocalUserId; - private int m_PresenceEnabled; - private System.IntPtr m_LocalRTCOptions; - - public LobbyDetails LobbyDetailsHandle - { - set - { - Helper.TryMarshalSet(ref m_LobbyDetailsHandle, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public bool PresenceEnabled - { - set - { - Helper.TryMarshalSet(ref m_PresenceEnabled, value); - } - } - - public LocalRTCOptions LocalRTCOptions - { - set - { - Helper.TryMarshalSet(ref m_LocalRTCOptions, value); - } - } - - public void Set(JoinLobbyOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.JoinlobbyApiLatest; - LobbyDetailsHandle = other.LobbyDetailsHandle; - LocalUserId = other.LocalUserId; - PresenceEnabled = other.PresenceEnabled; - LocalRTCOptions = other.LocalRTCOptions; - } - } - - public void Set(object other) - { - Set(other as JoinLobbyOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LobbyDetailsHandle); - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_LocalRTCOptions); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct JoinLobbyOptions + { + /// + /// The handle of the lobby to join + /// + public LobbyDetails LobbyDetailsHandle { get; set; } + + /// + /// The Product User ID of the local user joining the lobby + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// If true, this lobby will be associated with the user's presence information. A user can only associate one lobby at a time with their presence information. + /// This affects the ability of the Social Overlay to show game related actions to take in the user's social graph. + /// The Social Overlay can handle only one of the following three options at a time: + /// using the bPresenceEnabled flags within the Sessions interface + /// using the bPresenceEnabled flags within the Lobby interface + /// using EOS_PresenceModification_SetJoinInfo + /// + /// + /// + /// + /// + /// + public bool PresenceEnabled { get; set; } + + /// + /// (Optional) Set this value to override the default local options for the RTC Room, if it is enabled for this lobby. Set this to if + /// your application does not use the Lobby RTC Rooms feature, or if you would like to use the default settings. This option is ignored if + /// the specified lobby does not have an RTC Room enabled and will not cause errors. + /// + public LocalRTCOptions? LocalRTCOptions { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct JoinLobbyOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LobbyDetailsHandle; + private System.IntPtr m_LocalUserId; + private int m_PresenceEnabled; + private System.IntPtr m_LocalRTCOptions; + + public LobbyDetails LobbyDetailsHandle + { + set + { + Helper.Set(value, ref m_LobbyDetailsHandle); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public bool PresenceEnabled + { + set + { + Helper.Set(value, ref m_PresenceEnabled); + } + } + + public LocalRTCOptions? LocalRTCOptions + { + set + { + Helper.Set(ref value, ref m_LocalRTCOptions); + } + } + + public void Set(ref JoinLobbyOptions other) + { + m_ApiVersion = LobbyInterface.JoinlobbyApiLatest; + LobbyDetailsHandle = other.LobbyDetailsHandle; + LocalUserId = other.LocalUserId; + PresenceEnabled = other.PresenceEnabled; + LocalRTCOptions = other.LocalRTCOptions; + } + + public void Set(ref JoinLobbyOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.JoinlobbyApiLatest; + LobbyDetailsHandle = other.Value.LobbyDetailsHandle; + LocalUserId = other.Value.LocalUserId; + PresenceEnabled = other.Value.PresenceEnabled; + LocalRTCOptions = other.Value.LocalRTCOptions; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LobbyDetailsHandle); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_LocalRTCOptions); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyOptions.cs.meta deleted file mode 100644 index 878f026c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/JoinLobbyOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d148f0ac83e703143b7eadc3c99d45c8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberCallbackInfo.cs index f95ef604..21294494 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the function. - /// - public class KickMemberCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The ID of the lobby - /// - public string LobbyId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(KickMemberCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LobbyId = other.Value.LobbyId; - } - } - - public void Set(object other) - { - Set(other as KickMemberCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct KickMemberCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LobbyId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct KickMemberCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref KickMemberCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct KickMemberCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref KickMemberCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + + public void Set(ref KickMemberCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + } + + public void Get(out KickMemberCallbackInfo output) + { + output = new KickMemberCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberCallbackInfo.cs.meta deleted file mode 100644 index 3325fd41..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 89b2666396a910b40879fabef0011770 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberOptions.cs index 12d2a150..f707063e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberOptions.cs @@ -1,82 +1,85 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class KickMemberOptions - { - /// - /// The ID of the lobby - /// - public string LobbyId { get; set; } - - /// - /// The Product User ID of the local user requesting the removal; this user must be the lobby owner - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The Product User ID of the lobby member to remove - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct KickMemberOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LobbyId; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public string LobbyId - { - set - { - Helper.TryMarshalSet(ref m_LobbyId, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(KickMemberOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.KickmemberApiLatest; - LobbyId = other.LobbyId; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as KickMemberOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LobbyId); - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct KickMemberOptions + { + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + /// + /// The Product User ID of the local user requesting the removal; this user must be the lobby owner + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the lobby member to remove + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct KickMemberOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LobbyId; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public Utf8String LobbyId + { + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref KickMemberOptions other) + { + m_ApiVersion = LobbyInterface.KickmemberApiLatest; + LobbyId = other.LobbyId; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref KickMemberOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.KickmemberApiLatest; + LobbyId = other.Value.LobbyId; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LobbyId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberOptions.cs.meta deleted file mode 100644 index 9b80d131..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/KickMemberOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c9fec2f3d48a76244871497f7fe7dd05 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyCallbackInfo.cs index ed866ee8..18bac869 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the function. - /// - public class LeaveLobbyCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The ID of the lobby - /// - public string LobbyId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(LeaveLobbyCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LobbyId = other.Value.LobbyId; - } - } - - public void Set(object other) - { - Set(other as LeaveLobbyCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LeaveLobbyCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LobbyId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct LeaveLobbyCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref LeaveLobbyCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LeaveLobbyCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref LeaveLobbyCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + + public void Set(ref LeaveLobbyCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + } + + public void Get(out LeaveLobbyCallbackInfo output) + { + output = new LeaveLobbyCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyCallbackInfo.cs.meta deleted file mode 100644 index 5b71d6ca..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fb308dbeb2482b546b1b80e3f66b1f11 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyOptions.cs index 43113b3b..dece2ed9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LeaveLobbyOptions - { - /// - /// The Product User ID of the local user leaving the lobby - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The ID of the lobby - /// - public string LobbyId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LeaveLobbyOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_LobbyId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string LobbyId - { - set - { - Helper.TryMarshalSet(ref m_LobbyId, value); - } - } - - public void Set(LeaveLobbyOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.LeavelobbyApiLatest; - LocalUserId = other.LocalUserId; - LobbyId = other.LobbyId; - } - } - - public void Set(object other) - { - Set(other as LeaveLobbyOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_LobbyId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LeaveLobbyOptions + { + /// + /// The Product User ID of the local user leaving the lobby + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LeaveLobbyOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_LobbyId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String LobbyId + { + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref LeaveLobbyOptions other) + { + m_ApiVersion = LobbyInterface.LeavelobbyApiLatest; + LocalUserId = other.LocalUserId; + LobbyId = other.LobbyId; + } + + public void Set(ref LeaveLobbyOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.LeavelobbyApiLatest; + LocalUserId = other.Value.LocalUserId; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_LobbyId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyOptions.cs.meta deleted file mode 100644 index af462ad5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LeaveLobbyOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: aabf255ec735f4841b953b3722d5309f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyAttributeVisibility.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyAttributeVisibility.cs index 892009d0..81c3af7c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyAttributeVisibility.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyAttributeVisibility.cs @@ -1,20 +1,20 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Advertisement properties for a single attribute associated with a lobby - /// - public enum LobbyAttributeVisibility : int - { - /// - /// Data is visible outside the lobby - /// - Public = 0, - /// - /// Only members in the lobby can see this data - /// - Private = 1 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Advertisement properties for a single attribute associated with a lobby + /// + public enum LobbyAttributeVisibility : int + { + /// + /// Data is visible to lobby members, searchable and visible in search results. + /// + Public = 0, + /// + /// Data is only visible to the user setting the data. Data is not visible to lobby members, not searchable, and not visible in search results. + /// + Private = 1 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyAttributeVisibility.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyAttributeVisibility.cs.meta deleted file mode 100644 index 81a67ef9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyAttributeVisibility.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d7723f8be17b2664db52c4f398ae90a3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetails.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetails.cs index dabfdd0e..68029161 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetails.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetails.cs @@ -1,346 +1,351 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - public sealed partial class LobbyDetails : Handle - { - public LobbyDetails() - { - } - - public LobbyDetails(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int LobbydetailsCopyattributebyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbydetailsCopyattributebykeyApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbydetailsCopyinfoApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbydetailsCopymemberattributebyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbydetailsCopymemberattributebykeyApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbydetailsGetattributecountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbydetailsGetlobbyownerApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbydetailsGetmemberattributecountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbydetailsGetmemberbyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbydetailsGetmembercountApiLatest = 1; - - public const int LobbydetailsInfoApiLatest = 1; - - /// - /// is used to immediately retrieve a copy of a lobby attribute from a given source such as a existing lobby or a search result. - /// If the call returns an result, the out parameter, OutAttribute, must be passed to to release the memory associated with it. - /// - /// - /// - /// - /// Structure containing the input parameters - /// Out parameter used to receive the structure. - /// - /// if the information is available and passed out in OutAttribute - /// if you pass a null pointer for the out parameter - /// if the API version passed in is incorrect - /// - public Result CopyAttributeByIndex(LobbyDetailsCopyAttributeByIndexOptions options, out Attribute outAttribute) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outAttributeAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_LobbyDetails_CopyAttributeByIndex(InnerHandle, optionsAddress, ref outAttributeAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outAttributeAddress, out outAttribute)) - { - Bindings.EOS_Lobby_Attribute_Release(outAttributeAddress); - } - - return funcResult; - } - - /// - /// is used to immediately retrieve a copy of a lobby attribute from a given source such as a existing lobby or a search result. - /// If the call returns an result, the out parameter, OutAttribute, must be passed to to release the memory associated with it. - /// - /// - /// - /// - /// Structure containing the input parameters - /// Out parameter used to receive the structure. - /// - /// if the information is available and passed out in OutAttribute - /// if you pass a null pointer for the out parameter - /// if the API version passed in is incorrect - /// - public Result CopyAttributeByKey(LobbyDetailsCopyAttributeByKeyOptions options, out Attribute outAttribute) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outAttributeAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_LobbyDetails_CopyAttributeByKey(InnerHandle, optionsAddress, ref outAttributeAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outAttributeAddress, out outAttribute)) - { - Bindings.EOS_Lobby_Attribute_Release(outAttributeAddress); - } - - return funcResult; - } - - /// - /// is used to immediately retrieve a copy of lobby information from a given source such as a existing lobby or a search result. - /// If the call returns an result, the out parameter, OutLobbyDetailsInfo, must be passed to to release the memory associated with it. - /// - /// - /// - /// - /// Structure containing the input parameters - /// Out parameter used to receive the structure. - /// - /// if the information is available and passed out in OutLobbyDetailsInfo - /// if you pass a null pointer for the out parameter - /// if the API version passed in is incorrect - /// - public Result CopyInfo(LobbyDetailsCopyInfoOptions options, out LobbyDetailsInfo outLobbyDetailsInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outLobbyDetailsInfoAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_LobbyDetails_CopyInfo(InnerHandle, optionsAddress, ref outLobbyDetailsInfoAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outLobbyDetailsInfoAddress, out outLobbyDetailsInfo)) - { - Bindings.EOS_LobbyDetails_Info_Release(outLobbyDetailsInfoAddress); - } - - return funcResult; - } - - /// - /// is used to immediately retrieve a copy of a lobby member attribute from an existing lobby. - /// If the call returns an result, the out parameter, OutAttribute, must be passed to to release the memory associated with it. - /// - /// - /// - /// - /// Structure containing the input parameters - /// Out parameter used to receive the structure. - /// - /// if the information is available and passed out in OutAttribute - /// if you pass a null pointer for the out parameter - /// if the API version passed in is incorrect - /// - public Result CopyMemberAttributeByIndex(LobbyDetailsCopyMemberAttributeByIndexOptions options, out Attribute outAttribute) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outAttributeAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_LobbyDetails_CopyMemberAttributeByIndex(InnerHandle, optionsAddress, ref outAttributeAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outAttributeAddress, out outAttribute)) - { - Bindings.EOS_Lobby_Attribute_Release(outAttributeAddress); - } - - return funcResult; - } - - /// - /// is used to immediately retrieve a copy of a lobby member attribute from an existing lobby. - /// If the call returns an result, the out parameter, OutAttribute, must be passed to to release the memory associated with it. - /// - /// - /// - /// - /// Structure containing the input parameters - /// Out parameter used to receive the structure. - /// - /// if the information is available and passed out in OutAttribute - /// if you pass a null pointer for the out parameter - /// if the API version passed in is incorrect - /// - public Result CopyMemberAttributeByKey(LobbyDetailsCopyMemberAttributeByKeyOptions options, out Attribute outAttribute) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outAttributeAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_LobbyDetails_CopyMemberAttributeByKey(InnerHandle, optionsAddress, ref outAttributeAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outAttributeAddress, out outAttribute)) - { - Bindings.EOS_Lobby_Attribute_Release(outAttributeAddress); - } - - return funcResult; - } - - /// - /// Get the number of attributes associated with this lobby - /// - /// the Options associated with retrieving the attribute count - /// - /// number of attributes on the lobby or 0 if there is an error - /// - public uint GetAttributeCount(LobbyDetailsGetAttributeCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbyDetails_GetAttributeCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Get the product user ID of the current owner for a given lobby - /// - /// Structure containing the input parameters - /// - /// the product user ID for the lobby owner or null if the input parameters are invalid - /// - public ProductUserId GetLobbyOwner(LobbyDetailsGetLobbyOwnerOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbyDetails_GetLobbyOwner(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - ProductUserId funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// is used to immediately retrieve the attribute count for members in a lobby. - /// - /// - /// - /// Structure containing the input parameters - /// - /// the number of attributes associated with a given lobby member or 0 if that member is invalid - /// - public uint GetMemberAttributeCount(LobbyDetailsGetMemberAttributeCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbyDetails_GetMemberAttributeCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// is used to immediately retrieve individual members registered with a lobby. - /// - /// - /// - /// Structure containing the input parameters - /// - /// the product user ID for the registered member at a given index or null if that index is invalid - /// - public ProductUserId GetMemberByIndex(LobbyDetailsGetMemberByIndexOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbyDetails_GetMemberByIndex(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - ProductUserId funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get the number of members associated with this lobby - /// - /// the Options associated with retrieving the member count - /// - /// number of members in the existing lobby or 0 if there is an error - /// - public uint GetMemberCount(LobbyDetailsGetMemberCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbyDetails_GetMemberCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Release the memory associated with a single lobby. This must be called on data retrieved from . - /// - /// - /// - The lobby handle to release - public void Release() - { - Bindings.EOS_LobbyDetails_Release(InnerHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public sealed partial class LobbyDetails : Handle + { + public LobbyDetails() + { + } + + public LobbyDetails(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int LobbydetailsCopyattributebyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbydetailsCopyattributebykeyApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbydetailsCopyinfoApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbydetailsCopymemberattributebyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbydetailsCopymemberattributebykeyApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbydetailsGetattributecountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbydetailsGetlobbyownerApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbydetailsGetmemberattributecountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbydetailsGetmemberbyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbydetailsGetmembercountApiLatest = 1; + + public const int LobbydetailsInfoApiLatest = 2; + + /// + /// is used to immediately retrieve a copy of a lobby attribute from a given source such as a existing lobby or a search result. + /// If the call returns an result, the out parameter, OutAttribute, must be passed to to release the memory associated with it. + /// + /// + /// + /// + /// Structure containing the input parameters + /// Out parameter used to receive the structure. + /// + /// if the information is available and passed out in OutAttribute + /// if you pass a null pointer for the out parameter + /// if the API version passed in is incorrect + /// + public Result CopyAttributeByIndex(ref LobbyDetailsCopyAttributeByIndexOptions options, out Attribute? outAttribute) + { + LobbyDetailsCopyAttributeByIndexOptionsInternal optionsInternal = new LobbyDetailsCopyAttributeByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outAttributeAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_LobbyDetails_CopyAttributeByIndex(InnerHandle, ref optionsInternal, ref outAttributeAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outAttributeAddress, out outAttribute); + if (outAttribute != null) + { + Bindings.EOS_Lobby_Attribute_Release(outAttributeAddress); + } + + return funcResult; + } + + /// + /// is used to immediately retrieve a copy of a lobby attribute from a given source such as a existing lobby or a search result. + /// If the call returns an result, the out parameter, OutAttribute, must be passed to to release the memory associated with it. + /// + /// + /// + /// + /// Structure containing the input parameters + /// Out parameter used to receive the structure. + /// + /// if the information is available and passed out in OutAttribute + /// if you pass a null pointer for the out parameter + /// if the API version passed in is incorrect + /// + public Result CopyAttributeByKey(ref LobbyDetailsCopyAttributeByKeyOptions options, out Attribute? outAttribute) + { + LobbyDetailsCopyAttributeByKeyOptionsInternal optionsInternal = new LobbyDetailsCopyAttributeByKeyOptionsInternal(); + optionsInternal.Set(ref options); + + var outAttributeAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_LobbyDetails_CopyAttributeByKey(InnerHandle, ref optionsInternal, ref outAttributeAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outAttributeAddress, out outAttribute); + if (outAttribute != null) + { + Bindings.EOS_Lobby_Attribute_Release(outAttributeAddress); + } + + return funcResult; + } + + /// + /// is used to immediately retrieve a copy of lobby information from a given source such as a existing lobby or a search result. + /// If the call returns an result, the out parameter, OutLobbyDetailsInfo, must be passed to to release the memory associated with it. + /// + /// + /// + /// + /// Structure containing the input parameters + /// Out parameter used to receive the structure. + /// + /// if the information is available and passed out in OutLobbyDetailsInfo + /// if you pass a null pointer for the out parameter + /// if the API version passed in is incorrect + /// + public Result CopyInfo(ref LobbyDetailsCopyInfoOptions options, out LobbyDetailsInfo? outLobbyDetailsInfo) + { + LobbyDetailsCopyInfoOptionsInternal optionsInternal = new LobbyDetailsCopyInfoOptionsInternal(); + optionsInternal.Set(ref options); + + var outLobbyDetailsInfoAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_LobbyDetails_CopyInfo(InnerHandle, ref optionsInternal, ref outLobbyDetailsInfoAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outLobbyDetailsInfoAddress, out outLobbyDetailsInfo); + if (outLobbyDetailsInfo != null) + { + Bindings.EOS_LobbyDetails_Info_Release(outLobbyDetailsInfoAddress); + } + + return funcResult; + } + + /// + /// is used to immediately retrieve a copy of a lobby member attribute from an existing lobby. + /// If the call returns an result, the out parameter, OutAttribute, must be passed to to release the memory associated with it. + /// + /// + /// + /// + /// Structure containing the input parameters + /// Out parameter used to receive the structure. + /// + /// if the information is available and passed out in OutAttribute + /// if you pass a null pointer for the out parameter + /// if the API version passed in is incorrect + /// + public Result CopyMemberAttributeByIndex(ref LobbyDetailsCopyMemberAttributeByIndexOptions options, out Attribute? outAttribute) + { + LobbyDetailsCopyMemberAttributeByIndexOptionsInternal optionsInternal = new LobbyDetailsCopyMemberAttributeByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outAttributeAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_LobbyDetails_CopyMemberAttributeByIndex(InnerHandle, ref optionsInternal, ref outAttributeAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outAttributeAddress, out outAttribute); + if (outAttribute != null) + { + Bindings.EOS_Lobby_Attribute_Release(outAttributeAddress); + } + + return funcResult; + } + + /// + /// is used to immediately retrieve a copy of a lobby member attribute from an existing lobby. + /// If the call returns an result, the out parameter, OutAttribute, must be passed to to release the memory associated with it. + /// + /// + /// + /// + /// Structure containing the input parameters + /// Out parameter used to receive the structure. + /// + /// if the information is available and passed out in OutAttribute + /// if you pass a null pointer for the out parameter + /// if the API version passed in is incorrect + /// + public Result CopyMemberAttributeByKey(ref LobbyDetailsCopyMemberAttributeByKeyOptions options, out Attribute? outAttribute) + { + LobbyDetailsCopyMemberAttributeByKeyOptionsInternal optionsInternal = new LobbyDetailsCopyMemberAttributeByKeyOptionsInternal(); + optionsInternal.Set(ref options); + + var outAttributeAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_LobbyDetails_CopyMemberAttributeByKey(InnerHandle, ref optionsInternal, ref outAttributeAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outAttributeAddress, out outAttribute); + if (outAttribute != null) + { + Bindings.EOS_Lobby_Attribute_Release(outAttributeAddress); + } + + return funcResult; + } + + /// + /// Get the number of attributes associated with this lobby + /// + /// the Options associated with retrieving the attribute count + /// + /// number of attributes on the lobby or 0 if there is an error + /// + public uint GetAttributeCount(ref LobbyDetailsGetAttributeCountOptions options) + { + LobbyDetailsGetAttributeCountOptionsInternal optionsInternal = new LobbyDetailsGetAttributeCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbyDetails_GetAttributeCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Get the product user ID of the current owner for a given lobby + /// + /// Structure containing the input parameters + /// + /// the product user ID for the lobby owner or null if the input parameters are invalid + /// + public ProductUserId GetLobbyOwner(ref LobbyDetailsGetLobbyOwnerOptions options) + { + LobbyDetailsGetLobbyOwnerOptionsInternal optionsInternal = new LobbyDetailsGetLobbyOwnerOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbyDetails_GetLobbyOwner(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + ProductUserId funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// is used to immediately retrieve the attribute count for members in a lobby. + /// + /// + /// + /// Structure containing the input parameters + /// + /// the number of attributes associated with a given lobby member or 0 if that member is invalid + /// + public uint GetMemberAttributeCount(ref LobbyDetailsGetMemberAttributeCountOptions options) + { + LobbyDetailsGetMemberAttributeCountOptionsInternal optionsInternal = new LobbyDetailsGetMemberAttributeCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbyDetails_GetMemberAttributeCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// is used to immediately retrieve individual members registered with a lobby. + /// + /// + /// + /// Structure containing the input parameters + /// + /// the product user ID for the registered member at a given index or null if that index is invalid + /// + public ProductUserId GetMemberByIndex(ref LobbyDetailsGetMemberByIndexOptions options) + { + LobbyDetailsGetMemberByIndexOptionsInternal optionsInternal = new LobbyDetailsGetMemberByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbyDetails_GetMemberByIndex(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + ProductUserId funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get the number of members associated with this lobby + /// + /// the Options associated with retrieving the member count + /// + /// number of members in the existing lobby or 0 if there is an error + /// + public uint GetMemberCount(ref LobbyDetailsGetMemberCountOptions options) + { + LobbyDetailsGetMemberCountOptionsInternal optionsInternal = new LobbyDetailsGetMemberCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbyDetails_GetMemberCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Release the memory associated with a single lobby. This must be called on data retrieved from . + /// + /// + /// - The lobby handle to release + public void Release() + { + Bindings.EOS_LobbyDetails_Release(InnerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetails.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetails.cs.meta deleted file mode 100644 index 882e485b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetails.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3f1bb19df6855b2469a47075e511bc8f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByIndexOptions.cs index 8b919ef6..6dd8cf79 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByIndexOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyDetailsCopyAttributeByIndexOptions - { - /// - /// The index of the attribute to retrieve - /// - /// - public uint AttrIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyDetailsCopyAttributeByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_AttrIndex; - - public uint AttrIndex - { - set - { - m_AttrIndex = value; - } - } - - public void Set(LobbyDetailsCopyAttributeByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyDetails.LobbydetailsCopyattributebyindexApiLatest; - AttrIndex = other.AttrIndex; - } - } - - public void Set(object other) - { - Set(other as LobbyDetailsCopyAttributeByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyDetailsCopyAttributeByIndexOptions + { + /// + /// The index of the attribute to retrieve + /// + /// + public uint AttrIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyDetailsCopyAttributeByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_AttrIndex; + + public uint AttrIndex + { + set + { + m_AttrIndex = value; + } + } + + public void Set(ref LobbyDetailsCopyAttributeByIndexOptions other) + { + m_ApiVersion = LobbyDetails.LobbydetailsCopyattributebyindexApiLatest; + AttrIndex = other.AttrIndex; + } + + public void Set(ref LobbyDetailsCopyAttributeByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyDetails.LobbydetailsCopyattributebyindexApiLatest; + AttrIndex = other.Value.AttrIndex; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByIndexOptions.cs.meta deleted file mode 100644 index a41d6748..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 487abc5629ac3af429dc9dceb15c2ded -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByKeyOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByKeyOptions.cs index 85ae482c..c0aa68f6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByKeyOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByKeyOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyDetailsCopyAttributeByKeyOptions - { - /// - /// Name of the attribute - /// - public string AttrKey { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyDetailsCopyAttributeByKeyOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_AttrKey; - - public string AttrKey - { - set - { - Helper.TryMarshalSet(ref m_AttrKey, value); - } - } - - public void Set(LobbyDetailsCopyAttributeByKeyOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyDetails.LobbydetailsCopyattributebykeyApiLatest; - AttrKey = other.AttrKey; - } - } - - public void Set(object other) - { - Set(other as LobbyDetailsCopyAttributeByKeyOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AttrKey); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyDetailsCopyAttributeByKeyOptions + { + /// + /// Name of the attribute + /// + public Utf8String AttrKey { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyDetailsCopyAttributeByKeyOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_AttrKey; + + public Utf8String AttrKey + { + set + { + Helper.Set(value, ref m_AttrKey); + } + } + + public void Set(ref LobbyDetailsCopyAttributeByKeyOptions other) + { + m_ApiVersion = LobbyDetails.LobbydetailsCopyattributebykeyApiLatest; + AttrKey = other.AttrKey; + } + + public void Set(ref LobbyDetailsCopyAttributeByKeyOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyDetails.LobbydetailsCopyattributebykeyApiLatest; + AttrKey = other.Value.AttrKey; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AttrKey); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByKeyOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByKeyOptions.cs.meta deleted file mode 100644 index 3de01cfd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyAttributeByKeyOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 022a6de8e7a7c5a4cb0f204c9bd0d3a5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyInfoOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyInfoOptions.cs index 310b232c..ff1a107f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyInfoOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyInfoOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyDetailsCopyInfoOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyDetailsCopyInfoOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(LobbyDetailsCopyInfoOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyDetails.LobbydetailsCopyinfoApiLatest; - } - } - - public void Set(object other) - { - Set(other as LobbyDetailsCopyInfoOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyDetailsCopyInfoOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyDetailsCopyInfoOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref LobbyDetailsCopyInfoOptions other) + { + m_ApiVersion = LobbyDetails.LobbydetailsCopyinfoApiLatest; + } + + public void Set(ref LobbyDetailsCopyInfoOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyDetails.LobbydetailsCopyinfoApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyInfoOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyInfoOptions.cs.meta deleted file mode 100644 index 62d96be4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyInfoOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a2583fd0bff07654d86bd3fd3721c04c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByIndexOptions.cs index de2481fe..6c56bf13 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyDetailsCopyMemberAttributeByIndexOptions - { - /// - /// The Product User ID of the lobby member - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// The index of the attribute to copy - /// - public uint AttrIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyDetailsCopyMemberAttributeByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - private uint m_AttrIndex; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public uint AttrIndex - { - set - { - m_AttrIndex = value; - } - } - - public void Set(LobbyDetailsCopyMemberAttributeByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyDetails.LobbydetailsCopymemberattributebyindexApiLatest; - TargetUserId = other.TargetUserId; - AttrIndex = other.AttrIndex; - } - } - - public void Set(object other) - { - Set(other as LobbyDetailsCopyMemberAttributeByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyDetailsCopyMemberAttributeByIndexOptions + { + /// + /// The Product User ID of the lobby member + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// The index of the attribute to copy + /// + public uint AttrIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyDetailsCopyMemberAttributeByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private uint m_AttrIndex; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public uint AttrIndex + { + set + { + m_AttrIndex = value; + } + } + + public void Set(ref LobbyDetailsCopyMemberAttributeByIndexOptions other) + { + m_ApiVersion = LobbyDetails.LobbydetailsCopymemberattributebyindexApiLatest; + TargetUserId = other.TargetUserId; + AttrIndex = other.AttrIndex; + } + + public void Set(ref LobbyDetailsCopyMemberAttributeByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyDetails.LobbydetailsCopymemberattributebyindexApiLatest; + TargetUserId = other.Value.TargetUserId; + AttrIndex = other.Value.AttrIndex; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByIndexOptions.cs.meta deleted file mode 100644 index 9061688c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 711851a12dfc42b4f9a1da3e2340475a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByKeyOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByKeyOptions.cs index d59dad1b..f97cdf8b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByKeyOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByKeyOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyDetailsCopyMemberAttributeByKeyOptions - { - /// - /// The Product User ID of the lobby member - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// Name of the attribute to copy - /// - public string AttrKey { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyDetailsCopyMemberAttributeByKeyOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - private System.IntPtr m_AttrKey; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public string AttrKey - { - set - { - Helper.TryMarshalSet(ref m_AttrKey, value); - } - } - - public void Set(LobbyDetailsCopyMemberAttributeByKeyOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyDetails.LobbydetailsCopymemberattributebykeyApiLatest; - TargetUserId = other.TargetUserId; - AttrKey = other.AttrKey; - } - } - - public void Set(object other) - { - Set(other as LobbyDetailsCopyMemberAttributeByKeyOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - Helper.TryMarshalDispose(ref m_AttrKey); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyDetailsCopyMemberAttributeByKeyOptions + { + /// + /// The Product User ID of the lobby member + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Name of the attribute to copy + /// + public Utf8String AttrKey { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyDetailsCopyMemberAttributeByKeyOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_AttrKey; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public Utf8String AttrKey + { + set + { + Helper.Set(value, ref m_AttrKey); + } + } + + public void Set(ref LobbyDetailsCopyMemberAttributeByKeyOptions other) + { + m_ApiVersion = LobbyDetails.LobbydetailsCopymemberattributebykeyApiLatest; + TargetUserId = other.TargetUserId; + AttrKey = other.AttrKey; + } + + public void Set(ref LobbyDetailsCopyMemberAttributeByKeyOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyDetails.LobbydetailsCopymemberattributebykeyApiLatest; + TargetUserId = other.Value.TargetUserId; + AttrKey = other.Value.AttrKey; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_AttrKey); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByKeyOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByKeyOptions.cs.meta deleted file mode 100644 index d7f3cdf9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsCopyMemberAttributeByKeyOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ddd59dc3822887448a0642d0c5b3ec57 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetAttributeCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetAttributeCountOptions.cs index 94d5bae2..3047cc1e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetAttributeCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetAttributeCountOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyDetailsGetAttributeCountOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyDetailsGetAttributeCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(LobbyDetailsGetAttributeCountOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyDetails.LobbydetailsGetattributecountApiLatest; - } - } - - public void Set(object other) - { - Set(other as LobbyDetailsGetAttributeCountOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyDetailsGetAttributeCountOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyDetailsGetAttributeCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref LobbyDetailsGetAttributeCountOptions other) + { + m_ApiVersion = LobbyDetails.LobbydetailsGetattributecountApiLatest; + } + + public void Set(ref LobbyDetailsGetAttributeCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyDetails.LobbydetailsGetattributecountApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetAttributeCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetAttributeCountOptions.cs.meta deleted file mode 100644 index 94a47639..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetAttributeCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 639c6d8d2328acd4f8d993152edff449 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetLobbyOwnerOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetLobbyOwnerOptions.cs index 08498b54..4c747c1f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetLobbyOwnerOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetLobbyOwnerOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyDetailsGetLobbyOwnerOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyDetailsGetLobbyOwnerOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(LobbyDetailsGetLobbyOwnerOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyDetails.LobbydetailsGetlobbyownerApiLatest; - } - } - - public void Set(object other) - { - Set(other as LobbyDetailsGetLobbyOwnerOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyDetailsGetLobbyOwnerOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyDetailsGetLobbyOwnerOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref LobbyDetailsGetLobbyOwnerOptions other) + { + m_ApiVersion = LobbyDetails.LobbydetailsGetlobbyownerApiLatest; + } + + public void Set(ref LobbyDetailsGetLobbyOwnerOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyDetails.LobbydetailsGetlobbyownerApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetLobbyOwnerOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetLobbyOwnerOptions.cs.meta deleted file mode 100644 index b329e64c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetLobbyOwnerOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 577c1b785a04b5b458d3683e6023e354 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberAttributeCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberAttributeCountOptions.cs index 01c57c36..7456adf6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberAttributeCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberAttributeCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyDetailsGetMemberAttributeCountOptions - { - /// - /// The Product User ID of the lobby member - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyDetailsGetMemberAttributeCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(LobbyDetailsGetMemberAttributeCountOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyDetails.LobbydetailsGetmemberattributecountApiLatest; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as LobbyDetailsGetMemberAttributeCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyDetailsGetMemberAttributeCountOptions + { + /// + /// The Product User ID of the lobby member + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyDetailsGetMemberAttributeCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref LobbyDetailsGetMemberAttributeCountOptions other) + { + m_ApiVersion = LobbyDetails.LobbydetailsGetmemberattributecountApiLatest; + TargetUserId = other.TargetUserId; + } + + public void Set(ref LobbyDetailsGetMemberAttributeCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyDetails.LobbydetailsGetmemberattributecountApiLatest; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberAttributeCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberAttributeCountOptions.cs.meta deleted file mode 100644 index 1b09dc87..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberAttributeCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 47d3594bf95170944bae2adb99b28b9b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberByIndexOptions.cs index 92329d3e..c0a8b68c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberByIndexOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyDetailsGetMemberByIndexOptions - { - /// - /// Index of the member to retrieve - /// - public uint MemberIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyDetailsGetMemberByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_MemberIndex; - - public uint MemberIndex - { - set - { - m_MemberIndex = value; - } - } - - public void Set(LobbyDetailsGetMemberByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyDetails.LobbydetailsGetmemberbyindexApiLatest; - MemberIndex = other.MemberIndex; - } - } - - public void Set(object other) - { - Set(other as LobbyDetailsGetMemberByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyDetailsGetMemberByIndexOptions + { + /// + /// Index of the member to retrieve + /// + public uint MemberIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyDetailsGetMemberByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_MemberIndex; + + public uint MemberIndex + { + set + { + m_MemberIndex = value; + } + } + + public void Set(ref LobbyDetailsGetMemberByIndexOptions other) + { + m_ApiVersion = LobbyDetails.LobbydetailsGetmemberbyindexApiLatest; + MemberIndex = other.MemberIndex; + } + + public void Set(ref LobbyDetailsGetMemberByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyDetails.LobbydetailsGetmemberbyindexApiLatest; + MemberIndex = other.Value.MemberIndex; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberByIndexOptions.cs.meta deleted file mode 100644 index dfbc3208..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6a6b7b5e79be64349b53bfb402857d1f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberCountOptions.cs index 8acafa84..4864c129 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberCountOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyDetailsGetMemberCountOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyDetailsGetMemberCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(LobbyDetailsGetMemberCountOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyDetails.LobbydetailsGetmembercountApiLatest; - } - } - - public void Set(object other) - { - Set(other as LobbyDetailsGetMemberCountOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyDetailsGetMemberCountOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyDetailsGetMemberCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref LobbyDetailsGetMemberCountOptions other) + { + m_ApiVersion = LobbyDetails.LobbydetailsGetmembercountApiLatest; + } + + public void Set(ref LobbyDetailsGetMemberCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyDetails.LobbydetailsGetmembercountApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberCountOptions.cs.meta deleted file mode 100644 index 1af39fdd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsGetMemberCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ab8e128bbfb444248b1149b9ddec1d6c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsInfo.cs index 8f228897..099a9813 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsInfo.cs @@ -1,247 +1,302 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - public class LobbyDetailsInfo : ISettable - { - /// - /// Lobby ID - /// - public string LobbyId { get; set; } - - /// - /// The Product User ID of the current owner of the lobby - /// - public ProductUserId LobbyOwnerUserId { get; set; } - - /// - /// Permission level of the lobby - /// - public LobbyPermissionLevel PermissionLevel { get; set; } - - /// - /// Current available space - /// - public uint AvailableSlots { get; set; } - - /// - /// Max allowed members in the lobby - /// - public uint MaxMembers { get; set; } - - /// - /// If true, users can invite others to this lobby - /// - public bool AllowInvites { get; set; } - - /// - /// The main indexed parameter for this lobby, can be any string (ie "Region:GameMode") - /// - public string BucketId { get; set; } - - /// - /// Is host migration allowed - /// - public bool AllowHostMigration { get; set; } - - /// - /// Was a Real-Time Communication (RTC) room enabled at lobby creation? - /// - public bool RTCRoomEnabled { get; set; } - - internal void Set(LobbyDetailsInfoInternal? other) - { - if (other != null) - { - LobbyId = other.Value.LobbyId; - LobbyOwnerUserId = other.Value.LobbyOwnerUserId; - PermissionLevel = other.Value.PermissionLevel; - AvailableSlots = other.Value.AvailableSlots; - MaxMembers = other.Value.MaxMembers; - AllowInvites = other.Value.AllowInvites; - BucketId = other.Value.BucketId; - AllowHostMigration = other.Value.AllowHostMigration; - RTCRoomEnabled = other.Value.RTCRoomEnabled; - } - } - - public void Set(object other) - { - Set(other as LobbyDetailsInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyDetailsInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LobbyId; - private System.IntPtr m_LobbyOwnerUserId; - private LobbyPermissionLevel m_PermissionLevel; - private uint m_AvailableSlots; - private uint m_MaxMembers; - private int m_AllowInvites; - private System.IntPtr m_BucketId; - private int m_AllowHostMigration; - private int m_RTCRoomEnabled; - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LobbyId, value); - } - } - - public ProductUserId LobbyOwnerUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LobbyOwnerUserId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LobbyOwnerUserId, value); - } - } - - public LobbyPermissionLevel PermissionLevel - { - get - { - return m_PermissionLevel; - } - - set - { - m_PermissionLevel = value; - } - } - - public uint AvailableSlots - { - get - { - return m_AvailableSlots; - } - - set - { - m_AvailableSlots = value; - } - } - - public uint MaxMembers - { - get - { - return m_MaxMembers; - } - - set - { - m_MaxMembers = value; - } - } - - public bool AllowInvites - { - get - { - bool value; - Helper.TryMarshalGet(m_AllowInvites, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AllowInvites, value); - } - } - - public string BucketId - { - get - { - string value; - Helper.TryMarshalGet(m_BucketId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_BucketId, value); - } - } - - public bool AllowHostMigration - { - get - { - bool value; - Helper.TryMarshalGet(m_AllowHostMigration, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AllowHostMigration, value); - } - } - - public bool RTCRoomEnabled - { - get - { - bool value; - Helper.TryMarshalGet(m_RTCRoomEnabled, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_RTCRoomEnabled, value); - } - } - - public void Set(LobbyDetailsInfo other) - { - if (other != null) - { - m_ApiVersion = LobbyDetails.LobbydetailsInfoApiLatest; - LobbyId = other.LobbyId; - LobbyOwnerUserId = other.LobbyOwnerUserId; - PermissionLevel = other.PermissionLevel; - AvailableSlots = other.AvailableSlots; - MaxMembers = other.MaxMembers; - AllowInvites = other.AllowInvites; - BucketId = other.BucketId; - AllowHostMigration = other.AllowHostMigration; - RTCRoomEnabled = other.RTCRoomEnabled; - } - } - - public void Set(object other) - { - Set(other as LobbyDetailsInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LobbyId); - Helper.TryMarshalDispose(ref m_LobbyOwnerUserId); - Helper.TryMarshalDispose(ref m_BucketId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public struct LobbyDetailsInfo + { + /// + /// Lobby ID + /// + public Utf8String LobbyId { get; set; } + + /// + /// The Product User ID of the current owner of the lobby + /// + public ProductUserId LobbyOwnerUserId { get; set; } + + /// + /// Permission level of the lobby + /// + public LobbyPermissionLevel PermissionLevel { get; set; } + + /// + /// Current available space + /// + public uint AvailableSlots { get; set; } + + /// + /// Max allowed members in the lobby + /// + public uint MaxMembers { get; set; } + + /// + /// If true, users can invite others to this lobby + /// + public bool AllowInvites { get; set; } + + /// + /// The main indexed parameter for this lobby, can be any string (i.e. "Region:GameMode") + /// + public Utf8String BucketId { get; set; } + + /// + /// Is host migration allowed + /// + public bool AllowHostMigration { get; set; } + + /// + /// Was a Real-Time Communication (RTC) room enabled at lobby creation? + /// + public bool RTCRoomEnabled { get; set; } + + /// + /// Is allowed + /// + public bool AllowJoinById { get; set; } + + /// + /// Does rejoining after being kicked require an invite + /// + public bool RejoinAfterKickRequiresInvite { get; set; } + + internal void Set(ref LobbyDetailsInfoInternal other) + { + LobbyId = other.LobbyId; + LobbyOwnerUserId = other.LobbyOwnerUserId; + PermissionLevel = other.PermissionLevel; + AvailableSlots = other.AvailableSlots; + MaxMembers = other.MaxMembers; + AllowInvites = other.AllowInvites; + BucketId = other.BucketId; + AllowHostMigration = other.AllowHostMigration; + RTCRoomEnabled = other.RTCRoomEnabled; + AllowJoinById = other.AllowJoinById; + RejoinAfterKickRequiresInvite = other.RejoinAfterKickRequiresInvite; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyDetailsInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LobbyId; + private System.IntPtr m_LobbyOwnerUserId; + private LobbyPermissionLevel m_PermissionLevel; + private uint m_AvailableSlots; + private uint m_MaxMembers; + private int m_AllowInvites; + private System.IntPtr m_BucketId; + private int m_AllowHostMigration; + private int m_RTCRoomEnabled; + private int m_AllowJoinById; + private int m_RejoinAfterKickRequiresInvite; + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public ProductUserId LobbyOwnerUserId + { + get + { + ProductUserId value; + Helper.Get(m_LobbyOwnerUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyOwnerUserId); + } + } + + public LobbyPermissionLevel PermissionLevel + { + get + { + return m_PermissionLevel; + } + + set + { + m_PermissionLevel = value; + } + } + + public uint AvailableSlots + { + get + { + return m_AvailableSlots; + } + + set + { + m_AvailableSlots = value; + } + } + + public uint MaxMembers + { + get + { + return m_MaxMembers; + } + + set + { + m_MaxMembers = value; + } + } + + public bool AllowInvites + { + get + { + bool value; + Helper.Get(m_AllowInvites, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AllowInvites); + } + } + + public Utf8String BucketId + { + get + { + Utf8String value; + Helper.Get(m_BucketId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_BucketId); + } + } + + public bool AllowHostMigration + { + get + { + bool value; + Helper.Get(m_AllowHostMigration, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AllowHostMigration); + } + } + + public bool RTCRoomEnabled + { + get + { + bool value; + Helper.Get(m_RTCRoomEnabled, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RTCRoomEnabled); + } + } + + public bool AllowJoinById + { + get + { + bool value; + Helper.Get(m_AllowJoinById, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AllowJoinById); + } + } + + public bool RejoinAfterKickRequiresInvite + { + get + { + bool value; + Helper.Get(m_RejoinAfterKickRequiresInvite, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RejoinAfterKickRequiresInvite); + } + } + + public void Set(ref LobbyDetailsInfo other) + { + m_ApiVersion = LobbyDetails.LobbydetailsInfoApiLatest; + LobbyId = other.LobbyId; + LobbyOwnerUserId = other.LobbyOwnerUserId; + PermissionLevel = other.PermissionLevel; + AvailableSlots = other.AvailableSlots; + MaxMembers = other.MaxMembers; + AllowInvites = other.AllowInvites; + BucketId = other.BucketId; + AllowHostMigration = other.AllowHostMigration; + RTCRoomEnabled = other.RTCRoomEnabled; + AllowJoinById = other.AllowJoinById; + RejoinAfterKickRequiresInvite = other.RejoinAfterKickRequiresInvite; + } + + public void Set(ref LobbyDetailsInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyDetails.LobbydetailsInfoApiLatest; + LobbyId = other.Value.LobbyId; + LobbyOwnerUserId = other.Value.LobbyOwnerUserId; + PermissionLevel = other.Value.PermissionLevel; + AvailableSlots = other.Value.AvailableSlots; + MaxMembers = other.Value.MaxMembers; + AllowInvites = other.Value.AllowInvites; + BucketId = other.Value.BucketId; + AllowHostMigration = other.Value.AllowHostMigration; + RTCRoomEnabled = other.Value.RTCRoomEnabled; + AllowJoinById = other.Value.AllowJoinById; + RejoinAfterKickRequiresInvite = other.Value.RejoinAfterKickRequiresInvite; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LobbyId); + Helper.Dispose(ref m_LobbyOwnerUserId); + Helper.Dispose(ref m_BucketId); + } + + public void Get(out LobbyDetailsInfo output) + { + output = new LobbyDetailsInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsInfo.cs.meta deleted file mode 100644 index 1358552f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyDetailsInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e59fb03a9aeb6fd4cbbbb62bd1963812 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInterface.cs index cc93b386..d57b0aae 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInterface.cs @@ -1,1217 +1,1428 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - public sealed partial class LobbyInterface : Handle - { - public LobbyInterface() - { - } - - public LobbyInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int AddnotifyjoinlobbyacceptedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifylobbyinviteacceptedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifylobbyinvitereceivedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifylobbymemberstatusreceivedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifylobbymemberupdatereceivedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifylobbyupdatereceivedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifyrtcroomconnectionchangedApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int AttributeApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int AttributedataApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopylobbydetailshandleApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopylobbydetailshandlebyinviteidApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopylobbydetailshandlebyuieventidApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CreatelobbyApiLatest = 7; - - /// - /// The most recent version of the API. - /// - public const int CreatelobbysearchApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int DestroylobbyApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetinvitecountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetinviteidbyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetrtcroomnameApiLatest = 1; - - /// - /// Max length of an invite ID - /// - public const int InviteidMaxLength = 64; - - /// - /// The most recent version of the API. - /// - public const int IsrtcroomconnectedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int JoinlobbyApiLatest = 3; - - /// - /// The most recent version of the API. - /// - public const int KickmemberApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LeavelobbyApiLatest = 1; - - public const int LocalrtcoptionsApiLatest = 1; - - /// - /// All lobbies are referenced by a unique lobby ID - /// - public const int MaxLobbies = 16; - - public const int MaxLobbyMembers = 64; - - /// - /// Maximum number of characters allowed in the lobby id override - /// - public const int MaxLobbyidoverrideLength = 60; - - public const int MaxSearchResults = 200; - - /// - /// Minimum number of characters allowed in the lobby id override - /// - public const int MinLobbyidoverrideLength = 4; - - /// - /// The most recent version of the API. - /// - public const int PromotememberApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int QueryinvitesApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int RejectinviteApiLatest = 1; - - /// - /// Search for a matching bucket ID (value is string) - /// - public const string SearchBucketId = "bucket"; - - /// - /// Search for lobbies that contain at least this number of members (value is int) - /// - public const string SearchMincurrentmembers = "mincurrentmembers"; - - /// - /// Search for a match with min free space (value is int) - /// - public const string SearchMinslotsavailable = "minslotsavailable"; - - /// - /// The most recent version of the API. - /// - public const int SendinviteApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int UpdatelobbyApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int UpdatelobbymodificationApiLatest = 1; - - /// - /// Register to receive notifications about lobby join game accepted by local user via the overlay. - /// @note must call to remove the notification - /// - /// Structure containing information about the request. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// A callback that is fired when a notification is received. - /// - /// handle representing the registered callback - /// - public ulong AddNotifyJoinLobbyAccepted(AddNotifyJoinLobbyAcceptedOptions options, object clientData, OnJoinLobbyAcceptedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnJoinLobbyAcceptedCallbackInternal(OnJoinLobbyAcceptedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_Lobby_AddNotifyJoinLobbyAccepted(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications about lobby invites accepted by local user via the overlay. - /// @note must call RemoveNotifyLobbyInviteAccepted to remove the notification - /// - /// Structure containing information about the request. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// A callback that is fired when a a notification is received. - /// - /// handle representing the registered callback - /// - public ulong AddNotifyLobbyInviteAccepted(AddNotifyLobbyInviteAcceptedOptions options, object clientData, OnLobbyInviteAcceptedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnLobbyInviteAcceptedCallbackInternal(OnLobbyInviteAcceptedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_Lobby_AddNotifyLobbyInviteAccepted(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications about lobby invites sent to local users. - /// @note must call RemoveNotifyLobbyInviteReceived to remove the notification - /// - /// Structure containing information about the request. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// A callback that is fired when a a notification is received. - /// - /// handle representing the registered callback - /// - public ulong AddNotifyLobbyInviteReceived(AddNotifyLobbyInviteReceivedOptions options, object clientData, OnLobbyInviteReceivedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnLobbyInviteReceivedCallbackInternal(OnLobbyInviteReceivedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_Lobby_AddNotifyLobbyInviteReceived(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications about the changing status of lobby members. - /// @note must call RemoveNotifyLobbyMemberStatusReceived to remove the notification - /// - /// Structure containing information about the request. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// A callback that is fired when a a notification is received. - /// - /// handle representing the registered callback - /// - public ulong AddNotifyLobbyMemberStatusReceived(AddNotifyLobbyMemberStatusReceivedOptions options, object clientData, OnLobbyMemberStatusReceivedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnLobbyMemberStatusReceivedCallbackInternal(OnLobbyMemberStatusReceivedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_Lobby_AddNotifyLobbyMemberStatusReceived(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications when a lobby member updates the attributes associated with themselves inside the lobby. - /// @note must call RemoveNotifyLobbyMemberUpdateReceived to remove the notification - /// - /// Structure containing information about the request. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// A callback that is fired when a a notification is received. - /// - /// handle representing the registered callback - /// - public ulong AddNotifyLobbyMemberUpdateReceived(AddNotifyLobbyMemberUpdateReceivedOptions options, object clientData, OnLobbyMemberUpdateReceivedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnLobbyMemberUpdateReceivedCallbackInternal(OnLobbyMemberUpdateReceivedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_Lobby_AddNotifyLobbyMemberUpdateReceived(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications when a lobby owner updates the attributes associated with the lobby. - /// @note must call RemoveNotifyLobbyUpdateReceived to remove the notification - /// - /// Structure containing information about the request. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// A callback that is fired when a a notification is received. - /// - /// handle representing the registered callback - /// - public ulong AddNotifyLobbyUpdateReceived(AddNotifyLobbyUpdateReceivedOptions options, object clientData, OnLobbyUpdateReceivedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnLobbyUpdateReceivedCallbackInternal(OnLobbyUpdateReceivedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_Lobby_AddNotifyLobbyUpdateReceived(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications of when the RTC Room for a particular lobby has a connection status change. - /// - /// The RTC Room connection status is independent of the lobby connection status, however the lobby system will attempt to keep - /// them consistent, automatically connecting to the RTC room after joining a lobby which has an associated RTC room and disconnecting - /// from the RTC room when a lobby is left or disconnected. - /// - /// This notification is entirely informational and requires no action in response by the application. If the connected status is offline - /// (bIsConnected is false), the connection will automatically attempt to reconnect. The purpose of this notification is to allow - /// applications to show the current connection status of the RTC room when the connection is not established. - /// - /// Unlike , should not be called when the RTC room is disconnected. - /// - /// This function will only succeed when called on a lobby the local user is currently a member of. - /// - /// - /// Structure containing information about the lobby to receive updates about - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// The function to call if the RTC Room's connection status changes - /// - /// A valid notification ID if the NotificationFn was successfully registered, or if the input was invalid, the lobby did not exist, or the lobby did not have an RTC room. - /// - public ulong AddNotifyRTCRoomConnectionChanged(AddNotifyRTCRoomConnectionChangedOptions options, object clientData, OnRTCRoomConnectionChangedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnRTCRoomConnectionChangedCallbackInternal(OnRTCRoomConnectionChangedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_Lobby_AddNotifyRTCRoomConnectionChanged(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Create a handle to an existing lobby. - /// If the call returns an result, the out parameter, OutLobbyDetailsHandle, must be passed to to release the memory associated with it. - /// - /// Structure containing information about the lobby to retrieve - /// The new active lobby handle or null if there was an error - /// - /// if the lobby handle was created successfully - /// if any of the options are incorrect - /// if the API version passed in is incorrect - /// if the lobby doesn't exist - /// - public Result CopyLobbyDetailsHandle(CopyLobbyDetailsHandleOptions options, out LobbyDetails outLobbyDetailsHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outLobbyDetailsHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Lobby_CopyLobbyDetailsHandle(InnerHandle, optionsAddress, ref outLobbyDetailsHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outLobbyDetailsHandleAddress, out outLobbyDetailsHandle); - - return funcResult; - } - - /// - /// is used to immediately retrieve a handle to the lobby information from after notification of an invite - /// If the call returns an result, the out parameter, OutLobbyDetailsHandle, must be passed to to release the memory associated with it. - /// - /// - /// - /// Structure containing the input parameters - /// out parameter used to receive the lobby handle - /// - /// if the information is available and passed out in OutLobbyDetailsHandle - /// if you pass an invalid invite ID or a null pointer for the out parameter - /// if the API version passed in is incorrect - /// If the invite ID cannot be found - /// - public Result CopyLobbyDetailsHandleByInviteId(CopyLobbyDetailsHandleByInviteIdOptions options, out LobbyDetails outLobbyDetailsHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outLobbyDetailsHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Lobby_CopyLobbyDetailsHandleByInviteId(InnerHandle, optionsAddress, ref outLobbyDetailsHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outLobbyDetailsHandleAddress, out outLobbyDetailsHandle); - - return funcResult; - } - - /// - /// is used to immediately retrieve a handle to the lobby information from after notification of an join game - /// If the call returns an result, the out parameter, OutLobbyDetailsHandle, must be passed to to release the memory associated with it. - /// - /// - /// - /// Structure containing the input parameters - /// out parameter used to receive the lobby handle - /// - /// if the information is available and passed out in OutLobbyDetailsHandle - /// if you pass an invalid ui event ID - /// if the API version passed in is incorrect - /// If the invite ID cannot be found - /// - public Result CopyLobbyDetailsHandleByUiEventId(CopyLobbyDetailsHandleByUiEventIdOptions options, out LobbyDetails outLobbyDetailsHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outLobbyDetailsHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Lobby_CopyLobbyDetailsHandleByUiEventId(InnerHandle, optionsAddress, ref outLobbyDetailsHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outLobbyDetailsHandleAddress, out outLobbyDetailsHandle); - - return funcResult; - } - - /// - /// Creates a lobby and adds the user to the lobby membership. There is no data associated with the lobby at the start and can be added vis - /// - /// If the lobby is successfully created with an RTC Room enabled, the lobby system will automatically join and maintain the connection to the RTC room as long as the - /// local user remains in the lobby. Applications can use the to get the name of the RTC Room associated with a lobby, which may be used with - /// suite of functions. This can be useful to: register for notifications for talking status; to mute or unmute the local user's audio output; - /// to block or unblock room participants; to set local audio device settings; and more. - /// - /// Required fields for the creation of a lobby such as a user count and its starting advertised state - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the create operation completes, either successfully or in error - /// - /// if the creation completes successfully - /// if any of the options are incorrect - /// if the number of allowed lobbies is exceeded - /// - public void CreateLobby(CreateLobbyOptions options, object clientData, OnCreateLobbyCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnCreateLobbyCallbackInternal(OnCreateLobbyCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Lobby_CreateLobby(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Create a lobby search handle. This handle may be modified to include various search parameters. - /// Searching is possible in three methods, all mutually exclusive - /// - set the lobby ID to find a specific lobby - /// - set the target user ID to find a specific user - /// - set lobby parameters to find an array of lobbies that match the search criteria (not available yet) - /// - /// Structure containing required parameters such as the maximum number of search results - /// The new search handle or null if there was an error creating the search handle - /// - /// if the search creation completes successfully - /// if any of the options are incorrect - /// - public Result CreateLobbySearch(CreateLobbySearchOptions options, out LobbySearch outLobbySearchHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outLobbySearchHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Lobby_CreateLobbySearch(InnerHandle, optionsAddress, ref outLobbySearchHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outLobbySearchHandleAddress, out outLobbySearchHandle); - - return funcResult; - } - - /// - /// Destroy a lobby given a lobby ID - /// - /// Structure containing information about the lobby to be destroyed - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the destroy operation completes, either successfully or in error - /// - /// if the destroy completes successfully - /// if any of the options are incorrect - /// if the lobby is already marked for destroy - /// if the lobby to be destroyed does not exist - /// - public void DestroyLobby(DestroyLobbyOptions options, object clientData, OnDestroyLobbyCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnDestroyLobbyCallbackInternal(OnDestroyLobbyCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Lobby_DestroyLobby(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Get the number of known invites for a given user - /// - /// the Options associated with retrieving the current invite count - /// - /// number of known invites for a given user or 0 if there is an error - /// - public uint GetInviteCount(GetInviteCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Lobby_GetInviteCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Retrieve an invite ID from a list of active invites for a given user - /// - /// - /// - /// Structure containing the input parameters - /// - /// if the input is valid and an invite ID was returned - /// if any of the options are incorrect - /// if the invite doesn't exist - /// - public Result GetInviteIdByIndex(GetInviteIdByIndexOptions options, out string outBuffer) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - System.IntPtr outBufferAddress = System.IntPtr.Zero; - int inOutBufferLength = InviteidMaxLength + 1; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_Lobby_GetInviteIdByIndex(InnerHandle, optionsAddress, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// Get the name of the RTC room associated with a specific lobby a local user belongs to. - /// - /// suite of functions. RTC Room Names must not be used with - /// , , or . Doing so will return or - /// if used with those functions. - /// - /// This function will only succeed when called on a lobby the local user is currently a member of. - /// - /// Structure containing information about the RTC room name to retrieve - /// The buffer to store the null-terminated room name string within - /// In: The maximum amount of writable chars in OutBuffer, Out: The minimum amount of chars needed in OutBuffer to store the RTC room name (including the null-terminator) - /// - /// if a room exists for the specified lobby, there was enough space in OutBuffer, and the name was written successfully - /// if the lobby does not exist - /// if the lobby exists, but did not have the RTC Room feature enabled when created - /// if you pass a null pointer on invalid length for any of the parameters - /// The OutBuffer is not large enough to receive the room name. InOutBufferLength contains the required minimum length to perform the operation successfully. - /// - public Result GetRTCRoomName(GetRTCRoomNameOptions options, out string outBuffer) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - System.IntPtr outBufferAddress = System.IntPtr.Zero; - uint inOutBufferLength = 256; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_Lobby_GetRTCRoomName(InnerHandle, optionsAddress, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// Get the current connection status of the RTC Room for a lobby. - /// - /// The RTC Room connection status is independent of the lobby connection status, however the lobby system will attempt to keep - /// them consistent, automatically connecting to the RTC room after joining a lobby which has an associated RTC room and disconnecting - /// from the RTC room when a lobby is left or disconnected. - /// - /// This function will only succeed when called on a lobby the local user is currently a member of. - /// - /// - /// Structure containing information about the lobby to query the RTC Room connection status for - /// If the result is , this will be set to true if we are connected, or false if we are not yet connected. - /// - /// if we are connected to the specified lobby, the input options and parameters were valid and we were able to write to bOutIsConnected successfully. - /// if the lobby doesn't exist - /// if the lobby exists, but did not have the RTC Room feature enabled when created - /// if bOutIsConnected is NULL, or any other parameters are NULL or invalid - /// - public Result IsRTCRoomConnected(IsRTCRoomConnectedOptions options, out bool bOutIsConnected) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - int bOutIsConnectedInt = 0; - - var funcResult = Bindings.EOS_Lobby_IsRTCRoomConnected(InnerHandle, optionsAddress, ref bOutIsConnectedInt); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(bOutIsConnectedInt, out bOutIsConnected); - - return funcResult; - } - - /// - /// Join a lobby, creating a local instance under a given lobby ID. Backend will validate various conditions to make sure it is possible to join the lobby. - /// - /// If the lobby is successfully join has an RTC Room enabled, the lobby system will automatically join and maintain the connection to the RTC room as long as the - /// local user remains in the lobby. Applications can use the to get the name of the RTC Room associated with a lobby, which may be used with - /// suite of functions. This can be useful to: register for notifications for talking status; to mute or unmute the local user's audio output; - /// to block or unblock room participants; to set local audio device settings; and more. - /// - /// Structure containing information about the lobby to be joined - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the join operation completes, either successfully or in error - /// - /// if the destroy completes successfully - /// if any of the options are incorrect - /// - public void JoinLobby(JoinLobbyOptions options, object clientData, OnJoinLobbyCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnJoinLobbyCallbackInternal(OnJoinLobbyCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Lobby_JoinLobby(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Kick an existing member from the lobby - /// - /// Structure containing information about the lobby and member to be kicked - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the kick operation completes, either successfully or in error - /// - /// if the kick completes successfully - /// if any of the options are incorrect - /// if the calling user is not the owner of the lobby - /// if a lobby of interest does not exist - /// - public void KickMember(KickMemberOptions options, object clientData, OnKickMemberCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnKickMemberCallbackInternal(OnKickMemberCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Lobby_KickMember(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Leave a lobby given a lobby ID - /// - /// If the lobby you are leaving had an RTC Room enabled, leaving the lobby will also automatically leave the RTC room. - /// - /// Structure containing information about the lobby to be left - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the leave operation completes, either successfully or in error - /// - /// if the leave completes successfully - /// if any of the options are incorrect - /// if the lobby is already marked for leave - /// if a lobby to be left does not exist - /// - public void LeaveLobby(LeaveLobbyOptions options, object clientData, OnLeaveLobbyCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnLeaveLobbyCallbackInternal(OnLeaveLobbyCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Lobby_LeaveLobby(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Promote an existing member of the lobby to owner, allowing them to make lobby data modifications - /// - /// Structure containing information about the lobby and member to be promoted - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the promotion operation completes, either successfully or in error - /// - /// if the promote completes successfully - /// if any of the options are incorrect - /// if the calling user is not the owner of the lobby - /// if the lobby of interest does not exist - /// - public void PromoteMember(PromoteMemberOptions options, object clientData, OnPromoteMemberCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnPromoteMemberCallbackInternal(OnPromoteMemberCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Lobby_PromoteMember(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Retrieve all existing invites for a single user - /// - /// Structure containing information about the invites to query - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the query invites operation completes, either successfully or in error - public void QueryInvites(QueryInvitesOptions options, object clientData, OnQueryInvitesCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryInvitesCallbackInternal(OnQueryInvitesCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Lobby_QueryInvites(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Reject an invite from another user. - /// - /// Structure containing information about the invite to reject - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the reject invite operation completes, either successfully or in error - /// - /// if the invite rejection completes successfully - /// if any of the options are incorrect - /// if the invite does not exist - /// - public void RejectInvite(RejectInviteOptions options, object clientData, OnRejectInviteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnRejectInviteCallbackInternal(OnRejectInviteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Lobby_RejectInvite(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Unregister from receiving notifications when a user accepts a lobby invitation via the overlay. - /// - /// Handle representing the registered callback - public void RemoveNotifyJoinLobbyAccepted(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Lobby_RemoveNotifyJoinLobbyAccepted(InnerHandle, inId); - } - - /// - /// Unregister from receiving notifications when a user accepts a lobby invitation via the overlay. - /// - /// Handle representing the registered callback - public void RemoveNotifyLobbyInviteAccepted(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Lobby_RemoveNotifyLobbyInviteAccepted(InnerHandle, inId); - } - - /// - /// Unregister from receiving notifications when a user receives a lobby invitation. - /// - /// Handle representing the registered callback - public void RemoveNotifyLobbyInviteReceived(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Lobby_RemoveNotifyLobbyInviteReceived(InnerHandle, inId); - } - - /// - /// Unregister from receiving notifications when lobby members status change. - /// - /// Handle representing the registered callback - public void RemoveNotifyLobbyMemberStatusReceived(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived(InnerHandle, inId); - } - - /// - /// Unregister from receiving notifications when lobby members change their data. - /// - /// Handle representing the registered callback - public void RemoveNotifyLobbyMemberUpdateReceived(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived(InnerHandle, inId); - } - - /// - /// Unregister from receiving notifications when a lobby changes its data. - /// - /// Handle representing the registered callback - public void RemoveNotifyLobbyUpdateReceived(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Lobby_RemoveNotifyLobbyUpdateReceived(InnerHandle, inId); - } - - /// - /// Unregister from receiving notifications when an RTC Room's connection status changes. - /// - /// This should be called when the local user is leaving a lobby. - /// - /// - /// Handle representing the registered callback - public void RemoveNotifyRTCRoomConnectionChanged(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged(InnerHandle, inId); - } - - /// - /// Send an invite to another user. User must be a member of the lobby or else the call will fail - /// - /// Structure containing information about the lobby and user to invite - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the send invite operation completes, either successfully or in error - /// - /// if the send invite completes successfully - /// if any of the options are incorrect - /// if the lobby to send the invite from does not exist - /// - public void SendInvite(SendInviteOptions options, object clientData, OnSendInviteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnSendInviteCallbackInternal(OnSendInviteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Lobby_SendInvite(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Update a lobby given a lobby modification handle created by - /// - /// Structure containing information about the lobby to be updated - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the update operation completes, either successfully or in error - /// - /// if the update completes successfully - /// if any of the options are incorrect - /// if the lobby modification contains modifications that are only allowed by the owner - /// if the lobby to update does not exist - /// - public void UpdateLobby(UpdateLobbyOptions options, object clientData, OnUpdateLobbyCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnUpdateLobbyCallbackInternal(OnUpdateLobbyCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Lobby_UpdateLobby(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Creates a lobby modification handle (). The lobby modification handle is used to modify an existing lobby and can be applied with . - /// The must be released by calling once it is no longer needed. - /// - /// - /// - /// - /// Required fields such as lobby ID - /// Pointer to a Lobby Modification Handle only set if successful - /// - /// if we successfully created the Lobby Modification Handle pointed at in OutLobbyModificationHandle, or an error result if the input data was invalid - /// if any of the options are incorrect - /// - public Result UpdateLobbyModification(UpdateLobbyModificationOptions options, out LobbyModification outLobbyModificationHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outLobbyModificationHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Lobby_UpdateLobbyModification(InnerHandle, optionsAddress, ref outLobbyModificationHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outLobbyModificationHandleAddress, out outLobbyModificationHandle); - - return funcResult; - } - - [MonoPInvokeCallback(typeof(OnCreateLobbyCallbackInternal))] - internal static void OnCreateLobbyCallbackInternalImplementation(System.IntPtr data) - { - OnCreateLobbyCallback callback; - CreateLobbyCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnDestroyLobbyCallbackInternal))] - internal static void OnDestroyLobbyCallbackInternalImplementation(System.IntPtr data) - { - OnDestroyLobbyCallback callback; - DestroyLobbyCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnJoinLobbyAcceptedCallbackInternal))] - internal static void OnJoinLobbyAcceptedCallbackInternalImplementation(System.IntPtr data) - { - OnJoinLobbyAcceptedCallback callback; - JoinLobbyAcceptedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnJoinLobbyCallbackInternal))] - internal static void OnJoinLobbyCallbackInternalImplementation(System.IntPtr data) - { - OnJoinLobbyCallback callback; - JoinLobbyCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnKickMemberCallbackInternal))] - internal static void OnKickMemberCallbackInternalImplementation(System.IntPtr data) - { - OnKickMemberCallback callback; - KickMemberCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLeaveLobbyCallbackInternal))] - internal static void OnLeaveLobbyCallbackInternalImplementation(System.IntPtr data) - { - OnLeaveLobbyCallback callback; - LeaveLobbyCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLobbyInviteAcceptedCallbackInternal))] - internal static void OnLobbyInviteAcceptedCallbackInternalImplementation(System.IntPtr data) - { - OnLobbyInviteAcceptedCallback callback; - LobbyInviteAcceptedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLobbyInviteReceivedCallbackInternal))] - internal static void OnLobbyInviteReceivedCallbackInternalImplementation(System.IntPtr data) - { - OnLobbyInviteReceivedCallback callback; - LobbyInviteReceivedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLobbyMemberStatusReceivedCallbackInternal))] - internal static void OnLobbyMemberStatusReceivedCallbackInternalImplementation(System.IntPtr data) - { - OnLobbyMemberStatusReceivedCallback callback; - LobbyMemberStatusReceivedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLobbyMemberUpdateReceivedCallbackInternal))] - internal static void OnLobbyMemberUpdateReceivedCallbackInternalImplementation(System.IntPtr data) - { - OnLobbyMemberUpdateReceivedCallback callback; - LobbyMemberUpdateReceivedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLobbyUpdateReceivedCallbackInternal))] - internal static void OnLobbyUpdateReceivedCallbackInternalImplementation(System.IntPtr data) - { - OnLobbyUpdateReceivedCallback callback; - LobbyUpdateReceivedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnPromoteMemberCallbackInternal))] - internal static void OnPromoteMemberCallbackInternalImplementation(System.IntPtr data) - { - OnPromoteMemberCallback callback; - PromoteMemberCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryInvitesCallbackInternal))] - internal static void OnQueryInvitesCallbackInternalImplementation(System.IntPtr data) - { - OnQueryInvitesCallback callback; - QueryInvitesCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnRTCRoomConnectionChangedCallbackInternal))] - internal static void OnRTCRoomConnectionChangedCallbackInternalImplementation(System.IntPtr data) - { - OnRTCRoomConnectionChangedCallback callback; - RTCRoomConnectionChangedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnRejectInviteCallbackInternal))] - internal static void OnRejectInviteCallbackInternalImplementation(System.IntPtr data) - { - OnRejectInviteCallback callback; - RejectInviteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnSendInviteCallbackInternal))] - internal static void OnSendInviteCallbackInternalImplementation(System.IntPtr data) - { - OnSendInviteCallback callback; - SendInviteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnUpdateLobbyCallbackInternal))] - internal static void OnUpdateLobbyCallbackInternalImplementation(System.IntPtr data) - { - OnUpdateLobbyCallback callback; - UpdateLobbyCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public sealed partial class LobbyInterface : Handle + { + public LobbyInterface() + { + } + + public LobbyInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int AddnotifyjoinlobbyacceptedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifylobbyinviteacceptedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifylobbyinvitereceivedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifylobbyinviterejectedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifylobbymemberstatusreceivedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifylobbymemberupdatereceivedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifylobbyupdatereceivedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifyrtcroomconnectionchangedApiLatest = 2; + + /// + /// The most recent version of the API. + /// + public const int AddnotifysendlobbynativeinviterequestedApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int AttributeApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int AttributedataApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopylobbydetailshandleApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopylobbydetailshandlebyinviteidApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopylobbydetailshandlebyuieventidApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CreatelobbyApiLatest = 8; + + /// + /// The most recent version of the API. + /// + public const int CreatelobbysearchApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int DestroylobbyApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetinvitecountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetinviteidbyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetrtcroomnameApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int HardmutememberApiLatest = 1; + + /// + /// Max length of an invite ID + /// + public const int InviteidMaxLength = 64; + + /// + /// The most recent version of the API. + /// + public const int IsrtcroomconnectedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int JoinlobbyApiLatest = 3; + + /// + /// The most recent version of the API. + /// + public const int JoinlobbybyidApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int KickmemberApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LeavelobbyApiLatest = 1; + + /// + /// The most recent version of the structure. + /// + public const int LocalrtcoptionsApiLatest = 1; + + /// + /// All lobbies are referenced by a unique lobby ID + /// + public const int MaxLobbies = 16; + + public const int MaxLobbyMembers = 64; + + /// + /// Maximum number of characters allowed in the lobby id override + /// + public const int MaxLobbyidoverrideLength = 60; + + public const int MaxSearchResults = 200; + + /// + /// Minimum number of characters allowed in the lobby id override + /// + public const int MinLobbyidoverrideLength = 4; + + /// + /// The most recent version of the API. + /// + public const int PromotememberApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int QueryinvitesApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int RejectinviteApiLatest = 1; + + /// + /// Search for a matching bucket ID (value is string) + /// + public static readonly Utf8String SearchBucketId = "bucket"; + + /// + /// Search for lobbies that contain at least this number of members (value is int) + /// + public static readonly Utf8String SearchMincurrentmembers = "mincurrentmembers"; + + /// + /// Search for a match with min free space (value is int) + /// + public static readonly Utf8String SearchMinslotsavailable = "minslotsavailable"; + + /// + /// The most recent version of the API. + /// + public const int SendinviteApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UpdatelobbyApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UpdatelobbymodificationApiLatest = 1; + + /// + /// Register to receive notifications about lobby "JOIN" performed by local user (when no invite) via the overlay. + /// must call EOS_Lobby_RemoveNotifyJoinLobbyAccepted to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a notification is received. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyJoinLobbyAccepted(ref AddNotifyJoinLobbyAcceptedOptions options, object clientData, OnJoinLobbyAcceptedCallback notificationFn) + { + AddNotifyJoinLobbyAcceptedOptionsInternal optionsInternal = new AddNotifyJoinLobbyAcceptedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnJoinLobbyAcceptedCallbackInternal(OnJoinLobbyAcceptedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Lobby_AddNotifyJoinLobbyAccepted(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications about lobby invites accepted by local user via the overlay. + /// must call RemoveNotifyLobbyInviteAccepted to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a a notification is received. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyLobbyInviteAccepted(ref AddNotifyLobbyInviteAcceptedOptions options, object clientData, OnLobbyInviteAcceptedCallback notificationFn) + { + AddNotifyLobbyInviteAcceptedOptionsInternal optionsInternal = new AddNotifyLobbyInviteAcceptedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnLobbyInviteAcceptedCallbackInternal(OnLobbyInviteAcceptedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Lobby_AddNotifyLobbyInviteAccepted(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications about lobby invites sent to local users. + /// must call RemoveNotifyLobbyInviteReceived to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a a notification is received. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyLobbyInviteReceived(ref AddNotifyLobbyInviteReceivedOptions options, object clientData, OnLobbyInviteReceivedCallback notificationFn) + { + AddNotifyLobbyInviteReceivedOptionsInternal optionsInternal = new AddNotifyLobbyInviteReceivedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnLobbyInviteReceivedCallbackInternal(OnLobbyInviteReceivedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Lobby_AddNotifyLobbyInviteReceived(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications about lobby invites rejected by local user via the overlay. + /// must call RemoveNotifyLobbyInviteRejected to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a a notification is received. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyLobbyInviteRejected(ref AddNotifyLobbyInviteRejectedOptions options, object clientData, OnLobbyInviteRejectedCallback notificationFn) + { + AddNotifyLobbyInviteRejectedOptionsInternal optionsInternal = new AddNotifyLobbyInviteRejectedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnLobbyInviteRejectedCallbackInternal(OnLobbyInviteRejectedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Lobby_AddNotifyLobbyInviteRejected(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications about the changing status of lobby members. + /// must call RemoveNotifyLobbyMemberStatusReceived to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a a notification is received. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyLobbyMemberStatusReceived(ref AddNotifyLobbyMemberStatusReceivedOptions options, object clientData, OnLobbyMemberStatusReceivedCallback notificationFn) + { + AddNotifyLobbyMemberStatusReceivedOptionsInternal optionsInternal = new AddNotifyLobbyMemberStatusReceivedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnLobbyMemberStatusReceivedCallbackInternal(OnLobbyMemberStatusReceivedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Lobby_AddNotifyLobbyMemberStatusReceived(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications when a lobby member updates the attributes associated with themselves inside the lobby. + /// must call RemoveNotifyLobbyMemberUpdateReceived to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a a notification is received. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyLobbyMemberUpdateReceived(ref AddNotifyLobbyMemberUpdateReceivedOptions options, object clientData, OnLobbyMemberUpdateReceivedCallback notificationFn) + { + AddNotifyLobbyMemberUpdateReceivedOptionsInternal optionsInternal = new AddNotifyLobbyMemberUpdateReceivedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnLobbyMemberUpdateReceivedCallbackInternal(OnLobbyMemberUpdateReceivedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Lobby_AddNotifyLobbyMemberUpdateReceived(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications when a lobby owner updates the attributes associated with the lobby. + /// must call RemoveNotifyLobbyUpdateReceived to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a a notification is received. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyLobbyUpdateReceived(ref AddNotifyLobbyUpdateReceivedOptions options, object clientData, OnLobbyUpdateReceivedCallback notificationFn) + { + AddNotifyLobbyUpdateReceivedOptionsInternal optionsInternal = new AddNotifyLobbyUpdateReceivedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnLobbyUpdateReceivedCallbackInternal(OnLobbyUpdateReceivedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Lobby_AddNotifyLobbyUpdateReceived(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications of when the RTC Room for a particular lobby has a connection status change. + /// + /// The RTC Room connection status is independent of the lobby connection status, however the lobby system will attempt to keep + /// them consistent, automatically connecting to the RTC room after joining a lobby which has an associated RTC room and disconnecting + /// from the RTC room when a lobby is left or disconnected. + /// + /// This notification is entirely informational and requires no action in response by the application. If the connected status is offline + /// (bIsConnected is ), the connection will automatically attempt to reconnect. The purpose of this notification is to allow + /// applications to show the current connection status of the RTC room when the connection is not established. + /// + /// Unlike , should not be called when the RTC room is disconnected. + /// + /// This function will only succeed when called on a lobby the local user is currently a member of. + /// + /// + /// Structure containing information about the lobby to receive updates about + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// The function to call if the RTC Room's connection status changes + /// + /// A valid notification ID if the NotificationFn was successfully registered, or if the input was invalid, the lobby did not exist, or the lobby did not have an RTC room. + /// + public ulong AddNotifyRTCRoomConnectionChanged(ref AddNotifyRTCRoomConnectionChangedOptions options, object clientData, OnRTCRoomConnectionChangedCallback notificationFn) + { + AddNotifyRTCRoomConnectionChangedOptionsInternal optionsInternal = new AddNotifyRTCRoomConnectionChangedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnRTCRoomConnectionChangedCallbackInternal(OnRTCRoomConnectionChangedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Lobby_AddNotifyRTCRoomConnectionChanged(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications about a lobby "INVITE" performed by a local user via the overlay. + /// This is only needed when a configured integrated platform has set. The EOS SDK will + /// then use the state of and to determine when the NotificationFn is + /// called. + /// must call EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequested to remove the notification. + /// + /// + /// + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a notification is received. + /// + /// handle representing the registered callback + /// + public ulong AddNotifySendLobbyNativeInviteRequested(ref AddNotifySendLobbyNativeInviteRequestedOptions options, object clientData, OnSendLobbyNativeInviteRequestedCallback notificationFn) + { + AddNotifySendLobbyNativeInviteRequestedOptionsInternal optionsInternal = new AddNotifySendLobbyNativeInviteRequestedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnSendLobbyNativeInviteRequestedCallbackInternal(OnSendLobbyNativeInviteRequestedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Lobby_AddNotifySendLobbyNativeInviteRequested(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Create a handle to an existing lobby. + /// If the call returns an result, the out parameter, OutLobbyDetailsHandle, must be passed to to release the memory associated with it. + /// + /// Structure containing information about the lobby to retrieve + /// The new active lobby handle or null if there was an error + /// + /// if the lobby handle was created successfully + /// if any of the options are incorrect + /// if the API version passed in is incorrect + /// if the lobby doesn't exist + /// + public Result CopyLobbyDetailsHandle(ref CopyLobbyDetailsHandleOptions options, out LobbyDetails outLobbyDetailsHandle) + { + CopyLobbyDetailsHandleOptionsInternal optionsInternal = new CopyLobbyDetailsHandleOptionsInternal(); + optionsInternal.Set(ref options); + + var outLobbyDetailsHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Lobby_CopyLobbyDetailsHandle(InnerHandle, ref optionsInternal, ref outLobbyDetailsHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outLobbyDetailsHandleAddress, out outLobbyDetailsHandle); + + return funcResult; + } + + /// + /// is used to immediately retrieve a handle to the lobby information from after notification of an invite + /// If the call returns an result, the out parameter, OutLobbyDetailsHandle, must be passed to to release the memory associated with it. + /// + /// + /// + /// Structure containing the input parameters + /// out parameter used to receive the lobby handle + /// + /// if the information is available and passed out in OutLobbyDetailsHandle + /// if you pass an invalid invite ID or a null pointer for the out parameter + /// if the API version passed in is incorrect + /// If the invite ID cannot be found + /// + public Result CopyLobbyDetailsHandleByInviteId(ref CopyLobbyDetailsHandleByInviteIdOptions options, out LobbyDetails outLobbyDetailsHandle) + { + CopyLobbyDetailsHandleByInviteIdOptionsInternal optionsInternal = new CopyLobbyDetailsHandleByInviteIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outLobbyDetailsHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Lobby_CopyLobbyDetailsHandleByInviteId(InnerHandle, ref optionsInternal, ref outLobbyDetailsHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outLobbyDetailsHandleAddress, out outLobbyDetailsHandle); + + return funcResult; + } + + /// + /// is used to immediately retrieve a handle to the lobby information from after notification of an join game + /// If the call returns an result, the out parameter, OutLobbyDetailsHandle, must be passed to to release the memory associated with it. + /// + /// + /// + /// Structure containing the input parameters + /// out parameter used to receive the lobby handle + /// + /// if the information is available and passed out in OutLobbyDetailsHandle + /// if you pass an invalid ui event ID + /// if the API version passed in is incorrect + /// If the invite ID cannot be found + /// + public Result CopyLobbyDetailsHandleByUiEventId(ref CopyLobbyDetailsHandleByUiEventIdOptions options, out LobbyDetails outLobbyDetailsHandle) + { + CopyLobbyDetailsHandleByUiEventIdOptionsInternal optionsInternal = new CopyLobbyDetailsHandleByUiEventIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outLobbyDetailsHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Lobby_CopyLobbyDetailsHandleByUiEventId(InnerHandle, ref optionsInternal, ref outLobbyDetailsHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outLobbyDetailsHandleAddress, out outLobbyDetailsHandle); + + return funcResult; + } + + /// + /// Creates a lobby and adds the user to the lobby membership. There is no data associated with the lobby at the start and can be added vis + /// + /// If the lobby is successfully created with an RTC Room enabled, the lobby system will automatically join and maintain the connection to the RTC room as long as the + /// local user remains in the lobby. Applications can use the to get the name of the RTC Room associated with a lobby, which may be used with + /// suite of functions. This can be useful to: register for notifications for talking status; to mute or unmute the local user's audio output; + /// to block or unblock room participants; to set local audio device settings; and more. + /// + /// Required fields for the creation of a lobby such as a user count and its starting advertised state + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the create operation completes, either successfully or in error + /// + /// if the creation completes successfully + /// if any of the options are incorrect + /// if the number of allowed lobbies is exceeded + /// + public void CreateLobby(ref CreateLobbyOptions options, object clientData, OnCreateLobbyCallback completionDelegate) + { + CreateLobbyOptionsInternal optionsInternal = new CreateLobbyOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnCreateLobbyCallbackInternal(OnCreateLobbyCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Lobby_CreateLobby(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Create a lobby search handle. This handle may be modified to include various search parameters. + /// Searching is possible in three methods, all mutually exclusive + /// - set the lobby ID to find a specific lobby + /// - set the target user ID to find a specific user + /// - set lobby parameters to find an array of lobbies that match the search criteria (not available yet) + /// + /// Structure containing required parameters such as the maximum number of search results + /// The new search handle or null if there was an error creating the search handle + /// + /// if the search creation completes successfully + /// if any of the options are incorrect + /// + public Result CreateLobbySearch(ref CreateLobbySearchOptions options, out LobbySearch outLobbySearchHandle) + { + CreateLobbySearchOptionsInternal optionsInternal = new CreateLobbySearchOptionsInternal(); + optionsInternal.Set(ref options); + + var outLobbySearchHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Lobby_CreateLobbySearch(InnerHandle, ref optionsInternal, ref outLobbySearchHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outLobbySearchHandleAddress, out outLobbySearchHandle); + + return funcResult; + } + + /// + /// Destroy a lobby given a lobby ID + /// + /// Structure containing information about the lobby to be destroyed + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the destroy operation completes, either successfully or in error + /// + /// if the destroy completes successfully + /// if any of the options are incorrect + /// if the lobby is already marked for destroy + /// if the lobby to be destroyed does not exist + /// + public void DestroyLobby(ref DestroyLobbyOptions options, object clientData, OnDestroyLobbyCallback completionDelegate) + { + DestroyLobbyOptionsInternal optionsInternal = new DestroyLobbyOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnDestroyLobbyCallbackInternal(OnDestroyLobbyCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Lobby_DestroyLobby(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Get the number of known invites for a given user + /// + /// the Options associated with retrieving the current invite count + /// + /// number of known invites for a given user or 0 if there is an error + /// + public uint GetInviteCount(ref GetInviteCountOptions options) + { + GetInviteCountOptionsInternal optionsInternal = new GetInviteCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Lobby_GetInviteCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Retrieve an invite ID from a list of active invites for a given user + /// + /// + /// + /// Structure containing the input parameters + /// + /// if the input is valid and an invite ID was returned + /// if any of the options are incorrect + /// if the invite doesn't exist + /// + public Result GetInviteIdByIndex(ref GetInviteIdByIndexOptions options, out Utf8String outBuffer) + { + GetInviteIdByIndexOptionsInternal optionsInternal = new GetInviteIdByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + int inOutBufferLength = InviteidMaxLength + 1; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_Lobby_GetInviteIdByIndex(InnerHandle, ref optionsInternal, outBufferAddress, ref inOutBufferLength); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// Get the name of the RTC room associated with a specific lobby a local user belongs to. + /// + /// suite of functions. RTC Room Names must not be used with + /// , , or . Doing so will return or + /// if used with those functions. + /// + /// This function will only succeed when called on a lobby the local user is currently a member of. + /// + /// Structure containing information about the RTC room name to retrieve + /// The buffer to store the null-terminated room name string within + /// In: The maximum amount of writable chars in OutBuffer, Out: The minimum amount of chars needed in OutBuffer to store the RTC room name (including the null-terminator) + /// + /// if a room exists for the specified lobby, there was enough space in OutBuffer, and the name was written successfully + /// if the lobby does not exist + /// if the lobby exists, but did not have the RTC Room feature enabled when created + /// if you pass a null pointer on invalid length for any of the parameters + /// The OutBuffer is not large enough to receive the room name. InOutBufferLength contains the required minimum length to perform the operation successfully. + /// + public Result GetRTCRoomName(ref GetRTCRoomNameOptions options, out Utf8String outBuffer) + { + GetRTCRoomNameOptionsInternal optionsInternal = new GetRTCRoomNameOptionsInternal(); + optionsInternal.Set(ref options); + + uint inOutBufferLength = 256; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_Lobby_GetRTCRoomName(InnerHandle, ref optionsInternal, outBufferAddress, ref inOutBufferLength); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// Hard mute an existing member in the lobby, can't speak but can hear other members of the lobby + /// + /// Structure containing information about the lobby and member to be hard muted + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the hard mute operation completes, either successfully or in error + /// + /// if the hard mute completes successfully + /// if the API version passed in is incorrect + /// if any of the options are incorrect + /// if a target user is incorrect + /// if lobby or target user cannot be found + /// if lobby has no voice enabled + /// if the calling user is not the owner of the lobby + /// if a lobby of interest does not exist + /// if the user is already marked for hard mute + /// if there are too many requests + /// + public void HardMuteMember(ref HardMuteMemberOptions options, object clientData, OnHardMuteMemberCallback completionDelegate) + { + HardMuteMemberOptionsInternal optionsInternal = new HardMuteMemberOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnHardMuteMemberCallbackInternal(OnHardMuteMemberCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Lobby_HardMuteMember(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Get the current connection status of the RTC Room for a lobby. + /// + /// The RTC Room connection status is independent of the lobby connection status, however the lobby system will attempt to keep + /// them consistent, automatically connecting to the RTC room after joining a lobby which has an associated RTC room and disconnecting + /// from the RTC room when a lobby is left or disconnected. + /// + /// This function will only succeed when called on a lobby the local user is currently a member of. + /// + /// + /// Structure containing information about the lobby to query the RTC Room connection status for + /// If the result is , this will be set to if we are connected, or if we are not yet connected. + /// + /// if we are connected to the specified lobby, the input options and parameters were valid and we were able to write to bOutIsConnected successfully. + /// if the lobby doesn't exist + /// if the lobby exists, but did not have the RTC Room feature enabled when created + /// if bOutIsConnected is , or any other parameters are or invalid + /// + public Result IsRTCRoomConnected(ref IsRTCRoomConnectedOptions options, out bool bOutIsConnected) + { + IsRTCRoomConnectedOptionsInternal optionsInternal = new IsRTCRoomConnectedOptionsInternal(); + optionsInternal.Set(ref options); + + int bOutIsConnectedInt = 0; + + var funcResult = Bindings.EOS_Lobby_IsRTCRoomConnected(InnerHandle, ref optionsInternal, ref bOutIsConnectedInt); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(bOutIsConnectedInt, out bOutIsConnected); + + return funcResult; + } + + /// + /// Join a lobby, creating a local instance under a given lobby ID. Backend will validate various conditions to make sure it is possible to join the lobby. + /// + /// If the lobby is successfully join has an RTC Room enabled, the lobby system will automatically join and maintain the connection to the RTC room as long as the + /// local user remains in the lobby. Applications can use the to get the name of the RTC Room associated with a lobby, which may be used with + /// suite of functions. This can be useful to: register for notifications for talking status; to mute or unmute the local user's audio output; + /// to block or unblock room participants; to set local audio device settings; and more. + /// + /// Structure containing information about the lobby to be joined + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the join operation completes, either successfully or in error + /// + /// if the destroy completes successfully + /// if any of the options are incorrect + /// + public void JoinLobby(ref JoinLobbyOptions options, object clientData, OnJoinLobbyCallback completionDelegate) + { + JoinLobbyOptionsInternal optionsInternal = new JoinLobbyOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnJoinLobbyCallbackInternal(OnJoinLobbyCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Lobby_JoinLobby(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// This is a special case of . It should only be used if the lobby has had Join-by-ID enabled. + /// Additionally, Join-by-ID should only be enabled to support native invites on an integrated platform. + /// + /// + /// Structure containing information about the lobby to be joined + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the join operation completes, either successfully or in error + /// + /// if the destroy completes successfully + /// if any of the options are incorrect + /// + public void JoinLobbyById(ref JoinLobbyByIdOptions options, object clientData, OnJoinLobbyByIdCallback completionDelegate) + { + JoinLobbyByIdOptionsInternal optionsInternal = new JoinLobbyByIdOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnJoinLobbyByIdCallbackInternal(OnJoinLobbyByIdCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Lobby_JoinLobbyById(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Kick an existing member from the lobby + /// + /// Structure containing information about the lobby and member to be kicked + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the kick operation completes, either successfully or in error + /// + /// if the kick completes successfully + /// if any of the options are incorrect + /// if the calling user is not the owner of the lobby + /// if a lobby of interest does not exist + /// + public void KickMember(ref KickMemberOptions options, object clientData, OnKickMemberCallback completionDelegate) + { + KickMemberOptionsInternal optionsInternal = new KickMemberOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnKickMemberCallbackInternal(OnKickMemberCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Lobby_KickMember(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Leave a lobby given a lobby ID + /// + /// If the lobby you are leaving had an RTC Room enabled, leaving the lobby will also automatically leave the RTC room. + /// + /// Structure containing information about the lobby to be left + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the leave operation completes, either successfully or in error + /// + /// if the leave completes successfully + /// if any of the options are incorrect + /// if the lobby is already marked for leave + /// if a lobby to be left does not exist + /// + public void LeaveLobby(ref LeaveLobbyOptions options, object clientData, OnLeaveLobbyCallback completionDelegate) + { + LeaveLobbyOptionsInternal optionsInternal = new LeaveLobbyOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnLeaveLobbyCallbackInternal(OnLeaveLobbyCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Lobby_LeaveLobby(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Promote an existing member of the lobby to owner, allowing them to make lobby data modifications + /// + /// Structure containing information about the lobby and member to be promoted + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the promotion operation completes, either successfully or in error + /// + /// if the promote completes successfully + /// if any of the options are incorrect + /// if the calling user is not the owner of the lobby + /// if the lobby of interest does not exist + /// + public void PromoteMember(ref PromoteMemberOptions options, object clientData, OnPromoteMemberCallback completionDelegate) + { + PromoteMemberOptionsInternal optionsInternal = new PromoteMemberOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnPromoteMemberCallbackInternal(OnPromoteMemberCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Lobby_PromoteMember(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Retrieve all existing invites for a single user + /// + /// Structure containing information about the invites to query + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the query invites operation completes, either successfully or in error + public void QueryInvites(ref QueryInvitesOptions options, object clientData, OnQueryInvitesCallback completionDelegate) + { + QueryInvitesOptionsInternal optionsInternal = new QueryInvitesOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryInvitesCallbackInternal(OnQueryInvitesCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Lobby_QueryInvites(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Reject an invite from another user. + /// + /// Structure containing information about the invite to reject + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the reject invite operation completes, either successfully or in error + /// + /// if the invite rejection completes successfully + /// if any of the options are incorrect + /// if the invite does not exist + /// + public void RejectInvite(ref RejectInviteOptions options, object clientData, OnRejectInviteCallback completionDelegate) + { + RejectInviteOptionsInternal optionsInternal = new RejectInviteOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnRejectInviteCallbackInternal(OnRejectInviteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Lobby_RejectInvite(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Unregister from receiving notifications when a user accepts a lobby invitation via the overlay. + /// + /// Handle representing the registered callback + public void RemoveNotifyJoinLobbyAccepted(ulong inId) + { + Bindings.EOS_Lobby_RemoveNotifyJoinLobbyAccepted(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister from receiving notifications when a user accepts a lobby invitation via the overlay. + /// + /// Handle representing the registered callback + public void RemoveNotifyLobbyInviteAccepted(ulong inId) + { + Bindings.EOS_Lobby_RemoveNotifyLobbyInviteAccepted(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister from receiving notifications when a user receives a lobby invitation. + /// + /// Handle representing the registered callback + public void RemoveNotifyLobbyInviteReceived(ulong inId) + { + Bindings.EOS_Lobby_RemoveNotifyLobbyInviteReceived(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister from receiving notifications when a user rejects a lobby invitation via the overlay. + /// + /// Handle representing the registered callback + public void RemoveNotifyLobbyInviteRejected(ulong inId) + { + Bindings.EOS_Lobby_RemoveNotifyLobbyInviteRejected(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister from receiving notifications when lobby members status change. + /// + /// Handle representing the registered callback + public void RemoveNotifyLobbyMemberStatusReceived(ulong inId) + { + Bindings.EOS_Lobby_RemoveNotifyLobbyMemberStatusReceived(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister from receiving notifications when lobby members change their data. + /// + /// Handle representing the registered callback + public void RemoveNotifyLobbyMemberUpdateReceived(ulong inId) + { + Bindings.EOS_Lobby_RemoveNotifyLobbyMemberUpdateReceived(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister from receiving notifications when a lobby changes its data. + /// + /// Handle representing the registered callback + public void RemoveNotifyLobbyUpdateReceived(ulong inId) + { + Bindings.EOS_Lobby_RemoveNotifyLobbyUpdateReceived(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister from receiving notifications when an RTC Room's connection status changes. + /// + /// This should be called when the local user is leaving a lobby. + /// + /// + /// Handle representing the registered callback + public void RemoveNotifyRTCRoomConnectionChanged(ulong inId) + { + Bindings.EOS_Lobby_RemoveNotifyRTCRoomConnectionChanged(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister from receiving notifications when a user requests a send invite via the overlay. + /// + /// Handle representing the registered callback + public void RemoveNotifySendLobbyNativeInviteRequested(ulong inId) + { + Bindings.EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequested(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Send an invite to another user. User must be a member of the lobby or else the call will fail + /// + /// Structure containing information about the lobby and user to invite + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the send invite operation completes, either successfully or in error + /// + /// if the send invite completes successfully + /// if any of the options are incorrect + /// if the lobby to send the invite from does not exist + /// + public void SendInvite(ref SendInviteOptions options, object clientData, OnSendInviteCallback completionDelegate) + { + SendInviteOptionsInternal optionsInternal = new SendInviteOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnSendInviteCallbackInternal(OnSendInviteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Lobby_SendInvite(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Update a lobby given a lobby modification handle created by + /// + /// Structure containing information about the lobby to be updated + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the update operation completes, either successfully or in error + /// + /// if the update completes successfully + /// if any of the options are incorrect + /// if the lobby modification contains modifications that are only allowed by the owner + /// if the lobby to update does not exist + /// + public void UpdateLobby(ref UpdateLobbyOptions options, object clientData, OnUpdateLobbyCallback completionDelegate) + { + UpdateLobbyOptionsInternal optionsInternal = new UpdateLobbyOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnUpdateLobbyCallbackInternal(OnUpdateLobbyCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Lobby_UpdateLobby(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Creates a lobby modification handle (). The lobby modification handle is used to modify an existing lobby and can be applied with . + /// The must be released by calling once it is no longer needed. + /// + /// + /// + /// + /// Required fields such as lobby ID + /// Pointer to a Lobby Modification Handle only set if successful + /// + /// if we successfully created the Lobby Modification Handle pointed at in OutLobbyModificationHandle, or an error result if the input data was invalid + /// if any of the options are incorrect + /// + public Result UpdateLobbyModification(ref UpdateLobbyModificationOptions options, out LobbyModification outLobbyModificationHandle) + { + UpdateLobbyModificationOptionsInternal optionsInternal = new UpdateLobbyModificationOptionsInternal(); + optionsInternal.Set(ref options); + + var outLobbyModificationHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Lobby_UpdateLobbyModification(InnerHandle, ref optionsInternal, ref outLobbyModificationHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outLobbyModificationHandleAddress, out outLobbyModificationHandle); + + return funcResult; + } + + [MonoPInvokeCallback(typeof(OnCreateLobbyCallbackInternal))] + internal static void OnCreateLobbyCallbackInternalImplementation(ref CreateLobbyCallbackInfoInternal data) + { + OnCreateLobbyCallback callback; + CreateLobbyCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnDestroyLobbyCallbackInternal))] + internal static void OnDestroyLobbyCallbackInternalImplementation(ref DestroyLobbyCallbackInfoInternal data) + { + OnDestroyLobbyCallback callback; + DestroyLobbyCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnHardMuteMemberCallbackInternal))] + internal static void OnHardMuteMemberCallbackInternalImplementation(ref HardMuteMemberCallbackInfoInternal data) + { + OnHardMuteMemberCallback callback; + HardMuteMemberCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnJoinLobbyAcceptedCallbackInternal))] + internal static void OnJoinLobbyAcceptedCallbackInternalImplementation(ref JoinLobbyAcceptedCallbackInfoInternal data) + { + OnJoinLobbyAcceptedCallback callback; + JoinLobbyAcceptedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnJoinLobbyByIdCallbackInternal))] + internal static void OnJoinLobbyByIdCallbackInternalImplementation(ref JoinLobbyByIdCallbackInfoInternal data) + { + OnJoinLobbyByIdCallback callback; + JoinLobbyByIdCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnJoinLobbyCallbackInternal))] + internal static void OnJoinLobbyCallbackInternalImplementation(ref JoinLobbyCallbackInfoInternal data) + { + OnJoinLobbyCallback callback; + JoinLobbyCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnKickMemberCallbackInternal))] + internal static void OnKickMemberCallbackInternalImplementation(ref KickMemberCallbackInfoInternal data) + { + OnKickMemberCallback callback; + KickMemberCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLeaveLobbyCallbackInternal))] + internal static void OnLeaveLobbyCallbackInternalImplementation(ref LeaveLobbyCallbackInfoInternal data) + { + OnLeaveLobbyCallback callback; + LeaveLobbyCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLobbyInviteAcceptedCallbackInternal))] + internal static void OnLobbyInviteAcceptedCallbackInternalImplementation(ref LobbyInviteAcceptedCallbackInfoInternal data) + { + OnLobbyInviteAcceptedCallback callback; + LobbyInviteAcceptedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLobbyInviteReceivedCallbackInternal))] + internal static void OnLobbyInviteReceivedCallbackInternalImplementation(ref LobbyInviteReceivedCallbackInfoInternal data) + { + OnLobbyInviteReceivedCallback callback; + LobbyInviteReceivedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLobbyInviteRejectedCallbackInternal))] + internal static void OnLobbyInviteRejectedCallbackInternalImplementation(ref LobbyInviteRejectedCallbackInfoInternal data) + { + OnLobbyInviteRejectedCallback callback; + LobbyInviteRejectedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLobbyMemberStatusReceivedCallbackInternal))] + internal static void OnLobbyMemberStatusReceivedCallbackInternalImplementation(ref LobbyMemberStatusReceivedCallbackInfoInternal data) + { + OnLobbyMemberStatusReceivedCallback callback; + LobbyMemberStatusReceivedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLobbyMemberUpdateReceivedCallbackInternal))] + internal static void OnLobbyMemberUpdateReceivedCallbackInternalImplementation(ref LobbyMemberUpdateReceivedCallbackInfoInternal data) + { + OnLobbyMemberUpdateReceivedCallback callback; + LobbyMemberUpdateReceivedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLobbyUpdateReceivedCallbackInternal))] + internal static void OnLobbyUpdateReceivedCallbackInternalImplementation(ref LobbyUpdateReceivedCallbackInfoInternal data) + { + OnLobbyUpdateReceivedCallback callback; + LobbyUpdateReceivedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnPromoteMemberCallbackInternal))] + internal static void OnPromoteMemberCallbackInternalImplementation(ref PromoteMemberCallbackInfoInternal data) + { + OnPromoteMemberCallback callback; + PromoteMemberCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryInvitesCallbackInternal))] + internal static void OnQueryInvitesCallbackInternalImplementation(ref QueryInvitesCallbackInfoInternal data) + { + OnQueryInvitesCallback callback; + QueryInvitesCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnRTCRoomConnectionChangedCallbackInternal))] + internal static void OnRTCRoomConnectionChangedCallbackInternalImplementation(ref RTCRoomConnectionChangedCallbackInfoInternal data) + { + OnRTCRoomConnectionChangedCallback callback; + RTCRoomConnectionChangedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnRejectInviteCallbackInternal))] + internal static void OnRejectInviteCallbackInternalImplementation(ref RejectInviteCallbackInfoInternal data) + { + OnRejectInviteCallback callback; + RejectInviteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnSendInviteCallbackInternal))] + internal static void OnSendInviteCallbackInternalImplementation(ref SendInviteCallbackInfoInternal data) + { + OnSendInviteCallback callback; + SendInviteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnSendLobbyNativeInviteRequestedCallbackInternal))] + internal static void OnSendLobbyNativeInviteRequestedCallbackInternalImplementation(ref SendLobbyNativeInviteRequestedCallbackInfoInternal data) + { + OnSendLobbyNativeInviteRequestedCallback callback; + SendLobbyNativeInviteRequestedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnUpdateLobbyCallbackInternal))] + internal static void OnUpdateLobbyCallbackInternalImplementation(ref UpdateLobbyCallbackInfoInternal data) + { + OnUpdateLobbyCallback callback; + UpdateLobbyCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInterface.cs.meta deleted file mode 100644 index c4b6363c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4cf470e52d488764b816ce1ac64d60cd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteAcceptedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteAcceptedCallbackInfo.cs index ee5d0e78..9bc4b660 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteAcceptedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteAcceptedCallbackInfo.cs @@ -1,126 +1,179 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the Function. - /// - public class LobbyInviteAcceptedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The invite ID - /// - public string InviteId { get; private set; } - - /// - /// The Product User ID of the local user who received the invitation - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The Product User ID of the user who sent the invitation - /// - public ProductUserId TargetUserId { get; private set; } - - /// - /// Lobby ID that the user has been invited to - /// - public string LobbyId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(LobbyInviteAcceptedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - InviteId = other.Value.InviteId; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - LobbyId = other.Value.LobbyId; - } - } - - public void Set(object other) - { - Set(other as LobbyInviteAcceptedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyInviteAcceptedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_InviteId; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - private System.IntPtr m_LobbyId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string InviteId - { - get - { - string value; - Helper.TryMarshalGet(m_InviteId, out value); - return value; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public ProductUserId TargetUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the Function. + /// + public struct LobbyInviteAcceptedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The invite ID + /// + public Utf8String InviteId { get; set; } + + /// + /// The Product User ID of the local user who received the invitation + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the user who sent the invitation + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Lobby ID that the user has been invited to + /// + public Utf8String LobbyId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref LobbyInviteAcceptedCallbackInfoInternal other) + { + ClientData = other.ClientData; + InviteId = other.InviteId; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + LobbyId = other.LobbyId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyInviteAcceptedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_InviteId; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_LobbyId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String InviteId + { + get + { + Utf8String value; + Helper.Get(m_InviteId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_InviteId); + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref LobbyInviteAcceptedCallbackInfo other) + { + ClientData = other.ClientData; + InviteId = other.InviteId; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + LobbyId = other.LobbyId; + } + + public void Set(ref LobbyInviteAcceptedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + InviteId = other.Value.InviteId; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_InviteId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_LobbyId); + } + + public void Get(out LobbyInviteAcceptedCallbackInfo output) + { + output = new LobbyInviteAcceptedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteAcceptedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteAcceptedCallbackInfo.cs.meta deleted file mode 100644 index a1434c56..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteAcceptedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 924fbd75809943c44bb73966376ef419 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteReceivedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteReceivedCallbackInfo.cs index 950e80e9..858556b5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteReceivedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteReceivedCallbackInfo.cs @@ -1,109 +1,154 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the Function. - /// - public class LobbyInviteReceivedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The ID of the invitation - /// - public string InviteId { get; private set; } - - /// - /// The Product User ID of the local user who received the invitation - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The Product User ID of the user who sent the invitation - /// - public ProductUserId TargetUserId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(LobbyInviteReceivedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - InviteId = other.Value.InviteId; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as LobbyInviteReceivedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyInviteReceivedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_InviteId; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string InviteId - { - get - { - string value; - Helper.TryMarshalGet(m_InviteId, out value); - return value; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public ProductUserId TargetUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the Function. + /// + public struct LobbyInviteReceivedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the invitation + /// + public Utf8String InviteId { get; set; } + + /// + /// The Product User ID of the local user who received the invitation + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the user who sent the invitation + /// + public ProductUserId TargetUserId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref LobbyInviteReceivedCallbackInfoInternal other) + { + ClientData = other.ClientData; + InviteId = other.InviteId; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyInviteReceivedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_InviteId; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String InviteId + { + get + { + Utf8String value; + Helper.Get(m_InviteId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_InviteId); + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref LobbyInviteReceivedCallbackInfo other) + { + ClientData = other.ClientData; + InviteId = other.InviteId; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref LobbyInviteReceivedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + InviteId = other.Value.InviteId; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_InviteId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out LobbyInviteReceivedCallbackInfo output) + { + output = new LobbyInviteReceivedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteReceivedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteReceivedCallbackInfo.cs.meta deleted file mode 100644 index eaaf2992..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteReceivedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: af862d10176f4774d93b2c827b26ab72 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteRejectedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteRejectedCallbackInfo.cs new file mode 100644 index 00000000..55329b2e --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyInviteRejectedCallbackInfo.cs @@ -0,0 +1,179 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the Function. + /// + public struct LobbyInviteRejectedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The invite ID + /// + public Utf8String InviteId { get; set; } + + /// + /// The Product User ID of the local user who received the invitation + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the user who sent the invitation + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Lobby ID that the user has been invited to + /// + public Utf8String LobbyId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref LobbyInviteRejectedCallbackInfoInternal other) + { + ClientData = other.ClientData; + InviteId = other.InviteId; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + LobbyId = other.LobbyId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyInviteRejectedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_InviteId; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_LobbyId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String InviteId + { + get + { + Utf8String value; + Helper.Get(m_InviteId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_InviteId); + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref LobbyInviteRejectedCallbackInfo other) + { + ClientData = other.ClientData; + InviteId = other.InviteId; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + LobbyId = other.LobbyId; + } + + public void Set(ref LobbyInviteRejectedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + InviteId = other.Value.InviteId; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_InviteId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_LobbyId); + } + + public void Get(out LobbyInviteRejectedCallbackInfo output) + { + output = new LobbyInviteRejectedCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatus.cs index fee9e631..e0619dc2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatus.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatus.cs @@ -1,36 +1,36 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Various types of lobby member updates - /// - public enum LobbyMemberStatus : int - { - /// - /// The user has joined the lobby - /// - Joined = 0, - /// - /// The user has explicitly left the lobby - /// - Left = 1, - /// - /// The user has unexpectedly left the lobby - /// - Disconnected = 2, - /// - /// The user has been kicked from the lobby - /// - Kicked = 3, - /// - /// The user has been promoted to lobby owner - /// - Promoted = 4, - /// - /// The lobby has been closed and user has been removed - /// - Closed = 5 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Various types of lobby member updates + /// + public enum LobbyMemberStatus : int + { + /// + /// The user has joined the lobby + /// + Joined = 0, + /// + /// The user has explicitly left the lobby + /// + Left = 1, + /// + /// The user has unexpectedly left the lobby + /// + Disconnected = 2, + /// + /// The user has been kicked from the lobby + /// + Kicked = 3, + /// + /// The user has been promoted to lobby owner + /// + Promoted = 4, + /// + /// The lobby has been closed and user has been removed + /// + Closed = 5 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatus.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatus.cs.meta deleted file mode 100644 index 6cc4965c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatus.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 76cc95b70b7f1c64b9152bcd8892792b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatusReceivedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatusReceivedCallbackInfo.cs index c52a12b2..044c66e9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatusReceivedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatusReceivedCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the function. - /// - public class LobbyMemberStatusReceivedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The ID of the lobby - /// - public string LobbyId { get; private set; } - - /// - /// The Product User ID of the lobby member - /// - public ProductUserId TargetUserId { get; private set; } - - /// - /// Latest status of the user - /// - public LobbyMemberStatus CurrentStatus { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(LobbyMemberStatusReceivedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LobbyId = other.Value.LobbyId; - TargetUserId = other.Value.TargetUserId; - CurrentStatus = other.Value.CurrentStatus; - } - } - - public void Set(object other) - { - Set(other as LobbyMemberStatusReceivedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyMemberStatusReceivedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LobbyId; - private System.IntPtr m_TargetUserId; - private LobbyMemberStatus m_CurrentStatus; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - } - - public ProductUserId TargetUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - - public LobbyMemberStatus CurrentStatus - { - get - { - return m_CurrentStatus; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct LobbyMemberStatusReceivedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + /// + /// The Product User ID of the lobby member + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Latest status of the user + /// + public LobbyMemberStatus CurrentStatus { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref LobbyMemberStatusReceivedCallbackInfoInternal other) + { + ClientData = other.ClientData; + LobbyId = other.LobbyId; + TargetUserId = other.TargetUserId; + CurrentStatus = other.CurrentStatus; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyMemberStatusReceivedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + private System.IntPtr m_TargetUserId; + private LobbyMemberStatus m_CurrentStatus; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public LobbyMemberStatus CurrentStatus + { + get + { + return m_CurrentStatus; + } + + set + { + m_CurrentStatus = value; + } + } + + public void Set(ref LobbyMemberStatusReceivedCallbackInfo other) + { + ClientData = other.ClientData; + LobbyId = other.LobbyId; + TargetUserId = other.TargetUserId; + CurrentStatus = other.CurrentStatus; + } + + public void Set(ref LobbyMemberStatusReceivedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + TargetUserId = other.Value.TargetUserId; + CurrentStatus = other.Value.CurrentStatus; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out LobbyMemberStatusReceivedCallbackInfo output) + { + output = new LobbyMemberStatusReceivedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatusReceivedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatusReceivedCallbackInfo.cs.meta deleted file mode 100644 index e74f2bfc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberStatusReceivedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 124b0c5df211d0f4eb33d251800e8455 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberUpdateReceivedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberUpdateReceivedCallbackInfo.cs index 14f1026d..9e45c7fb 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberUpdateReceivedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberUpdateReceivedCallbackInfo.cs @@ -1,92 +1,129 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the Function. - /// - public class LobbyMemberUpdateReceivedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The ID of the lobby - /// - public string LobbyId { get; private set; } - - /// - /// The Product User ID of the lobby member - /// - public ProductUserId TargetUserId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(LobbyMemberUpdateReceivedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LobbyId = other.Value.LobbyId; - TargetUserId = other.Value.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as LobbyMemberUpdateReceivedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyMemberUpdateReceivedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LobbyId; - private System.IntPtr m_TargetUserId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - } - - public ProductUserId TargetUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the Function. + /// + public struct LobbyMemberUpdateReceivedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + /// + /// The Product User ID of the lobby member + /// + public ProductUserId TargetUserId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref LobbyMemberUpdateReceivedCallbackInfoInternal other) + { + ClientData = other.ClientData; + LobbyId = other.LobbyId; + TargetUserId = other.TargetUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyMemberUpdateReceivedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + private System.IntPtr m_TargetUserId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref LobbyMemberUpdateReceivedCallbackInfo other) + { + ClientData = other.ClientData; + LobbyId = other.LobbyId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref LobbyMemberUpdateReceivedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out LobbyMemberUpdateReceivedCallbackInfo output) + { + output = new LobbyMemberUpdateReceivedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberUpdateReceivedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberUpdateReceivedCallbackInfo.cs.meta deleted file mode 100644 index 713fe82d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyMemberUpdateReceivedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0153be0e4f1c361459aaef9d3acbc2ae -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModification.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModification.cs index 3fbdface..f3c7195e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModification.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModification.cs @@ -1,244 +1,244 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - public sealed partial class LobbyModification : Handle - { - public LobbyModification() - { - } - - public LobbyModification(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int LobbymodificationAddattributeApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbymodificationAddmemberattributeApiLatest = 1; - - /// - /// Maximum length of the name of the attribute associated with the lobby - /// - public const int LobbymodificationMaxAttributeLength = 64; - - /// - /// Maximum number of attributes allowed on the lobby - /// - public const int LobbymodificationMaxAttributes = 64; - - /// - /// The most recent version of the API. - /// - public const int LobbymodificationRemoveattributeApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbymodificationRemovememberattributeApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbymodificationSetbucketidApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbymodificationSetinvitesallowedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbymodificationSetmaxmembersApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbymodificationSetpermissionlevelApiLatest = 1; - - /// - /// Associate an attribute with this lobby - /// An attribute is something may be public or private with the lobby. - /// If public, it can be queried for in a search, otherwise the data remains known only to lobby members - /// - /// Options to set the attribute and its visibility state - /// - /// if setting this parameter was successful - /// if the attribute is missing information or otherwise invalid - /// if the API version passed in is incorrect - /// - public Result AddAttribute(LobbyModificationAddAttributeOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbyModification_AddAttribute(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Associate an attribute with a member of the lobby - /// Lobby member data is always private to the lobby - /// - /// Options to set the attribute and its visibility state - /// - /// if setting this parameter was successful - /// if the attribute is missing information or otherwise invalid - /// if the API version passed in is incorrect - /// - public Result AddMemberAttribute(LobbyModificationAddMemberAttributeOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbyModification_AddMemberAttribute(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - public void Release() - { - Bindings.EOS_LobbyModification_Release(InnerHandle); - } - - /// - /// Remove an attribute associated with the lobby - /// - /// Specify the key of the attribute to remove - /// - /// if removing this parameter was successful - /// if the key is null or empty - /// if the API version passed in is incorrect - /// - public Result RemoveAttribute(LobbyModificationRemoveAttributeOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbyModification_RemoveAttribute(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Remove an attribute associated with of member of the lobby - /// - /// Specify the key of the member attribute to remove - /// - /// if removing this parameter was successful - /// if the key is null or empty - /// if the API version passed in is incorrect - /// - public Result RemoveMemberAttribute(LobbyModificationRemoveMemberAttributeOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbyModification_RemoveMemberAttribute(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set the bucket ID associated with this lobby. - /// Values such as region, game mode, etc can be combined here depending on game need. - /// Setting this is strongly recommended to improve search performance. - /// - /// Options associated with the bucket ID of the lobby - /// - /// if setting this parameter was successful - /// if the bucket ID is invalid or null - /// if the API version passed in is incorrect - /// - public Result SetBucketId(LobbyModificationSetBucketIdOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbyModification_SetBucketId(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Allows enabling or disabling invites for this lobby. - /// The lobby will also need to have `bPresenceEnabled` true. - /// - /// Options associated with invites allowed flag for this lobby. - /// - /// if setting this parameter was successful - /// if the API version passed in is incorrect - /// - public Result SetInvitesAllowed(LobbyModificationSetInvitesAllowedOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbyModification_SetInvitesAllowed(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set the maximum number of members allowed in this lobby. - /// When updating the lobby, it is not possible to reduce this number below the current number of existing members - /// - /// Options associated with max number of members in this lobby - /// - /// if setting this parameter was successful - /// if the API version passed in is incorrect - /// - public Result SetMaxMembers(LobbyModificationSetMaxMembersOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbyModification_SetMaxMembers(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set the permissions associated with this lobby. - /// The permissions range from "public" to "invite only" and are described by - /// - /// Options associated with the permission level of the lobby - /// - /// if setting this parameter was successful - /// if the API version passed in is incorrect - /// - public Result SetPermissionLevel(LobbyModificationSetPermissionLevelOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbyModification_SetPermissionLevel(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public sealed partial class LobbyModification : Handle + { + public LobbyModification() + { + } + + public LobbyModification(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int LobbymodificationAddattributeApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbymodificationAddmemberattributeApiLatest = 1; + + /// + /// Maximum length of the name of the attribute associated with the lobby + /// + public const int LobbymodificationMaxAttributeLength = 64; + + /// + /// Maximum number of attributes allowed on the lobby + /// + public const int LobbymodificationMaxAttributes = 64; + + /// + /// The most recent version of the API. + /// + public const int LobbymodificationRemoveattributeApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbymodificationRemovememberattributeApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbymodificationSetbucketidApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbymodificationSetinvitesallowedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbymodificationSetmaxmembersApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbymodificationSetpermissionlevelApiLatest = 1; + + /// + /// Associate an attribute with this lobby + /// An attribute is something may be public or private with the lobby. + /// If public, it can be queried for in a search, otherwise the data remains known only to lobby members + /// + /// Options to set the attribute and its visibility state + /// + /// if setting this parameter was successful + /// if the attribute is missing information or otherwise invalid + /// if the API version passed in is incorrect + /// + public Result AddAttribute(ref LobbyModificationAddAttributeOptions options) + { + LobbyModificationAddAttributeOptionsInternal optionsInternal = new LobbyModificationAddAttributeOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbyModification_AddAttribute(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Associate an attribute with a member of the lobby + /// Lobby member data is always private to the lobby + /// + /// Options to set the attribute and its visibility state + /// + /// if setting this parameter was successful + /// if the attribute is missing information or otherwise invalid + /// if the API version passed in is incorrect + /// + public Result AddMemberAttribute(ref LobbyModificationAddMemberAttributeOptions options) + { + LobbyModificationAddMemberAttributeOptionsInternal optionsInternal = new LobbyModificationAddMemberAttributeOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbyModification_AddMemberAttribute(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + public void Release() + { + Bindings.EOS_LobbyModification_Release(InnerHandle); + } + + /// + /// Remove an attribute associated with the lobby + /// + /// Specify the key of the attribute to remove + /// + /// if removing this parameter was successful + /// if the key is null or empty + /// if the API version passed in is incorrect + /// + public Result RemoveAttribute(ref LobbyModificationRemoveAttributeOptions options) + { + LobbyModificationRemoveAttributeOptionsInternal optionsInternal = new LobbyModificationRemoveAttributeOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbyModification_RemoveAttribute(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Remove an attribute associated with of member of the lobby + /// + /// Specify the key of the member attribute to remove + /// + /// if removing this parameter was successful + /// if the key is null or empty + /// if the API version passed in is incorrect + /// + public Result RemoveMemberAttribute(ref LobbyModificationRemoveMemberAttributeOptions options) + { + LobbyModificationRemoveMemberAttributeOptionsInternal optionsInternal = new LobbyModificationRemoveMemberAttributeOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbyModification_RemoveMemberAttribute(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set the bucket ID associated with this lobby. + /// Values such as region, game mode, etc can be combined here depending on game need. + /// Setting this is strongly recommended to improve search performance. + /// + /// Options associated with the bucket ID of the lobby + /// + /// if setting this parameter was successful + /// if the bucket ID is invalid or null + /// if the API version passed in is incorrect + /// + public Result SetBucketId(ref LobbyModificationSetBucketIdOptions options) + { + LobbyModificationSetBucketIdOptionsInternal optionsInternal = new LobbyModificationSetBucketIdOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbyModification_SetBucketId(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Allows enabling or disabling invites for this lobby. + /// The lobby will also need to have `bPresenceEnabled` true. + /// + /// Options associated with invites allowed flag for this lobby. + /// + /// if setting this parameter was successful + /// if the API version passed in is incorrect + /// + public Result SetInvitesAllowed(ref LobbyModificationSetInvitesAllowedOptions options) + { + LobbyModificationSetInvitesAllowedOptionsInternal optionsInternal = new LobbyModificationSetInvitesAllowedOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbyModification_SetInvitesAllowed(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set the maximum number of members allowed in this lobby. + /// When updating the lobby, it is not possible to reduce this number below the current number of existing members + /// + /// Options associated with max number of members in this lobby + /// + /// if setting this parameter was successful + /// if the API version passed in is incorrect + /// + public Result SetMaxMembers(ref LobbyModificationSetMaxMembersOptions options) + { + LobbyModificationSetMaxMembersOptionsInternal optionsInternal = new LobbyModificationSetMaxMembersOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbyModification_SetMaxMembers(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set the permissions associated with this lobby. + /// The permissions range from "public" to "invite only" and are described by + /// + /// Options associated with the permission level of the lobby + /// + /// if setting this parameter was successful + /// if the API version passed in is incorrect + /// + public Result SetPermissionLevel(ref LobbyModificationSetPermissionLevelOptions options) + { + LobbyModificationSetPermissionLevelOptionsInternal optionsInternal = new LobbyModificationSetPermissionLevelOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbyModification_SetPermissionLevel(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModification.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModification.cs.meta deleted file mode 100644 index 8adcd364..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModification.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4e2f9b3fc8d61c441aea828c91b37bd6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddAttributeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddAttributeOptions.cs index 19c091cb..474c26bf 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddAttributeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddAttributeOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyModificationAddAttributeOptions - { - /// - /// Key/Value pair describing the attribute to add to the lobby - /// - public AttributeData Attribute { get; set; } - - /// - /// Is this attribute public or private to the lobby and its members - /// - public LobbyAttributeVisibility Visibility { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyModificationAddAttributeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Attribute; - private LobbyAttributeVisibility m_Visibility; - - public AttributeData Attribute - { - set - { - Helper.TryMarshalSet(ref m_Attribute, value); - } - } - - public LobbyAttributeVisibility Visibility - { - set - { - m_Visibility = value; - } - } - - public void Set(LobbyModificationAddAttributeOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyModification.LobbymodificationAddattributeApiLatest; - Attribute = other.Attribute; - Visibility = other.Visibility; - } - } - - public void Set(object other) - { - Set(other as LobbyModificationAddAttributeOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Attribute); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyModificationAddAttributeOptions + { + /// + /// Key/Value pair describing the attribute to add to the lobby + /// + public AttributeData? Attribute { get; set; } + + /// + /// Is this attribute public or private to the lobby and its members + /// + public LobbyAttributeVisibility Visibility { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyModificationAddAttributeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Attribute; + private LobbyAttributeVisibility m_Visibility; + + public AttributeData? Attribute + { + set + { + Helper.Set(ref value, ref m_Attribute); + } + } + + public LobbyAttributeVisibility Visibility + { + set + { + m_Visibility = value; + } + } + + public void Set(ref LobbyModificationAddAttributeOptions other) + { + m_ApiVersion = LobbyModification.LobbymodificationAddattributeApiLatest; + Attribute = other.Attribute; + Visibility = other.Visibility; + } + + public void Set(ref LobbyModificationAddAttributeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyModification.LobbymodificationAddattributeApiLatest; + Attribute = other.Value.Attribute; + Visibility = other.Value.Visibility; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Attribute); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddAttributeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddAttributeOptions.cs.meta deleted file mode 100644 index ec860902..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddAttributeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b57f1cb4f9538b14ba264d3161ba788c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddMemberAttributeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddMemberAttributeOptions.cs index c19ad0a0..26d2183f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddMemberAttributeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddMemberAttributeOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyModificationAddMemberAttributeOptions - { - /// - /// Key/Value pair describing the attribute to add to the lobby member - /// - public AttributeData Attribute { get; set; } - - /// - /// Is this attribute public or private to the rest of the lobby members - /// - public LobbyAttributeVisibility Visibility { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyModificationAddMemberAttributeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Attribute; - private LobbyAttributeVisibility m_Visibility; - - public AttributeData Attribute - { - set - { - Helper.TryMarshalSet(ref m_Attribute, value); - } - } - - public LobbyAttributeVisibility Visibility - { - set - { - m_Visibility = value; - } - } - - public void Set(LobbyModificationAddMemberAttributeOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyModification.LobbymodificationAddmemberattributeApiLatest; - Attribute = other.Attribute; - Visibility = other.Visibility; - } - } - - public void Set(object other) - { - Set(other as LobbyModificationAddMemberAttributeOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Attribute); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyModificationAddMemberAttributeOptions + { + /// + /// Key/Value pair describing the attribute to add to the lobby member + /// + public AttributeData? Attribute { get; set; } + + /// + /// Is this attribute public or private to the rest of the lobby members + /// + public LobbyAttributeVisibility Visibility { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyModificationAddMemberAttributeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Attribute; + private LobbyAttributeVisibility m_Visibility; + + public AttributeData? Attribute + { + set + { + Helper.Set(ref value, ref m_Attribute); + } + } + + public LobbyAttributeVisibility Visibility + { + set + { + m_Visibility = value; + } + } + + public void Set(ref LobbyModificationAddMemberAttributeOptions other) + { + m_ApiVersion = LobbyModification.LobbymodificationAddmemberattributeApiLatest; + Attribute = other.Attribute; + Visibility = other.Visibility; + } + + public void Set(ref LobbyModificationAddMemberAttributeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyModification.LobbymodificationAddmemberattributeApiLatest; + Attribute = other.Value.Attribute; + Visibility = other.Value.Visibility; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Attribute); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddMemberAttributeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddMemberAttributeOptions.cs.meta deleted file mode 100644 index 8eb22538..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationAddMemberAttributeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6d6d0df78ae5bcb428fb236b0da80236 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveAttributeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveAttributeOptions.cs index 97b7f6cb..86f5447b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveAttributeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveAttributeOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyModificationRemoveAttributeOptions - { - /// - /// Name of the key - /// - public string Key { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyModificationRemoveAttributeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Key; - - public string Key - { - set - { - Helper.TryMarshalSet(ref m_Key, value); - } - } - - public void Set(LobbyModificationRemoveAttributeOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyModification.LobbymodificationRemoveattributeApiLatest; - Key = other.Key; - } - } - - public void Set(object other) - { - Set(other as LobbyModificationRemoveAttributeOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Key); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyModificationRemoveAttributeOptions + { + /// + /// Name of the key + /// + public Utf8String Key { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyModificationRemoveAttributeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Key; + + public Utf8String Key + { + set + { + Helper.Set(value, ref m_Key); + } + } + + public void Set(ref LobbyModificationRemoveAttributeOptions other) + { + m_ApiVersion = LobbyModification.LobbymodificationRemoveattributeApiLatest; + Key = other.Key; + } + + public void Set(ref LobbyModificationRemoveAttributeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyModification.LobbymodificationRemoveattributeApiLatest; + Key = other.Value.Key; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Key); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveAttributeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveAttributeOptions.cs.meta deleted file mode 100644 index 5fafc57b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveAttributeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4d65f0ac8a2599d41adde96315eec30a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveMemberAttributeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveMemberAttributeOptions.cs index 3d5bca06..312b3a56 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveMemberAttributeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveMemberAttributeOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyModificationRemoveMemberAttributeOptions - { - /// - /// Name of the key - /// - public string Key { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyModificationRemoveMemberAttributeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Key; - - public string Key - { - set - { - Helper.TryMarshalSet(ref m_Key, value); - } - } - - public void Set(LobbyModificationRemoveMemberAttributeOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyModification.LobbymodificationRemovememberattributeApiLatest; - Key = other.Key; - } - } - - public void Set(object other) - { - Set(other as LobbyModificationRemoveMemberAttributeOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Key); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyModificationRemoveMemberAttributeOptions + { + /// + /// Name of the key + /// + public Utf8String Key { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyModificationRemoveMemberAttributeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Key; + + public Utf8String Key + { + set + { + Helper.Set(value, ref m_Key); + } + } + + public void Set(ref LobbyModificationRemoveMemberAttributeOptions other) + { + m_ApiVersion = LobbyModification.LobbymodificationRemovememberattributeApiLatest; + Key = other.Key; + } + + public void Set(ref LobbyModificationRemoveMemberAttributeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyModification.LobbymodificationRemovememberattributeApiLatest; + Key = other.Value.Key; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Key); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveMemberAttributeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveMemberAttributeOptions.cs.meta deleted file mode 100644 index 100845ab..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationRemoveMemberAttributeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5c327c214e2d96242975f58819347731 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetBucketIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetBucketIdOptions.cs index d27835b4..0fc84324 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetBucketIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetBucketIdOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyModificationSetBucketIdOptions - { - /// - /// The new bucket id associated with the lobby - /// - public string BucketId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyModificationSetBucketIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_BucketId; - - public string BucketId - { - set - { - Helper.TryMarshalSet(ref m_BucketId, value); - } - } - - public void Set(LobbyModificationSetBucketIdOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyModification.LobbymodificationSetbucketidApiLatest; - BucketId = other.BucketId; - } - } - - public void Set(object other) - { - Set(other as LobbyModificationSetBucketIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_BucketId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyModificationSetBucketIdOptions + { + /// + /// The new bucket id associated with the lobby + /// + public Utf8String BucketId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyModificationSetBucketIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_BucketId; + + public Utf8String BucketId + { + set + { + Helper.Set(value, ref m_BucketId); + } + } + + public void Set(ref LobbyModificationSetBucketIdOptions other) + { + m_ApiVersion = LobbyModification.LobbymodificationSetbucketidApiLatest; + BucketId = other.BucketId; + } + + public void Set(ref LobbyModificationSetBucketIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyModification.LobbymodificationSetbucketidApiLatest; + BucketId = other.Value.BucketId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_BucketId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetBucketIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetBucketIdOptions.cs.meta deleted file mode 100644 index 1b88b4d4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetBucketIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 104386af86b484c4089028dd52fe6587 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetInvitesAllowedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetInvitesAllowedOptions.cs index 89602c89..93e73359 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetInvitesAllowedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetInvitesAllowedOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the Function. - /// - public class LobbyModificationSetInvitesAllowedOptions - { - /// - /// If true then invites can currently be sent for the associated lobby - /// - public bool InvitesAllowed { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyModificationSetInvitesAllowedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private int m_InvitesAllowed; - - public bool InvitesAllowed - { - set - { - Helper.TryMarshalSet(ref m_InvitesAllowed, value); - } - } - - public void Set(LobbyModificationSetInvitesAllowedOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyModification.LobbymodificationSetinvitesallowedApiLatest; - InvitesAllowed = other.InvitesAllowed; - } - } - - public void Set(object other) - { - Set(other as LobbyModificationSetInvitesAllowedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the Function. + /// + public struct LobbyModificationSetInvitesAllowedOptions + { + /// + /// If true then invites can currently be sent for the associated lobby + /// + public bool InvitesAllowed { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyModificationSetInvitesAllowedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private int m_InvitesAllowed; + + public bool InvitesAllowed + { + set + { + Helper.Set(value, ref m_InvitesAllowed); + } + } + + public void Set(ref LobbyModificationSetInvitesAllowedOptions other) + { + m_ApiVersion = LobbyModification.LobbymodificationSetinvitesallowedApiLatest; + InvitesAllowed = other.InvitesAllowed; + } + + public void Set(ref LobbyModificationSetInvitesAllowedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyModification.LobbymodificationSetinvitesallowedApiLatest; + InvitesAllowed = other.Value.InvitesAllowed; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetInvitesAllowedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetInvitesAllowedOptions.cs.meta deleted file mode 100644 index f5dd4c9a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetInvitesAllowedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ec51645bcc05a9b4f883564b7f8164bd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetMaxMembersOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetMaxMembersOptions.cs index 021eb551..c665d959 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetMaxMembersOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetMaxMembersOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyModificationSetMaxMembersOptions - { - /// - /// New maximum number of lobby members - /// - public uint MaxMembers { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyModificationSetMaxMembersOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_MaxMembers; - - public uint MaxMembers - { - set - { - m_MaxMembers = value; - } - } - - public void Set(LobbyModificationSetMaxMembersOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyModification.LobbymodificationSetmaxmembersApiLatest; - MaxMembers = other.MaxMembers; - } - } - - public void Set(object other) - { - Set(other as LobbyModificationSetMaxMembersOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyModificationSetMaxMembersOptions + { + /// + /// New maximum number of lobby members + /// + public uint MaxMembers { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyModificationSetMaxMembersOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_MaxMembers; + + public uint MaxMembers + { + set + { + m_MaxMembers = value; + } + } + + public void Set(ref LobbyModificationSetMaxMembersOptions other) + { + m_ApiVersion = LobbyModification.LobbymodificationSetmaxmembersApiLatest; + MaxMembers = other.MaxMembers; + } + + public void Set(ref LobbyModificationSetMaxMembersOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyModification.LobbymodificationSetmaxmembersApiLatest; + MaxMembers = other.Value.MaxMembers; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetMaxMembersOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetMaxMembersOptions.cs.meta deleted file mode 100644 index d6a6d87c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetMaxMembersOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b63a9bba88258184bbc3775aaeaf2395 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetPermissionLevelOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetPermissionLevelOptions.cs index e24707bf..98b9c332 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetPermissionLevelOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetPermissionLevelOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbyModificationSetPermissionLevelOptions - { - /// - /// Permission level of the lobby - /// - public LobbyPermissionLevel PermissionLevel { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyModificationSetPermissionLevelOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private LobbyPermissionLevel m_PermissionLevel; - - public LobbyPermissionLevel PermissionLevel - { - set - { - m_PermissionLevel = value; - } - } - - public void Set(LobbyModificationSetPermissionLevelOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyModification.LobbymodificationSetpermissionlevelApiLatest; - PermissionLevel = other.PermissionLevel; - } - } - - public void Set(object other) - { - Set(other as LobbyModificationSetPermissionLevelOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbyModificationSetPermissionLevelOptions + { + /// + /// Permission level of the lobby + /// + public LobbyPermissionLevel PermissionLevel { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyModificationSetPermissionLevelOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private LobbyPermissionLevel m_PermissionLevel; + + public LobbyPermissionLevel PermissionLevel + { + set + { + m_PermissionLevel = value; + } + } + + public void Set(ref LobbyModificationSetPermissionLevelOptions other) + { + m_ApiVersion = LobbyModification.LobbymodificationSetpermissionlevelApiLatest; + PermissionLevel = other.PermissionLevel; + } + + public void Set(ref LobbyModificationSetPermissionLevelOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyModification.LobbymodificationSetpermissionlevelApiLatest; + PermissionLevel = other.Value.PermissionLevel; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetPermissionLevelOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetPermissionLevelOptions.cs.meta deleted file mode 100644 index 226a9d10..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyModificationSetPermissionLevelOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b5e92bd7b767910429e03c25d2024388 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyPermissionLevel.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyPermissionLevel.cs index 52d37e53..27c57d95 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyPermissionLevel.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyPermissionLevel.cs @@ -1,24 +1,24 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Permission level gets more restrictive further down - /// - public enum LobbyPermissionLevel : int - { - /// - /// Anyone can find this lobby as long as it isn't full - /// - Publicadvertised = 0, - /// - /// Players who have access to presence can see this lobby - /// - Joinviapresence = 1, - /// - /// Only players with invites registered can see this lobby - /// - Inviteonly = 2 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Permission level gets more restrictive further down + /// + public enum LobbyPermissionLevel : int + { + /// + /// Anyone can find this lobby as long as it isn't full + /// + Publicadvertised = 0, + /// + /// Players who have access to presence can see this lobby + /// + Joinviapresence = 1, + /// + /// Only players with invites registered can see this lobby + /// + Inviteonly = 2 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyPermissionLevel.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyPermissionLevel.cs.meta deleted file mode 100644 index c3a8f371..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyPermissionLevel.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4a6968624c852304686ae42a168d619b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearch.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearch.cs index 09c09a04..c0afe912 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearch.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearch.cs @@ -1,262 +1,261 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - public sealed partial class LobbySearch : Handle - { - public LobbySearch() - { - } - - public LobbySearch(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int LobbysearchCopysearchresultbyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbysearchFindApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbysearchGetsearchresultcountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbysearchRemoveparameterApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbysearchSetlobbyidApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbysearchSetmaxresultsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbysearchSetparameterApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LobbysearchSettargetuseridApiLatest = 1; - - /// - /// is used to immediately retrieve a handle to the lobby information from a given search result. - /// If the call returns an result, the out parameter, OutLobbyDetailsHandle, must be passed to to release the memory associated with it. - /// - /// - /// - /// Structure containing the input parameters - /// out parameter used to receive the lobby details handle - /// - /// if the information is available and passed out in OutLobbyDetailsHandle - /// if you pass an invalid index or a null pointer for the out parameter - /// if the API version passed in is incorrect - /// - public Result CopySearchResultByIndex(LobbySearchCopySearchResultByIndexOptions options, out LobbyDetails outLobbyDetailsHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outLobbyDetailsHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_LobbySearch_CopySearchResultByIndex(InnerHandle, optionsAddress, ref outLobbyDetailsHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outLobbyDetailsHandleAddress, out outLobbyDetailsHandle); - - return funcResult; - } - - /// - /// Find lobbies matching the search criteria setup via this lobby search handle. - /// When the operation completes, this handle will have the search results that can be parsed - /// - /// Structure containing information about the search criteria to use - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the search operation completes, either successfully or in error - /// - /// if the find operation completes successfully - /// if searching for an individual lobby by lobby ID or target user ID returns no results - /// if any of the options are incorrect - /// - public void Find(LobbySearchFindOptions options, object clientData, LobbySearchOnFindCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new LobbySearchOnFindCallbackInternal(OnFindCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_LobbySearch_Find(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Get the number of search results found by the search parameters in this search - /// - /// Options associated with the search count - /// - /// return the number of search results found by the query or 0 if search is not complete - /// - public uint GetSearchResultCount(LobbySearchGetSearchResultCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbySearch_GetSearchResultCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Release the memory associated with a lobby search. This must be called on data retrieved from . - /// - /// - /// - The lobby search handle to release - public void Release() - { - Bindings.EOS_LobbySearch_Release(InnerHandle); - } - - /// - /// Remove a parameter from the array of search criteria. - /// - /// @params Options a search parameter key name to remove - /// - /// - /// if removing this search parameter was successful - /// if the search key is invalid or null - /// if the parameter was not a part of the search criteria - /// if the API version passed in is incorrect - /// - public Result RemoveParameter(LobbySearchRemoveParameterOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbySearch_RemoveParameter(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set a lobby ID to find and will return at most one search result. Setting TargetUserId or SearchParameters will result in failing - /// - /// A specific lobby ID for which to search - /// - /// if setting this lobby ID was successful - /// if the lobby ID is invalid or null - /// if the API version passed in is incorrect - /// - public Result SetLobbyId(LobbySearchSetLobbyIdOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbySearch_SetLobbyId(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set the maximum number of search results to return in the query, can't be more than - /// - /// maximum number of search results to return in the query - /// - /// if setting the max results was successful - /// if the number of results requested is invalid - /// if the API version passed in is incorrect - /// - public Result SetMaxResults(LobbySearchSetMaxResultsOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbySearch_SetMaxResults(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Add a parameter to an array of search criteria combined via an implicit AND operator. Setting LobbyId or TargetUserId will result in failing - /// - /// - /// - /// a search parameter and its comparison op - /// - /// if setting this search parameter was successful - /// if the search criteria is invalid or null - /// if the API version passed in is incorrect - /// - public Result SetParameter(LobbySearchSetParameterOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbySearch_SetParameter(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set a target user ID to find. Setting LobbyId or SearchParameters will result in failing - /// @note a search result will only be found if this user is in a public lobby - /// - /// a specific target user ID to find - /// - /// if setting this target user ID was successful - /// if the target user ID is invalid or null - /// if the API version passed in is incorrect - /// - public Result SetTargetUserId(LobbySearchSetTargetUserIdOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_LobbySearch_SetTargetUserId(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - [MonoPInvokeCallback(typeof(LobbySearchOnFindCallbackInternal))] - internal static void OnFindCallbackInternalImplementation(System.IntPtr data) - { - LobbySearchOnFindCallback callback; - LobbySearchFindCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public sealed partial class LobbySearch : Handle + { + public LobbySearch() + { + } + + public LobbySearch(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int LobbysearchCopysearchresultbyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbysearchFindApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbysearchGetsearchresultcountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbysearchRemoveparameterApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbysearchSetlobbyidApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbysearchSetmaxresultsApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbysearchSetparameterApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LobbysearchSettargetuseridApiLatest = 1; + + /// + /// is used to immediately retrieve a handle to the lobby information from a given search result. + /// If the call returns an result, the out parameter, OutLobbyDetailsHandle, must be passed to to release the memory associated with it. + /// + /// + /// + /// Structure containing the input parameters + /// out parameter used to receive the lobby details handle + /// + /// if the information is available and passed out in OutLobbyDetailsHandle + /// if you pass an invalid index or a null pointer for the out parameter + /// if the API version passed in is incorrect + /// + public Result CopySearchResultByIndex(ref LobbySearchCopySearchResultByIndexOptions options, out LobbyDetails outLobbyDetailsHandle) + { + LobbySearchCopySearchResultByIndexOptionsInternal optionsInternal = new LobbySearchCopySearchResultByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outLobbyDetailsHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_LobbySearch_CopySearchResultByIndex(InnerHandle, ref optionsInternal, ref outLobbyDetailsHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outLobbyDetailsHandleAddress, out outLobbyDetailsHandle); + + return funcResult; + } + + /// + /// Find lobbies matching the search criteria setup via this lobby search handle. + /// When the operation completes, this handle will have the search results that can be parsed + /// + /// Structure containing information about the search criteria to use + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the search operation completes, either successfully or in error + /// + /// if the find operation completes successfully + /// if searching for an individual lobby by lobby ID or target user ID returns no results + /// if any of the options are incorrect + /// + public void Find(ref LobbySearchFindOptions options, object clientData, LobbySearchOnFindCallback completionDelegate) + { + LobbySearchFindOptionsInternal optionsInternal = new LobbySearchFindOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new LobbySearchOnFindCallbackInternal(OnFindCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_LobbySearch_Find(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Get the number of search results found by the search parameters in this search + /// + /// Options associated with the search count + /// + /// return the number of search results found by the query or 0 if search is not complete + /// + public uint GetSearchResultCount(ref LobbySearchGetSearchResultCountOptions options) + { + LobbySearchGetSearchResultCountOptionsInternal optionsInternal = new LobbySearchGetSearchResultCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbySearch_GetSearchResultCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Release the memory associated with a lobby search. This must be called on data retrieved from . + /// + /// + /// - The lobby search handle to release + public void Release() + { + Bindings.EOS_LobbySearch_Release(InnerHandle); + } + + /// + /// Remove a parameter from the array of search criteria. + /// + /// a search parameter key name to remove + /// + /// if removing this search parameter was successful + /// if the search key is invalid or null + /// if the parameter was not a part of the search criteria + /// if the API version passed in is incorrect + /// + public Result RemoveParameter(ref LobbySearchRemoveParameterOptions options) + { + LobbySearchRemoveParameterOptionsInternal optionsInternal = new LobbySearchRemoveParameterOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbySearch_RemoveParameter(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set a lobby ID to find and will return at most one search result. Setting TargetUserId or SearchParameters will result in failing + /// + /// A specific lobby ID for which to search + /// + /// if setting this lobby ID was successful + /// if the lobby ID is invalid or null + /// if the API version passed in is incorrect + /// + public Result SetLobbyId(ref LobbySearchSetLobbyIdOptions options) + { + LobbySearchSetLobbyIdOptionsInternal optionsInternal = new LobbySearchSetLobbyIdOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbySearch_SetLobbyId(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set the maximum number of search results to return in the query, can't be more than + /// + /// maximum number of search results to return in the query + /// + /// if setting the max results was successful + /// if the number of results requested is invalid + /// if the API version passed in is incorrect + /// + public Result SetMaxResults(ref LobbySearchSetMaxResultsOptions options) + { + LobbySearchSetMaxResultsOptionsInternal optionsInternal = new LobbySearchSetMaxResultsOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbySearch_SetMaxResults(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Add a parameter to an array of search criteria combined via an implicit AND operator. Setting LobbyId or TargetUserId will result in failing + /// + /// + /// + /// a search parameter and its comparison op + /// + /// if setting this search parameter was successful + /// if the search criteria is invalid or null + /// if the API version passed in is incorrect + /// + public Result SetParameter(ref LobbySearchSetParameterOptions options) + { + LobbySearchSetParameterOptionsInternal optionsInternal = new LobbySearchSetParameterOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbySearch_SetParameter(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set a target user ID to find. Setting LobbyId or SearchParameters will result in failing + /// a search result will only be found if this user is in a public lobby + /// + /// a specific target user ID to find + /// + /// if setting this target user ID was successful + /// if the target user ID is invalid or null + /// if the API version passed in is incorrect + /// + public Result SetTargetUserId(ref LobbySearchSetTargetUserIdOptions options) + { + LobbySearchSetTargetUserIdOptionsInternal optionsInternal = new LobbySearchSetTargetUserIdOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_LobbySearch_SetTargetUserId(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + [MonoPInvokeCallback(typeof(LobbySearchOnFindCallbackInternal))] + internal static void OnFindCallbackInternalImplementation(ref LobbySearchFindCallbackInfoInternal data) + { + LobbySearchOnFindCallback callback; + LobbySearchFindCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearch.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearch.cs.meta deleted file mode 100644 index eabaffa9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearch.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8bde45f088bb53647af336a2942468a9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchCopySearchResultByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchCopySearchResultByIndexOptions.cs index 68a5b7f8..a973f429 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchCopySearchResultByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchCopySearchResultByIndexOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbySearchCopySearchResultByIndexOptions - { - /// - /// The index of the lobby to retrieve within the completed search query - /// - /// - public uint LobbyIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbySearchCopySearchResultByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_LobbyIndex; - - public uint LobbyIndex - { - set - { - m_LobbyIndex = value; - } - } - - public void Set(LobbySearchCopySearchResultByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = LobbySearch.LobbysearchCopysearchresultbyindexApiLatest; - LobbyIndex = other.LobbyIndex; - } - } - - public void Set(object other) - { - Set(other as LobbySearchCopySearchResultByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbySearchCopySearchResultByIndexOptions + { + /// + /// The index of the lobby to retrieve within the completed search query + /// + /// + public uint LobbyIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbySearchCopySearchResultByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_LobbyIndex; + + public uint LobbyIndex + { + set + { + m_LobbyIndex = value; + } + } + + public void Set(ref LobbySearchCopySearchResultByIndexOptions other) + { + m_ApiVersion = LobbySearch.LobbysearchCopysearchresultbyindexApiLatest; + LobbyIndex = other.LobbyIndex; + } + + public void Set(ref LobbySearchCopySearchResultByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbySearch.LobbysearchCopysearchresultbyindexApiLatest; + LobbyIndex = other.Value.LobbyIndex; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchCopySearchResultByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchCopySearchResultByIndexOptions.cs.meta deleted file mode 100644 index 80603c9b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchCopySearchResultByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2fa1e9202cc31a144bc6789e85c80215 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindCallbackInfo.cs index 740cef53..032ce717 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the function. - /// - public class LobbySearchFindCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(LobbySearchFindCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as LobbySearchFindCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbySearchFindCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct LobbySearchFindCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref LobbySearchFindCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbySearchFindCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref LobbySearchFindCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref LobbySearchFindCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out LobbySearchFindCallbackInfo output) + { + output = new LobbySearchFindCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindCallbackInfo.cs.meta deleted file mode 100644 index 982d9438..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c860c61c881c47b4e8d9bb19a2f9576f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindOptions.cs index dd7558b9..0a41c9ca 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbySearchFindOptions - { - /// - /// The Product User ID of the user making the search request - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbySearchFindOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(LobbySearchFindOptions other) - { - if (other != null) - { - m_ApiVersion = LobbySearch.LobbysearchFindApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as LobbySearchFindOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbySearchFindOptions + { + /// + /// The Product User ID of the user making the search request + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbySearchFindOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref LobbySearchFindOptions other) + { + m_ApiVersion = LobbySearch.LobbysearchFindApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref LobbySearchFindOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbySearch.LobbysearchFindApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindOptions.cs.meta deleted file mode 100644 index deee1cce..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchFindOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d6a6ecced4dcf37489eaa7bbb8e17271 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchGetSearchResultCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchGetSearchResultCountOptions.cs index 88bab8c6..192c84c9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchGetSearchResultCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchGetSearchResultCountOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbySearchGetSearchResultCountOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbySearchGetSearchResultCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(LobbySearchGetSearchResultCountOptions other) - { - if (other != null) - { - m_ApiVersion = LobbySearch.LobbysearchGetsearchresultcountApiLatest; - } - } - - public void Set(object other) - { - Set(other as LobbySearchGetSearchResultCountOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbySearchGetSearchResultCountOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbySearchGetSearchResultCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref LobbySearchGetSearchResultCountOptions other) + { + m_ApiVersion = LobbySearch.LobbysearchGetsearchresultcountApiLatest; + } + + public void Set(ref LobbySearchGetSearchResultCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbySearch.LobbysearchGetsearchresultcountApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchGetSearchResultCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchGetSearchResultCountOptions.cs.meta deleted file mode 100644 index 01dd9dae..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchGetSearchResultCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a2a1ecc34e1112445ac9bafb779970f5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchOnFindCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchOnFindCallback.cs index 21db83d6..83d21f80 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchOnFindCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchOnFindCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A CallbackInfo containing the output information and result - public delegate void LobbySearchOnFindCallback(LobbySearchFindCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void LobbySearchOnFindCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void LobbySearchOnFindCallback(ref LobbySearchFindCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void LobbySearchOnFindCallbackInternal(ref LobbySearchFindCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchOnFindCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchOnFindCallback.cs.meta deleted file mode 100644 index ab68955b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchOnFindCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1c228aedffc1dbc4abad0b9839d5c5e9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchRemoveParameterOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchRemoveParameterOptions.cs index ca776f2c..18b40880 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchRemoveParameterOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchRemoveParameterOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbySearchRemoveParameterOptions - { - /// - /// Search parameter key to remove from the search - /// - public string Key { get; set; } - - /// - /// Search comparison operation associated with the key to remove - /// - public ComparisonOp ComparisonOp { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbySearchRemoveParameterOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Key; - private ComparisonOp m_ComparisonOp; - - public string Key - { - set - { - Helper.TryMarshalSet(ref m_Key, value); - } - } - - public ComparisonOp ComparisonOp - { - set - { - m_ComparisonOp = value; - } - } - - public void Set(LobbySearchRemoveParameterOptions other) - { - if (other != null) - { - m_ApiVersion = LobbySearch.LobbysearchRemoveparameterApiLatest; - Key = other.Key; - ComparisonOp = other.ComparisonOp; - } - } - - public void Set(object other) - { - Set(other as LobbySearchRemoveParameterOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Key); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbySearchRemoveParameterOptions + { + /// + /// Search parameter key to remove from the search + /// + public Utf8String Key { get; set; } + + /// + /// Search comparison operation associated with the key to remove + /// + public ComparisonOp ComparisonOp { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbySearchRemoveParameterOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Key; + private ComparisonOp m_ComparisonOp; + + public Utf8String Key + { + set + { + Helper.Set(value, ref m_Key); + } + } + + public ComparisonOp ComparisonOp + { + set + { + m_ComparisonOp = value; + } + } + + public void Set(ref LobbySearchRemoveParameterOptions other) + { + m_ApiVersion = LobbySearch.LobbysearchRemoveparameterApiLatest; + Key = other.Key; + ComparisonOp = other.ComparisonOp; + } + + public void Set(ref LobbySearchRemoveParameterOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbySearch.LobbysearchRemoveparameterApiLatest; + Key = other.Value.Key; + ComparisonOp = other.Value.ComparisonOp; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Key); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchRemoveParameterOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchRemoveParameterOptions.cs.meta deleted file mode 100644 index 6a35cb80..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchRemoveParameterOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 90a8988b16ea96f47a6169a70f2011a6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetLobbyIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetLobbyIdOptions.cs index dc371cfc..9742eb7e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetLobbyIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetLobbyIdOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbySearchSetLobbyIdOptions - { - /// - /// The ID of the lobby to find - /// - public string LobbyId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbySearchSetLobbyIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LobbyId; - - public string LobbyId - { - set - { - Helper.TryMarshalSet(ref m_LobbyId, value); - } - } - - public void Set(LobbySearchSetLobbyIdOptions other) - { - if (other != null) - { - m_ApiVersion = LobbySearch.LobbysearchSetlobbyidApiLatest; - LobbyId = other.LobbyId; - } - } - - public void Set(object other) - { - Set(other as LobbySearchSetLobbyIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LobbyId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbySearchSetLobbyIdOptions + { + /// + /// The ID of the lobby to find + /// + public Utf8String LobbyId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbySearchSetLobbyIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LobbyId; + + public Utf8String LobbyId + { + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref LobbySearchSetLobbyIdOptions other) + { + m_ApiVersion = LobbySearch.LobbysearchSetlobbyidApiLatest; + LobbyId = other.LobbyId; + } + + public void Set(ref LobbySearchSetLobbyIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbySearch.LobbysearchSetlobbyidApiLatest; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LobbyId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetLobbyIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetLobbyIdOptions.cs.meta deleted file mode 100644 index d90c8f4a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetLobbyIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2872094d1ce53894bad328ee65885341 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetMaxResultsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetMaxResultsOptions.cs index 427187a2..e1d6c5b8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetMaxResultsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetMaxResultsOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbySearchSetMaxResultsOptions - { - /// - /// Maximum number of search results to return from the query - /// - public uint MaxResults { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbySearchSetMaxResultsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_MaxResults; - - public uint MaxResults - { - set - { - m_MaxResults = value; - } - } - - public void Set(LobbySearchSetMaxResultsOptions other) - { - if (other != null) - { - m_ApiVersion = LobbySearch.LobbysearchSetmaxresultsApiLatest; - MaxResults = other.MaxResults; - } - } - - public void Set(object other) - { - Set(other as LobbySearchSetMaxResultsOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbySearchSetMaxResultsOptions + { + /// + /// Maximum number of search results to return from the query + /// + public uint MaxResults { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbySearchSetMaxResultsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_MaxResults; + + public uint MaxResults + { + set + { + m_MaxResults = value; + } + } + + public void Set(ref LobbySearchSetMaxResultsOptions other) + { + m_ApiVersion = LobbySearch.LobbysearchSetmaxresultsApiLatest; + MaxResults = other.MaxResults; + } + + public void Set(ref LobbySearchSetMaxResultsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbySearch.LobbysearchSetmaxresultsApiLatest; + MaxResults = other.Value.MaxResults; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetMaxResultsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetMaxResultsOptions.cs.meta deleted file mode 100644 index 19f240e6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetMaxResultsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5c194f8a966ca354a867d7c5dc876730 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetParameterOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetParameterOptions.cs index 3ab81599..6bf75d35 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetParameterOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetParameterOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbySearchSetParameterOptions - { - /// - /// Search parameter describing a key and a value to compare - /// - public AttributeData Parameter { get; set; } - - /// - /// The type of comparison to make against the search parameter - /// - public ComparisonOp ComparisonOp { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbySearchSetParameterOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Parameter; - private ComparisonOp m_ComparisonOp; - - public AttributeData Parameter - { - set - { - Helper.TryMarshalSet(ref m_Parameter, value); - } - } - - public ComparisonOp ComparisonOp - { - set - { - m_ComparisonOp = value; - } - } - - public void Set(LobbySearchSetParameterOptions other) - { - if (other != null) - { - m_ApiVersion = LobbySearch.LobbysearchSetparameterApiLatest; - Parameter = other.Parameter; - ComparisonOp = other.ComparisonOp; - } - } - - public void Set(object other) - { - Set(other as LobbySearchSetParameterOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Parameter); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbySearchSetParameterOptions + { + /// + /// Search parameter describing a key and a value to compare + /// + public AttributeData? Parameter { get; set; } + + /// + /// The type of comparison to make against the search parameter + /// + public ComparisonOp ComparisonOp { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbySearchSetParameterOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Parameter; + private ComparisonOp m_ComparisonOp; + + public AttributeData? Parameter + { + set + { + Helper.Set(ref value, ref m_Parameter); + } + } + + public ComparisonOp ComparisonOp + { + set + { + m_ComparisonOp = value; + } + } + + public void Set(ref LobbySearchSetParameterOptions other) + { + m_ApiVersion = LobbySearch.LobbysearchSetparameterApiLatest; + Parameter = other.Parameter; + ComparisonOp = other.ComparisonOp; + } + + public void Set(ref LobbySearchSetParameterOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbySearch.LobbysearchSetparameterApiLatest; + Parameter = other.Value.Parameter; + ComparisonOp = other.Value.ComparisonOp; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Parameter); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetParameterOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetParameterOptions.cs.meta deleted file mode 100644 index 4c2d9039..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetParameterOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 25c5af97a22d2c04a8c17f01c8e97208 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetTargetUserIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetTargetUserIdOptions.cs index 728424eb..2e43a85f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetTargetUserIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetTargetUserIdOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class LobbySearchSetTargetUserIdOptions - { - /// - /// Search lobbies for given user by Product User ID, returning any lobbies where this user is currently registered - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbySearchSetTargetUserIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(LobbySearchSetTargetUserIdOptions other) - { - if (other != null) - { - m_ApiVersion = LobbySearch.LobbysearchSettargetuseridApiLatest; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as LobbySearchSetTargetUserIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct LobbySearchSetTargetUserIdOptions + { + /// + /// Search lobbies for given user by Product User ID, returning any lobbies where this user is currently registered + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbySearchSetTargetUserIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref LobbySearchSetTargetUserIdOptions other) + { + m_ApiVersion = LobbySearch.LobbysearchSettargetuseridApiLatest; + TargetUserId = other.TargetUserId; + } + + public void Set(ref LobbySearchSetTargetUserIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbySearch.LobbysearchSettargetuseridApiLatest; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetTargetUserIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetTargetUserIdOptions.cs.meta deleted file mode 100644 index 3dbb1ca7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbySearchSetTargetUserIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 878a1f6bef76a13448225775a1f59a97 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyUpdateReceivedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyUpdateReceivedCallbackInfo.cs index bf1e0b23..d8b685a0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyUpdateReceivedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyUpdateReceivedCallbackInfo.cs @@ -1,75 +1,104 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the Function. - /// - public class LobbyUpdateReceivedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The ID of the lobby - /// - public string LobbyId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(LobbyUpdateReceivedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LobbyId = other.Value.LobbyId; - } - } - - public void Set(object other) - { - Set(other as LobbyUpdateReceivedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LobbyUpdateReceivedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LobbyId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the Function. + /// + public struct LobbyUpdateReceivedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref LobbyUpdateReceivedCallbackInfoInternal other) + { + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LobbyUpdateReceivedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref LobbyUpdateReceivedCallbackInfo other) + { + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + + public void Set(ref LobbyUpdateReceivedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + } + + public void Get(out LobbyUpdateReceivedCallbackInfo output) + { + output = new LobbyUpdateReceivedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyUpdateReceivedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyUpdateReceivedCallbackInfo.cs.meta deleted file mode 100644 index d0055671..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LobbyUpdateReceivedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4fd815ef60c073a459af56356f0686f6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LocalRTCOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LocalRTCOptions.cs index ca1220ab..2c0f8cea 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LocalRTCOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LocalRTCOptions.cs @@ -1,141 +1,144 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters to use with Lobby RTC Rooms. - /// - public class LocalRTCOptions : ISettable - { - /// - /// Flags for the local user in this room. The default is 0 if this struct is not specified. @see ::Flags - /// - public uint Flags { get; set; } - - /// - /// Set to true to enable Manual Audio Input. If manual audio input is enabled, audio recording is not started and the audio buffers - /// must be passed manually using . The default is false if this struct is not specified. - /// - public bool UseManualAudioInput { get; set; } - - /// - /// Set to true to enable Manual Audio Output. If manual audio output is enabled, audio rendering is not started and the audio buffers - /// must be received with and rendered manually. The default is false if this struct is not - /// specified. - /// - public bool UseManualAudioOutput { get; set; } - - /// - /// 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 . If manual audio output is enabled, this value is ignored. The default is false if this struct - /// is not specified. - /// - public bool AudioOutputStartsMuted { get; set; } - - internal void Set(LocalRTCOptionsInternal? other) - { - if (other != null) - { - Flags = other.Value.Flags; - UseManualAudioInput = other.Value.UseManualAudioInput; - UseManualAudioOutput = other.Value.UseManualAudioOutput; - AudioOutputStartsMuted = other.Value.AudioOutputStartsMuted; - } - } - - public void Set(object other) - { - Set(other as LocalRTCOptionsInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LocalRTCOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_Flags; - private int m_UseManualAudioInput; - private int m_UseManualAudioOutput; - private int m_AudioOutputStartsMuted; - - public uint Flags - { - get - { - return m_Flags; - } - - set - { - m_Flags = value; - } - } - - public bool UseManualAudioInput - { - get - { - bool value; - Helper.TryMarshalGet(m_UseManualAudioInput, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UseManualAudioInput, value); - } - } - - public bool UseManualAudioOutput - { - get - { - bool value; - Helper.TryMarshalGet(m_UseManualAudioOutput, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UseManualAudioOutput, value); - } - } - - public bool AudioOutputStartsMuted - { - get - { - bool value; - Helper.TryMarshalGet(m_AudioOutputStartsMuted, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AudioOutputStartsMuted, value); - } - } - - public void Set(LocalRTCOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.LocalrtcoptionsApiLatest; - Flags = other.Flags; - UseManualAudioInput = other.UseManualAudioInput; - UseManualAudioOutput = other.UseManualAudioOutput; - AudioOutputStartsMuted = other.AudioOutputStartsMuted; - } - } - - public void Set(object other) - { - Set(other as LocalRTCOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters to use with Lobby RTC Rooms. + /// + public struct LocalRTCOptions + { + /// + /// Flags for the local user in this room. The default is 0 if this struct is not specified. @see + /// + public uint Flags { get; set; } + + /// + /// Set to to enable Manual Audio Input. If manual audio input is enabled, audio recording is not started and the audio buffers + /// must be passed manually using . The default is if this struct is not specified. + /// + public bool UseManualAudioInput { get; set; } + + /// + /// Set to to enable Manual Audio Output. If manual audio output is enabled, audio rendering is not started and the audio buffers + /// must be received with and rendered manually. The default is if this struct is not + /// specified. + /// + public bool UseManualAudioOutput { get; set; } + + /// + /// Set to 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 . If manual audio output is enabled, this value is ignored. + /// The default value is if this struct is not specified. + /// + public bool LocalAudioDeviceInputStartsMuted { get; set; } + + internal void Set(ref LocalRTCOptionsInternal other) + { + Flags = other.Flags; + UseManualAudioInput = other.UseManualAudioInput; + UseManualAudioOutput = other.UseManualAudioOutput; + LocalAudioDeviceInputStartsMuted = other.LocalAudioDeviceInputStartsMuted; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LocalRTCOptionsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_Flags; + private int m_UseManualAudioInput; + private int m_UseManualAudioOutput; + private int m_LocalAudioDeviceInputStartsMuted; + + public uint Flags + { + get + { + return m_Flags; + } + + set + { + m_Flags = value; + } + } + + public bool UseManualAudioInput + { + get + { + bool value; + Helper.Get(m_UseManualAudioInput, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UseManualAudioInput); + } + } + + public bool UseManualAudioOutput + { + get + { + bool value; + Helper.Get(m_UseManualAudioOutput, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UseManualAudioOutput); + } + } + + public bool LocalAudioDeviceInputStartsMuted + { + get + { + bool value; + Helper.Get(m_LocalAudioDeviceInputStartsMuted, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalAudioDeviceInputStartsMuted); + } + } + + public void Set(ref LocalRTCOptions other) + { + m_ApiVersion = LobbyInterface.LocalrtcoptionsApiLatest; + Flags = other.Flags; + UseManualAudioInput = other.UseManualAudioInput; + UseManualAudioOutput = other.UseManualAudioOutput; + LocalAudioDeviceInputStartsMuted = other.LocalAudioDeviceInputStartsMuted; + } + + public void Set(ref LocalRTCOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.LocalrtcoptionsApiLatest; + Flags = other.Value.Flags; + UseManualAudioInput = other.Value.UseManualAudioInput; + UseManualAudioOutput = other.Value.UseManualAudioOutput; + LocalAudioDeviceInputStartsMuted = other.Value.LocalAudioDeviceInputStartsMuted; + } + } + + public void Dispose() + { + } + + public void Get(out LocalRTCOptions output) + { + output = new LocalRTCOptions(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LocalRTCOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LocalRTCOptions.cs.meta deleted file mode 100644 index a421db7e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/LocalRTCOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 55d0b455805cd1940bc0bf507d6ed820 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnCreateLobbyCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnCreateLobbyCallback.cs index 24685535..efcbeb7d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnCreateLobbyCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnCreateLobbyCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A CallbackInfo containing the output information and result - public delegate void OnCreateLobbyCallback(CreateLobbyCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnCreateLobbyCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnCreateLobbyCallback(ref CreateLobbyCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnCreateLobbyCallbackInternal(ref CreateLobbyCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnCreateLobbyCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnCreateLobbyCallback.cs.meta deleted file mode 100644 index 2130febb..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnCreateLobbyCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9c359628973c2e7469a6900c81447f19 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnDestroyLobbyCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnDestroyLobbyCallback.cs index cb63fdd9..3dff5ec0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnDestroyLobbyCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnDestroyLobbyCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A CallbackInfo containing the output information and result - public delegate void OnDestroyLobbyCallback(DestroyLobbyCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnDestroyLobbyCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnDestroyLobbyCallback(ref DestroyLobbyCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnDestroyLobbyCallbackInternal(ref DestroyLobbyCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnDestroyLobbyCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnDestroyLobbyCallback.cs.meta deleted file mode 100644 index 3ae77da6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnDestroyLobbyCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c1286cdcb440f1a49861af9a86f4fe52 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnHardMuteMemberCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnHardMuteMemberCallback.cs new file mode 100644 index 00000000..a29f772f --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnHardMuteMemberCallback.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnHardMuteMemberCallback(ref HardMuteMemberCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnHardMuteMemberCallbackInternal(ref HardMuteMemberCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyAcceptedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyAcceptedCallback.cs index 3a18ccde..1c94c97e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyAcceptedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyAcceptedCallback.cs @@ -1,19 +1,17 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for notifications that comes from - /// - /// - /// - /// - /// A containing the output information and result - /// @note The lobby for the join game must be joined. - /// - public delegate void OnJoinLobbyAcceptedCallback(JoinLobbyAcceptedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnJoinLobbyAcceptedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for notifications that comes from + /// The lobby for the join game must be joined. + /// + /// + /// + /// A containing the output information and result + public delegate void OnJoinLobbyAcceptedCallback(ref JoinLobbyAcceptedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnJoinLobbyAcceptedCallbackInternal(ref JoinLobbyAcceptedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyAcceptedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyAcceptedCallback.cs.meta deleted file mode 100644 index 6a27b372..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyAcceptedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 97a6996df47f58f48b0aed05388599f3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyByIdCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyByIdCallback.cs new file mode 100644 index 00000000..53f8d726 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyByIdCallback.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnJoinLobbyByIdCallback(ref JoinLobbyByIdCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnJoinLobbyByIdCallbackInternal(ref JoinLobbyByIdCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyCallback.cs index 0cdc77d5..404eaffb 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A CallbackInfo containing the output information and result - public delegate void OnJoinLobbyCallback(JoinLobbyCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnJoinLobbyCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnJoinLobbyCallback(ref JoinLobbyCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnJoinLobbyCallbackInternal(ref JoinLobbyCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyCallback.cs.meta deleted file mode 100644 index 8df0a012..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnJoinLobbyCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 76b5b60bb5faa9d409c6c2152fa23886 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnKickMemberCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnKickMemberCallback.cs index 9039dd8e..eafb4318 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnKickMemberCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnKickMemberCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A CallbackInfo containing the output information and result - public delegate void OnKickMemberCallback(KickMemberCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnKickMemberCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnKickMemberCallback(ref KickMemberCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnKickMemberCallbackInternal(ref KickMemberCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnKickMemberCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnKickMemberCallback.cs.meta deleted file mode 100644 index fefa3a58..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnKickMemberCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b4a6391860103414abd36f2d6038a4d3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLeaveLobbyCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLeaveLobbyCallback.cs index 018fe984..6e3e4656 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLeaveLobbyCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLeaveLobbyCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A CallbackInfo containing the output information and result - public delegate void OnLeaveLobbyCallback(LeaveLobbyCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLeaveLobbyCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnLeaveLobbyCallback(ref LeaveLobbyCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLeaveLobbyCallbackInternal(ref LeaveLobbyCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLeaveLobbyCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLeaveLobbyCallback.cs.meta deleted file mode 100644 index 7856f5f8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLeaveLobbyCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e68c9413ff0c07e4ea73dc1cca14fa21 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteAcceptedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteAcceptedCallback.cs index 171199d8..cca75d81 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteAcceptedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteAcceptedCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for notifications that comes from - /// - /// A containing the output information and result - public delegate void OnLobbyInviteAcceptedCallback(LobbyInviteAcceptedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLobbyInviteAcceptedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for notifications that comes from + /// + /// A containing the output information and result + public delegate void OnLobbyInviteAcceptedCallback(ref LobbyInviteAcceptedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLobbyInviteAcceptedCallbackInternal(ref LobbyInviteAcceptedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteAcceptedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteAcceptedCallback.cs.meta deleted file mode 100644 index 54824b42..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteAcceptedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e6074ce7d26c76c4aa31bb09a89c4316 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteReceivedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteReceivedCallback.cs index 4841eaba..e334f925 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteReceivedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteReceivedCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for notifications that comes from - /// - /// A containing the output information and result - public delegate void OnLobbyInviteReceivedCallback(LobbyInviteReceivedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLobbyInviteReceivedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for notifications that comes from + /// + /// A containing the output information and result + public delegate void OnLobbyInviteReceivedCallback(ref LobbyInviteReceivedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLobbyInviteReceivedCallbackInternal(ref LobbyInviteReceivedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteReceivedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteReceivedCallback.cs.meta deleted file mode 100644 index db52548f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteReceivedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 65a81a38a0b074d428420ecaaefe645a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteRejectedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteRejectedCallback.cs new file mode 100644 index 00000000..23e79835 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyInviteRejectedCallback.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for notifications that comes from + /// + /// A containing the output information and result + public delegate void OnLobbyInviteRejectedCallback(ref LobbyInviteRejectedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLobbyInviteRejectedCallbackInternal(ref LobbyInviteRejectedCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberStatusReceivedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberStatusReceivedCallback.cs index 0455fbd0..e8d896f4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberStatusReceivedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberStatusReceivedCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A CallbackInfo containing the output information and result - public delegate void OnLobbyMemberStatusReceivedCallback(LobbyMemberStatusReceivedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLobbyMemberStatusReceivedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnLobbyMemberStatusReceivedCallback(ref LobbyMemberStatusReceivedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLobbyMemberStatusReceivedCallbackInternal(ref LobbyMemberStatusReceivedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberStatusReceivedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberStatusReceivedCallback.cs.meta deleted file mode 100644 index 8eefa6ba..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberStatusReceivedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 843284e1cecf7c3428b7fc27dc93445a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberUpdateReceivedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberUpdateReceivedCallback.cs index 8605ba61..4e3a86a8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberUpdateReceivedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberUpdateReceivedCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for notifications that comes from - /// - /// A containing the output information and result - public delegate void OnLobbyMemberUpdateReceivedCallback(LobbyMemberUpdateReceivedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLobbyMemberUpdateReceivedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for notifications that comes from + /// + /// A containing the output information and result + public delegate void OnLobbyMemberUpdateReceivedCallback(ref LobbyMemberUpdateReceivedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLobbyMemberUpdateReceivedCallbackInternal(ref LobbyMemberUpdateReceivedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberUpdateReceivedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberUpdateReceivedCallback.cs.meta deleted file mode 100644 index 37894bf6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyMemberUpdateReceivedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: beaeb2d92b984e04d92f943a58547aca -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyUpdateReceivedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyUpdateReceivedCallback.cs index 389d750c..172e70e0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyUpdateReceivedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyUpdateReceivedCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for notifications that comes from - /// - /// A containing the output information and result - public delegate void OnLobbyUpdateReceivedCallback(LobbyUpdateReceivedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLobbyUpdateReceivedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for notifications that comes from + /// + /// A containing the output information and result + public delegate void OnLobbyUpdateReceivedCallback(ref LobbyUpdateReceivedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLobbyUpdateReceivedCallbackInternal(ref LobbyUpdateReceivedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyUpdateReceivedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyUpdateReceivedCallback.cs.meta deleted file mode 100644 index b82a105e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnLobbyUpdateReceivedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 662d0d98e49a24548a2be04a5d5e7797 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnPromoteMemberCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnPromoteMemberCallback.cs index bdebd6e2..4a0e5ab6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnPromoteMemberCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnPromoteMemberCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A CallbackInfo containing the output information and result - public delegate void OnPromoteMemberCallback(PromoteMemberCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnPromoteMemberCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnPromoteMemberCallback(ref PromoteMemberCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnPromoteMemberCallbackInternal(ref PromoteMemberCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnPromoteMemberCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnPromoteMemberCallback.cs.meta deleted file mode 100644 index 34c43a43..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnPromoteMemberCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 023f3290f22f97442aa4fed0edbc93aa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnQueryInvitesCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnQueryInvitesCallback.cs index a2a2e948..a3f6bf5e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnQueryInvitesCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnQueryInvitesCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A CallbackInfo containing the output information and result - public delegate void OnQueryInvitesCallback(QueryInvitesCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryInvitesCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnQueryInvitesCallback(ref QueryInvitesCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryInvitesCallbackInternal(ref QueryInvitesCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnQueryInvitesCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnQueryInvitesCallback.cs.meta deleted file mode 100644 index 82af3d2b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnQueryInvitesCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 45e75519d8d33e949bddc761b899e73b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRTCRoomConnectionChangedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRTCRoomConnectionChangedCallback.cs index 5b0ee11b..d3af2951 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRTCRoomConnectionChangedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRTCRoomConnectionChangedCallback.cs @@ -1,15 +1,15 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for notifications that comes from - /// - /// - /// containing the connection state of the RTC Room for a lobby - public delegate void OnRTCRoomConnectionChangedCallback(RTCRoomConnectionChangedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnRTCRoomConnectionChangedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for notifications that comes from + /// + /// + /// containing the connection state of the RTC Room for a lobby + public delegate void OnRTCRoomConnectionChangedCallback(ref RTCRoomConnectionChangedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnRTCRoomConnectionChangedCallbackInternal(ref RTCRoomConnectionChangedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRTCRoomConnectionChangedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRTCRoomConnectionChangedCallback.cs.meta deleted file mode 100644 index 6a037a72..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRTCRoomConnectionChangedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f0872d5454894dd41b807d78027450c8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRejectInviteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRejectInviteCallback.cs index 0e801e57..283e9415 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRejectInviteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRejectInviteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A CallbackInfo containing the output information and result - public delegate void OnRejectInviteCallback(RejectInviteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnRejectInviteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnRejectInviteCallback(ref RejectInviteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnRejectInviteCallbackInternal(ref RejectInviteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRejectInviteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRejectInviteCallback.cs.meta deleted file mode 100644 index 27b908ed..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnRejectInviteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fb284aeda2271e24397001b2288f6891 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnSendInviteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnSendInviteCallback.cs index 5f39c11f..0dd2cacb 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnSendInviteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnSendInviteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A CallbackInfo containing the output information and result - public delegate void OnSendInviteCallback(SendInviteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnSendInviteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnSendInviteCallback(ref SendInviteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnSendInviteCallbackInternal(ref SendInviteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnSendInviteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnSendInviteCallback.cs.meta deleted file mode 100644 index 806065cc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnSendInviteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 316b7047ae26c154894dd6ff80934326 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnSendLobbyNativeInviteRequestedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnSendLobbyNativeInviteRequestedCallback.cs new file mode 100644 index 00000000..0b6f14b1 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnSendLobbyNativeInviteRequestedCallback.cs @@ -0,0 +1,16 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for notifications that comes from + /// After processing the callback EOS_UI_AcknowledgeEventId must be called. + /// + /// + /// A containing the output information and result + public delegate void OnSendLobbyNativeInviteRequestedCallback(ref SendLobbyNativeInviteRequestedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnSendLobbyNativeInviteRequestedCallbackInternal(ref SendLobbyNativeInviteRequestedCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnUpdateLobbyCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnUpdateLobbyCallback.cs index dbc57836..97326954 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnUpdateLobbyCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnUpdateLobbyCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A CallbackInfo containing the output information and result - public delegate void OnUpdateLobbyCallback(UpdateLobbyCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnUpdateLobbyCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnUpdateLobbyCallback(ref UpdateLobbyCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnUpdateLobbyCallbackInternal(ref UpdateLobbyCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnUpdateLobbyCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnUpdateLobbyCallback.cs.meta deleted file mode 100644 index 819513a7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/OnUpdateLobbyCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9359a40f14cfe304dba785041d3e45bc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberCallbackInfo.cs index 51b6a64d..3f52f25c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the function. - /// - public class PromoteMemberCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The ID of the lobby where the user was promoted - /// - public string LobbyId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(PromoteMemberCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LobbyId = other.Value.LobbyId; - } - } - - public void Set(object other) - { - Set(other as PromoteMemberCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PromoteMemberCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LobbyId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct PromoteMemberCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the lobby where the user was promoted + /// + public Utf8String LobbyId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref PromoteMemberCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PromoteMemberCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref PromoteMemberCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + + public void Set(ref PromoteMemberCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + } + + public void Get(out PromoteMemberCallbackInfo output) + { + output = new PromoteMemberCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberCallbackInfo.cs.meta deleted file mode 100644 index 347d2bea..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 08163053bb6e6574cbbe00c4111636e3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberOptions.cs index 2792c9cb..038c4554 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberOptions.cs @@ -1,82 +1,85 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class PromoteMemberOptions - { - /// - /// The ID of the lobby - /// - public string LobbyId { get; set; } - - /// - /// The Product User ID of the local user making the request - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The Product User ID of the member to promote to owner of the lobby - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PromoteMemberOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LobbyId; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public string LobbyId - { - set - { - Helper.TryMarshalSet(ref m_LobbyId, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(PromoteMemberOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.PromotememberApiLatest; - LobbyId = other.LobbyId; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as PromoteMemberOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LobbyId); - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct PromoteMemberOptions + { + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + /// + /// The Product User ID of the local user making the request + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the member to promote to owner of the lobby + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PromoteMemberOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LobbyId; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public Utf8String LobbyId + { + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref PromoteMemberOptions other) + { + m_ApiVersion = LobbyInterface.PromotememberApiLatest; + LobbyId = other.LobbyId; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref PromoteMemberOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.PromotememberApiLatest; + LobbyId = other.Value.LobbyId; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LobbyId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberOptions.cs.meta deleted file mode 100644 index 9773bc9b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/PromoteMemberOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 87bd4558917e52f4ababc4f1e8e8a6e4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesCallbackInfo.cs index f960634c..3e1a4153 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the function. - /// - public class QueryInvitesCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local user that made the request - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryInvitesCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryInvitesCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryInvitesCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct QueryInvitesCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local user that made the request + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryInvitesCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryInvitesCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryInvitesCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryInvitesCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out QueryInvitesCallbackInfo output) + { + output = new QueryInvitesCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesCallbackInfo.cs.meta deleted file mode 100644 index d90817ab..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9c5e0e87a716a4c42afe6a5c3ef3ff63 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesOptions.cs index 20ad0101..37cd66c2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class QueryInvitesOptions - { - /// - /// The Product User ID of the local user whose invitations you want to retrieve - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryInvitesOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(QueryInvitesOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.QueryinvitesApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryInvitesOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct QueryInvitesOptions + { + /// + /// The Product User ID of the local user whose invitations you want to retrieve + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryInvitesOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryInvitesOptions other) + { + m_ApiVersion = LobbyInterface.QueryinvitesApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryInvitesOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.QueryinvitesApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesOptions.cs.meta deleted file mode 100644 index b05f3472..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/QueryInvitesOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d37ba90c3c36bad41ad291e794ec8620 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RTCRoomConnectionChangedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RTCRoomConnectionChangedCallbackInfo.cs index 504ab73d..68932a20 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RTCRoomConnectionChangedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RTCRoomConnectionChangedCallbackInfo.cs @@ -1,126 +1,177 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - public class RTCRoomConnectionChangedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The ID of the lobby which had a RTC Room connection state change - /// - public string LobbyId { get; private set; } - - /// - /// The Product User ID of the local user who is in the lobby and registered for notifications - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The new connection state of the room - /// - public bool IsConnected { get; private set; } - - /// - /// : The room was left locally. This may be because: the associated lobby was Left or Destroyed, the connection to the lobby was interrupted, or because the SDK is being shutdown. If the lobby connection returns (lobby did not permanently go away), we will reconnect. - /// : There was a network issue connecting to the server. We will attempt to reconnect soon. - /// : The user has been kicked by the server. We will not reconnect. - /// : The user has been banned by the server. We will not reconnect. - /// : A known error occurred during interaction with the server. We will attempt to reconnect soon. - /// : Unexpected error. We will attempt to reconnect soon. - /// - public Result DisconnectReason { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(RTCRoomConnectionChangedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LobbyId = other.Value.LobbyId; - LocalUserId = other.Value.LocalUserId; - IsConnected = other.Value.IsConnected; - DisconnectReason = other.Value.DisconnectReason; - } - } - - public void Set(object other) - { - Set(other as RTCRoomConnectionChangedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RTCRoomConnectionChangedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LobbyId; - private System.IntPtr m_LocalUserId; - private int m_IsConnected; - private Result m_DisconnectReason; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public bool IsConnected - { - get - { - bool value; - Helper.TryMarshalGet(m_IsConnected, out value); - return value; - } - } - - public Result DisconnectReason - { - get - { - return m_DisconnectReason; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + public struct RTCRoomConnectionChangedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the lobby which had a RTC Room connection state change + /// + public Utf8String LobbyId { get; set; } + + /// + /// The Product User ID of the local user who is in the lobby and registered for notifications + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The new connection state of the room + /// + public bool IsConnected { get; set; } + + /// + /// : The room was left locally. This may be because: the associated lobby was Left or Destroyed, the connection to the lobby was interrupted, or because the SDK is being shutdown. If the lobby connection returns (lobby did not permanently go away), we will reconnect. + /// : There was a network issue connecting to the server. We will attempt to reconnect soon. + /// : The user has been kicked by the server. We will not reconnect. + /// : The user has been banned by the server. We will not reconnect. + /// : A known error occurred during interaction with the server. We will attempt to reconnect soon. + /// : Unexpected error. We will attempt to reconnect soon. + /// + public Result DisconnectReason { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref RTCRoomConnectionChangedCallbackInfoInternal other) + { + ClientData = other.ClientData; + LobbyId = other.LobbyId; + LocalUserId = other.LocalUserId; + IsConnected = other.IsConnected; + DisconnectReason = other.DisconnectReason; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RTCRoomConnectionChangedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + private System.IntPtr m_LocalUserId; + private int m_IsConnected; + private Result m_DisconnectReason; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public bool IsConnected + { + get + { + bool value; + Helper.Get(m_IsConnected, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IsConnected); + } + } + + public Result DisconnectReason + { + get + { + return m_DisconnectReason; + } + + set + { + m_DisconnectReason = value; + } + } + + public void Set(ref RTCRoomConnectionChangedCallbackInfo other) + { + ClientData = other.ClientData; + LobbyId = other.LobbyId; + LocalUserId = other.LocalUserId; + IsConnected = other.IsConnected; + DisconnectReason = other.DisconnectReason; + } + + public void Set(ref RTCRoomConnectionChangedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + LocalUserId = other.Value.LocalUserId; + IsConnected = other.Value.IsConnected; + DisconnectReason = other.Value.DisconnectReason; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out RTCRoomConnectionChangedCallbackInfo output) + { + output = new RTCRoomConnectionChangedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RTCRoomConnectionChangedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RTCRoomConnectionChangedCallbackInfo.cs.meta deleted file mode 100644 index c1e148c0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RTCRoomConnectionChangedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7a206ed24ab8f934288b09fbd314064e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteCallbackInfo.cs index b42e02cf..e6db019c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the function. - /// - public class RejectInviteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The ID of the invitation being rejected - /// - public string InviteId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(RejectInviteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - InviteId = other.Value.InviteId; - } - } - - public void Set(object other) - { - Set(other as RejectInviteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RejectInviteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_InviteId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string InviteId - { - get - { - string value; - Helper.TryMarshalGet(m_InviteId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct RejectInviteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the invitation being rejected + /// + public Utf8String InviteId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref RejectInviteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + InviteId = other.InviteId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RejectInviteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_InviteId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String InviteId + { + get + { + Utf8String value; + Helper.Get(m_InviteId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_InviteId); + } + } + + public void Set(ref RejectInviteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + InviteId = other.InviteId; + } + + public void Set(ref RejectInviteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + InviteId = other.Value.InviteId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_InviteId); + } + + public void Get(out RejectInviteCallbackInfo output) + { + output = new RejectInviteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteCallbackInfo.cs.meta deleted file mode 100644 index 5c0b0258..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a08fb08ba8e84a849aabf9d7d1041097 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteOptions.cs index 911a02b9..05850d6b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class RejectInviteOptions - { - /// - /// The ID of the lobby associated with the invitation - /// - public string InviteId { get; set; } - - /// - /// The Product User ID of the local user who is rejecting the invitation - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RejectInviteOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_InviteId; - private System.IntPtr m_LocalUserId; - - public string InviteId - { - set - { - Helper.TryMarshalSet(ref m_InviteId, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(RejectInviteOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.RejectinviteApiLatest; - InviteId = other.InviteId; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as RejectInviteOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_InviteId); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct RejectInviteOptions + { + /// + /// The ID of the lobby associated with the invitation + /// + public Utf8String InviteId { get; set; } + + /// + /// The Product User ID of the local user who is rejecting the invitation + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RejectInviteOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_InviteId; + private System.IntPtr m_LocalUserId; + + public Utf8String InviteId + { + set + { + Helper.Set(value, ref m_InviteId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref RejectInviteOptions other) + { + m_ApiVersion = LobbyInterface.RejectinviteApiLatest; + InviteId = other.InviteId; + LocalUserId = other.LocalUserId; + } + + public void Set(ref RejectInviteOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.RejectinviteApiLatest; + InviteId = other.Value.InviteId; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_InviteId); + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteOptions.cs.meta deleted file mode 100644 index fc7e5bfc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/RejectInviteOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2bd9b6c3339a9df4b9ea58be74c73325 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteCallbackInfo.cs index 39801915..d1abbfa1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the function. - /// - public class SendInviteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The ID of the lobby - /// - public string LobbyId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(SendInviteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LobbyId = other.Value.LobbyId; - } - } - - public void Set(object other) - { - Set(other as SendInviteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SendInviteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LobbyId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct SendInviteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref SendInviteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SendInviteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref SendInviteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + + public void Set(ref SendInviteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + } + + public void Get(out SendInviteCallbackInfo output) + { + output = new SendInviteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteCallbackInfo.cs.meta deleted file mode 100644 index 611b01b8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 54f651334fb177e4b9266eb66a4d5d90 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteOptions.cs index d0e7331c..3a960d2f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteOptions.cs @@ -1,82 +1,85 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class SendInviteOptions - { - /// - /// The ID of the lobby associated with the invitation - /// - public string LobbyId { get; set; } - - /// - /// The Product User ID of the local user sending the invitation - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The Product User ID of the user receiving the invitation - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SendInviteOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LobbyId; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public string LobbyId - { - set - { - Helper.TryMarshalSet(ref m_LobbyId, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(SendInviteOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.SendinviteApiLatest; - LobbyId = other.LobbyId; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as SendInviteOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LobbyId); - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct SendInviteOptions + { + /// + /// The ID of the lobby associated with the invitation + /// + public Utf8String LobbyId { get; set; } + + /// + /// The Product User ID of the local user sending the invitation + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the user receiving the invitation + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SendInviteOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LobbyId; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public Utf8String LobbyId + { + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref SendInviteOptions other) + { + m_ApiVersion = LobbyInterface.SendinviteApiLatest; + LobbyId = other.LobbyId; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref SendInviteOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.SendinviteApiLatest; + LobbyId = other.Value.LobbyId; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LobbyId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteOptions.cs.meta deleted file mode 100644 index ba6534b9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendInviteOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7a989df3aa04a33449ed5d457f88ed8f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendLobbyNativeInviteRequestedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendLobbyNativeInviteRequestedCallbackInfo.cs new file mode 100644 index 00000000..6bdcafea --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/SendLobbyNativeInviteRequestedCallbackInfo.cs @@ -0,0 +1,203 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the Function. + /// + public struct SendLobbyNativeInviteRequestedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// Identifies this event which will need to be acknowledged with (). + /// + /// + public ulong UiEventId { get; set; } + + /// + /// The Product User ID of the local user who is inviting. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Native Platform Account Type. If only a single integrated platform is configured then + /// this will always reference that platform. + /// + public Utf8String TargetNativeAccountType { get; set; } + + /// + /// The Native Platform Account ID of the target user being invited. + /// + public Utf8String TargetUserNativeAccountId { get; set; } + + /// + /// Lobby ID that the user is being invited to + /// + public Utf8String LobbyId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref SendLobbyNativeInviteRequestedCallbackInfoInternal other) + { + ClientData = other.ClientData; + UiEventId = other.UiEventId; + LocalUserId = other.LocalUserId; + TargetNativeAccountType = other.TargetNativeAccountType; + TargetUserNativeAccountId = other.TargetUserNativeAccountId; + LobbyId = other.LobbyId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SendLobbyNativeInviteRequestedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private ulong m_UiEventId; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetNativeAccountType; + private System.IntPtr m_TargetUserNativeAccountId; + private System.IntPtr m_LobbyId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ulong UiEventId + { + get + { + return m_UiEventId; + } + + set + { + m_UiEventId = value; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String TargetNativeAccountType + { + get + { + Utf8String value; + Helper.Get(m_TargetNativeAccountType, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetNativeAccountType); + } + } + + public Utf8String TargetUserNativeAccountId + { + get + { + Utf8String value; + Helper.Get(m_TargetUserNativeAccountId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserNativeAccountId); + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref SendLobbyNativeInviteRequestedCallbackInfo other) + { + ClientData = other.ClientData; + UiEventId = other.UiEventId; + LocalUserId = other.LocalUserId; + TargetNativeAccountType = other.TargetNativeAccountType; + TargetUserNativeAccountId = other.TargetUserNativeAccountId; + LobbyId = other.LobbyId; + } + + public void Set(ref SendLobbyNativeInviteRequestedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + UiEventId = other.Value.UiEventId; + LocalUserId = other.Value.LocalUserId; + TargetNativeAccountType = other.Value.TargetNativeAccountType; + TargetUserNativeAccountId = other.Value.TargetUserNativeAccountId; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetNativeAccountType); + Helper.Dispose(ref m_TargetUserNativeAccountId); + Helper.Dispose(ref m_LobbyId); + } + + public void Get(out SendLobbyNativeInviteRequestedCallbackInfo output) + { + output = new SendLobbyNativeInviteRequestedCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyCallbackInfo.cs index 4563c96e..1ccb3321 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Output parameters for the function. - /// - public class UpdateLobbyCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The ID of the lobby - /// - public string LobbyId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(UpdateLobbyCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LobbyId = other.Value.LobbyId; - } - } - - public void Set(object other) - { - Set(other as UpdateLobbyCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateLobbyCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LobbyId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string LobbyId - { - get - { - string value; - Helper.TryMarshalGet(m_LobbyId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Output parameters for the function. + /// + public struct UpdateLobbyCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref UpdateLobbyCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateLobbyCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LobbyId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String LobbyId + { + get + { + Utf8String value; + Helper.Get(m_LobbyId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref UpdateLobbyCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LobbyId = other.LobbyId; + } + + public void Set(ref UpdateLobbyCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LobbyId); + } + + public void Get(out UpdateLobbyCallbackInfo output) + { + output = new UpdateLobbyCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyCallbackInfo.cs.meta deleted file mode 100644 index 5b26c990..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d94d7ddf0ffd2c64c9e535816439827e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyModificationOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyModificationOptions.cs index 65fb3c39..ee7440b9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyModificationOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyModificationOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class UpdateLobbyModificationOptions - { - /// - /// The ID of the local user making modifications. Must be the owner to modify lobby data, but any lobby member can modify their own attributes. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The ID of the lobby - /// - public string LobbyId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateLobbyModificationOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_LobbyId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string LobbyId - { - set - { - Helper.TryMarshalSet(ref m_LobbyId, value); - } - } - - public void Set(UpdateLobbyModificationOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.UpdatelobbymodificationApiLatest; - LocalUserId = other.LocalUserId; - LobbyId = other.LobbyId; - } - } - - public void Set(object other) - { - Set(other as UpdateLobbyModificationOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_LobbyId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct UpdateLobbyModificationOptions + { + /// + /// The ID of the local user making modifications. Must be the owner to modify lobby data, but any lobby member can modify their own attributes. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The ID of the lobby + /// + public Utf8String LobbyId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateLobbyModificationOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_LobbyId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String LobbyId + { + set + { + Helper.Set(value, ref m_LobbyId); + } + } + + public void Set(ref UpdateLobbyModificationOptions other) + { + m_ApiVersion = LobbyInterface.UpdatelobbymodificationApiLatest; + LocalUserId = other.LocalUserId; + LobbyId = other.LobbyId; + } + + public void Set(ref UpdateLobbyModificationOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.UpdatelobbymodificationApiLatest; + LocalUserId = other.Value.LocalUserId; + LobbyId = other.Value.LobbyId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_LobbyId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyModificationOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyModificationOptions.cs.meta deleted file mode 100644 index 62f7dba3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyModificationOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 133b21f97fcc9744d8482b1a363879f1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyOptions.cs index f0030a33..7af1f5e7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Lobby -{ - /// - /// Input parameters for the function. - /// - public class UpdateLobbyOptions - { - /// - /// Builder handle - /// - public LobbyModification LobbyModificationHandle { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateLobbyOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LobbyModificationHandle; - - public LobbyModification LobbyModificationHandle - { - set - { - Helper.TryMarshalSet(ref m_LobbyModificationHandle, value); - } - } - - public void Set(UpdateLobbyOptions other) - { - if (other != null) - { - m_ApiVersion = LobbyInterface.UpdatelobbyApiLatest; - LobbyModificationHandle = other.LobbyModificationHandle; - } - } - - public void Set(object other) - { - Set(other as UpdateLobbyOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LobbyModificationHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Lobby +{ + /// + /// Input parameters for the function. + /// + public struct UpdateLobbyOptions + { + /// + /// Builder handle + /// + public LobbyModification LobbyModificationHandle { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateLobbyOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LobbyModificationHandle; + + public LobbyModification LobbyModificationHandle + { + set + { + Helper.Set(value, ref m_LobbyModificationHandle); + } + } + + public void Set(ref UpdateLobbyOptions other) + { + m_ApiVersion = LobbyInterface.UpdatelobbyApiLatest; + LobbyModificationHandle = other.LobbyModificationHandle; + } + + public void Set(ref UpdateLobbyOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = LobbyInterface.UpdatelobbyApiLatest; + LobbyModificationHandle = other.Value.LobbyModificationHandle; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LobbyModificationHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyOptions.cs.meta deleted file mode 100644 index 31c889ba..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Lobby/UpdateLobbyOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4616aec53e216c24eb8ec48cc4a6c6f1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging.meta deleted file mode 100644 index 4efd8812..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 492f64a7e81a36847a5457aa51ce9866 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogCategory.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogCategory.cs index b33d3452..b1b3c86e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogCategory.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogCategory.cs @@ -1,140 +1,144 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Logging -{ - /// - /// Logging Categories - /// - public enum LogCategory : int - { - /// - /// Low level logs unrelated to specific services - /// - Core = 0, - /// - /// Logs related to the Auth service - /// - Auth = 1, - /// - /// Logs related to the Friends service - /// - Friends = 2, - /// - /// Logs related to the Presence service - /// - Presence = 3, - /// - /// Logs related to the UserInfo service - /// - UserInfo = 4, - /// - /// Logs related to HTTP serialization - /// - HttpSerialization = 5, - /// - /// Logs related to the Ecommerce service - /// - Ecom = 6, - /// - /// Logs related to the P2P service - /// - P2P = 7, - /// - /// Logs related to the Sessions service - /// - Sessions = 8, - /// - /// Logs related to rate limiting - /// - RateLimiter = 9, - /// - /// Logs related to the PlayerDataStorage service - /// - PlayerDataStorage = 10, - /// - /// Logs related to sdk analytics - /// - Analytics = 11, - /// - /// Logs related to the messaging service - /// - Messaging = 12, - /// - /// Logs related to the Connect service - /// - Connect = 13, - /// - /// Logs related to the Overlay - /// - Overlay = 14, - /// - /// Logs related to the Achievements service - /// - Achievements = 15, - /// - /// Logs related to the Stats service - /// - Stats = 16, - /// - /// Logs related to the UI service - /// - Ui = 17, - /// - /// Logs related to the lobby service - /// - Lobby = 18, - /// - /// Logs related to the Leaderboards service - /// - Leaderboards = 19, - /// - /// Logs related to an internal Keychain feature that the authentication interfaces use - /// - Keychain = 20, - /// - /// Logs related to external identity providers - /// - IdentityProvider = 21, - /// - /// Logs related to Title Storage - /// - TitleStorage = 22, - /// - /// Logs related to the Mods service - /// - Mods = 23, - /// - /// Logs related to the Anti-Cheat service - /// - AntiCheat = 24, - /// - /// Logs related to reports client. - /// - Reports = 25, - /// - /// Logs related to the Sanctions service - /// - Sanctions = 26, - /// - /// Logs related to the Progression Snapshot service - /// - ProgressionSnapshots = 27, - /// - /// Logs related to the Kids Web Services integration - /// - Kws = 28, - /// - /// Logs related to the RTC API - /// - Rtc = 29, - /// - /// Logs related to the RTC Admin API - /// - RTCAdmin = 30, - /// - /// Not a real log category. Used by to set the log level for all categories at the same time - /// - AllCategories = 0x7fffffff - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Logging +{ + /// + /// Logging Categories + /// + public enum LogCategory : int + { + /// + /// Low level logs unrelated to specific services + /// + Core = 0, + /// + /// Logs related to the Auth service + /// + Auth = 1, + /// + /// Logs related to the Friends service + /// + Friends = 2, + /// + /// Logs related to the Presence service + /// + Presence = 3, + /// + /// Logs related to the UserInfo service + /// + UserInfo = 4, + /// + /// Logs related to HTTP serialization + /// + HttpSerialization = 5, + /// + /// Logs related to the Ecommerce service + /// + Ecom = 6, + /// + /// Logs related to the P2P service + /// + P2P = 7, + /// + /// Logs related to the Sessions service + /// + Sessions = 8, + /// + /// Logs related to rate limiting + /// + RateLimiter = 9, + /// + /// Logs related to the PlayerDataStorage service + /// + PlayerDataStorage = 10, + /// + /// Logs related to sdk analytics + /// + Analytics = 11, + /// + /// Logs related to the messaging service + /// + Messaging = 12, + /// + /// Logs related to the Connect service + /// + Connect = 13, + /// + /// Logs related to the Overlay + /// + Overlay = 14, + /// + /// Logs related to the Achievements service + /// + Achievements = 15, + /// + /// Logs related to the Stats service + /// + Stats = 16, + /// + /// Logs related to the UI service + /// + Ui = 17, + /// + /// Logs related to the lobby service + /// + Lobby = 18, + /// + /// Logs related to the Leaderboards service + /// + Leaderboards = 19, + /// + /// Logs related to an internal Keychain feature that the authentication interfaces use + /// + Keychain = 20, + /// + /// Logs related to integrated platforms + /// + IntegratedPlatform = 21, + /// + /// Logs related to Title Storage + /// + TitleStorage = 22, + /// + /// Logs related to the Mods service + /// + Mods = 23, + /// + /// Logs related to the Anti-Cheat service + /// + AntiCheat = 24, + /// + /// Logs related to reports client. + /// + Reports = 25, + /// + /// Logs related to the Sanctions service + /// + Sanctions = 26, + /// + /// Logs related to the Progression Snapshot service + /// + ProgressionSnapshots = 27, + /// + /// Logs related to the Kids Web Services integration + /// + Kws = 28, + /// + /// Logs related to the RTC API + /// + Rtc = 29, + /// + /// Logs related to the RTC Admin API + /// + RTCAdmin = 30, + /// + /// Logs related to the Custom Invites API + /// + CustomInvites = 31, + /// + /// Not a real log category. Used by to set the log level for all categories at the same time + /// + AllCategories = 0x7fffffff + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogCategory.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogCategory.cs.meta deleted file mode 100644 index 07917ac7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogCategory.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a3d81cb7faa15c14c9c843df9a2d412f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogLevel.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogLevel.cs index ce88eb99..80521efe 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogLevel.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogLevel.cs @@ -1,22 +1,22 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Logging -{ - /// - /// Logging levels. When a log message is output, it has an associated log level. - /// Messages will only be sent to the callback function if the message's associated log level is less than or equal to the configured log level for that category. - /// - /// - /// - public enum LogLevel : int - { - Off = 0, - Fatal = 100, - Error = 200, - Warning = 300, - Info = 400, - Verbose = 500, - VeryVerbose = 600 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Logging +{ + /// + /// Logging levels. When a log message is output, it has an associated log level. + /// Messages will only be sent to the callback function if the message's associated log level is less than or equal to the configured log level for that category. + /// + /// + /// + public enum LogLevel : int + { + Off = 0, + Fatal = 100, + Error = 200, + Warning = 300, + Info = 400, + Verbose = 500, + VeryVerbose = 600 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogLevel.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogLevel.cs.meta deleted file mode 100644 index 8d49ff6e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogLevel.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5b162c752e3ecc949b6f63a4c25f2524 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessage.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessage.cs index 87b76804..a61d592c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessage.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessage.cs @@ -1,77 +1,113 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Logging -{ - /// - /// A structure representing a log message - /// - public class LogMessage : ISettable - { - /// - /// A string representation of the log message category, encoded in UTF-8. Only valid during the life of the callback, so copy the string if you need it later. - /// - public string Category { get; private set; } - - /// - /// The log message, encoded in UTF-8. Only valid during the life of the callback, so copy the string if you need it later. - /// - public string Message { get; private set; } - - /// - /// The log level associated with the message - /// - public LogLevel Level { get; private set; } - - internal void Set(LogMessageInternal? other) - { - if (other != null) - { - Category = other.Value.Category; - Message = other.Value.Message; - Level = other.Value.Level; - } - } - - public void Set(object other) - { - Set(other as LogMessageInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LogMessageInternal - { - private System.IntPtr m_Category; - private System.IntPtr m_Message; - private LogLevel m_Level; - - public string Category - { - get - { - string value; - Helper.TryMarshalGet(m_Category, out value); - return value; - } - } - - public string Message - { - get - { - string value; - Helper.TryMarshalGet(m_Message, out value); - return value; - } - } - - public LogLevel Level - { - get - { - return m_Level; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Logging +{ + /// + /// A structure representing a log message + /// + public struct LogMessage + { + /// + /// A string representation of the log message category, encoded in UTF-8. Only valid during the life of the callback, so copy the string if you need it later. + /// + public Utf8String Category { get; set; } + + /// + /// The log message, encoded in UTF-8. Only valid during the life of the callback, so copy the string if you need it later. + /// + public Utf8String Message { get; set; } + + /// + /// The log level associated with the message + /// + public LogLevel Level { get; set; } + + internal void Set(ref LogMessageInternal other) + { + Category = other.Category; + Message = other.Message; + Level = other.Level; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LogMessageInternal : IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_Category; + private System.IntPtr m_Message; + private LogLevel m_Level; + + public Utf8String Category + { + get + { + Utf8String value; + Helper.Get(m_Category, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Category); + } + } + + public Utf8String Message + { + get + { + Utf8String value; + Helper.Get(m_Message, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Message); + } + } + + public LogLevel Level + { + get + { + return m_Level; + } + + set + { + m_Level = value; + } + } + + public void Set(ref LogMessage other) + { + Category = other.Category; + Message = other.Message; + Level = other.Level; + } + + public void Set(ref LogMessage? other) + { + if (other.HasValue) + { + Category = other.Value.Category; + Message = other.Value.Message; + Level = other.Value.Level; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Category); + Helper.Dispose(ref m_Message); + } + + public void Get(out LogMessage output) + { + output = new LogMessage(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessage.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessage.cs.meta deleted file mode 100644 index 26529b8f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessage.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f5190ba6ddeb3994cb48c6f8c5fce334 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessageFunc.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessageFunc.cs index 8e8341fe..c698877b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessageFunc.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessageFunc.cs @@ -1,15 +1,15 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Logging -{ - /// - /// Function prototype definition for functions that receive log messages. - /// - /// - /// A containing the log category, log level, and message. - public delegate void LogMessageFunc(LogMessage message); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void LogMessageFuncInternal(System.IntPtr message); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Logging +{ + /// + /// Function prototype definition for functions that receive log messages. + /// + /// + /// A containing the log category, log level, and message. + public delegate void LogMessageFunc(ref LogMessage message); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void LogMessageFuncInternal(ref LogMessageInternal message); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessageFunc.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessageFunc.cs.meta deleted file mode 100644 index 20a1e2e0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LogMessageFunc.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fab1c672c1093bc49a86c0cac233c446 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LoggingInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LoggingInterface.cs index 40ec84d2..5711d6ee 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LoggingInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LoggingInterface.cs @@ -1,56 +1,56 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Logging -{ - public static class LoggingInterface - { - /// - /// Set the callback function to use for SDK log messages. Any previously set callback will no longer be called. - /// - /// - /// the function to call when the SDK logs messages - /// - /// is returned if the callback will be used for future log messages. - /// is returned if the SDK has not yet been initialized, or if it has been shut down - /// - public static Result SetCallback(LogMessageFunc callback) - { - var callbackInternal = new LogMessageFuncInternal(LogMessageFuncInternalImplementation); - Helper.AddStaticCallback("LogMessageFuncInternalImplementation", callback, callbackInternal); - - var funcResult = Bindings.EOS_Logging_SetCallback(callbackInternal); - - return funcResult; - } - - /// - /// Set the logging level for the specified logging category. By default all log categories will callback for Warnings, Errors, and Fatals. - /// - /// the specific log category to configure. Use to configure all categories simultaneously to the same log level. - /// the log level to use for the log category - /// - /// is returned if the log levels are now in use. - /// is returned if the SDK has not yet been initialized, or if it has been shut down. - /// - public static Result SetLogLevel(LogCategory logCategory, LogLevel logLevel) - { - var funcResult = Bindings.EOS_Logging_SetLogLevel(logCategory, logLevel); - - return funcResult; - } - - [MonoPInvokeCallback(typeof(LogMessageFuncInternal))] - internal static void LogMessageFuncInternalImplementation(System.IntPtr message) - { - LogMessageFunc callback; - if (Helper.TryGetStaticCallback("LogMessageFuncInternalImplementation", out callback)) - { - LogMessage messageObj; - Helper.TryMarshalGet(message, out messageObj); - - callback(messageObj); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Logging +{ + public sealed partial class LoggingInterface + { + /// + /// Set the callback function to use for SDK log messages. Any previously set callback will no longer be called. + /// + /// + /// the function to call when the SDK logs messages + /// + /// is returned if the callback will be used for future log messages. + /// is returned if the SDK has not yet been initialized, or if it has been shut down + /// + public static Result SetCallback(LogMessageFunc callback) + { + var callbackInternal = new LogMessageFuncInternal(LogMessageFuncInternalImplementation); + Helper.AddStaticCallback("LogMessageFuncInternalImplementation", callback, callbackInternal); + + var funcResult = Bindings.EOS_Logging_SetCallback(callbackInternal); + + return funcResult; + } + + /// + /// Set the logging level for the specified logging category. By default all log categories will callback for Warnings, Errors, and Fatals. + /// + /// the specific log category to configure. Use to configure all categories simultaneously to the same log level. + /// the log level to use for the log category + /// + /// is returned if the log levels are now in use. + /// is returned if the SDK has not yet been initialized, or if it has been shut down. + /// + public static Result SetLogLevel(LogCategory logCategory, LogLevel logLevel) + { + var funcResult = Bindings.EOS_Logging_SetLogLevel(logCategory, logLevel); + + return funcResult; + } + + [MonoPInvokeCallback(typeof(LogMessageFuncInternal))] + internal static void LogMessageFuncInternalImplementation(ref LogMessageInternal message) + { + LogMessageFunc callback; + if (Helper.TryGetStaticCallback("LogMessageFuncInternalImplementation", out callback)) + { + LogMessage messageObj; + Helper.Get(ref message, out messageObj); + + callback(ref messageObj); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LoggingInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LoggingInterface.cs.meta deleted file mode 100644 index 37b43612..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Logging/LoggingInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 843c793a44651354f81806535aa32011 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/LoginStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/LoginStatus.cs index 2f52cd60..1eb3535d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/LoginStatus.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/LoginStatus.cs @@ -1,30 +1,30 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices -{ - /// - /// All possible states of a local user - /// - /// - /// - /// - /// - /// - /// - public enum LoginStatus : int - { - /// - /// Player has not logged in or chosen a local profile - /// - NotLoggedIn = 0, - /// - /// Player is using a local profile but is not logged in - /// - UsingLocalProfile = 1, - /// - /// Player has been validated by the platform specific authentication service - /// - LoggedIn = 2 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices +{ + /// + /// All possible states of a local user + /// + /// + /// + /// + /// + /// + /// + public enum LoginStatus : int + { + /// + /// Player has not logged in or chosen a local profile + /// + NotLoggedIn = 0, + /// + /// Player is using a local profile but is not logged in + /// + UsingLocalProfile = 1, + /// + /// Player has been validated by the platform specific authentication service + /// + LoggedIn = 2 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/LoginStatus.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/LoginStatus.cs.meta deleted file mode 100644 index 46163a5a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/LoginStatus.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 64d41e743ddf4f94e833cd408328e1ae -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics.meta deleted file mode 100644 index 534f3358..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cdac1687b7e5d524a89e54a758f7a534 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptions.cs index 8528a60c..1a7a96da 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptions.cs @@ -1,118 +1,123 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Metrics -{ - /// - /// BeginPlayerSession. - /// - public class BeginPlayerSessionOptions - { - public BeginPlayerSessionOptionsAccountId AccountId { get; set; } - - /// - /// The in-game display name for the user as UTF-8 string. - /// - public string DisplayName { get; set; } - - /// - /// The user's game controller type. - /// - public UserControllerType ControllerType { get; set; } - - /// - /// IP address of the game server hosting the game session. For a localhost session, set to NULL. - /// - /// @details Must be in either one of the following IPv4 or IPv6 string formats: - /// "127.0.0.1". - /// "1200:0000:AB00:1234:0000:2552:7777:1313". - /// If both IPv4 and IPv6 addresses are available, use the IPv6 address. - /// - public string ServerIp { get; set; } - - /// - /// Optional, application-defined custom match session identifier. If the identifier is not used, set to NULL. - /// - /// @details The game can tag each game session with a custom session match identifier, - /// which will be shown in the Played Sessions listing at the user profile dashboard. - /// - public string GameSessionId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct BeginPlayerSessionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private BeginPlayerSessionOptionsAccountIdInternal m_AccountId; - private System.IntPtr m_DisplayName; - private UserControllerType m_ControllerType; - private System.IntPtr m_ServerIp; - private System.IntPtr m_GameSessionId; - - public BeginPlayerSessionOptionsAccountId AccountId - { - set - { - Helper.TryMarshalSet(ref m_AccountId, value); - } - } - - public string DisplayName - { - set - { - Helper.TryMarshalSet(ref m_DisplayName, value); - } - } - - public UserControllerType ControllerType - { - set - { - m_ControllerType = value; - } - } - - public string ServerIp - { - set - { - Helper.TryMarshalSet(ref m_ServerIp, value); - } - } - - public string GameSessionId - { - set - { - Helper.TryMarshalSet(ref m_GameSessionId, value); - } - } - - public void Set(BeginPlayerSessionOptions other) - { - if (other != null) - { - m_ApiVersion = MetricsInterface.BeginplayersessionApiLatest; - AccountId = other.AccountId; - DisplayName = other.DisplayName; - ControllerType = other.ControllerType; - ServerIp = other.ServerIp; - GameSessionId = other.GameSessionId; - } - } - - public void Set(object other) - { - Set(other as BeginPlayerSessionOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AccountId); - Helper.TryMarshalDispose(ref m_DisplayName); - Helper.TryMarshalDispose(ref m_ServerIp); - Helper.TryMarshalDispose(ref m_GameSessionId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Metrics +{ + /// + /// BeginPlayerSession. + /// + public struct BeginPlayerSessionOptions + { + public BeginPlayerSessionOptionsAccountId AccountId { get; set; } + + /// + /// The in-game display name for the user as UTF-8 string. + /// + public Utf8String DisplayName { get; set; } + + /// + /// The user's game controller type. + /// + public UserControllerType ControllerType { get; set; } + + /// + /// IP address of the game server hosting the game session. For a localhost session, set to . + /// + /// @details Must be in either one of the following IPv4 or IPv6 string formats: + /// "127.0.0.1". + /// "1200:0000:AB00:1234:0000:2552:7777:1313". + /// If both IPv4 and IPv6 addresses are available, use the IPv6 address. + /// + public Utf8String ServerIp { get; set; } + + /// + /// Optional, application-defined custom match session identifier. If the identifier is not used, set to . + /// + /// @details The game can tag each game session with a custom session match identifier, + /// which will be shown in the Played Sessions listing at the user profile dashboard. + /// + public Utf8String GameSessionId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct BeginPlayerSessionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private BeginPlayerSessionOptionsAccountIdInternal m_AccountId; + private System.IntPtr m_DisplayName; + private UserControllerType m_ControllerType; + private System.IntPtr m_ServerIp; + private System.IntPtr m_GameSessionId; + + public BeginPlayerSessionOptionsAccountId AccountId + { + set + { + Helper.Set(ref value, ref m_AccountId); + } + } + + public Utf8String DisplayName + { + set + { + Helper.Set(value, ref m_DisplayName); + } + } + + public UserControllerType ControllerType + { + set + { + m_ControllerType = value; + } + } + + public Utf8String ServerIp + { + set + { + Helper.Set(value, ref m_ServerIp); + } + } + + public Utf8String GameSessionId + { + set + { + Helper.Set(value, ref m_GameSessionId); + } + } + + public void Set(ref BeginPlayerSessionOptions other) + { + m_ApiVersion = MetricsInterface.BeginplayersessionApiLatest; + AccountId = other.AccountId; + DisplayName = other.DisplayName; + ControllerType = other.ControllerType; + ServerIp = other.ServerIp; + GameSessionId = other.GameSessionId; + } + + public void Set(ref BeginPlayerSessionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = MetricsInterface.BeginplayersessionApiLatest; + AccountId = other.Value.AccountId; + DisplayName = other.Value.DisplayName; + ControllerType = other.Value.ControllerType; + ServerIp = other.Value.ServerIp; + GameSessionId = other.Value.GameSessionId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AccountId); + Helper.Dispose(ref m_DisplayName); + Helper.Dispose(ref m_ServerIp); + Helper.Dispose(ref m_GameSessionId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptions.cs.meta deleted file mode 100644 index ecda498c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4ef4c7328b3156c48bb1c833cf5c91dd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptionsAccountId.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptionsAccountId.cs index db9e537d..fce5f06b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptionsAccountId.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptionsAccountId.cs @@ -1,149 +1,153 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Metrics -{ - public class BeginPlayerSessionOptionsAccountId : ISettable - { - private MetricsAccountIdType m_AccountIdType; - private EpicAccountId m_Epic; - private string m_External; - - /// - /// Account ID type that is set in the union. - /// - public MetricsAccountIdType AccountIdType - { - get - { - return m_AccountIdType; - } - - private set - { - m_AccountIdType = value; - } - } - - /// - /// An Epic Online Services Account ID. Set this field when AccountIdType is set to . - /// - public EpicAccountId Epic - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_Epic, out value, m_AccountIdType, MetricsAccountIdType.Epic); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Epic, value, ref m_AccountIdType, MetricsAccountIdType.Epic); - } - } - - /// - /// An Account ID for another service. Set this field when AccountIdType is set to . - /// - public string External - { - get - { - string value; - Helper.TryMarshalGet(m_External, out value, m_AccountIdType, MetricsAccountIdType.External); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_External, value, ref m_AccountIdType, MetricsAccountIdType.External); - } - } - - public static implicit operator BeginPlayerSessionOptionsAccountId(EpicAccountId value) - { - return new BeginPlayerSessionOptionsAccountId() { Epic = value }; - } - - public static implicit operator BeginPlayerSessionOptionsAccountId(string value) - { - return new BeginPlayerSessionOptionsAccountId() { External = value }; - } - - internal void Set(BeginPlayerSessionOptionsAccountIdInternal? other) - { - if (other != null) - { - Epic = other.Value.Epic; - External = other.Value.External; - } - } - - public void Set(object other) - { - Set(other as BeginPlayerSessionOptionsAccountIdInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Explicit, Pack = 4)] - internal struct BeginPlayerSessionOptionsAccountIdInternal : ISettable, System.IDisposable - { - [System.Runtime.InteropServices.FieldOffset(0)] - private MetricsAccountIdType m_AccountIdType; - [System.Runtime.InteropServices.FieldOffset(4)] - private System.IntPtr m_Epic; - [System.Runtime.InteropServices.FieldOffset(4)] - private System.IntPtr m_External; - - public EpicAccountId Epic - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_Epic, out value, m_AccountIdType, MetricsAccountIdType.Epic); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Epic, value, ref m_AccountIdType, MetricsAccountIdType.Epic, this); - } - } - - public string External - { - get - { - string value; - Helper.TryMarshalGet(m_External, out value, m_AccountIdType, MetricsAccountIdType.External); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_External, value, ref m_AccountIdType, MetricsAccountIdType.External, this); - } - } - - public void Set(BeginPlayerSessionOptionsAccountId other) - { - if (other != null) - { - Epic = other.Epic; - External = other.External; - } - } - - public void Set(object other) - { - Set(other as BeginPlayerSessionOptionsAccountId); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Epic); - Helper.TryMarshalDispose(ref m_External, m_AccountIdType, MetricsAccountIdType.External); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Metrics +{ + public struct BeginPlayerSessionOptionsAccountId + { + private MetricsAccountIdType m_AccountIdType; + private EpicAccountId m_Epic; + private Utf8String m_External; + + /// + /// Account ID type that is set in the union. + /// + public MetricsAccountIdType AccountIdType + { + get + { + return m_AccountIdType; + } + + private set + { + m_AccountIdType = value; + } + } + + /// + /// An Epic Account ID. Set this field when AccountIdType is set to . + /// + public EpicAccountId Epic + { + get + { + EpicAccountId value; + Helper.Get(m_Epic, out value, m_AccountIdType, MetricsAccountIdType.Epic); + return value; + } + + set + { + Helper.Set(value, ref m_Epic, MetricsAccountIdType.Epic, ref m_AccountIdType); + } + } + + /// + /// An Account ID for another service. Set this field when AccountIdType is set to . + /// + public Utf8String External + { + get + { + Utf8String value; + Helper.Get(m_External, out value, m_AccountIdType, MetricsAccountIdType.External); + return value; + } + + set + { + Helper.Set(value, ref m_External, MetricsAccountIdType.External, ref m_AccountIdType); + } + } + + public static implicit operator BeginPlayerSessionOptionsAccountId(EpicAccountId value) + { + return new BeginPlayerSessionOptionsAccountId() { Epic = value }; + } + + public static implicit operator BeginPlayerSessionOptionsAccountId(Utf8String value) + { + return new BeginPlayerSessionOptionsAccountId() { External = value }; + } + + public static implicit operator BeginPlayerSessionOptionsAccountId(string value) + { + return new BeginPlayerSessionOptionsAccountId() { External = value }; + } + + internal void Set(ref BeginPlayerSessionOptionsAccountIdInternal other) + { + Epic = other.Epic; + External = other.External; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Explicit, Pack = 4)] + internal struct BeginPlayerSessionOptionsAccountIdInternal : IGettable, ISettable, System.IDisposable + { + [System.Runtime.InteropServices.FieldOffset(0)] + private MetricsAccountIdType m_AccountIdType; + [System.Runtime.InteropServices.FieldOffset(4)] + private System.IntPtr m_Epic; + [System.Runtime.InteropServices.FieldOffset(4)] + private System.IntPtr m_External; + + public EpicAccountId Epic + { + get + { + EpicAccountId value; + Helper.Get(m_Epic, out value, m_AccountIdType, MetricsAccountIdType.Epic); + return value; + } + + set + { + Helper.Set(value, ref m_Epic, MetricsAccountIdType.Epic, ref m_AccountIdType, this); + } + } + + public Utf8String External + { + get + { + Utf8String value; + Helper.Get(m_External, out value, m_AccountIdType, MetricsAccountIdType.External); + return value; + } + + set + { + Helper.Set(value, ref m_External, MetricsAccountIdType.External, ref m_AccountIdType, this); + } + } + + public void Set(ref BeginPlayerSessionOptionsAccountId other) + { + Epic = other.Epic; + External = other.External; + } + + public void Set(ref BeginPlayerSessionOptionsAccountId? other) + { + if (other.HasValue) + { + Epic = other.Value.Epic; + External = other.Value.External; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Epic); + Helper.Dispose(ref m_External, m_AccountIdType, MetricsAccountIdType.External); + } + + public void Get(out BeginPlayerSessionOptionsAccountId output) + { + output = new BeginPlayerSessionOptionsAccountId(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptionsAccountId.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptionsAccountId.cs.meta deleted file mode 100644 index 5f99ea57..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/BeginPlayerSessionOptionsAccountId.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 92cfeb30f39c9e1489228edeef43c734 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptions.cs index 8bdb746e..ea26a4e1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptions.cs @@ -1,47 +1,48 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Metrics -{ - /// - /// EndPlayerSession. - /// - public class EndPlayerSessionOptions - { - public EndPlayerSessionOptionsAccountId AccountId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct EndPlayerSessionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private EndPlayerSessionOptionsAccountIdInternal m_AccountId; - - public EndPlayerSessionOptionsAccountId AccountId - { - set - { - Helper.TryMarshalSet(ref m_AccountId, value); - } - } - - public void Set(EndPlayerSessionOptions other) - { - if (other != null) - { - m_ApiVersion = MetricsInterface.EndplayersessionApiLatest; - AccountId = other.AccountId; - } - } - - public void Set(object other) - { - Set(other as EndPlayerSessionOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AccountId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Metrics +{ + /// + /// EndPlayerSession. + /// + public struct EndPlayerSessionOptions + { + public EndPlayerSessionOptionsAccountId AccountId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct EndPlayerSessionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private EndPlayerSessionOptionsAccountIdInternal m_AccountId; + + public EndPlayerSessionOptionsAccountId AccountId + { + set + { + Helper.Set(ref value, ref m_AccountId); + } + } + + public void Set(ref EndPlayerSessionOptions other) + { + m_ApiVersion = MetricsInterface.EndplayersessionApiLatest; + AccountId = other.AccountId; + } + + public void Set(ref EndPlayerSessionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = MetricsInterface.EndplayersessionApiLatest; + AccountId = other.Value.AccountId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AccountId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptions.cs.meta deleted file mode 100644 index 99dd4c01..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 55017e741e6a45141bb12d492c8e76fb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptionsAccountId.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptionsAccountId.cs index 41f591bf..0f1a8091 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptionsAccountId.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptionsAccountId.cs @@ -1,149 +1,153 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Metrics -{ - public class EndPlayerSessionOptionsAccountId : ISettable - { - private MetricsAccountIdType m_AccountIdType; - private EpicAccountId m_Epic; - private string m_External; - - /// - /// The Account ID type that is set in the union. - /// - public MetricsAccountIdType AccountIdType - { - get - { - return m_AccountIdType; - } - - private set - { - m_AccountIdType = value; - } - } - - /// - /// An Epic Online Services Account ID. Set this field when AccountIdType is set to . - /// - public EpicAccountId Epic - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_Epic, out value, m_AccountIdType, MetricsAccountIdType.Epic); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Epic, value, ref m_AccountIdType, MetricsAccountIdType.Epic); - } - } - - /// - /// An Account ID for another service. Set this field when AccountIdType is set to . - /// - public string External - { - get - { - string value; - Helper.TryMarshalGet(m_External, out value, m_AccountIdType, MetricsAccountIdType.External); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_External, value, ref m_AccountIdType, MetricsAccountIdType.External); - } - } - - public static implicit operator EndPlayerSessionOptionsAccountId(EpicAccountId value) - { - return new EndPlayerSessionOptionsAccountId() { Epic = value }; - } - - public static implicit operator EndPlayerSessionOptionsAccountId(string value) - { - return new EndPlayerSessionOptionsAccountId() { External = value }; - } - - internal void Set(EndPlayerSessionOptionsAccountIdInternal? other) - { - if (other != null) - { - Epic = other.Value.Epic; - External = other.Value.External; - } - } - - public void Set(object other) - { - Set(other as EndPlayerSessionOptionsAccountIdInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Explicit, Pack = 4)] - internal struct EndPlayerSessionOptionsAccountIdInternal : ISettable, System.IDisposable - { - [System.Runtime.InteropServices.FieldOffset(0)] - private MetricsAccountIdType m_AccountIdType; - [System.Runtime.InteropServices.FieldOffset(4)] - private System.IntPtr m_Epic; - [System.Runtime.InteropServices.FieldOffset(4)] - private System.IntPtr m_External; - - public EpicAccountId Epic - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_Epic, out value, m_AccountIdType, MetricsAccountIdType.Epic); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Epic, value, ref m_AccountIdType, MetricsAccountIdType.Epic, this); - } - } - - public string External - { - get - { - string value; - Helper.TryMarshalGet(m_External, out value, m_AccountIdType, MetricsAccountIdType.External); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_External, value, ref m_AccountIdType, MetricsAccountIdType.External, this); - } - } - - public void Set(EndPlayerSessionOptionsAccountId other) - { - if (other != null) - { - Epic = other.Epic; - External = other.External; - } - } - - public void Set(object other) - { - Set(other as EndPlayerSessionOptionsAccountId); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Epic); - Helper.TryMarshalDispose(ref m_External, m_AccountIdType, MetricsAccountIdType.External); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Metrics +{ + public struct EndPlayerSessionOptionsAccountId + { + private MetricsAccountIdType m_AccountIdType; + private EpicAccountId m_Epic; + private Utf8String m_External; + + /// + /// The Account ID type that is set in the union. + /// + public MetricsAccountIdType AccountIdType + { + get + { + return m_AccountIdType; + } + + private set + { + m_AccountIdType = value; + } + } + + /// + /// An Epic Account ID. Set this field when AccountIdType is set to . + /// + public EpicAccountId Epic + { + get + { + EpicAccountId value; + Helper.Get(m_Epic, out value, m_AccountIdType, MetricsAccountIdType.Epic); + return value; + } + + set + { + Helper.Set(value, ref m_Epic, MetricsAccountIdType.Epic, ref m_AccountIdType); + } + } + + /// + /// An Account ID for another service. Set this field when AccountIdType is set to . + /// + public Utf8String External + { + get + { + Utf8String value; + Helper.Get(m_External, out value, m_AccountIdType, MetricsAccountIdType.External); + return value; + } + + set + { + Helper.Set(value, ref m_External, MetricsAccountIdType.External, ref m_AccountIdType); + } + } + + public static implicit operator EndPlayerSessionOptionsAccountId(EpicAccountId value) + { + return new EndPlayerSessionOptionsAccountId() { Epic = value }; + } + + public static implicit operator EndPlayerSessionOptionsAccountId(Utf8String value) + { + return new EndPlayerSessionOptionsAccountId() { External = value }; + } + + public static implicit operator EndPlayerSessionOptionsAccountId(string value) + { + return new EndPlayerSessionOptionsAccountId() { External = value }; + } + + internal void Set(ref EndPlayerSessionOptionsAccountIdInternal other) + { + Epic = other.Epic; + External = other.External; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Explicit, Pack = 4)] + internal struct EndPlayerSessionOptionsAccountIdInternal : IGettable, ISettable, System.IDisposable + { + [System.Runtime.InteropServices.FieldOffset(0)] + private MetricsAccountIdType m_AccountIdType; + [System.Runtime.InteropServices.FieldOffset(4)] + private System.IntPtr m_Epic; + [System.Runtime.InteropServices.FieldOffset(4)] + private System.IntPtr m_External; + + public EpicAccountId Epic + { + get + { + EpicAccountId value; + Helper.Get(m_Epic, out value, m_AccountIdType, MetricsAccountIdType.Epic); + return value; + } + + set + { + Helper.Set(value, ref m_Epic, MetricsAccountIdType.Epic, ref m_AccountIdType, this); + } + } + + public Utf8String External + { + get + { + Utf8String value; + Helper.Get(m_External, out value, m_AccountIdType, MetricsAccountIdType.External); + return value; + } + + set + { + Helper.Set(value, ref m_External, MetricsAccountIdType.External, ref m_AccountIdType, this); + } + } + + public void Set(ref EndPlayerSessionOptionsAccountId other) + { + Epic = other.Epic; + External = other.External; + } + + public void Set(ref EndPlayerSessionOptionsAccountId? other) + { + if (other.HasValue) + { + Epic = other.Value.Epic; + External = other.Value.External; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Epic); + Helper.Dispose(ref m_External, m_AccountIdType, MetricsAccountIdType.External); + } + + public void Get(out EndPlayerSessionOptionsAccountId output) + { + output = new EndPlayerSessionOptionsAccountId(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptionsAccountId.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptionsAccountId.cs.meta deleted file mode 100644 index 69c258e1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/EndPlayerSessionOptionsAccountId.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 81e446b6a3fa9514791a2a5bdacf521b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsAccountIdType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsAccountIdType.cs index 832ffdd1..17ee16b5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsAccountIdType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsAccountIdType.cs @@ -1,20 +1,20 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Metrics -{ - /// - /// Account ID type for and . - /// - public enum MetricsAccountIdType : int - { - /// - /// An Epic Online Services Account ID. - /// - Epic = 0, - /// - /// An external service Account ID. - /// - External = 1 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Metrics +{ + /// + /// Account ID type for and . + /// + public enum MetricsAccountIdType : int + { + /// + /// An Epic Account ID. + /// + Epic = 0, + /// + /// An external service Account ID. + /// + External = 1 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsAccountIdType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsAccountIdType.cs.meta deleted file mode 100644 index a464a424..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsAccountIdType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8060f32c0e5033d44b8c7aa012b10a23 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsInterface.cs index f7aacfb8..a823072d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsInterface.cs @@ -1,70 +1,70 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Metrics -{ - public sealed partial class MetricsInterface : Handle - { - public MetricsInterface() - { - } - - public MetricsInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the struct. - /// - public const int BeginplayersessionApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int EndplayersessionApiLatest = 1; - - /// - /// Logs the start of a new game session for a local player. - /// - /// The game client should call this function whenever it joins into a new multiplayer, peer-to-peer or single player game session. - /// Each call to BeginPlayerSession must be matched with a corresponding call to EndPlayerSession. - /// - /// Structure containing the local player's game account and the game session information. - /// - /// Returns on success, or an error code if the input parameters are invalid or an active session for the player already exists. - /// - public Result BeginPlayerSession(BeginPlayerSessionOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Metrics_BeginPlayerSession(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Logs the end of a game session for a local player. - /// - /// Call once when the game client leaves the active game session. - /// Each call to BeginPlayerSession must be matched with a corresponding call to EndPlayerSession. - /// - /// Structure containing the Epic Online Services Account ID of the player whose session to end. - /// - /// Returns on success, or an error code if the input parameters are invalid or there was no active session for the player. - /// - public Result EndPlayerSession(EndPlayerSessionOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Metrics_EndPlayerSession(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Metrics +{ + public sealed partial class MetricsInterface : Handle + { + public MetricsInterface() + { + } + + public MetricsInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the struct. + /// + public const int BeginplayersessionApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int EndplayersessionApiLatest = 1; + + /// + /// Logs the start of a new game session for a local player. + /// + /// The game client should call this function whenever it joins into a new multiplayer, peer-to-peer or single player game session. + /// Each call to BeginPlayerSession must be matched with a corresponding call to EndPlayerSession. + /// + /// Structure containing the local player's game account and the game session information. + /// + /// Returns on success, or an error code if the input parameters are invalid or an active session for the player already exists. + /// + public Result BeginPlayerSession(ref BeginPlayerSessionOptions options) + { + BeginPlayerSessionOptionsInternal optionsInternal = new BeginPlayerSessionOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Metrics_BeginPlayerSession(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Logs the end of a game session for a local player. + /// + /// Call once when the game client leaves the active game session. + /// Each call to BeginPlayerSession must be matched with a corresponding call to EndPlayerSession. + /// + /// Structure containing the account id of the player whose session to end. + /// + /// Returns on success, or an error code if the input parameters are invalid or there was no active session for the player. + /// + public Result EndPlayerSession(ref EndPlayerSessionOptions options) + { + EndPlayerSessionOptionsInternal optionsInternal = new EndPlayerSessionOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Metrics_EndPlayerSession(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsInterface.cs.meta deleted file mode 100644 index 795f0fdc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/MetricsInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d42368226f3ecb74d92a1565e1dad96c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/UserControllerType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/UserControllerType.cs index 40b25048..4a08d040 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/UserControllerType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/UserControllerType.cs @@ -1,28 +1,28 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Metrics -{ - /// - /// User game controller types. - /// - public enum UserControllerType : int - { - /// - /// The game controller type is unknown. - /// - Unknown = 0, - /// - /// Mouse and keyboard controller. - /// - MouseKeyboard = 1, - /// - /// Gamepad controller. - /// - GamepadControl = 2, - /// - /// Touch controller. - /// - TouchControl = 3 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Metrics +{ + /// + /// User game controller types. + /// + public enum UserControllerType : int + { + /// + /// The game controller type is unknown. + /// + Unknown = 0, + /// + /// Mouse and keyboard controller. + /// + MouseKeyboard = 1, + /// + /// Gamepad controller. + /// + GamepadControl = 2, + /// + /// Touch controller. + /// + TouchControl = 3 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/UserControllerType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/UserControllerType.cs.meta deleted file mode 100644 index 0f36757f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Metrics/UserControllerType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b5e61af2c6eaa414e94777f382824094 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods.meta deleted file mode 100644 index b93c3f7a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 048cb1c21f8b1914c81ac8ff6f7c608f -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/CopyModInfoOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/CopyModInfoOptions.cs index 8cdb2176..1e0c4cd1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/CopyModInfoOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/CopyModInfoOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Data for the function. - /// - public class CopyModInfoOptions - { - /// - /// The Epic Online Services Account ID of the user for which mods should be copied - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// Type of the enumerated mod to copy - /// - public ModEnumerationType Type { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyModInfoOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private ModEnumerationType m_Type; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ModEnumerationType Type - { - set - { - m_Type = value; - } - } - - public void Set(CopyModInfoOptions other) - { - if (other != null) - { - m_ApiVersion = ModsInterface.CopymodinfoApiLatest; - LocalUserId = other.LocalUserId; - Type = other.Type; - } - } - - public void Set(object other) - { - Set(other as CopyModInfoOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Data for the function. + /// + public struct CopyModInfoOptions + { + /// + /// The Epic Account ID of the user for which mods should be copied + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Type of the enumerated mod to copy + /// + public ModEnumerationType Type { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyModInfoOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private ModEnumerationType m_Type; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ModEnumerationType Type + { + set + { + m_Type = value; + } + } + + public void Set(ref CopyModInfoOptions other) + { + m_ApiVersion = ModsInterface.CopymodinfoApiLatest; + LocalUserId = other.LocalUserId; + Type = other.Type; + } + + public void Set(ref CopyModInfoOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ModsInterface.CopymodinfoApiLatest; + LocalUserId = other.Value.LocalUserId; + Type = other.Value.Type; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/CopyModInfoOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/CopyModInfoOptions.cs.meta deleted file mode 100644 index e8cf92d9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/CopyModInfoOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6a5aed7cbbc461049a3b1da519b2d4b8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsCallbackInfo.cs index dcaf8510..b0a910ba 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsCallbackInfo.cs @@ -1,105 +1,148 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Output parameters for the Function. These parameters are received through the callback provided to - /// - public class EnumerateModsCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned if the enumeration was successfull, otherwise one of the error codes is returned. - /// - public Result ResultCode { get; private set; } - - /// - /// The Epic Online Services Account ID of the user for which mod enumeration was requested - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// Context that is passed into - /// - public object ClientData { get; private set; } - - /// - /// Type of the enumerated mods - /// - public ModEnumerationType Type { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(EnumerateModsCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - LocalUserId = other.Value.LocalUserId; - ClientData = other.Value.ClientData; - Type = other.Value.Type; - } - } - - public void Set(object other) - { - Set(other as EnumerateModsCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct EnumerateModsCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ClientData; - private ModEnumerationType m_Type; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ModEnumerationType Type - { - get - { - return m_Type; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Output parameters for the Function. These parameters are received through the callback provided to + /// + public struct EnumerateModsCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned if the enumeration was successfull, otherwise one of the error codes is returned. + /// + public Result ResultCode { get; set; } + + /// + /// The Epic Account ID of the user for which mod enumeration was requested + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Context that is passed into + /// + public object ClientData { get; set; } + + /// + /// Type of the enumerated mods + /// + public ModEnumerationType Type { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref EnumerateModsCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + LocalUserId = other.LocalUserId; + ClientData = other.ClientData; + Type = other.Type; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct EnumerateModsCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ClientData; + private ModEnumerationType m_Type; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ModEnumerationType Type + { + get + { + return m_Type; + } + + set + { + m_Type = value; + } + } + + public void Set(ref EnumerateModsCallbackInfo other) + { + ResultCode = other.ResultCode; + LocalUserId = other.LocalUserId; + ClientData = other.ClientData; + Type = other.Type; + } + + public void Set(ref EnumerateModsCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + LocalUserId = other.Value.LocalUserId; + ClientData = other.Value.ClientData; + Type = other.Value.Type; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ClientData); + } + + public void Get(out EnumerateModsCallbackInfo output) + { + output = new EnumerateModsCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsCallbackInfo.cs.meta deleted file mode 100644 index 6d488fb6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2522b59d5f9f09c408892bcb2080fde3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsOptions.cs index dc33848d..aec973b3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Input parameters for the Function. - /// - public class EnumerateModsOptions - { - /// - /// The Epic Online Services Account ID of the user for which the mod should be enumerated - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// Type of the mods to enumerate - /// - public ModEnumerationType Type { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct EnumerateModsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private ModEnumerationType m_Type; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ModEnumerationType Type - { - set - { - m_Type = value; - } - } - - public void Set(EnumerateModsOptions other) - { - if (other != null) - { - m_ApiVersion = ModsInterface.EnumeratemodsApiLatest; - LocalUserId = other.LocalUserId; - Type = other.Type; - } - } - - public void Set(object other) - { - Set(other as EnumerateModsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Input parameters for the Function. + /// + public struct EnumerateModsOptions + { + /// + /// The Epic Account ID of the user for which the mod should be enumerated + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Type of the mods to enumerate + /// + public ModEnumerationType Type { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct EnumerateModsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private ModEnumerationType m_Type; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ModEnumerationType Type + { + set + { + m_Type = value; + } + } + + public void Set(ref EnumerateModsOptions other) + { + m_ApiVersion = ModsInterface.EnumeratemodsApiLatest; + LocalUserId = other.LocalUserId; + Type = other.Type; + } + + public void Set(ref EnumerateModsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ModsInterface.EnumeratemodsApiLatest; + LocalUserId = other.Value.LocalUserId; + Type = other.Value.Type; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsOptions.cs.meta deleted file mode 100644 index 1bbe3d3c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/EnumerateModsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 60ca4493369bc30469feeb8e04128e1e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModCallbackInfo.cs index 081871b3..9494a018 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Output parameters for the Function. These parameters are received through the callback provided to - /// - public class InstallModCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned if the installation was successfull, otherwise one of the error codes is returned. - /// - public Result ResultCode { get; private set; } - - /// - /// The Epic Online Services Account ID of the user for which mod installation was requested - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// Context that is passed into - /// - public object ClientData { get; private set; } - - /// - /// Mod for which installation was requested - /// - public ModIdentifier Mod { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(InstallModCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - LocalUserId = other.Value.LocalUserId; - ClientData = other.Value.ClientData; - Mod = other.Value.Mod; - } - } - - public void Set(object other) - { - Set(other as InstallModCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct InstallModCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ClientData; - private System.IntPtr m_Mod; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ModIdentifier Mod - { - get - { - ModIdentifier value; - Helper.TryMarshalGet(m_Mod, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Output parameters for the Function. These parameters are received through the callback provided to + /// + public struct InstallModCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned if the installation was successful, otherwise one of the error codes is returned. + /// + public Result ResultCode { get; set; } + + /// + /// The Epic Account ID of the user for which mod installation was requested + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Context that is passed into + /// + public object ClientData { get; set; } + + /// + /// Mod for which installation was requested + /// + public ModIdentifier? Mod { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref InstallModCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + LocalUserId = other.LocalUserId; + ClientData = other.ClientData; + Mod = other.Mod; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct InstallModCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ClientData; + private System.IntPtr m_Mod; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ModIdentifier? Mod + { + get + { + ModIdentifier? value; + Helper.Get(m_Mod, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_Mod); + } + } + + public void Set(ref InstallModCallbackInfo other) + { + ResultCode = other.ResultCode; + LocalUserId = other.LocalUserId; + ClientData = other.ClientData; + Mod = other.Mod; + } + + public void Set(ref InstallModCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + LocalUserId = other.Value.LocalUserId; + ClientData = other.Value.ClientData; + Mod = other.Value.Mod; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_Mod); + } + + public void Get(out InstallModCallbackInfo output) + { + output = new InstallModCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModCallbackInfo.cs.meta deleted file mode 100644 index 633974ff..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a6e395aa94d5af6429bbd7be6685b5a1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModOptions.cs index 0c5c0cbd..be99c940 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Input parameters for the Function. - /// - public class InstallModOptions - { - /// - /// The Epic Online Services Account ID of the user for which the mod should be installed - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The mod to install - /// - public ModIdentifier Mod { get; set; } - - /// - /// Indicates whether the mod should be uninstalled after exiting the game or not. - /// - public bool RemoveAfterExit { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct InstallModOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Mod; - private int m_RemoveAfterExit; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ModIdentifier Mod - { - set - { - Helper.TryMarshalSet(ref m_Mod, value); - } - } - - public bool RemoveAfterExit - { - set - { - Helper.TryMarshalSet(ref m_RemoveAfterExit, value); - } - } - - public void Set(InstallModOptions other) - { - if (other != null) - { - m_ApiVersion = ModsInterface.InstallmodApiLatest; - LocalUserId = other.LocalUserId; - Mod = other.Mod; - RemoveAfterExit = other.RemoveAfterExit; - } - } - - public void Set(object other) - { - Set(other as InstallModOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_Mod); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Input parameters for the Function. + /// + public struct InstallModOptions + { + /// + /// The Epic Account ID of the user for which the mod should be installed + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The mod to install + /// + public ModIdentifier? Mod { get; set; } + + /// + /// Indicates whether the mod should be uninstalled after exiting the game or not. + /// + public bool RemoveAfterExit { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct InstallModOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Mod; + private int m_RemoveAfterExit; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ModIdentifier? Mod + { + set + { + Helper.Set(ref value, ref m_Mod); + } + } + + public bool RemoveAfterExit + { + set + { + Helper.Set(value, ref m_RemoveAfterExit); + } + } + + public void Set(ref InstallModOptions other) + { + m_ApiVersion = ModsInterface.InstallmodApiLatest; + LocalUserId = other.LocalUserId; + Mod = other.Mod; + RemoveAfterExit = other.RemoveAfterExit; + } + + public void Set(ref InstallModOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ModsInterface.InstallmodApiLatest; + LocalUserId = other.Value.LocalUserId; + Mod = other.Value.Mod; + RemoveAfterExit = other.Value.RemoveAfterExit; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Mod); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModOptions.cs.meta deleted file mode 100644 index 416edcc9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/InstallModOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8ddc3813b00ad134baa8d979e642bdc8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModEnumerationType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModEnumerationType.cs index 8aad6d30..3774a0cb 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModEnumerationType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModEnumerationType.cs @@ -1,20 +1,20 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// The type of mod enumeration. - /// - public enum ModEnumerationType : int - { - /// - /// Installed mods - /// - Installed = 0, - /// - /// All available mods - /// - AllAvailable - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// The type of mod enumeration. + /// + public enum ModEnumerationType : int + { + /// + /// Installed mods + /// + Installed = 0, + /// + /// All available mods + /// + AllAvailable + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModEnumerationType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModEnumerationType.cs.meta deleted file mode 100644 index 472dece8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModEnumerationType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4a30189647562ae418a8df880770764d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModIdentifier.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModIdentifier.cs index fc9f1f97..68045243 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModIdentifier.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModIdentifier.cs @@ -1,166 +1,169 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// is used to identify a mod. - /// - public class ModIdentifier : ISettable - { - /// - /// Product namespace id in which this mod item exists - /// - public string NamespaceId { get; set; } - - /// - /// Item id of the Mod - /// - public string ItemId { get; set; } - - /// - /// Artifact id of the Mod - /// - public string ArtifactId { get; set; } - - /// - /// Represent mod item title. - /// - public string Title { get; set; } - - /// - /// Represent mod item version. - /// - public string Version { get; set; } - - internal void Set(ModIdentifierInternal? other) - { - if (other != null) - { - NamespaceId = other.Value.NamespaceId; - ItemId = other.Value.ItemId; - ArtifactId = other.Value.ArtifactId; - Title = other.Value.Title; - Version = other.Value.Version; - } - } - - public void Set(object other) - { - Set(other as ModIdentifierInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ModIdentifierInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_NamespaceId; - private System.IntPtr m_ItemId; - private System.IntPtr m_ArtifactId; - private System.IntPtr m_Title; - private System.IntPtr m_Version; - - public string NamespaceId - { - get - { - string value; - Helper.TryMarshalGet(m_NamespaceId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_NamespaceId, value); - } - } - - public string ItemId - { - get - { - string value; - Helper.TryMarshalGet(m_ItemId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ItemId, value); - } - } - - public string ArtifactId - { - get - { - string value; - Helper.TryMarshalGet(m_ArtifactId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ArtifactId, value); - } - } - - public string Title - { - get - { - string value; - Helper.TryMarshalGet(m_Title, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Title, value); - } - } - - public string Version - { - get - { - string value; - Helper.TryMarshalGet(m_Version, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Version, value); - } - } - - public void Set(ModIdentifier other) - { - if (other != null) - { - m_ApiVersion = ModsInterface.ModIdentifierApiLatest; - NamespaceId = other.NamespaceId; - ItemId = other.ItemId; - ArtifactId = other.ArtifactId; - Title = other.Title; - Version = other.Version; - } - } - - public void Set(object other) - { - Set(other as ModIdentifier); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_NamespaceId); - Helper.TryMarshalDispose(ref m_ItemId); - Helper.TryMarshalDispose(ref m_ArtifactId); - Helper.TryMarshalDispose(ref m_Title); - Helper.TryMarshalDispose(ref m_Version); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// is used to identify a mod. + /// + public struct ModIdentifier + { + /// + /// Product namespace id in which this mod item exists + /// + public Utf8String NamespaceId { get; set; } + + /// + /// Item id of the Mod + /// + public Utf8String ItemId { get; set; } + + /// + /// Artifact id of the Mod + /// + public Utf8String ArtifactId { get; set; } + + /// + /// Represent mod item title. + /// + public Utf8String Title { get; set; } + + /// + /// Represent mod item version. + /// + public Utf8String Version { get; set; } + + internal void Set(ref ModIdentifierInternal other) + { + NamespaceId = other.NamespaceId; + ItemId = other.ItemId; + ArtifactId = other.ArtifactId; + Title = other.Title; + Version = other.Version; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ModIdentifierInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_NamespaceId; + private System.IntPtr m_ItemId; + private System.IntPtr m_ArtifactId; + private System.IntPtr m_Title; + private System.IntPtr m_Version; + + public Utf8String NamespaceId + { + get + { + Utf8String value; + Helper.Get(m_NamespaceId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_NamespaceId); + } + } + + public Utf8String ItemId + { + get + { + Utf8String value; + Helper.Get(m_ItemId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ItemId); + } + } + + public Utf8String ArtifactId + { + get + { + Utf8String value; + Helper.Get(m_ArtifactId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ArtifactId); + } + } + + public Utf8String Title + { + get + { + Utf8String value; + Helper.Get(m_Title, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Title); + } + } + + public Utf8String Version + { + get + { + Utf8String value; + Helper.Get(m_Version, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Version); + } + } + + public void Set(ref ModIdentifier other) + { + m_ApiVersion = ModsInterface.ModIdentifierApiLatest; + NamespaceId = other.NamespaceId; + ItemId = other.ItemId; + ArtifactId = other.ArtifactId; + Title = other.Title; + Version = other.Version; + } + + public void Set(ref ModIdentifier? other) + { + if (other.HasValue) + { + m_ApiVersion = ModsInterface.ModIdentifierApiLatest; + NamespaceId = other.Value.NamespaceId; + ItemId = other.Value.ItemId; + ArtifactId = other.Value.ArtifactId; + Title = other.Value.Title; + Version = other.Value.Version; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_NamespaceId); + Helper.Dispose(ref m_ItemId); + Helper.Dispose(ref m_ArtifactId); + Helper.Dispose(ref m_Title); + Helper.Dispose(ref m_Version); + } + + public void Get(out ModIdentifier output) + { + output = new ModIdentifier(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModIdentifier.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModIdentifier.cs.meta deleted file mode 100644 index 94944fdb..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModIdentifier.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a3d5256e6650d5a418ce02488eae3a6c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModInfo.cs index 59d3bff8..9273857f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModInfo.cs @@ -1,94 +1,94 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Data for the function. - /// - /// - /// - public class ModInfo : ISettable - { - /// - /// The array of enumerated mods or NULL if no such type of mods were enumerated - /// - public ModIdentifier[] Mods { get; set; } - - /// - /// Type of the mods - /// - public ModEnumerationType Type { get; set; } - - internal void Set(ModInfoInternal? other) - { - if (other != null) - { - Mods = other.Value.Mods; - Type = other.Value.Type; - } - } - - public void Set(object other) - { - Set(other as ModInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ModInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private int m_ModsCount; - private System.IntPtr m_Mods; - private ModEnumerationType m_Type; - - public ModIdentifier[] Mods - { - get - { - ModIdentifier[] value; - Helper.TryMarshalGet(m_Mods, out value, m_ModsCount); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Mods, value, out m_ModsCount); - } - } - - public ModEnumerationType Type - { - get - { - return m_Type; - } - - set - { - m_Type = value; - } - } - - public void Set(ModInfo other) - { - if (other != null) - { - m_ApiVersion = ModsInterface.CopymodinfoApiLatest; - Mods = other.Mods; - Type = other.Type; - } - } - - public void Set(object other) - { - Set(other as ModInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Mods); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Data for the function. + /// + /// + /// + public struct ModInfo + { + /// + /// The array of enumerated mods or if no such type of mods were enumerated + /// + public ModIdentifier[] Mods { get; set; } + + /// + /// Type of the mods + /// + public ModEnumerationType Type { get; set; } + + internal void Set(ref ModInfoInternal other) + { + Mods = other.Mods; + Type = other.Type; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ModInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private int m_ModsCount; + private System.IntPtr m_Mods; + private ModEnumerationType m_Type; + + public ModIdentifier[] Mods + { + get + { + ModIdentifier[] value; + Helper.Get(m_Mods, out value, m_ModsCount); + return value; + } + + set + { + Helper.Set(ref value, ref m_Mods, out m_ModsCount); + } + } + + public ModEnumerationType Type + { + get + { + return m_Type; + } + + set + { + m_Type = value; + } + } + + public void Set(ref ModInfo other) + { + m_ApiVersion = ModsInterface.CopymodinfoApiLatest; + Mods = other.Mods; + Type = other.Type; + } + + public void Set(ref ModInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = ModsInterface.CopymodinfoApiLatest; + Mods = other.Value.Mods; + Type = other.Value.Type; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Mods); + } + + public void Get(out ModInfo output) + { + output = new ModInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModInfo.cs.meta deleted file mode 100644 index 14d3dfaf..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8b84eca4f56a179468ff4a470625c94a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModsInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModsInterface.cs index 27dd2324..4aefa9bd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModsInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModsInterface.cs @@ -1,214 +1,215 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - public sealed partial class ModsInterface : Handle - { - public ModsInterface() - { - } - - public ModsInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int CopymodinfoApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int EnumeratemodsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int InstallmodApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int ModIdentifierApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int ModinfoApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int UninstallmodApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int UpdatemodApiLatest = 1; - - /// - /// Get cached enumerated mods object. If successful, this data must be released by calling - /// Types of the cached enumerated mods can be specified through - /// - /// This request may fail with an code if an enumeration of a certain type was not performed before this call. - /// - /// structure containing the game identifier for which requesting enumerated mods - /// Enumerated mods Info. If the returned result is success, this will be set to data that must be later released, otherwise this will be set to NULL - /// - /// Success if we have cached data, or an error result if the request was invalid or we do not have cached data. - /// - public Result CopyModInfo(CopyModInfoOptions options, out ModInfo outEnumeratedMods) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outEnumeratedModsAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Mods_CopyModInfo(InnerHandle, optionsAddress, ref outEnumeratedModsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outEnumeratedModsAddress, out outEnumeratedMods)) - { - Bindings.EOS_Mods_ModInfo_Release(outEnumeratedModsAddress); - } - - return funcResult; - } - - /// - /// Starts an asynchronous task that makes a request to enumerate mods for the specified game. - /// Types of the mods to enumerate can be specified through - /// the section related to mods in eos_result.h for more details. - /// - /// structure containing the game identifiers - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void EnumerateMods(EnumerateModsOptions options, object clientData, OnEnumerateModsCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnEnumerateModsCallbackInternal(OnEnumerateModsCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Mods_EnumerateMods(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Starts an asynchronous task that makes a request to install the specified mod. - /// the section related to mods in eos_result.h for more details. - /// - /// structure containing the game and mod identifiers - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void InstallMod(InstallModOptions options, object clientData, OnInstallModCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnInstallModCallbackInternal(OnInstallModCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Mods_InstallMod(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Starts an asynchronous task that makes a request to uninstall the specified mod. - /// the section related to mods in eos_result.h for more details. - /// - /// structure containing the game and mod identifiers - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void UninstallMod(UninstallModOptions options, object clientData, OnUninstallModCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnUninstallModCallbackInternal(OnUninstallModCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Mods_UninstallMod(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Starts an asynchronous task that makes a request to update the specified mod to the latest version. - /// the section related to mods in eos_result.h for more details. - /// - /// structure containing the game and mod identifiers - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error. If the mod is up to date then the operation will complete with success. - public void UpdateMod(UpdateModOptions options, object clientData, OnUpdateModCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnUpdateModCallbackInternal(OnUpdateModCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Mods_UpdateMod(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnEnumerateModsCallbackInternal))] - internal static void OnEnumerateModsCallbackInternalImplementation(System.IntPtr data) - { - OnEnumerateModsCallback callback; - EnumerateModsCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnInstallModCallbackInternal))] - internal static void OnInstallModCallbackInternalImplementation(System.IntPtr data) - { - OnInstallModCallback callback; - InstallModCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnUninstallModCallbackInternal))] - internal static void OnUninstallModCallbackInternalImplementation(System.IntPtr data) - { - OnUninstallModCallback callback; - UninstallModCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnUpdateModCallbackInternal))] - internal static void OnUpdateModCallbackInternalImplementation(System.IntPtr data) - { - OnUpdateModCallback callback; - UpdateModCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + public sealed partial class ModsInterface : Handle + { + public ModsInterface() + { + } + + public ModsInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int CopymodinfoApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int EnumeratemodsApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int InstallmodApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int ModIdentifierApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int ModinfoApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UninstallmodApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UpdatemodApiLatest = 1; + + /// + /// Get cached enumerated mods object. If successful, this data must be released by calling + /// Types of the cached enumerated mods can be specified through + /// + /// This request may fail with an code if an enumeration of a certain type was not performed before this call. + /// + /// structure containing the game identifier for which requesting enumerated mods + /// Enumerated mods Info. If the returned result is success, this will be set to data that must be later released, otherwise this will be set to + /// + /// Success if we have cached data, or an error result if the request was invalid or we do not have cached data. + /// + public Result CopyModInfo(ref CopyModInfoOptions options, out ModInfo? outEnumeratedMods) + { + CopyModInfoOptionsInternal optionsInternal = new CopyModInfoOptionsInternal(); + optionsInternal.Set(ref options); + + var outEnumeratedModsAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Mods_CopyModInfo(InnerHandle, ref optionsInternal, ref outEnumeratedModsAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outEnumeratedModsAddress, out outEnumeratedMods); + if (outEnumeratedMods != null) + { + Bindings.EOS_Mods_ModInfo_Release(outEnumeratedModsAddress); + } + + return funcResult; + } + + /// + /// Starts an asynchronous task that makes a request to enumerate mods for the specified game. + /// Types of the mods to enumerate can be specified through + /// the section related to mods in eos_result.h for more details. + /// + /// structure containing the game identifiers + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void EnumerateMods(ref EnumerateModsOptions options, object clientData, OnEnumerateModsCallback completionDelegate) + { + EnumerateModsOptionsInternal optionsInternal = new EnumerateModsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnEnumerateModsCallbackInternal(OnEnumerateModsCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Mods_EnumerateMods(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Starts an asynchronous task that makes a request to install the specified mod. + /// the section related to mods in eos_result.h for more details. + /// + /// structure containing the game and mod identifiers + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void InstallMod(ref InstallModOptions options, object clientData, OnInstallModCallback completionDelegate) + { + InstallModOptionsInternal optionsInternal = new InstallModOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnInstallModCallbackInternal(OnInstallModCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Mods_InstallMod(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Starts an asynchronous task that makes a request to uninstall the specified mod. + /// the section related to mods in eos_result.h for more details. + /// + /// structure containing the game and mod identifiers + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void UninstallMod(ref UninstallModOptions options, object clientData, OnUninstallModCallback completionDelegate) + { + UninstallModOptionsInternal optionsInternal = new UninstallModOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnUninstallModCallbackInternal(OnUninstallModCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Mods_UninstallMod(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Starts an asynchronous task that makes a request to update the specified mod to the latest version. + /// the section related to mods in eos_result.h for more details. + /// + /// structure containing the game and mod identifiers + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error. If the mod is up to date then the operation will complete with success. + public void UpdateMod(ref UpdateModOptions options, object clientData, OnUpdateModCallback completionDelegate) + { + UpdateModOptionsInternal optionsInternal = new UpdateModOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnUpdateModCallbackInternal(OnUpdateModCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Mods_UpdateMod(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnEnumerateModsCallbackInternal))] + internal static void OnEnumerateModsCallbackInternalImplementation(ref EnumerateModsCallbackInfoInternal data) + { + OnEnumerateModsCallback callback; + EnumerateModsCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnInstallModCallbackInternal))] + internal static void OnInstallModCallbackInternalImplementation(ref InstallModCallbackInfoInternal data) + { + OnInstallModCallback callback; + InstallModCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnUninstallModCallbackInternal))] + internal static void OnUninstallModCallbackInternalImplementation(ref UninstallModCallbackInfoInternal data) + { + OnUninstallModCallback callback; + UninstallModCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnUpdateModCallbackInternal))] + internal static void OnUpdateModCallbackInternalImplementation(ref UpdateModCallbackInfoInternal data) + { + OnUpdateModCallback callback; + UpdateModCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModsInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModsInterface.cs.meta deleted file mode 100644 index 6bed0606..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/ModsInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 23393e48a9354144196616e9c2d4e216 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnEnumerateModsCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnEnumerateModsCallback.cs index 5f838a61..0ed079f1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnEnumerateModsCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnEnumerateModsCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnEnumerateModsCallback(EnumerateModsCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnEnumerateModsCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnEnumerateModsCallback(ref EnumerateModsCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnEnumerateModsCallbackInternal(ref EnumerateModsCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnEnumerateModsCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnEnumerateModsCallback.cs.meta deleted file mode 100644 index 44f809bc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnEnumerateModsCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 34398b40d3ddf15459882df330861cc9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnInstallModCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnInstallModCallback.cs index 967b8a31..217d2974 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnInstallModCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnInstallModCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnInstallModCallback(InstallModCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnInstallModCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnInstallModCallback(ref InstallModCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnInstallModCallbackInternal(ref InstallModCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnInstallModCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnInstallModCallback.cs.meta deleted file mode 100644 index 7a2d1623..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnInstallModCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dea54b1929535664c99f7a7144012aed -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUninstallModCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUninstallModCallback.cs index 03a582c3..2293f54b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUninstallModCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUninstallModCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnUninstallModCallback(UninstallModCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnUninstallModCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnUninstallModCallback(ref UninstallModCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnUninstallModCallbackInternal(ref UninstallModCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUninstallModCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUninstallModCallback.cs.meta deleted file mode 100644 index 2914b611..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUninstallModCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0408b1d44591c1b4886e6474e308b502 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUpdateModCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUpdateModCallback.cs index efce5891..ec5c3b25 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUpdateModCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUpdateModCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnUpdateModCallback(UpdateModCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnUpdateModCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnUpdateModCallback(ref UpdateModCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnUpdateModCallbackInternal(ref UpdateModCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUpdateModCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUpdateModCallback.cs.meta deleted file mode 100644 index c05819b5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/OnUpdateModCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 97e3bb2f49636ac498d5441329c36689 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModCallbackInfo.cs index 0e978c35..6a457559 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Output parameters for the Function. These parameters are received through the callback provided to - /// - public class UninstallModCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned if the uninstallation was successfull, otherwise one of the error codes is returned. - /// - public Result ResultCode { get; private set; } - - /// - /// The Epic Online Services Account ID of the user for which mod uninstallation was requested - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// Context that is passed into - /// - public object ClientData { get; private set; } - - /// - /// Mod for which uninstallation was requested - /// - public ModIdentifier Mod { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(UninstallModCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - LocalUserId = other.Value.LocalUserId; - ClientData = other.Value.ClientData; - Mod = other.Value.Mod; - } - } - - public void Set(object other) - { - Set(other as UninstallModCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UninstallModCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ClientData; - private System.IntPtr m_Mod; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ModIdentifier Mod - { - get - { - ModIdentifier value; - Helper.TryMarshalGet(m_Mod, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Output parameters for the Function. These parameters are received through the callback provided to + /// + public struct UninstallModCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned if the uninstallation was successful, otherwise one of the error codes is returned. + /// + public Result ResultCode { get; set; } + + /// + /// The Epic Account ID of the user for which mod uninstallation was requested + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Context that is passed into + /// + public object ClientData { get; set; } + + /// + /// Mod for which uninstallation was requested + /// + public ModIdentifier? Mod { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref UninstallModCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + LocalUserId = other.LocalUserId; + ClientData = other.ClientData; + Mod = other.Mod; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UninstallModCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ClientData; + private System.IntPtr m_Mod; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ModIdentifier? Mod + { + get + { + ModIdentifier? value; + Helper.Get(m_Mod, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_Mod); + } + } + + public void Set(ref UninstallModCallbackInfo other) + { + ResultCode = other.ResultCode; + LocalUserId = other.LocalUserId; + ClientData = other.ClientData; + Mod = other.Mod; + } + + public void Set(ref UninstallModCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + LocalUserId = other.Value.LocalUserId; + ClientData = other.Value.ClientData; + Mod = other.Value.Mod; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_Mod); + } + + public void Get(out UninstallModCallbackInfo output) + { + output = new UninstallModCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModCallbackInfo.cs.meta deleted file mode 100644 index 1ed31136..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7fea90361c5ba8a4f975e483f6f956bc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModOptions.cs index 44664d2d..b7ca9669 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Input parameters for the Function. - /// - public class UninstallModOptions - { - /// - /// The Epic Online Services Account ID of the user for which the mod should be uninstalled - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The mod to uninstall - /// - public ModIdentifier Mod { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UninstallModOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Mod; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ModIdentifier Mod - { - set - { - Helper.TryMarshalSet(ref m_Mod, value); - } - } - - public void Set(UninstallModOptions other) - { - if (other != null) - { - m_ApiVersion = ModsInterface.UninstallmodApiLatest; - LocalUserId = other.LocalUserId; - Mod = other.Mod; - } - } - - public void Set(object other) - { - Set(other as UninstallModOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_Mod); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Input parameters for the Function. + /// + public struct UninstallModOptions + { + /// + /// The Epic Account ID of the user for which the mod should be uninstalled + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The mod to uninstall + /// + public ModIdentifier? Mod { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UninstallModOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Mod; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ModIdentifier? Mod + { + set + { + Helper.Set(ref value, ref m_Mod); + } + } + + public void Set(ref UninstallModOptions other) + { + m_ApiVersion = ModsInterface.UninstallmodApiLatest; + LocalUserId = other.LocalUserId; + Mod = other.Mod; + } + + public void Set(ref UninstallModOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ModsInterface.UninstallmodApiLatest; + LocalUserId = other.Value.LocalUserId; + Mod = other.Value.Mod; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Mod); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModOptions.cs.meta deleted file mode 100644 index 7d47f70b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UninstallModOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 55ddb4b63f834444b8fb76ac055c7340 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModCallbackInfo.cs index 3c87cb34..6dcb39ca 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Output parameters for the Function. These parameters are received through the callback provided to - /// - public class UpdateModCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned if the request to update was successfull, otherwise one of the error codes is returned. - /// - public Result ResultCode { get; private set; } - - /// - /// The Epic Online Services Account ID of the user for which mod update was requested - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// Context that is passed into - /// - public object ClientData { get; private set; } - - /// - /// Mod for which update was requested - /// - public ModIdentifier Mod { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(UpdateModCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - LocalUserId = other.Value.LocalUserId; - ClientData = other.Value.ClientData; - Mod = other.Value.Mod; - } - } - - public void Set(object other) - { - Set(other as UpdateModCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateModCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ClientData; - private System.IntPtr m_Mod; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ModIdentifier Mod - { - get - { - ModIdentifier value; - Helper.TryMarshalGet(m_Mod, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Output parameters for the Function. These parameters are received through the callback provided to + /// + public struct UpdateModCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned if the request to update was successful, otherwise one of the error codes is returned. + /// + public Result ResultCode { get; set; } + + /// + /// The Epic Account ID of the user for which mod update was requested + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Context that is passed into + /// + public object ClientData { get; set; } + + /// + /// Mod for which update was requested + /// + public ModIdentifier? Mod { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref UpdateModCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + LocalUserId = other.LocalUserId; + ClientData = other.ClientData; + Mod = other.Mod; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateModCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ClientData; + private System.IntPtr m_Mod; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ModIdentifier? Mod + { + get + { + ModIdentifier? value; + Helper.Get(m_Mod, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_Mod); + } + } + + public void Set(ref UpdateModCallbackInfo other) + { + ResultCode = other.ResultCode; + LocalUserId = other.LocalUserId; + ClientData = other.ClientData; + Mod = other.Mod; + } + + public void Set(ref UpdateModCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + LocalUserId = other.Value.LocalUserId; + ClientData = other.Value.ClientData; + Mod = other.Value.Mod; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_Mod); + } + + public void Get(out UpdateModCallbackInfo output) + { + output = new UpdateModCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModCallbackInfo.cs.meta deleted file mode 100644 index ac284ab2..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5a3ec26295150c846a213865966f62e5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModOptions.cs index 3379461d..c2371ca1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Mods -{ - /// - /// Input parameters for the Function. - /// - public class UpdateModOptions - { - /// - /// The Epic Online Services Account ID of the user for which the mod should be updated - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The mod to update - /// - public ModIdentifier Mod { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateModOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Mod; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ModIdentifier Mod - { - set - { - Helper.TryMarshalSet(ref m_Mod, value); - } - } - - public void Set(UpdateModOptions other) - { - if (other != null) - { - m_ApiVersion = ModsInterface.UpdatemodApiLatest; - LocalUserId = other.LocalUserId; - Mod = other.Mod; - } - } - - public void Set(object other) - { - Set(other as UpdateModOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_Mod); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Mods +{ + /// + /// Input parameters for the Function. + /// + public struct UpdateModOptions + { + /// + /// The Epic Account ID of the user for which the mod should be updated + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The mod to update + /// + public ModIdentifier? Mod { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateModOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Mod; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ModIdentifier? Mod + { + set + { + Helper.Set(ref value, ref m_Mod); + } + } + + public void Set(ref UpdateModOptions other) + { + m_ApiVersion = ModsInterface.UpdatemodApiLatest; + LocalUserId = other.LocalUserId; + Mod = other.Mod; + } + + public void Set(ref UpdateModOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ModsInterface.UpdatemodApiLatest; + LocalUserId = other.Value.LocalUserId; + Mod = other.Value.Mod; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Mod); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModOptions.cs.meta deleted file mode 100644 index cdc368b1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Mods/UpdateModOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: de5df38e80acb6043ac3d52f77fb947d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P.meta deleted file mode 100644 index 626fb1c9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 22c2384a7a90ea143b4fea1339635cd6 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AcceptConnectionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AcceptConnectionOptions.cs index a4e82c87..81b48d75 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AcceptConnectionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AcceptConnectionOptions.cs @@ -1,82 +1,85 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about who would like to accept a connection, and which connection. - /// - public class AcceptConnectionOptions - { - /// - /// The Product User ID of the local user who is accepting any pending or future connections with RemoteUserId - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The Product User ID of the remote user who has either sent a connection request or is expected to in the future - /// - public ProductUserId RemoteUserId { get; set; } - - /// - /// The socket ID of the connection to accept on - /// - public SocketId SocketId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AcceptConnectionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RemoteUserId; - private System.IntPtr m_SocketId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ProductUserId RemoteUserId - { - set - { - Helper.TryMarshalSet(ref m_RemoteUserId, value); - } - } - - public SocketId SocketId - { - set - { - Helper.TryMarshalSet(ref m_SocketId, value); - } - } - - public void Set(AcceptConnectionOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.AcceptconnectionApiLatest; - LocalUserId = other.LocalUserId; - RemoteUserId = other.RemoteUserId; - SocketId = other.SocketId; - } - } - - public void Set(object other) - { - Set(other as AcceptConnectionOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RemoteUserId); - Helper.TryMarshalDispose(ref m_SocketId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about who would like to accept a connection, and which connection. + /// + public struct AcceptConnectionOptions + { + /// + /// The Product User ID of the local user who is accepting any pending or future connections with RemoteUserId + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the remote user who has either sent a connection request or is expected to in the future + /// + public ProductUserId RemoteUserId { get; set; } + + /// + /// The socket ID of the connection to accept on + /// + public SocketId? SocketId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AcceptConnectionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RemoteUserId; + private System.IntPtr m_SocketId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId RemoteUserId + { + set + { + Helper.Set(value, ref m_RemoteUserId); + } + } + + public SocketId? SocketId + { + set + { + Helper.Set(ref value, ref m_SocketId); + } + } + + public void Set(ref AcceptConnectionOptions other) + { + m_ApiVersion = P2PInterface.AcceptconnectionApiLatest; + LocalUserId = other.LocalUserId; + RemoteUserId = other.RemoteUserId; + SocketId = other.SocketId; + } + + public void Set(ref AcceptConnectionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.AcceptconnectionApiLatest; + LocalUserId = other.Value.LocalUserId; + RemoteUserId = other.Value.RemoteUserId; + SocketId = other.Value.SocketId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RemoteUserId); + Helper.Dispose(ref m_SocketId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AcceptConnectionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AcceptConnectionOptions.cs.meta deleted file mode 100644 index 0f98c715..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AcceptConnectionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1ca1dba84827ef942839dba938861ff2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyIncomingPacketQueueFullOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyIncomingPacketQueueFullOptions.cs index e68f0e31..b7f1b1fa 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyIncomingPacketQueueFullOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyIncomingPacketQueueFullOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about what version of the function is supported. - /// - public class AddNotifyIncomingPacketQueueFullOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyIncomingPacketQueueFullOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyIncomingPacketQueueFullOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.AddnotifyincomingpacketqueuefullApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyIncomingPacketQueueFullOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about what version of the function is supported. + /// + public struct AddNotifyIncomingPacketQueueFullOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyIncomingPacketQueueFullOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyIncomingPacketQueueFullOptions other) + { + m_ApiVersion = P2PInterface.AddnotifyincomingpacketqueuefullApiLatest; + } + + public void Set(ref AddNotifyIncomingPacketQueueFullOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.AddnotifyincomingpacketqueuefullApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyIncomingPacketQueueFullOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyIncomingPacketQueueFullOptions.cs.meta deleted file mode 100644 index 46590050..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyIncomingPacketQueueFullOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e0341b37499def74c8cd04867f9b1e28 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionClosedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionClosedOptions.cs index 9977e8b2..197040be 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionClosedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionClosedOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about who would like notifications about closed connections, and for which socket. - /// - public class AddNotifyPeerConnectionClosedOptions - { - /// - /// The Product User ID of the local user who would like notifications - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The optional socket ID to listen for to be closed. If NULL, this handler will be called for all closed connections - /// - public SocketId SocketId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyPeerConnectionClosedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_SocketId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public SocketId SocketId - { - set - { - Helper.TryMarshalSet(ref m_SocketId, value); - } - } - - public void Set(AddNotifyPeerConnectionClosedOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.AddnotifypeerconnectionclosedApiLatest; - LocalUserId = other.LocalUserId; - SocketId = other.SocketId; - } - } - - public void Set(object other) - { - Set(other as AddNotifyPeerConnectionClosedOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_SocketId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about who would like notifications about closed connections, and for which socket. + /// + public struct AddNotifyPeerConnectionClosedOptions + { + /// + /// The Product User ID of the local user who would like notifications + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The optional socket ID to listen for to be closed. If , this function handler will be called for all closed connections + /// + public SocketId? SocketId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyPeerConnectionClosedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_SocketId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public SocketId? SocketId + { + set + { + Helper.Set(ref value, ref m_SocketId); + } + } + + public void Set(ref AddNotifyPeerConnectionClosedOptions other) + { + m_ApiVersion = P2PInterface.AddnotifypeerconnectionclosedApiLatest; + LocalUserId = other.LocalUserId; + SocketId = other.SocketId; + } + + public void Set(ref AddNotifyPeerConnectionClosedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.AddnotifypeerconnectionclosedApiLatest; + LocalUserId = other.Value.LocalUserId; + SocketId = other.Value.SocketId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_SocketId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionClosedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionClosedOptions.cs.meta deleted file mode 100644 index 3354c167..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionClosedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9aa79b0db2f211248b04ef0de5b525a2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionEstablishedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionEstablishedOptions.cs new file mode 100644 index 00000000..360ab337 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionEstablishedOptions.cs @@ -0,0 +1,68 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about which connections should be notified + /// + public struct AddNotifyPeerConnectionEstablishedOptions + { + /// + /// The Product User ID of the local user who would like to receive notifications + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The optional socket ID, used as a filter for established connections. If , this function handler will be called for all sockets + /// + public SocketId? SocketId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyPeerConnectionEstablishedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_SocketId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public SocketId? SocketId + { + set + { + Helper.Set(ref value, ref m_SocketId); + } + } + + public void Set(ref AddNotifyPeerConnectionEstablishedOptions other) + { + m_ApiVersion = P2PInterface.AddnotifypeerconnectionestablishedApiLatest; + LocalUserId = other.LocalUserId; + SocketId = other.SocketId; + } + + public void Set(ref AddNotifyPeerConnectionEstablishedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.AddnotifypeerconnectionestablishedApiLatest; + LocalUserId = other.Value.LocalUserId; + SocketId = other.Value.SocketId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_SocketId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionInterruptedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionInterruptedOptions.cs new file mode 100644 index 00000000..dd8ad718 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionInterruptedOptions.cs @@ -0,0 +1,68 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about who would like notifications about interrupted connections, and for which socket. + /// + public struct AddNotifyPeerConnectionInterruptedOptions + { + /// + /// The Product User ID of the local user who would like notifications + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// An optional socket ID to filter interrupted connections on. If , this function handler will be called for all interrupted connections + /// + public SocketId? SocketId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyPeerConnectionInterruptedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_SocketId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public SocketId? SocketId + { + set + { + Helper.Set(ref value, ref m_SocketId); + } + } + + public void Set(ref AddNotifyPeerConnectionInterruptedOptions other) + { + m_ApiVersion = P2PInterface.AddnotifypeerconnectioninterruptedApiLatest; + LocalUserId = other.LocalUserId; + SocketId = other.SocketId; + } + + public void Set(ref AddNotifyPeerConnectionInterruptedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.AddnotifypeerconnectioninterruptedApiLatest; + LocalUserId = other.Value.LocalUserId; + SocketId = other.Value.SocketId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_SocketId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionRequestOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionRequestOptions.cs index ca5ce904..0b1cfd79 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionRequestOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionRequestOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about who would like connection notifications, and about which socket. - /// - public class AddNotifyPeerConnectionRequestOptions - { - /// - /// The Product User ID of the user who is listening for incoming connection requests - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The optional socket ID to listen for, used as a filter for incoming connection requests; If NULL, incoming connection requests will not be filtered - /// - public SocketId SocketId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyPeerConnectionRequestOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_SocketId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public SocketId SocketId - { - set - { - Helper.TryMarshalSet(ref m_SocketId, value); - } - } - - public void Set(AddNotifyPeerConnectionRequestOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.AddnotifypeerconnectionrequestApiLatest; - LocalUserId = other.LocalUserId; - SocketId = other.SocketId; - } - } - - public void Set(object other) - { - Set(other as AddNotifyPeerConnectionRequestOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_SocketId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about who would like connection notifications, and about which socket. + /// + public struct AddNotifyPeerConnectionRequestOptions + { + /// + /// The Product User ID of the user who is listening for incoming connection requests + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The optional socket ID to listen for, used as a filter for incoming connection requests; If , incoming connection requests will not be filtered + /// + public SocketId? SocketId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyPeerConnectionRequestOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_SocketId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public SocketId? SocketId + { + set + { + Helper.Set(ref value, ref m_SocketId); + } + } + + public void Set(ref AddNotifyPeerConnectionRequestOptions other) + { + m_ApiVersion = P2PInterface.AddnotifypeerconnectionrequestApiLatest; + LocalUserId = other.LocalUserId; + SocketId = other.SocketId; + } + + public void Set(ref AddNotifyPeerConnectionRequestOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.AddnotifypeerconnectionrequestApiLatest; + LocalUserId = other.Value.LocalUserId; + SocketId = other.Value.SocketId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_SocketId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionRequestOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionRequestOptions.cs.meta deleted file mode 100644 index 6f25a8c9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/AddNotifyPeerConnectionRequestOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ceaade6c8b6a47440bc12042909ef905 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ClearPacketQueueOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ClearPacketQueueOptions.cs new file mode 100644 index 00000000..af5124ef --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ClearPacketQueueOptions.cs @@ -0,0 +1,85 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about the packet queue to be cleared + /// + public struct ClearPacketQueueOptions + { + /// + /// The Product User ID of the local user for whom we want to clear the queued packets + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID to who (outgoing) or from who (incoming) packets are queued + /// + public ProductUserId RemoteUserId { get; set; } + + /// + /// The socket used for packets to be cleared + /// + public SocketId? SocketId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ClearPacketQueueOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RemoteUserId; + private System.IntPtr m_SocketId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId RemoteUserId + { + set + { + Helper.Set(value, ref m_RemoteUserId); + } + } + + public SocketId? SocketId + { + set + { + Helper.Set(ref value, ref m_SocketId); + } + } + + public void Set(ref ClearPacketQueueOptions other) + { + m_ApiVersion = P2PInterface.ClearpacketqueueApiLatest; + LocalUserId = other.LocalUserId; + RemoteUserId = other.RemoteUserId; + SocketId = other.SocketId; + } + + public void Set(ref ClearPacketQueueOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.ClearpacketqueueApiLatest; + LocalUserId = other.Value.LocalUserId; + RemoteUserId = other.Value.RemoteUserId; + SocketId = other.Value.SocketId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RemoteUserId); + Helper.Dispose(ref m_SocketId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionOptions.cs index 151c0a1e..bc9b48b2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionOptions.cs @@ -1,82 +1,85 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about who would like to close a connection, and which connection. - /// - public class CloseConnectionOptions - { - /// - /// The Product User ID of the local user who would like to close a previously accepted connection (or decline a pending invite) - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The Product User ID of the remote user to disconnect from (or to reject a pending invite from) - /// - public ProductUserId RemoteUserId { get; set; } - - /// - /// The socket ID of the connection to close (or optionally NULL to not accept any connection requests from the Remote User) - /// - public SocketId SocketId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CloseConnectionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RemoteUserId; - private System.IntPtr m_SocketId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ProductUserId RemoteUserId - { - set - { - Helper.TryMarshalSet(ref m_RemoteUserId, value); - } - } - - public SocketId SocketId - { - set - { - Helper.TryMarshalSet(ref m_SocketId, value); - } - } - - public void Set(CloseConnectionOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.CloseconnectionApiLatest; - LocalUserId = other.LocalUserId; - RemoteUserId = other.RemoteUserId; - SocketId = other.SocketId; - } - } - - public void Set(object other) - { - Set(other as CloseConnectionOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RemoteUserId); - Helper.TryMarshalDispose(ref m_SocketId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about who would like to close a connection, and which connection. + /// + public struct CloseConnectionOptions + { + /// + /// The Product User ID of the local user who would like to close a previously accepted connection (or decline a pending invite) + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the remote user to disconnect from (or to reject a pending invite from) + /// + public ProductUserId RemoteUserId { get; set; } + + /// + /// The socket ID of the connection to close (or optionally to not accept any connection requests from the Remote User) + /// + public SocketId? SocketId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CloseConnectionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RemoteUserId; + private System.IntPtr m_SocketId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId RemoteUserId + { + set + { + Helper.Set(value, ref m_RemoteUserId); + } + } + + public SocketId? SocketId + { + set + { + Helper.Set(ref value, ref m_SocketId); + } + } + + public void Set(ref CloseConnectionOptions other) + { + m_ApiVersion = P2PInterface.CloseconnectionApiLatest; + LocalUserId = other.LocalUserId; + RemoteUserId = other.RemoteUserId; + SocketId = other.SocketId; + } + + public void Set(ref CloseConnectionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.CloseconnectionApiLatest; + LocalUserId = other.Value.LocalUserId; + RemoteUserId = other.Value.RemoteUserId; + SocketId = other.Value.SocketId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RemoteUserId); + Helper.Dispose(ref m_SocketId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionOptions.cs.meta deleted file mode 100644 index f4cb089c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 40c49c13c903ca24d858c24030bac43f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionsOptions.cs index 49d1c532..c531dd8d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionsOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about who would like to close connections, and by what socket ID - /// - public class CloseConnectionsOptions - { - /// - /// The Product User ID of the local user who would like to close all connections that use a particular socket ID - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The socket ID of the connections to close - /// - public SocketId SocketId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CloseConnectionsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_SocketId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public SocketId SocketId - { - set - { - Helper.TryMarshalSet(ref m_SocketId, value); - } - } - - public void Set(CloseConnectionsOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.CloseconnectionsApiLatest; - LocalUserId = other.LocalUserId; - SocketId = other.SocketId; - } - } - - public void Set(object other) - { - Set(other as CloseConnectionsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_SocketId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about who would like to close connections, and by what socket ID + /// + public struct CloseConnectionsOptions + { + /// + /// The Product User ID of the local user who would like to close all connections that use a particular socket ID + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The socket ID of the connections to close + /// + public SocketId? SocketId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CloseConnectionsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_SocketId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public SocketId? SocketId + { + set + { + Helper.Set(ref value, ref m_SocketId); + } + } + + public void Set(ref CloseConnectionsOptions other) + { + m_ApiVersion = P2PInterface.CloseconnectionsApiLatest; + LocalUserId = other.LocalUserId; + SocketId = other.SocketId; + } + + public void Set(ref CloseConnectionsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.CloseconnectionsApiLatest; + LocalUserId = other.Value.LocalUserId; + SocketId = other.Value.SocketId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_SocketId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionsOptions.cs.meta deleted file mode 100644 index 0a7ee078..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/CloseConnectionsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4e165abbf322e5b4885dc47ed28cfa54 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ConnectionClosedReason.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ConnectionClosedReason.cs index 351ddffa..cfaac23e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ConnectionClosedReason.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ConnectionClosedReason.cs @@ -1,56 +1,56 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Reasons why a P2P connection was closed - /// - public enum ConnectionClosedReason : int - { - /// - /// The connection was closed for unknown reasons - /// - Unknown = 0, - /// - /// The connection was gracefully closed by the local user - /// - ClosedByLocalUser = 1, - /// - /// The connection was gracefully closed by the remote user - /// - ClosedByPeer = 2, - /// - /// The connection timed out - /// - TimedOut = 3, - /// - /// The connection could not be created due to too many other connections - /// - TooManyConnections = 4, - /// - /// The remote user sent an invalid message - /// - InvalidMessage = 5, - /// - /// The remote user sent us invalid data - /// - InvalidData = 6, - /// - /// We failed to establish a connection with the remote user - /// - ConnectionFailed = 7, - /// - /// The connection was unexpectedly closed - /// - ConnectionClosed = 8, - /// - /// We failed to negotiate a connection with the remote user - /// - NegotiationFailed = 9, - /// - /// There was an unexpected error and the connection cannot continue - /// - UnexpectedError = 10 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Reasons why a P2P connection was closed + /// + public enum ConnectionClosedReason : int + { + /// + /// The connection was closed for unknown reasons. This most notably happens during application shutdown. + /// + Unknown = 0, + /// + /// The connection was at least locally accepted, but was closed by the local user via a call to / . + /// + ClosedByLocalUser = 1, + /// + /// The connection was at least locally accepted, but was gracefully closed by the remote user via a call to / . + /// + ClosedByPeer = 2, + /// + /// The connection was at least locally accepted, but was not remotely accepted in time. + /// + TimedOut = 3, + /// + /// The connection was accepted, but the connection could not be created due to too many other existing connections + /// + TooManyConnections = 4, + /// + /// The connection was accepted, The remote user sent an invalid message + /// + InvalidMessage = 5, + /// + /// The connection was accepted, but the remote user sent us invalid data + /// + InvalidData = 6, + /// + /// The connection was accepted, but we failed to ever establish a connection with the remote user due to connectivity issues. + /// + ConnectionFailed = 7, + /// + /// The connection was accepted and established, but the peer silently went away. + /// + ConnectionClosed = 8, + /// + /// The connection was locally accepted, but we failed to negotiate a connection with the remote user. This most commonly occurs if the local user goes offline or is logged-out during the connection process. + /// + NegotiationFailed = 9, + /// + /// The connection was accepted, but there was an internal error occurred and the connection cannot be created or continue. + /// + UnexpectedError = 10 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ConnectionClosedReason.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ConnectionClosedReason.cs.meta deleted file mode 100644 index 0cdadd29..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ConnectionClosedReason.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2645c67ddb449e24a81726eaa524e97b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ConnectionEstablishedType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ConnectionEstablishedType.cs new file mode 100644 index 00000000..75097e3e --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ConnectionEstablishedType.cs @@ -0,0 +1,20 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Type of established connection + /// + public enum ConnectionEstablishedType : int + { + /// + /// The connection is brand new + /// + NewConnection = 0, + /// + /// The connection is reestablished (reconnection) + /// + Reconnection = 1 + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNATTypeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNATTypeOptions.cs index 622587e2..4acd3801 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNATTypeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNATTypeOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information needed to get perviously queried NAT-types - /// - public class GetNATTypeOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetNATTypeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(GetNATTypeOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.GetnattypeApiLatest; - } - } - - public void Set(object other) - { - Set(other as GetNATTypeOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information needed to get previously queried NAT-types + /// + public struct GetNATTypeOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetNATTypeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref GetNATTypeOptions other) + { + m_ApiVersion = P2PInterface.GetnattypeApiLatest; + } + + public void Set(ref GetNATTypeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.GetnattypeApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNATTypeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNATTypeOptions.cs.meta deleted file mode 100644 index 9c78e0b8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNATTypeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 96f2c1a7f02f579498c1acfeb74646ea -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNextReceivedPacketSizeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNextReceivedPacketSizeOptions.cs index 8390569f..c7cacfec 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNextReceivedPacketSizeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNextReceivedPacketSizeOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about who would like to receive a packet. - /// - public class GetNextReceivedPacketSizeOptions - { - /// - /// The Product User ID of the local user who is receiving the packet - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// An optional channel to request the data for. If NULL, we're retrieving the size of the next packet on any channel. - /// - public byte? RequestedChannel { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetNextReceivedPacketSizeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RequestedChannel; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public byte? RequestedChannel - { - set - { - Helper.TryMarshalSet(ref m_RequestedChannel, value); - } - } - - public void Set(GetNextReceivedPacketSizeOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.GetnextreceivedpacketsizeApiLatest; - LocalUserId = other.LocalUserId; - RequestedChannel = other.RequestedChannel; - } - } - - public void Set(object other) - { - Set(other as GetNextReceivedPacketSizeOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RequestedChannel); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about who would like to receive a packet. + /// + public struct GetNextReceivedPacketSizeOptions + { + /// + /// The Product User ID of the local user who is receiving the packet + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// An optional channel to request the data for. If , we're retrieving the size of the next packet on any channel. + /// + public byte? RequestedChannel { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetNextReceivedPacketSizeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RequestedChannel; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public byte? RequestedChannel + { + set + { + Helper.Set(value, ref m_RequestedChannel); + } + } + + public void Set(ref GetNextReceivedPacketSizeOptions other) + { + m_ApiVersion = P2PInterface.GetnextreceivedpacketsizeApiLatest; + LocalUserId = other.LocalUserId; + RequestedChannel = other.RequestedChannel; + } + + public void Set(ref GetNextReceivedPacketSizeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.GetnextreceivedpacketsizeApiLatest; + LocalUserId = other.Value.LocalUserId; + RequestedChannel = other.Value.RequestedChannel; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RequestedChannel); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNextReceivedPacketSizeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNextReceivedPacketSizeOptions.cs.meta deleted file mode 100644 index 5b796dfc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetNextReceivedPacketSizeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 465301b8cdf533344addabc7c4ebef38 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPacketQueueInfoOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPacketQueueInfoOptions.cs index 0ed14a42..793172c0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPacketQueueInfoOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPacketQueueInfoOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information needed to get the current packet queue information. - /// - public class GetPacketQueueInfoOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetPacketQueueInfoOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(GetPacketQueueInfoOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.GetpacketqueueinfoApiLatest; - } - } - - public void Set(object other) - { - Set(other as GetPacketQueueInfoOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information needed to get the current packet queue information. + /// + public struct GetPacketQueueInfoOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetPacketQueueInfoOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref GetPacketQueueInfoOptions other) + { + m_ApiVersion = P2PInterface.GetpacketqueueinfoApiLatest; + } + + public void Set(ref GetPacketQueueInfoOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.GetpacketqueueinfoApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPacketQueueInfoOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPacketQueueInfoOptions.cs.meta deleted file mode 100644 index 253a70d0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPacketQueueInfoOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9bb8b77010f62f64cae3eacb2f1546d3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPortRangeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPortRangeOptions.cs index ed9213a2..8afa6f87 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPortRangeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPortRangeOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about getting the configured port range settings. - /// - public class GetPortRangeOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetPortRangeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(GetPortRangeOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.GetportrangeApiLatest; - } - } - - public void Set(object other) - { - Set(other as GetPortRangeOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about getting the configured port range settings. + /// + public struct GetPortRangeOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetPortRangeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref GetPortRangeOptions other) + { + m_ApiVersion = P2PInterface.GetportrangeApiLatest; + } + + public void Set(ref GetPortRangeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.GetportrangeApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPortRangeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPortRangeOptions.cs.meta deleted file mode 100644 index 483a7fe8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetPortRangeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d21eb9ade7452ca4bbe3e3150e863098 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetRelayControlOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetRelayControlOptions.cs index 6455df4b..476ff878 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetRelayControlOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetRelayControlOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about getting the relay control setting. - /// - public class GetRelayControlOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetRelayControlOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(GetRelayControlOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.GetrelaycontrolApiLatest; - } - } - - public void Set(object other) - { - Set(other as GetRelayControlOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about getting the relay control setting. + /// + public struct GetRelayControlOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetRelayControlOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref GetRelayControlOptions other) + { + m_ApiVersion = P2PInterface.GetrelaycontrolApiLatest; + } + + public void Set(ref GetRelayControlOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.GetrelaycontrolApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetRelayControlOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetRelayControlOptions.cs.meta deleted file mode 100644 index c6633c87..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/GetRelayControlOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d03831b6d5e798b48803a6c62ebfcf3e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/NATType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/NATType.cs index fd2554e7..39e8fe05 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/NATType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/NATType.cs @@ -1,28 +1,28 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Categories of NAT strictness. - /// - public enum NATType : int - { - /// - /// NAT type either unknown (remote) or we are unable to determine it (local) - /// - Unknown = 0, - /// - /// All peers can directly-connect to you - /// - Open = 1, - /// - /// You can directly-connect to other Moderate and Open peers - /// - Moderate = 2, - /// - /// You can only directly-connect to Open peers - /// - Strict = 3 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Categories of NAT strictness. + /// + public enum NATType : int + { + /// + /// NAT type either unknown (remote) or we are unable to determine it (local) + /// + Unknown = 0, + /// + /// All peers can directly-connect to you + /// + Open = 1, + /// + /// You can directly-connect to other Moderate and Open peers + /// + Moderate = 2, + /// + /// You can only directly-connect to Open peers + /// + Strict = 3 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/NATType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/NATType.cs.meta deleted file mode 100644 index 8c256abb..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/NATType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d9eb21155f3724741a9def356e7b1423 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/NetworkConnectionType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/NetworkConnectionType.cs new file mode 100644 index 00000000..75e43810 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/NetworkConnectionType.cs @@ -0,0 +1,24 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Types of network connections. + /// + public enum NetworkConnectionType : int + { + /// + /// There is no established connection + /// + NoConnection = 0, + /// + /// A direct connection to the peer over the Internet or Local Network + /// + DirectConnection = 1, + /// + /// A relayed connection using Epic-provided servers to the peer over the Internet + /// + RelayedConnection = 2 + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestCallback.cs index 9b203cb9..9b4b7fca 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Callback for information related to incoming connection requests. - /// - public delegate void OnIncomingConnectionRequestCallback(OnIncomingConnectionRequestInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnIncomingConnectionRequestCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Callback for information related to incoming connection requests. + /// + public delegate void OnIncomingConnectionRequestCallback(ref OnIncomingConnectionRequestInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnIncomingConnectionRequestCallbackInternal(ref OnIncomingConnectionRequestInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestCallback.cs.meta deleted file mode 100644 index 4a8b559c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 62fb94f9ab8a89a49ba894b339f154e4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestInfo.cs index ffe555c5..27ceddbc 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestInfo.cs @@ -1,109 +1,154 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about an incoming connection request. - /// - public class OnIncomingConnectionRequestInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local user who is being requested to open a P2P session with RemoteUserId - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The Product User ID of the remote user who requested a peer connection with the local user - /// - public ProductUserId RemoteUserId { get; private set; } - - /// - /// The ID of the socket the Remote User wishes to communicate on - /// - public SocketId SocketId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(OnIncomingConnectionRequestInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RemoteUserId = other.Value.RemoteUserId; - SocketId = other.Value.SocketId; - } - } - - public void Set(object other) - { - Set(other as OnIncomingConnectionRequestInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnIncomingConnectionRequestInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RemoteUserId; - private System.IntPtr m_SocketId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public ProductUserId RemoteUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_RemoteUserId, out value); - return value; - } - } - - public SocketId SocketId - { - get - { - SocketId value; - Helper.TryMarshalGet(m_SocketId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about an incoming connection request. + /// + public struct OnIncomingConnectionRequestInfo : ICallbackInfo + { + /// + /// Client-specified data passed into + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local user who is being requested to open a P2P session with RemoteUserId + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the remote user who requested a peer connection with the local user + /// + public ProductUserId RemoteUserId { get; set; } + + /// + /// The ID of the socket the Remote User wishes to communicate on + /// + public SocketId? SocketId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnIncomingConnectionRequestInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RemoteUserId = other.RemoteUserId; + SocketId = other.SocketId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnIncomingConnectionRequestInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RemoteUserId; + private System.IntPtr m_SocketId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId RemoteUserId + { + get + { + ProductUserId value; + Helper.Get(m_RemoteUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RemoteUserId); + } + } + + public SocketId? SocketId + { + get + { + SocketId? value; + Helper.Get(m_SocketId, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_SocketId); + } + } + + public void Set(ref OnIncomingConnectionRequestInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RemoteUserId = other.RemoteUserId; + SocketId = other.SocketId; + } + + public void Set(ref OnIncomingConnectionRequestInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RemoteUserId = other.Value.RemoteUserId; + SocketId = other.Value.SocketId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RemoteUserId); + Helper.Dispose(ref m_SocketId); + } + + public void Get(out OnIncomingConnectionRequestInfo output) + { + output = new OnIncomingConnectionRequestInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestInfo.cs.meta deleted file mode 100644 index 1e2a24c2..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingConnectionRequestInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fb2afc5122935a048b4fdd8c59ee2819 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullCallback.cs index 7c10fe99..3c4c48f9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Callback for information related to incoming connection requests. - /// - public delegate void OnIncomingPacketQueueFullCallback(OnIncomingPacketQueueFullInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnIncomingPacketQueueFullCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Callback for information related to incoming connection requests. + /// + public delegate void OnIncomingPacketQueueFullCallback(ref OnIncomingPacketQueueFullInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnIncomingPacketQueueFullCallbackInternal(ref OnIncomingPacketQueueFullInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullCallback.cs.meta deleted file mode 100644 index cfda325a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 98ea17cbf3dc1c44f8fbd3d2f05fab46 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullInfo.cs index e15fb8cd..77857f82 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullInfo.cs @@ -1,135 +1,192 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about the packet queue's state and the incoming packet that would overflow the queue - /// - public class OnIncomingPacketQueueFullInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into AddNotifyIncomingPacketQueueFull - /// - public object ClientData { get; private set; } - - /// - /// The maximum size in bytes the incoming packet queue is allowed to use - /// - public ulong PacketQueueMaxSizeBytes { get; private set; } - - /// - /// The current size in bytes the incoming packet queue is currently using - /// - public ulong PacketQueueCurrentSizeBytes { get; private set; } - - /// - /// The Product User ID of the local user who is receiving the packet that would overflow the queue - /// - public ProductUserId OverflowPacketLocalUserId { get; private set; } - - /// - /// The channel the incoming packet is for - /// - public byte OverflowPacketChannel { get; private set; } - - /// - /// The size in bytes of the incoming packet (and related metadata) that would overflow the queue - /// - public uint OverflowPacketSizeBytes { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(OnIncomingPacketQueueFullInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - PacketQueueMaxSizeBytes = other.Value.PacketQueueMaxSizeBytes; - PacketQueueCurrentSizeBytes = other.Value.PacketQueueCurrentSizeBytes; - OverflowPacketLocalUserId = other.Value.OverflowPacketLocalUserId; - OverflowPacketChannel = other.Value.OverflowPacketChannel; - OverflowPacketSizeBytes = other.Value.OverflowPacketSizeBytes; - } - } - - public void Set(object other) - { - Set(other as OnIncomingPacketQueueFullInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnIncomingPacketQueueFullInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private ulong m_PacketQueueMaxSizeBytes; - private ulong m_PacketQueueCurrentSizeBytes; - private System.IntPtr m_OverflowPacketLocalUserId; - private byte m_OverflowPacketChannel; - private uint m_OverflowPacketSizeBytes; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ulong PacketQueueMaxSizeBytes - { - get - { - return m_PacketQueueMaxSizeBytes; - } - } - - public ulong PacketQueueCurrentSizeBytes - { - get - { - return m_PacketQueueCurrentSizeBytes; - } - } - - public ProductUserId OverflowPacketLocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_OverflowPacketLocalUserId, out value); - return value; - } - } - - public byte OverflowPacketChannel - { - get - { - return m_OverflowPacketChannel; - } - } - - public uint OverflowPacketSizeBytes - { - get - { - return m_OverflowPacketSizeBytes; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about the packet queue's state and the incoming packet that would overflow the queue + /// + public struct OnIncomingPacketQueueFullInfo : ICallbackInfo + { + /// + /// Client-specified data passed into AddNotifyIncomingPacketQueueFull + /// + public object ClientData { get; set; } + + /// + /// The maximum size in bytes the incoming packet queue is allowed to use + /// + public ulong PacketQueueMaxSizeBytes { get; set; } + + /// + /// The current size in bytes the incoming packet queue is currently using + /// + public ulong PacketQueueCurrentSizeBytes { get; set; } + + /// + /// The Product User ID of the local user who is receiving the packet that would overflow the queue + /// + public ProductUserId OverflowPacketLocalUserId { get; set; } + + /// + /// The channel the incoming packet is for + /// + public byte OverflowPacketChannel { get; set; } + + /// + /// The size in bytes of the incoming packet (and related metadata) that would overflow the queue + /// + public uint OverflowPacketSizeBytes { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnIncomingPacketQueueFullInfoInternal other) + { + ClientData = other.ClientData; + PacketQueueMaxSizeBytes = other.PacketQueueMaxSizeBytes; + PacketQueueCurrentSizeBytes = other.PacketQueueCurrentSizeBytes; + OverflowPacketLocalUserId = other.OverflowPacketLocalUserId; + OverflowPacketChannel = other.OverflowPacketChannel; + OverflowPacketSizeBytes = other.OverflowPacketSizeBytes; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnIncomingPacketQueueFullInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private ulong m_PacketQueueMaxSizeBytes; + private ulong m_PacketQueueCurrentSizeBytes; + private System.IntPtr m_OverflowPacketLocalUserId; + private byte m_OverflowPacketChannel; + private uint m_OverflowPacketSizeBytes; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ulong PacketQueueMaxSizeBytes + { + get + { + return m_PacketQueueMaxSizeBytes; + } + + set + { + m_PacketQueueMaxSizeBytes = value; + } + } + + public ulong PacketQueueCurrentSizeBytes + { + get + { + return m_PacketQueueCurrentSizeBytes; + } + + set + { + m_PacketQueueCurrentSizeBytes = value; + } + } + + public ProductUserId OverflowPacketLocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_OverflowPacketLocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_OverflowPacketLocalUserId); + } + } + + public byte OverflowPacketChannel + { + get + { + return m_OverflowPacketChannel; + } + + set + { + m_OverflowPacketChannel = value; + } + } + + public uint OverflowPacketSizeBytes + { + get + { + return m_OverflowPacketSizeBytes; + } + + set + { + m_OverflowPacketSizeBytes = value; + } + } + + public void Set(ref OnIncomingPacketQueueFullInfo other) + { + ClientData = other.ClientData; + PacketQueueMaxSizeBytes = other.PacketQueueMaxSizeBytes; + PacketQueueCurrentSizeBytes = other.PacketQueueCurrentSizeBytes; + OverflowPacketLocalUserId = other.OverflowPacketLocalUserId; + OverflowPacketChannel = other.OverflowPacketChannel; + OverflowPacketSizeBytes = other.OverflowPacketSizeBytes; + } + + public void Set(ref OnIncomingPacketQueueFullInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + PacketQueueMaxSizeBytes = other.Value.PacketQueueMaxSizeBytes; + PacketQueueCurrentSizeBytes = other.Value.PacketQueueCurrentSizeBytes; + OverflowPacketLocalUserId = other.Value.OverflowPacketLocalUserId; + OverflowPacketChannel = other.Value.OverflowPacketChannel; + OverflowPacketSizeBytes = other.Value.OverflowPacketSizeBytes; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_OverflowPacketLocalUserId); + } + + public void Get(out OnIncomingPacketQueueFullInfo output) + { + output = new OnIncomingPacketQueueFullInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullInfo.cs.meta deleted file mode 100644 index 9d4efecc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnIncomingPacketQueueFullInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a5c415ab073c97d49bf9851607da63c5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnPeerConnectionEstablishedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnPeerConnectionEstablishedCallback.cs new file mode 100644 index 00000000..80e5e213 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnPeerConnectionEstablishedCallback.cs @@ -0,0 +1,13 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Callback for information related to new connections being established + /// + public delegate void OnPeerConnectionEstablishedCallback(ref OnPeerConnectionEstablishedInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnPeerConnectionEstablishedCallbackInternal(ref OnPeerConnectionEstablishedInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnPeerConnectionEstablishedInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnPeerConnectionEstablishedInfo.cs new file mode 100644 index 00000000..18f7ad01 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnPeerConnectionEstablishedInfo.cs @@ -0,0 +1,198 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about a connection being established + /// + public struct OnPeerConnectionEstablishedInfo : ICallbackInfo + { + /// + /// Client-specified data passed into + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local user who is being notified of a connection being established + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the remote user who this connection was with + /// + public ProductUserId RemoteUserId { get; set; } + + /// + /// The socket ID of the connection being established + /// + public SocketId? SocketId { get; set; } + + /// + /// Information if this is a new connection or reconnection + /// + public ConnectionEstablishedType ConnectionType { get; set; } + + /// + /// What type of network connection is being used for this connection + /// + public NetworkConnectionType NetworkType { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnPeerConnectionEstablishedInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RemoteUserId = other.RemoteUserId; + SocketId = other.SocketId; + ConnectionType = other.ConnectionType; + NetworkType = other.NetworkType; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnPeerConnectionEstablishedInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RemoteUserId; + private System.IntPtr m_SocketId; + private ConnectionEstablishedType m_ConnectionType; + private NetworkConnectionType m_NetworkType; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId RemoteUserId + { + get + { + ProductUserId value; + Helper.Get(m_RemoteUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RemoteUserId); + } + } + + public SocketId? SocketId + { + get + { + SocketId? value; + Helper.Get(m_SocketId, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_SocketId); + } + } + + public ConnectionEstablishedType ConnectionType + { + get + { + return m_ConnectionType; + } + + set + { + m_ConnectionType = value; + } + } + + public NetworkConnectionType NetworkType + { + get + { + return m_NetworkType; + } + + set + { + m_NetworkType = value; + } + } + + public void Set(ref OnPeerConnectionEstablishedInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RemoteUserId = other.RemoteUserId; + SocketId = other.SocketId; + ConnectionType = other.ConnectionType; + NetworkType = other.NetworkType; + } + + public void Set(ref OnPeerConnectionEstablishedInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RemoteUserId = other.Value.RemoteUserId; + SocketId = other.Value.SocketId; + ConnectionType = other.Value.ConnectionType; + NetworkType = other.Value.NetworkType; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RemoteUserId); + Helper.Dispose(ref m_SocketId); + } + + public void Get(out OnPeerConnectionEstablishedInfo output) + { + output = new OnPeerConnectionEstablishedInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnPeerConnectionInterruptedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnPeerConnectionInterruptedCallback.cs new file mode 100644 index 00000000..370b85ae --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnPeerConnectionInterruptedCallback.cs @@ -0,0 +1,13 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Callback for information related to open connections that are interrupted. + /// + public delegate void OnPeerConnectionInterruptedCallback(ref OnPeerConnectionInterruptedInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnPeerConnectionInterruptedCallbackInternal(ref OnPeerConnectionInterruptedInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnPeerConnectionInterruptedInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnPeerConnectionInterruptedInfo.cs new file mode 100644 index 00000000..fbfb5a6e --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnPeerConnectionInterruptedInfo.cs @@ -0,0 +1,154 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about an connection request that is that was interrupted. + /// + public struct OnPeerConnectionInterruptedInfo : ICallbackInfo + { + /// + /// Client-specified data passed into + /// + public object ClientData { get; set; } + + /// + /// The local user who is being notified of a connection that was interrupted + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the remote user who this connection was with + /// + public ProductUserId RemoteUserId { get; set; } + + /// + /// The socket ID of the connection that was interrupted + /// + public SocketId? SocketId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnPeerConnectionInterruptedInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RemoteUserId = other.RemoteUserId; + SocketId = other.SocketId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnPeerConnectionInterruptedInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RemoteUserId; + private System.IntPtr m_SocketId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId RemoteUserId + { + get + { + ProductUserId value; + Helper.Get(m_RemoteUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RemoteUserId); + } + } + + public SocketId? SocketId + { + get + { + SocketId? value; + Helper.Get(m_SocketId, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_SocketId); + } + } + + public void Set(ref OnPeerConnectionInterruptedInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RemoteUserId = other.RemoteUserId; + SocketId = other.SocketId; + } + + public void Set(ref OnPeerConnectionInterruptedInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RemoteUserId = other.Value.RemoteUserId; + SocketId = other.Value.SocketId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RemoteUserId); + Helper.Dispose(ref m_SocketId); + } + + public void Get(out OnPeerConnectionInterruptedInfo output) + { + output = new OnPeerConnectionInterruptedInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteCallback.cs index 46851ae5..064cd894 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Callback for information related to our NAT type query completing. - /// - public delegate void OnQueryNATTypeCompleteCallback(OnQueryNATTypeCompleteInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryNATTypeCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Callback for information related to our NAT type query completing. + /// + public delegate void OnQueryNATTypeCompleteCallback(ref OnQueryNATTypeCompleteInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryNATTypeCompleteCallbackInternal(ref OnQueryNATTypeCompleteInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteCallback.cs.meta deleted file mode 100644 index 5496eff5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 70931d77010c24c4c8c016bbd0dac3d0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteInfo.cs index 4050e341..3816125e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteInfo.cs @@ -1,88 +1,123 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about the local network NAT type - /// - public class OnQueryNATTypeCompleteInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful query, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into - /// - public object ClientData { get; private set; } - - /// - /// The queried NAT type - /// - public NATType NATType { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(OnQueryNATTypeCompleteInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - NATType = other.Value.NATType; - } - } - - public void Set(object other) - { - Set(other as OnQueryNATTypeCompleteInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnQueryNATTypeCompleteInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private NATType m_NATType; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public NATType NATType - { - get - { - return m_NATType; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about the local network NAT type + /// + public struct OnQueryNATTypeCompleteInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful query, other codes indicate an error + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into + /// + public object ClientData { get; set; } + + /// + /// The queried NAT type + /// + public NATType NATType { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref OnQueryNATTypeCompleteInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + NATType = other.NATType; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnQueryNATTypeCompleteInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private NATType m_NATType; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public NATType NATType + { + get + { + return m_NATType; + } + + set + { + m_NATType = value; + } + } + + public void Set(ref OnQueryNATTypeCompleteInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + NATType = other.NATType; + } + + public void Set(ref OnQueryNATTypeCompleteInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + NATType = other.Value.NATType; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out OnQueryNATTypeCompleteInfo output) + { + output = new OnQueryNATTypeCompleteInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteInfo.cs.meta deleted file mode 100644 index b68bdb0b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnQueryNATTypeCompleteInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0b4b5b0eb5fd3a34590d6656cde28e19 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedCallback.cs index 4bd371ea..3337d558 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Callback for information related to open connections being closed. - /// - public delegate void OnRemoteConnectionClosedCallback(OnRemoteConnectionClosedInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnRemoteConnectionClosedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Callback for information related to open connections being closed. + /// + public delegate void OnRemoteConnectionClosedCallback(ref OnRemoteConnectionClosedInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnRemoteConnectionClosedCallbackInternal(ref OnRemoteConnectionClosedInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedCallback.cs.meta deleted file mode 100644 index 958cab78..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ca23518d1c09d9d4eb1b8046b80fdbbb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedInfo.cs index 4df0fdd8..debc81ec 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedInfo.cs @@ -1,124 +1,176 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about an connection request that is being closed. - /// - public class OnRemoteConnectionClosedInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into - /// - public object ClientData { get; private set; } - - /// - /// The local user who is being notified of a connection being closed - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The Product User ID of the remote user who this connection was with - /// - public ProductUserId RemoteUserId { get; private set; } - - /// - /// The socket ID of the connection being closed - /// - public SocketId SocketId { get; private set; } - - /// - /// The reason the connection was closed (if known) - /// - public ConnectionClosedReason Reason { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(OnRemoteConnectionClosedInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RemoteUserId = other.Value.RemoteUserId; - SocketId = other.Value.SocketId; - Reason = other.Value.Reason; - } - } - - public void Set(object other) - { - Set(other as OnRemoteConnectionClosedInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnRemoteConnectionClosedInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RemoteUserId; - private System.IntPtr m_SocketId; - private ConnectionClosedReason m_Reason; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public ProductUserId RemoteUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_RemoteUserId, out value); - return value; - } - } - - public SocketId SocketId - { - get - { - SocketId value; - Helper.TryMarshalGet(m_SocketId, out value); - return value; - } - } - - public ConnectionClosedReason Reason - { - get - { - return m_Reason; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about an connection request that is being closed. + /// + public struct OnRemoteConnectionClosedInfo : ICallbackInfo + { + /// + /// Client-specified data passed into + /// + public object ClientData { get; set; } + + /// + /// The local user who is being notified of a connection being closed + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the remote user who this connection was with + /// + public ProductUserId RemoteUserId { get; set; } + + /// + /// The socket ID of the connection being closed + /// + public SocketId? SocketId { get; set; } + + /// + /// The reason the connection was closed (if known) + /// + public ConnectionClosedReason Reason { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnRemoteConnectionClosedInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RemoteUserId = other.RemoteUserId; + SocketId = other.SocketId; + Reason = other.Reason; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnRemoteConnectionClosedInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RemoteUserId; + private System.IntPtr m_SocketId; + private ConnectionClosedReason m_Reason; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId RemoteUserId + { + get + { + ProductUserId value; + Helper.Get(m_RemoteUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RemoteUserId); + } + } + + public SocketId? SocketId + { + get + { + SocketId? value; + Helper.Get(m_SocketId, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_SocketId); + } + } + + public ConnectionClosedReason Reason + { + get + { + return m_Reason; + } + + set + { + m_Reason = value; + } + } + + public void Set(ref OnRemoteConnectionClosedInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RemoteUserId = other.RemoteUserId; + SocketId = other.SocketId; + Reason = other.Reason; + } + + public void Set(ref OnRemoteConnectionClosedInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RemoteUserId = other.Value.RemoteUserId; + SocketId = other.Value.SocketId; + Reason = other.Value.Reason; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RemoteUserId); + Helper.Dispose(ref m_SocketId); + } + + public void Get(out OnRemoteConnectionClosedInfo output) + { + output = new OnRemoteConnectionClosedInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedInfo.cs.meta deleted file mode 100644 index 9c696ddf..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/OnRemoteConnectionClosedInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0978d23d7bb799848b25e64e68a41efe -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/P2PInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/P2PInterface.cs index 6c830bac..2bcdccdb 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/P2PInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/P2PInterface.cs @@ -1,620 +1,797 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - public sealed partial class P2PInterface : Handle - { - public P2PInterface() - { - } - - public P2PInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int AcceptconnectionApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifyincomingpacketqueuefullApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifypeerconnectionclosedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifypeerconnectionrequestApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CloseconnectionApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CloseconnectionsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetnattypeApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetnextreceivedpacketsizeApiLatest = 2; - - /// - /// The most recent version of the API. - /// - public const int GetpacketqueueinfoApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetportrangeApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetrelaycontrolApiLatest = 1; - - /// - /// The maximum amount of unique Socket ID connections that can be opened with each remote user. As this limit is only per remote user, you may have more - /// than this number of Socket IDs across multiple remote users. - /// - public const int MaxConnections = 32; - - /// - /// A packet's maximum size in bytes - /// - public const int MaxPacketSize = 1170; - - /// - /// Helper constant to signify that the packet queue is allowed to grow indefinitely - /// - public const int MaxQueueSizeUnlimited = 0; - - /// - /// The most recent version of the API. - /// - public const int QuerynattypeApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int ReceivepacketApiLatest = 2; - - /// - /// The most recent version of the API. - /// - public const int SendpacketApiLatest = 2; - - /// - /// The most recent version of the API. - /// - public const int SetpacketqueuesizeApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SetportrangeApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SetrelaycontrolApiLatest = 1; - - /// - /// The most recent version of the structure. - /// - public const int SocketidApiLatest = 1; - - /// - /// Accept connections from a specific peer. If this peer has not attempted to connect yet, when they do, they will automatically be accepted. - /// - /// Information about who would like to accept a connection, and which connection - /// - /// :: - if the provided data is valid - /// :: - if the provided data is invalid - /// - public Result AcceptConnection(AcceptConnectionOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_P2P_AcceptConnection(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Listen for when our packet queue has become full. This event gives an opportunity to read packets to make - /// room for new incoming packets. If this event fires and no packets are read by calling - /// or the packet queue size is not increased by , any packets that are received after - /// this event are discarded until there is room again in the queue. - /// - /// Information about what version of the API is supported - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// The callback to be fired when the incoming packet queue is full - /// - /// A valid notification ID if successfully bound, or otherwise - /// - public ulong AddNotifyIncomingPacketQueueFull(AddNotifyIncomingPacketQueueFullOptions options, object clientData, OnIncomingPacketQueueFullCallback incomingPacketQueueFullHandler) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var incomingPacketQueueFullHandlerInternal = new OnIncomingPacketQueueFullCallbackInternal(OnIncomingPacketQueueFullCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, incomingPacketQueueFullHandler, incomingPacketQueueFullHandlerInternal); - - var funcResult = Bindings.EOS_P2P_AddNotifyIncomingPacketQueueFull(InnerHandle, optionsAddress, clientDataAddress, incomingPacketQueueFullHandlerInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Listen for when a previously opened connection is closed. - /// - /// Information about who would like notifications about closed connections, and for which socket - /// This value is returned to the caller when ConnectionClosedHandler is invoked - /// The callback to be fired when we an open connection has been closed - /// - /// A valid notification ID if successfully bound, or otherwise - /// - public ulong AddNotifyPeerConnectionClosed(AddNotifyPeerConnectionClosedOptions options, object clientData, OnRemoteConnectionClosedCallback connectionClosedHandler) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var connectionClosedHandlerInternal = new OnRemoteConnectionClosedCallbackInternal(OnRemoteConnectionClosedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, connectionClosedHandler, connectionClosedHandlerInternal); - - var funcResult = Bindings.EOS_P2P_AddNotifyPeerConnectionClosed(InnerHandle, optionsAddress, clientDataAddress, connectionClosedHandlerInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Listen for incoming connection requests on a particular Socket ID, or optionally all Socket IDs. The bound function - /// will only be called if the connection has not already been accepted. - /// - /// Information about who would like notifications, and (optionally) only for a specific socket - /// This value is returned to the caller when ConnectionRequestHandler is invoked - /// The callback to be fired when we receive a connection request - /// - /// A valid notification ID if successfully bound, or otherwise - /// - public ulong AddNotifyPeerConnectionRequest(AddNotifyPeerConnectionRequestOptions options, object clientData, OnIncomingConnectionRequestCallback connectionRequestHandler) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var connectionRequestHandlerInternal = new OnIncomingConnectionRequestCallbackInternal(OnIncomingConnectionRequestCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, connectionRequestHandler, connectionRequestHandlerInternal); - - var funcResult = Bindings.EOS_P2P_AddNotifyPeerConnectionRequest(InnerHandle, optionsAddress, clientDataAddress, connectionRequestHandlerInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Stop accepting new connections from a specific peer and close any open connections. - /// - /// Information about who would like to close a connection, and which connection. - /// - /// :: - if the provided data is valid - /// :: - if the provided data is invalid - /// - public Result CloseConnection(CloseConnectionOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_P2P_CloseConnection(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Close any open Connections for a specific Peer Connection ID. - /// - /// Information about who would like to close connections, and by what socket ID - /// - /// :: - if the provided data is valid - /// :: - if the provided data is invalid - /// - public Result CloseConnections(CloseConnectionsOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_P2P_CloseConnections(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Get our last-queried NAT-type, if it has been successfully queried. - /// - /// Information about what version of the API is supported - /// The queried NAT Type, or unknown if unknown - /// - /// :: - if we have cached data - /// :: - If we do not have queried data cached - /// - public Result GetNATType(GetNATTypeOptions options, out NATType outNATType) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - outNATType = Helper.GetDefault(); - - var funcResult = Bindings.EOS_P2P_GetNATType(InnerHandle, optionsAddress, ref outNATType); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Gets the size of the packet that will be returned by ReceivePacket for a particular user, if there is any available - /// packets to be retrieved. - /// - /// Information about who is requesting the size of their next packet - /// The amount of bytes required to store the data of the next packet for the requested user - /// - /// :: - If OutPacketSizeBytes was successfully set and there is data to be received - /// :: - If input was invalid - /// :: - If there are no packets available for the requesting user - /// - public Result GetNextReceivedPacketSize(GetNextReceivedPacketSizeOptions options, out uint outPacketSizeBytes) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - outPacketSizeBytes = Helper.GetDefault(); - - var funcResult = Bindings.EOS_P2P_GetNextReceivedPacketSize(InnerHandle, optionsAddress, ref outPacketSizeBytes); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Gets the current cached information related to the incoming and outgoing packet queues. - /// - /// Information about what version of the API is supported - /// The current information of the incoming and outgoing packet queues - /// - /// :: - if the input options were valid - /// :: - if the input was invalid in some way - /// - public Result GetPacketQueueInfo(GetPacketQueueInfoOptions options, out PacketQueueInfo outPacketQueueInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outPacketQueueInfoInternal = Helper.GetDefault(); - - var funcResult = Bindings.EOS_P2P_GetPacketQueueInfo(InnerHandle, optionsAddress, ref outPacketQueueInfoInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outPacketQueueInfoInternal, out outPacketQueueInfo); - - return funcResult; - } - - /// - /// Get the current chosen port and the amount of other ports to try above the chosen port if the chosen port is unavailable. - /// - /// Information about what version of the API is supported - /// The port that will be tried first - /// The amount of ports to try above the value in OutPort, if OutPort is unavailable - /// - /// :: - if the input options were valid - /// :: - if the input was invalid in some way - /// - public Result GetPortRange(GetPortRangeOptions options, out ushort outPort, out ushort outNumAdditionalPortsToTry) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - outPort = Helper.GetDefault(); - - outNumAdditionalPortsToTry = Helper.GetDefault(); - - var funcResult = Bindings.EOS_P2P_GetPortRange(InnerHandle, optionsAddress, ref outPort, ref outNumAdditionalPortsToTry); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Get the current relay control setting. - /// - /// Information about what version of the API is supported - /// The relay control setting currently configured - /// - /// :: - if the input was valid - /// :: - if the input was invalid in some way - /// - public Result GetRelayControl(GetRelayControlOptions options, out RelayControl outRelayControl) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - outRelayControl = Helper.GetDefault(); - - var funcResult = Bindings.EOS_P2P_GetRelayControl(InnerHandle, optionsAddress, ref outRelayControl); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Query the current NAT-type of our connection. - /// - /// Information about what version of the API is supported - /// arbitrary data that is passed back to you in the CompletionDelegate - /// The callback to be fired when we finish querying our NAT type - public void QueryNATType(QueryNATTypeOptions options, object clientData, OnQueryNATTypeCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryNATTypeCompleteCallbackInternal(OnQueryNATTypeCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_P2P_QueryNATType(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Receive the next packet for the local user, and information associated with this packet, if it exists. - /// - /// Information about who is requesting the size of their next packet, and how much data can be stored safely - /// The Remote User who sent data. Only set if there was a packet to receive. - /// The Socket ID of the data that was sent. Only set if there was a packet to receive. - /// The channel the data was sent on. Only set if there was a packet to receive. - /// Buffer to store the data being received. Must be at least in length or data will be truncated - /// The amount of bytes written to OutData. Only set if there was a packet to receive. - /// - /// :: - If the packet was received successfully - /// :: - If input was invalid - /// :: - If there are no packets available for the requesting user - /// - public Result ReceivePacket(ReceivePacketOptions options, out ProductUserId outPeerId, out SocketId outSocketId, out byte outChannel, out byte[] outData) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outPeerIdAddress = System.IntPtr.Zero; - - var outSocketIdInternal = Helper.GetDefault(); - - outChannel = Helper.GetDefault(); - - System.IntPtr outDataAddress = System.IntPtr.Zero; - uint outBytesWritten = MaxPacketSize; - Helper.TryMarshalAllocate(ref outDataAddress, outBytesWritten, out _); - - var funcResult = Bindings.EOS_P2P_ReceivePacket(InnerHandle, optionsAddress, ref outPeerIdAddress, ref outSocketIdInternal, ref outChannel, outDataAddress, ref outBytesWritten); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outPeerIdAddress, out outPeerId); - - Helper.TryMarshalGet(outSocketIdInternal, out outSocketId); - - Helper.TryMarshalGet(outDataAddress, out outData, outBytesWritten); - Helper.TryMarshalDispose(ref outDataAddress); - - return funcResult; - } - - /// - /// Stop listening for full incoming packet queue events on a previously bound handler. - /// - /// The previously bound notification ID - public void RemoveNotifyIncomingPacketQueueFull(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_P2P_RemoveNotifyIncomingPacketQueueFull(InnerHandle, notificationId); - } - - /// - /// Stop notifications for connections being closed on a previously bound handler. - /// - /// The previously bound notification ID - public void RemoveNotifyPeerConnectionClosed(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_P2P_RemoveNotifyPeerConnectionClosed(InnerHandle, notificationId); - } - - /// - /// Stop listening for connection requests on a previously bound handler. - /// - /// The previously bound notification ID - public void RemoveNotifyPeerConnectionRequest(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_P2P_RemoveNotifyPeerConnectionRequest(InnerHandle, notificationId); - } - - /// - /// Send a packet to a peer at the specified address. If there is already an open connection to this peer, it will be - /// sent immediately. If there is no open connection, an attempt to connect to the peer will be made. An - /// result only means the data was accepted to be sent, not that it has been successfully delivered to the peer. - /// - /// Information about the data being sent, by who, to who - /// - /// :: - If packet was queued to be sent successfully - /// :: - If input was invalid - /// :: - If amount of data being sent is too large, or the outgoing packet queue was full - /// - public Result SendPacket(SendPacketOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_P2P_SendPacket(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Sets the maximum packet queue sizes that packets waiting to be sent or received can use. If the packet queue - /// size is made smaller than the current queue size while there are packets in the queue that would push this - /// packet size over, existing packets are kept but new packets may not be added to the full queue until enough - /// packets are sent or received. - /// - /// Information about packet queue size - /// - /// :: - if the input options were valid - /// :: - if the input was invalid in some way - /// - public Result SetPacketQueueSize(SetPacketQueueSizeOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_P2P_SetPacketQueueSize(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set configuration options related to network ports. - /// - /// Information about network ports config options - /// - /// :: - if the options were set successfully - /// :: - if the options are invalid in some way - /// - public Result SetPortRange(SetPortRangeOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_P2P_SetPortRange(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set how relay servers are to be used. This setting does not immediately apply to existing connections, but may apply to existing - /// connections if the connection requires renegotiation. - /// - /// Information about relay server config options - /// - /// :: - if the options were set successfully - /// :: - if the options are invalid in some way - /// - public Result SetRelayControl(SetRelayControlOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_P2P_SetRelayControl(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - [MonoPInvokeCallback(typeof(OnIncomingConnectionRequestCallbackInternal))] - internal static void OnIncomingConnectionRequestCallbackInternalImplementation(System.IntPtr data) - { - OnIncomingConnectionRequestCallback callback; - OnIncomingConnectionRequestInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnIncomingPacketQueueFullCallbackInternal))] - internal static void OnIncomingPacketQueueFullCallbackInternalImplementation(System.IntPtr data) - { - OnIncomingPacketQueueFullCallback callback; - OnIncomingPacketQueueFullInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryNATTypeCompleteCallbackInternal))] - internal static void OnQueryNATTypeCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnQueryNATTypeCompleteCallback callback; - OnQueryNATTypeCompleteInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnRemoteConnectionClosedCallbackInternal))] - internal static void OnRemoteConnectionClosedCallbackInternalImplementation(System.IntPtr data) - { - OnRemoteConnectionClosedCallback callback; - OnRemoteConnectionClosedInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + public sealed partial class P2PInterface : Handle + { + public P2PInterface() + { + } + + public P2PInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int AcceptconnectionApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifyincomingpacketqueuefullApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifypeerconnectionclosedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifypeerconnectionestablishedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifypeerconnectioninterruptedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifypeerconnectionrequestApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int ClearpacketqueueApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CloseconnectionApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CloseconnectionsApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetnattypeApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetnextreceivedpacketsizeApiLatest = 2; + + /// + /// The most recent version of the API. + /// + public const int GetpacketqueueinfoApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetportrangeApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetrelaycontrolApiLatest = 1; + + /// + /// The maximum amount of unique Socket ID connections that can be opened with each remote user. As this limit is only per remote user, you may have more + /// than this number of Socket IDs across multiple remote users. + /// + public const int MaxConnections = 32; + + /// + /// A packet's maximum size in bytes + /// + public const int MaxPacketSize = 1170; + + /// + /// Helper constant to signify that the packet queue is allowed to grow indefinitely + /// + public const int MaxQueueSizeUnlimited = 0; + + /// + /// The most recent version of the API. + /// + public const int QuerynattypeApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int ReceivepacketApiLatest = 2; + + /// + /// The most recent version of the API. + /// + public const int SendpacketApiLatest = 3; + + /// + /// The most recent version of the API. + /// + public const int SetpacketqueuesizeApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SetportrangeApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SetrelaycontrolApiLatest = 1; + + /// + /// The most recent version of the structure. + /// + public const int SocketidApiLatest = 1; + + /// + /// The total buffer size of a SocketName, including space for the null-terminator + /// + public const int SocketidSocketnameSize = 33; + + /// + /// Accept or Request a connection with a specific peer on a specific Socket ID. + /// + /// If this connection was not already locally accepted, we will securely message the peer, and trigger a PeerConnectionRequest notification notifying + /// them of the connection request. If the PeerConnectionRequest notification is not bound for all Socket IDs or for the requested Socket ID in particular, + /// the request will be silently ignored. + /// + /// If the remote peer accepts the connection, a notification will be broadcast to the when the connection is + /// ready to send packets. + /// + /// If multiple Socket IDs are accepted with one peer, they will share one physical socket. + /// + /// Even if a connection is already locally accepted, will still be returned if the input was valid. + /// + /// Information about who would like to accept a connection, and which connection + /// + /// - if the provided data is valid + /// - if the provided data is invalid + /// + public Result AcceptConnection(ref AcceptConnectionOptions options) + { + AcceptConnectionOptionsInternal optionsInternal = new AcceptConnectionOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_P2P_AcceptConnection(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Listen for when our packet queue has become full. This event gives an opportunity to read packets to make + /// room for new incoming packets. If this event fires and no packets are read by calling + /// or the packet queue size is not increased by , any packets that are received after + /// this event are discarded until there is room again in the queue. + /// + /// Information about what version of the API is supported + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// The callback to be fired when the incoming packet queue is full + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyIncomingPacketQueueFull(ref AddNotifyIncomingPacketQueueFullOptions options, object clientData, OnIncomingPacketQueueFullCallback incomingPacketQueueFullHandler) + { + AddNotifyIncomingPacketQueueFullOptionsInternal optionsInternal = new AddNotifyIncomingPacketQueueFullOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var incomingPacketQueueFullHandlerInternal = new OnIncomingPacketQueueFullCallbackInternal(OnIncomingPacketQueueFullCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, incomingPacketQueueFullHandler, incomingPacketQueueFullHandlerInternal); + + var funcResult = Bindings.EOS_P2P_AddNotifyIncomingPacketQueueFull(InnerHandle, ref optionsInternal, clientDataAddress, incomingPacketQueueFullHandlerInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Listen for when a previously opened connection is closed. + /// + /// + /// + /// + /// Information about who would like notifications about closed connections, and for which socket + /// This value is returned to the caller when ConnectionClosedHandler is invoked + /// The callback to be fired when an open connection has been closed + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyPeerConnectionClosed(ref AddNotifyPeerConnectionClosedOptions options, object clientData, OnRemoteConnectionClosedCallback connectionClosedHandler) + { + AddNotifyPeerConnectionClosedOptionsInternal optionsInternal = new AddNotifyPeerConnectionClosedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var connectionClosedHandlerInternal = new OnRemoteConnectionClosedCallbackInternal(OnRemoteConnectionClosedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, connectionClosedHandler, connectionClosedHandlerInternal); + + var funcResult = Bindings.EOS_P2P_AddNotifyPeerConnectionClosed(InnerHandle, ref optionsInternal, clientDataAddress, connectionClosedHandlerInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Listen for when a connection is established. This is fired when we first connect to a peer, when we reconnect to a peer after a connection interruption, + /// and when our underlying network connection type changes (for example, from a direct connection to relay, or vice versa). Network Connection Type changes + /// will always be broadcast with a connection type, even if the connection was not interrupted. + /// + /// + /// + /// + /// Information about who would like notifications about established connections, and for which socket + /// This value is returned to the caller when ConnectionEstablishedHandler is invoked + /// The callback to be fired when a connection has been established + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyPeerConnectionEstablished(ref AddNotifyPeerConnectionEstablishedOptions options, object clientData, OnPeerConnectionEstablishedCallback connectionEstablishedHandler) + { + AddNotifyPeerConnectionEstablishedOptionsInternal optionsInternal = new AddNotifyPeerConnectionEstablishedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var connectionEstablishedHandlerInternal = new OnPeerConnectionEstablishedCallbackInternal(OnPeerConnectionEstablishedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, connectionEstablishedHandler, connectionEstablishedHandlerInternal); + + var funcResult = Bindings.EOS_P2P_AddNotifyPeerConnectionEstablished(InnerHandle, ref optionsInternal, clientDataAddress, connectionEstablishedHandlerInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Listen for when a previously opened connection is interrupted. The connection will automatically attempt to reestablish, but it may not be successful. + /// + /// If a connection reconnects, it will trigger the P2P PeerConnectionEstablished notification with the connection type. + /// If a connection fails to reconnect, it will trigger the P2P PeerConnectionClosed notification. + /// + /// + /// + /// + /// Information about who would like notifications about interrupted connections, and for which socket + /// This value is returned to the caller when ConnectionInterruptedHandler is invoked + /// The callback to be fired when an open connection has been interrupted + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyPeerConnectionInterrupted(ref AddNotifyPeerConnectionInterruptedOptions options, object clientData, OnPeerConnectionInterruptedCallback connectionInterruptedHandler) + { + AddNotifyPeerConnectionInterruptedOptionsInternal optionsInternal = new AddNotifyPeerConnectionInterruptedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var connectionInterruptedHandlerInternal = new OnPeerConnectionInterruptedCallbackInternal(OnPeerConnectionInterruptedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, connectionInterruptedHandler, connectionInterruptedHandlerInternal); + + var funcResult = Bindings.EOS_P2P_AddNotifyPeerConnectionInterrupted(InnerHandle, ref optionsInternal, clientDataAddress, connectionInterruptedHandlerInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Listen for incoming connection requests on a particular Socket ID, or optionally all Socket IDs. The bound function + /// will only be called if the connection has not already been accepted. + /// + /// + /// Information about who would like notifications, and (optionally) only for a specific socket + /// This value is returned to the caller when ConnectionRequestHandler is invoked + /// The callback to be fired when we receive a connection request + /// + /// A valid notification ID if successfully bound, or otherwise + /// + public ulong AddNotifyPeerConnectionRequest(ref AddNotifyPeerConnectionRequestOptions options, object clientData, OnIncomingConnectionRequestCallback connectionRequestHandler) + { + AddNotifyPeerConnectionRequestOptionsInternal optionsInternal = new AddNotifyPeerConnectionRequestOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var connectionRequestHandlerInternal = new OnIncomingConnectionRequestCallbackInternal(OnIncomingConnectionRequestCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, connectionRequestHandler, connectionRequestHandlerInternal); + + var funcResult = Bindings.EOS_P2P_AddNotifyPeerConnectionRequest(InnerHandle, ref optionsInternal, clientDataAddress, connectionRequestHandlerInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Clear queued incoming and outgoing packets. + /// + /// Information about which queues should be cleared + /// + /// - if the input options were valid (even if queues were empty and no packets where cleared) + /// - if wrong API version + /// - if an invalid/remote user was used + /// - if input was invalid in other way + /// + public Result ClearPacketQueue(ref ClearPacketQueueOptions options) + { + ClearPacketQueueOptionsInternal optionsInternal = new ClearPacketQueueOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_P2P_ClearPacketQueue(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// For all (or optionally one specific) Socket ID(s) with a specific peer: stop receiving packets, drop any locally queued packets, and if no other + /// Socket ID is using the connection with the peer, close the underlying connection. + /// + /// If your application wants to migrate an existing connection with a peer it already connected to, it is recommended to call + /// with the new Socket ID first before calling , to prevent the shared physical socket from being torn down prematurely. + /// + /// Information about who would like to close a connection, and which connection. + /// + /// - if the provided data is valid + /// - if the provided data is invalid + /// + public Result CloseConnection(ref CloseConnectionOptions options) + { + CloseConnectionOptionsInternal optionsInternal = new CloseConnectionOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_P2P_CloseConnection(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Close any open Connections for a specific Peer Connection ID. + /// + /// Information about who would like to close connections, and by what socket ID + /// + /// - if the provided data is valid + /// - if the provided data is invalid + /// + public Result CloseConnections(ref CloseConnectionsOptions options) + { + CloseConnectionsOptionsInternal optionsInternal = new CloseConnectionsOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_P2P_CloseConnections(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Get our last-queried NAT-type, if it has been successfully queried. + /// + /// Information about what version of the API is supported + /// The queried NAT Type, or unknown if unknown + /// + /// - if we have cached data + /// - If we do not have queried data cached + /// + public Result GetNATType(ref GetNATTypeOptions options, out NATType outNATType) + { + GetNATTypeOptionsInternal optionsInternal = new GetNATTypeOptionsInternal(); + optionsInternal.Set(ref options); + + outNATType = Helper.GetDefault(); + + var funcResult = Bindings.EOS_P2P_GetNATType(InnerHandle, ref optionsInternal, ref outNATType); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Gets the size of the packet that will be returned by ReceivePacket for a particular user, if there is any available + /// packets to be retrieved. + /// + /// Information about who is requesting the size of their next packet + /// The amount of bytes required to store the data of the next packet for the requested user + /// + /// - If OutPacketSizeBytes was successfully set and there is data to be received + /// - If input was invalid + /// - If there are no packets available for the requesting user + /// + public Result GetNextReceivedPacketSize(ref GetNextReceivedPacketSizeOptions options, out uint outPacketSizeBytes) + { + GetNextReceivedPacketSizeOptionsInternal optionsInternal = new GetNextReceivedPacketSizeOptionsInternal(); + optionsInternal.Set(ref options); + + outPacketSizeBytes = Helper.GetDefault(); + + var funcResult = Bindings.EOS_P2P_GetNextReceivedPacketSize(InnerHandle, ref optionsInternal, ref outPacketSizeBytes); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Gets the current cached information related to the incoming and outgoing packet queues. + /// + /// Information about what version of the API is supported + /// The current information of the incoming and outgoing packet queues + /// + /// - if the input options were valid + /// - if the input was invalid in some way + /// + public Result GetPacketQueueInfo(ref GetPacketQueueInfoOptions options, out PacketQueueInfo outPacketQueueInfo) + { + GetPacketQueueInfoOptionsInternal optionsInternal = new GetPacketQueueInfoOptionsInternal(); + optionsInternal.Set(ref options); + + var outPacketQueueInfoInternal = Helper.GetDefault(); + + var funcResult = Bindings.EOS_P2P_GetPacketQueueInfo(InnerHandle, ref optionsInternal, ref outPacketQueueInfoInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(ref outPacketQueueInfoInternal, out outPacketQueueInfo); + + return funcResult; + } + + /// + /// Get the current chosen port and the amount of other ports to try above the chosen port if the chosen port is unavailable. + /// + /// Information about what version of the API is supported + /// The port that will be tried first + /// The amount of ports to try above the value in OutPort, if OutPort is unavailable + /// + /// - if the input options were valid + /// - if the input was invalid in some way + /// + public Result GetPortRange(ref GetPortRangeOptions options, out ushort outPort, out ushort outNumAdditionalPortsToTry) + { + GetPortRangeOptionsInternal optionsInternal = new GetPortRangeOptionsInternal(); + optionsInternal.Set(ref options); + + outPort = Helper.GetDefault(); + + outNumAdditionalPortsToTry = Helper.GetDefault(); + + var funcResult = Bindings.EOS_P2P_GetPortRange(InnerHandle, ref optionsInternal, ref outPort, ref outNumAdditionalPortsToTry); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Get the current relay control setting. + /// + /// Information about what version of the API is supported + /// The relay control setting currently configured + /// + /// - if the input was valid + /// - if the input was invalid in some way + /// + public Result GetRelayControl(ref GetRelayControlOptions options, out RelayControl outRelayControl) + { + GetRelayControlOptionsInternal optionsInternal = new GetRelayControlOptionsInternal(); + optionsInternal.Set(ref options); + + outRelayControl = Helper.GetDefault(); + + var funcResult = Bindings.EOS_P2P_GetRelayControl(InnerHandle, ref optionsInternal, ref outRelayControl); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Query the current NAT-type of our connection. + /// + /// Information about what version of the API is supported + /// arbitrary data that is passed back to you in the CompletionDelegate + /// The callback to be fired when we finish querying our NAT type + public void QueryNATType(ref QueryNATTypeOptions options, object clientData, OnQueryNATTypeCompleteCallback completionDelegate) + { + QueryNATTypeOptionsInternal optionsInternal = new QueryNATTypeOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryNATTypeCompleteCallbackInternal(OnQueryNATTypeCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_P2P_QueryNATType(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Receive the next packet for the local user, and information associated with this packet, if it exists. + /// + /// + /// Information about who is requesting the size of their next packet, and how much data can be stored safely + /// The Remote User who sent data. Only set if there was a packet to receive. + /// The Socket ID of the data that was sent. Only set if there was a packet to receive. + /// The channel the data was sent on. Only set if there was a packet to receive. + /// Buffer to store the data being received. Must be at least in length or data will be truncated + /// The amount of bytes written to OutData. Only set if there was a packet to receive. + /// + /// - If the packet was received successfully + /// - If input was invalid + /// - If there are no packets available for the requesting user + /// + public Result ReceivePacket(ref ReceivePacketOptions options, out ProductUserId outPeerId, out SocketId outSocketId, out byte outChannel, System.ArraySegment outData, out uint outBytesWritten) + { + ReceivePacketOptionsInternal optionsInternal = new ReceivePacketOptionsInternal(); + optionsInternal.Set(ref options); + + var outPeerIdAddress = System.IntPtr.Zero; + + var outSocketIdInternal = Helper.GetDefault(); + + outChannel = Helper.GetDefault(); + + outBytesWritten = 0; + System.IntPtr outDataAddress = Helper.AddPinnedBuffer(outData); + + var funcResult = Bindings.EOS_P2P_ReceivePacket(InnerHandle, ref optionsInternal, ref outPeerIdAddress, ref outSocketIdInternal, ref outChannel, outDataAddress, ref outBytesWritten); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outPeerIdAddress, out outPeerId); + + Helper.Get(ref outSocketIdInternal, out outSocketId); + + Helper.Dispose(ref outDataAddress); + + return funcResult; + } + + /// + /// Stop listening for full incoming packet queue events on a previously bound handler. + /// + /// The previously bound notification ID + public void RemoveNotifyIncomingPacketQueueFull(ulong notificationId) + { + Bindings.EOS_P2P_RemoveNotifyIncomingPacketQueueFull(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Stop notifications for connections being closed on a previously bound handler. + /// + /// + /// The previously bound notification ID + public void RemoveNotifyPeerConnectionClosed(ulong notificationId) + { + Bindings.EOS_P2P_RemoveNotifyPeerConnectionClosed(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Stop notifications for connections being established on a previously bound handler. + /// + /// + /// The previously bound notification ID + public void RemoveNotifyPeerConnectionEstablished(ulong notificationId) + { + Bindings.EOS_P2P_RemoveNotifyPeerConnectionEstablished(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Stop notifications for connections being interrupted on a previously bound handler. + /// + /// + /// The previously bound notification ID + public void RemoveNotifyPeerConnectionInterrupted(ulong notificationId) + { + Bindings.EOS_P2P_RemoveNotifyPeerConnectionInterrupted(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Stop listening for connection requests on a previously bound handler. + /// + /// + /// The previously bound notification ID + public void RemoveNotifyPeerConnectionRequest(ulong notificationId) + { + Bindings.EOS_P2P_RemoveNotifyPeerConnectionRequest(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Send a packet to a peer at the specified address. If there is already an open connection to this peer, it will be + /// sent immediately. If there is no open connection, an attempt to connect to the peer will be made. An + /// result only means the data was accepted to be sent, not that it has been successfully delivered to the peer. + /// + /// Information about the data being sent, by who, to who + /// + /// - If packet was queued to be sent successfully + /// - If input was invalid + /// - If amount of data being sent is too large, or the outgoing packet queue was full + /// - If bDisableAutoAcceptConnection was set to and the connection was not currently accepted (call first, or set bDisableAutoAcceptConnection to ) + /// + public Result SendPacket(ref SendPacketOptions options) + { + SendPacketOptionsInternal optionsInternal = new SendPacketOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_P2P_SendPacket(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Sets the maximum packet queue sizes that packets waiting to be sent or received can use. If the packet queue + /// size is made smaller than the current queue size while there are packets in the queue that would push this + /// packet size over, existing packets are kept but new packets may not be added to the full queue until enough + /// packets are sent or received. + /// + /// Information about packet queue size + /// + /// - if the input options were valid + /// - if the input was invalid in some way + /// + public Result SetPacketQueueSize(ref SetPacketQueueSizeOptions options) + { + SetPacketQueueSizeOptionsInternal optionsInternal = new SetPacketQueueSizeOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_P2P_SetPacketQueueSize(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set configuration options related to network ports. + /// + /// Information about network ports config options + /// + /// - if the options were set successfully + /// - if the options are invalid in some way + /// + public Result SetPortRange(ref SetPortRangeOptions options) + { + SetPortRangeOptionsInternal optionsInternal = new SetPortRangeOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_P2P_SetPortRange(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set how relay servers are to be used. This setting does not immediately apply to existing connections, but may apply to existing + /// connections if the connection requires renegotiation. + /// + /// + /// Information about relay server config options + /// + /// - if the options were set successfully + /// - if the options are invalid in some way + /// + public Result SetRelayControl(ref SetRelayControlOptions options) + { + SetRelayControlOptionsInternal optionsInternal = new SetRelayControlOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_P2P_SetRelayControl(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + [MonoPInvokeCallback(typeof(OnIncomingConnectionRequestCallbackInternal))] + internal static void OnIncomingConnectionRequestCallbackInternalImplementation(ref OnIncomingConnectionRequestInfoInternal data) + { + OnIncomingConnectionRequestCallback callback; + OnIncomingConnectionRequestInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnIncomingPacketQueueFullCallbackInternal))] + internal static void OnIncomingPacketQueueFullCallbackInternalImplementation(ref OnIncomingPacketQueueFullInfoInternal data) + { + OnIncomingPacketQueueFullCallback callback; + OnIncomingPacketQueueFullInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnPeerConnectionEstablishedCallbackInternal))] + internal static void OnPeerConnectionEstablishedCallbackInternalImplementation(ref OnPeerConnectionEstablishedInfoInternal data) + { + OnPeerConnectionEstablishedCallback callback; + OnPeerConnectionEstablishedInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnPeerConnectionInterruptedCallbackInternal))] + internal static void OnPeerConnectionInterruptedCallbackInternalImplementation(ref OnPeerConnectionInterruptedInfoInternal data) + { + OnPeerConnectionInterruptedCallback callback; + OnPeerConnectionInterruptedInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryNATTypeCompleteCallbackInternal))] + internal static void OnQueryNATTypeCompleteCallbackInternalImplementation(ref OnQueryNATTypeCompleteInfoInternal data) + { + OnQueryNATTypeCompleteCallback callback; + OnQueryNATTypeCompleteInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnRemoteConnectionClosedCallbackInternal))] + internal static void OnRemoteConnectionClosedCallbackInternalImplementation(ref OnRemoteConnectionClosedInfoInternal data) + { + OnRemoteConnectionClosedCallback callback; + OnRemoteConnectionClosedInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/P2PInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/P2PInterface.cs.meta deleted file mode 100644 index 0d44034b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/P2PInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d38de2a3b2093e04f94902c5ce27da96 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketQueueInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketQueueInfo.cs index aa9b67d3..c3539c2c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketQueueInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketQueueInfo.cs @@ -1,172 +1,175 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Information related to the current state of the packet queues. It is possible for the current size - /// to be larger than the maximum size if the maximum size changes or if the maximum queue size is - /// set to . - /// - public class PacketQueueInfo : ISettable - { - /// - /// The maximum size in bytes of the incoming packet queue - /// - public ulong IncomingPacketQueueMaxSizeBytes { get; set; } - - /// - /// The current size in bytes of the incoming packet queue - /// - public ulong IncomingPacketQueueCurrentSizeBytes { get; set; } - - /// - /// The current number of queued packets in the incoming packet queue - /// - public ulong IncomingPacketQueueCurrentPacketCount { get; set; } - - /// - /// The maximum size in bytes of the outgoing packet queue - /// - public ulong OutgoingPacketQueueMaxSizeBytes { get; set; } - - /// - /// The current size in bytes of the outgoing packet queue - /// - public ulong OutgoingPacketQueueCurrentSizeBytes { get; set; } - - /// - /// The current amount of queued packets in the outgoing packet queue - /// - public ulong OutgoingPacketQueueCurrentPacketCount { get; set; } - - internal void Set(PacketQueueInfoInternal? other) - { - if (other != null) - { - IncomingPacketQueueMaxSizeBytes = other.Value.IncomingPacketQueueMaxSizeBytes; - IncomingPacketQueueCurrentSizeBytes = other.Value.IncomingPacketQueueCurrentSizeBytes; - IncomingPacketQueueCurrentPacketCount = other.Value.IncomingPacketQueueCurrentPacketCount; - OutgoingPacketQueueMaxSizeBytes = other.Value.OutgoingPacketQueueMaxSizeBytes; - OutgoingPacketQueueCurrentSizeBytes = other.Value.OutgoingPacketQueueCurrentSizeBytes; - OutgoingPacketQueueCurrentPacketCount = other.Value.OutgoingPacketQueueCurrentPacketCount; - } - } - - public void Set(object other) - { - Set(other as PacketQueueInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PacketQueueInfoInternal : ISettable, System.IDisposable - { - private ulong m_IncomingPacketQueueMaxSizeBytes; - private ulong m_IncomingPacketQueueCurrentSizeBytes; - private ulong m_IncomingPacketQueueCurrentPacketCount; - private ulong m_OutgoingPacketQueueMaxSizeBytes; - private ulong m_OutgoingPacketQueueCurrentSizeBytes; - private ulong m_OutgoingPacketQueueCurrentPacketCount; - - public ulong IncomingPacketQueueMaxSizeBytes - { - get - { - return m_IncomingPacketQueueMaxSizeBytes; - } - - set - { - m_IncomingPacketQueueMaxSizeBytes = value; - } - } - - public ulong IncomingPacketQueueCurrentSizeBytes - { - get - { - return m_IncomingPacketQueueCurrentSizeBytes; - } - - set - { - m_IncomingPacketQueueCurrentSizeBytes = value; - } - } - - public ulong IncomingPacketQueueCurrentPacketCount - { - get - { - return m_IncomingPacketQueueCurrentPacketCount; - } - - set - { - m_IncomingPacketQueueCurrentPacketCount = value; - } - } - - public ulong OutgoingPacketQueueMaxSizeBytes - { - get - { - return m_OutgoingPacketQueueMaxSizeBytes; - } - - set - { - m_OutgoingPacketQueueMaxSizeBytes = value; - } - } - - public ulong OutgoingPacketQueueCurrentSizeBytes - { - get - { - return m_OutgoingPacketQueueCurrentSizeBytes; - } - - set - { - m_OutgoingPacketQueueCurrentSizeBytes = value; - } - } - - public ulong OutgoingPacketQueueCurrentPacketCount - { - get - { - return m_OutgoingPacketQueueCurrentPacketCount; - } - - set - { - m_OutgoingPacketQueueCurrentPacketCount = value; - } - } - - public void Set(PacketQueueInfo other) - { - if (other != null) - { - IncomingPacketQueueMaxSizeBytes = other.IncomingPacketQueueMaxSizeBytes; - IncomingPacketQueueCurrentSizeBytes = other.IncomingPacketQueueCurrentSizeBytes; - IncomingPacketQueueCurrentPacketCount = other.IncomingPacketQueueCurrentPacketCount; - OutgoingPacketQueueMaxSizeBytes = other.OutgoingPacketQueueMaxSizeBytes; - OutgoingPacketQueueCurrentSizeBytes = other.OutgoingPacketQueueCurrentSizeBytes; - OutgoingPacketQueueCurrentPacketCount = other.OutgoingPacketQueueCurrentPacketCount; - } - } - - public void Set(object other) - { - Set(other as PacketQueueInfo); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Information related to the current state of the packet queues. It is possible for the current size + /// to be larger than the maximum size if the maximum size changes or if the maximum queue size is + /// set to . + /// + public struct PacketQueueInfo + { + /// + /// The maximum size in bytes of the incoming packet queue + /// + public ulong IncomingPacketQueueMaxSizeBytes { get; set; } + + /// + /// The current size in bytes of the incoming packet queue + /// + public ulong IncomingPacketQueueCurrentSizeBytes { get; set; } + + /// + /// The current number of queued packets in the incoming packet queue + /// + public ulong IncomingPacketQueueCurrentPacketCount { get; set; } + + /// + /// The maximum size in bytes of the outgoing packet queue + /// + public ulong OutgoingPacketQueueMaxSizeBytes { get; set; } + + /// + /// The current size in bytes of the outgoing packet queue + /// + public ulong OutgoingPacketQueueCurrentSizeBytes { get; set; } + + /// + /// The current amount of queued packets in the outgoing packet queue + /// + public ulong OutgoingPacketQueueCurrentPacketCount { get; set; } + + internal void Set(ref PacketQueueInfoInternal other) + { + IncomingPacketQueueMaxSizeBytes = other.IncomingPacketQueueMaxSizeBytes; + IncomingPacketQueueCurrentSizeBytes = other.IncomingPacketQueueCurrentSizeBytes; + IncomingPacketQueueCurrentPacketCount = other.IncomingPacketQueueCurrentPacketCount; + OutgoingPacketQueueMaxSizeBytes = other.OutgoingPacketQueueMaxSizeBytes; + OutgoingPacketQueueCurrentSizeBytes = other.OutgoingPacketQueueCurrentSizeBytes; + OutgoingPacketQueueCurrentPacketCount = other.OutgoingPacketQueueCurrentPacketCount; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PacketQueueInfoInternal : IGettable, ISettable, System.IDisposable + { + private ulong m_IncomingPacketQueueMaxSizeBytes; + private ulong m_IncomingPacketQueueCurrentSizeBytes; + private ulong m_IncomingPacketQueueCurrentPacketCount; + private ulong m_OutgoingPacketQueueMaxSizeBytes; + private ulong m_OutgoingPacketQueueCurrentSizeBytes; + private ulong m_OutgoingPacketQueueCurrentPacketCount; + + public ulong IncomingPacketQueueMaxSizeBytes + { + get + { + return m_IncomingPacketQueueMaxSizeBytes; + } + + set + { + m_IncomingPacketQueueMaxSizeBytes = value; + } + } + + public ulong IncomingPacketQueueCurrentSizeBytes + { + get + { + return m_IncomingPacketQueueCurrentSizeBytes; + } + + set + { + m_IncomingPacketQueueCurrentSizeBytes = value; + } + } + + public ulong IncomingPacketQueueCurrentPacketCount + { + get + { + return m_IncomingPacketQueueCurrentPacketCount; + } + + set + { + m_IncomingPacketQueueCurrentPacketCount = value; + } + } + + public ulong OutgoingPacketQueueMaxSizeBytes + { + get + { + return m_OutgoingPacketQueueMaxSizeBytes; + } + + set + { + m_OutgoingPacketQueueMaxSizeBytes = value; + } + } + + public ulong OutgoingPacketQueueCurrentSizeBytes + { + get + { + return m_OutgoingPacketQueueCurrentSizeBytes; + } + + set + { + m_OutgoingPacketQueueCurrentSizeBytes = value; + } + } + + public ulong OutgoingPacketQueueCurrentPacketCount + { + get + { + return m_OutgoingPacketQueueCurrentPacketCount; + } + + set + { + m_OutgoingPacketQueueCurrentPacketCount = value; + } + } + + public void Set(ref PacketQueueInfo other) + { + IncomingPacketQueueMaxSizeBytes = other.IncomingPacketQueueMaxSizeBytes; + IncomingPacketQueueCurrentSizeBytes = other.IncomingPacketQueueCurrentSizeBytes; + IncomingPacketQueueCurrentPacketCount = other.IncomingPacketQueueCurrentPacketCount; + OutgoingPacketQueueMaxSizeBytes = other.OutgoingPacketQueueMaxSizeBytes; + OutgoingPacketQueueCurrentSizeBytes = other.OutgoingPacketQueueCurrentSizeBytes; + OutgoingPacketQueueCurrentPacketCount = other.OutgoingPacketQueueCurrentPacketCount; + } + + public void Set(ref PacketQueueInfo? other) + { + if (other.HasValue) + { + IncomingPacketQueueMaxSizeBytes = other.Value.IncomingPacketQueueMaxSizeBytes; + IncomingPacketQueueCurrentSizeBytes = other.Value.IncomingPacketQueueCurrentSizeBytes; + IncomingPacketQueueCurrentPacketCount = other.Value.IncomingPacketQueueCurrentPacketCount; + OutgoingPacketQueueMaxSizeBytes = other.Value.OutgoingPacketQueueMaxSizeBytes; + OutgoingPacketQueueCurrentSizeBytes = other.Value.OutgoingPacketQueueCurrentSizeBytes; + OutgoingPacketQueueCurrentPacketCount = other.Value.OutgoingPacketQueueCurrentPacketCount; + } + } + + public void Dispose() + { + } + + public void Get(out PacketQueueInfo output) + { + output = new PacketQueueInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketQueueInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketQueueInfo.cs.meta deleted file mode 100644 index f65b0df9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketQueueInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 579b9017d0238a24a95136c8bdab350b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketReliability.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketReliability.cs index 0f27c48f..61148559 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketReliability.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketReliability.cs @@ -1,27 +1,27 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Types of packet reliability. - /// - /// Ordered packets will only be ordered relative to other ordered packets. Reliable/unreliable and ordered/unordered communication - /// can be sent on the same Socket ID and Channel. - /// - public enum PacketReliability : int - { - /// - /// Packets will only be sent once and may be received out of order - /// - UnreliableUnordered = 0, - /// - /// Packets may be sent multiple times and may be received out of order - /// - ReliableUnordered = 1, - /// - /// Packets may be sent multiple times and will be received in order - /// - ReliableOrdered = 2 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Types of packet reliability. + /// + /// Ordered packets will only be ordered relative to other ordered packets. Reliable/unreliable and ordered/unordered communication + /// can be sent on the same Socket ID and Channel. + /// + public enum PacketReliability : int + { + /// + /// Packets will only be sent once and may be received out of order + /// + UnreliableUnordered = 0, + /// + /// Packets may be sent multiple times and may be received out of order + /// + ReliableUnordered = 1, + /// + /// Packets may be sent multiple times and will be received in order + /// + ReliableOrdered = 2 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketReliability.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketReliability.cs.meta deleted file mode 100644 index 286e161e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/PacketReliability.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0d3cb715f8a23894aab5a62f801efa8c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/QueryNATTypeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/QueryNATTypeOptions.cs index 6fd835bb..99b9688f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/QueryNATTypeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/QueryNATTypeOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information needed to query NAT-types - /// - public class QueryNATTypeOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryNATTypeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(QueryNATTypeOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.QuerynattypeApiLatest; - } - } - - public void Set(object other) - { - Set(other as QueryNATTypeOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information needed to query NAT-types + /// + public struct QueryNATTypeOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryNATTypeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref QueryNATTypeOptions other) + { + m_ApiVersion = P2PInterface.QuerynattypeApiLatest; + } + + public void Set(ref QueryNATTypeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.QuerynattypeApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/QueryNATTypeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/QueryNATTypeOptions.cs.meta deleted file mode 100644 index feb982ad..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/QueryNATTypeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 589f839287fdffc47afb627236a7466d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ReceivePacketOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ReceivePacketOptions.cs index 2f0d8abd..bd5cb587 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ReceivePacketOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ReceivePacketOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about who would like to receive a packet, and how much data can be stored safely. - /// - public class ReceivePacketOptions - { - /// - /// The Product User ID of the user who is receiving the packet - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The maximum amount of data in bytes that can be safely copied to OutData in the function call - /// - public uint MaxDataSizeBytes { get; set; } - - /// - /// An optional channel to request the data for. If NULL, we're retrieving the next packet on any channel - /// - public byte? RequestedChannel { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ReceivePacketOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private uint m_MaxDataSizeBytes; - private System.IntPtr m_RequestedChannel; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public uint MaxDataSizeBytes - { - set - { - m_MaxDataSizeBytes = value; - } - } - - public byte? RequestedChannel - { - set - { - Helper.TryMarshalSet(ref m_RequestedChannel, value); - } - } - - public void Set(ReceivePacketOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.ReceivepacketApiLatest; - LocalUserId = other.LocalUserId; - MaxDataSizeBytes = other.MaxDataSizeBytes; - RequestedChannel = other.RequestedChannel; - } - } - - public void Set(object other) - { - Set(other as ReceivePacketOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RequestedChannel); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about who would like to receive a packet, and how much data can be stored safely. + /// + public struct ReceivePacketOptions + { + /// + /// The Product User ID of the user who is receiving the packet + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The maximum amount of data in bytes that can be safely copied to OutData in the function call + /// + public uint MaxDataSizeBytes { get; set; } + + /// + /// An optional channel to request the data for. If , we're retrieving the next packet on any channel + /// + public byte? RequestedChannel { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ReceivePacketOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private uint m_MaxDataSizeBytes; + private System.IntPtr m_RequestedChannel; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint MaxDataSizeBytes + { + set + { + m_MaxDataSizeBytes = value; + } + } + + public byte? RequestedChannel + { + set + { + Helper.Set(value, ref m_RequestedChannel); + } + } + + public void Set(ref ReceivePacketOptions other) + { + m_ApiVersion = P2PInterface.ReceivepacketApiLatest; + LocalUserId = other.LocalUserId; + MaxDataSizeBytes = other.MaxDataSizeBytes; + RequestedChannel = other.RequestedChannel; + } + + public void Set(ref ReceivePacketOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.ReceivepacketApiLatest; + LocalUserId = other.Value.LocalUserId; + MaxDataSizeBytes = other.Value.MaxDataSizeBytes; + RequestedChannel = other.Value.RequestedChannel; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RequestedChannel); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ReceivePacketOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ReceivePacketOptions.cs.meta deleted file mode 100644 index f35b9770..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/ReceivePacketOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2518197c1afa898428b60fa5f086970a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/RelayControl.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/RelayControl.cs index 9cde130d..5a94ea08 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/RelayControl.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/RelayControl.cs @@ -1,24 +1,29 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Setting for controlling whether relay servers are used - /// - public enum RelayControl : int - { - /// - /// Peer connections will never attempt to use relay servers. Clients with restrictive NATs may not be able to connect to peers. - /// - NoRelays = 0, - /// - /// Peer connections will attempt to use relay servers, but only after direct connection attempts fail. This is the default value if not changed. - /// - AllowRelays = 1, - /// - /// Peer connections will only ever use relay servers. This will add latency to all connections, but will hide IP Addresses from peers. - /// - ForceRelays = 2 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Setting for controlling whether relay servers are used. + /// + /// Please see the following value compatibility-chart to better understand how changing this value + /// can affect compatibility between clients with different settings. + /// + /// +------------------------------+---------------------+-------------------------------+---------------------+ + /// + public enum RelayControl : int + { + /// + /// Peer connections will never attempt to use relay servers. Clients with restrictive NATs may not be able to connect to peers. + /// + NoRelays = 0, + /// + /// Peer connections will attempt to use relay servers, but only after direct connection attempts fail. This is the default value if not changed. + /// + AllowRelays = 1, + /// + /// Peer connections will only ever use relay servers. This will add latency to all connections, but will hide IP Addresses from peers. + /// + ForceRelays = 2 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/RelayControl.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/RelayControl.cs.meta deleted file mode 100644 index c100a6eb..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/RelayControl.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 088d9dbae7ee4d14bbe5a973f92fb63d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SendPacketOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SendPacketOptions.cs index 2786a090..6ee4600d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SendPacketOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SendPacketOptions.cs @@ -1,144 +1,169 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about the data being sent and to which player - /// - public class SendPacketOptions - { - /// - /// The Product User ID of the local user who is sending this packet - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The Product User ID of the Peer you would like to send a packet to - /// - public ProductUserId RemoteUserId { get; set; } - - /// - /// The socket ID for data you are sending in this packet - /// - public SocketId SocketId { get; set; } - - /// - /// Channel associated with this data - /// - public byte Channel { get; set; } - - /// - /// The data to be sent to the RemoteUser - /// - public byte[] Data { get; set; } - - /// - /// If false and we do not already have an established connection to the peer, this data will be dropped - /// - public bool AllowDelayedDelivery { get; set; } - - /// - /// Setting to control the delivery reliability of this packet - /// - public PacketReliability Reliability { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SendPacketOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RemoteUserId; - private System.IntPtr m_SocketId; - private byte m_Channel; - private uint m_DataLengthBytes; - private System.IntPtr m_Data; - private int m_AllowDelayedDelivery; - private PacketReliability m_Reliability; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ProductUserId RemoteUserId - { - set - { - Helper.TryMarshalSet(ref m_RemoteUserId, value); - } - } - - public SocketId SocketId - { - set - { - Helper.TryMarshalSet(ref m_SocketId, value); - } - } - - public byte Channel - { - set - { - m_Channel = value; - } - } - - public byte[] Data - { - set - { - Helper.TryMarshalSet(ref m_Data, value, out m_DataLengthBytes); - } - } - - public bool AllowDelayedDelivery - { - set - { - Helper.TryMarshalSet(ref m_AllowDelayedDelivery, value); - } - } - - public PacketReliability Reliability - { - set - { - m_Reliability = value; - } - } - - public void Set(SendPacketOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.SendpacketApiLatest; - LocalUserId = other.LocalUserId; - RemoteUserId = other.RemoteUserId; - SocketId = other.SocketId; - Channel = other.Channel; - Data = other.Data; - AllowDelayedDelivery = other.AllowDelayedDelivery; - Reliability = other.Reliability; - } - } - - public void Set(object other) - { - Set(other as SendPacketOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RemoteUserId); - Helper.TryMarshalDispose(ref m_SocketId); - Helper.TryMarshalDispose(ref m_Data); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about the data being sent and to which player + /// + public struct SendPacketOptions + { + /// + /// The Product User ID of the local user who is sending this packet + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the Peer you would like to send a packet to + /// + public ProductUserId RemoteUserId { get; set; } + + /// + /// The socket ID for data you are sending in this packet + /// + public SocketId? SocketId { get; set; } + + /// + /// Channel associated with this data + /// + public byte Channel { get; set; } + + /// + /// The data to be sent to the RemoteUser + /// + public System.ArraySegment Data { get; set; } + + /// + /// If false and we do not already have an established connection to the peer, this data will be dropped + /// + public bool AllowDelayedDelivery { get; set; } + + /// + /// Setting to control the delivery reliability of this packet + /// + public PacketReliability Reliability { get; set; } + + /// + /// If set to , will not automatically establish a connection with the RemoteUserId and will require explicit calls to + /// first whenever the connection is closed. If set to , will automatically accept and start + /// the connection any time it is called and the connection is not already open. + /// + public bool DisableAutoAcceptConnection { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SendPacketOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RemoteUserId; + private System.IntPtr m_SocketId; + private byte m_Channel; + private uint m_DataLengthBytes; + private System.IntPtr m_Data; + private int m_AllowDelayedDelivery; + private PacketReliability m_Reliability; + private int m_DisableAutoAcceptConnection; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId RemoteUserId + { + set + { + Helper.Set(value, ref m_RemoteUserId); + } + } + + public SocketId? SocketId + { + set + { + Helper.Set(ref value, ref m_SocketId); + } + } + + public byte Channel + { + set + { + m_Channel = value; + } + } + + public System.ArraySegment Data + { + set + { + Helper.Set(value, ref m_Data, out m_DataLengthBytes); + } + } + + public bool AllowDelayedDelivery + { + set + { + Helper.Set(value, ref m_AllowDelayedDelivery); + } + } + + public PacketReliability Reliability + { + set + { + m_Reliability = value; + } + } + + public bool DisableAutoAcceptConnection + { + set + { + Helper.Set(value, ref m_DisableAutoAcceptConnection); + } + } + + public void Set(ref SendPacketOptions other) + { + m_ApiVersion = P2PInterface.SendpacketApiLatest; + LocalUserId = other.LocalUserId; + RemoteUserId = other.RemoteUserId; + SocketId = other.SocketId; + Channel = other.Channel; + Data = other.Data; + AllowDelayedDelivery = other.AllowDelayedDelivery; + Reliability = other.Reliability; + DisableAutoAcceptConnection = other.DisableAutoAcceptConnection; + } + + public void Set(ref SendPacketOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.SendpacketApiLatest; + LocalUserId = other.Value.LocalUserId; + RemoteUserId = other.Value.RemoteUserId; + SocketId = other.Value.SocketId; + Channel = other.Value.Channel; + Data = other.Value.Data; + AllowDelayedDelivery = other.Value.AllowDelayedDelivery; + Reliability = other.Value.Reliability; + DisableAutoAcceptConnection = other.Value.DisableAutoAcceptConnection; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RemoteUserId); + Helper.Dispose(ref m_SocketId); + Helper.Dispose(ref m_Data); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SendPacketOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SendPacketOptions.cs.meta deleted file mode 100644 index 4ae6bb6d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SendPacketOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 78a7589cd184baf4eb4cc50d6e42faf4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPacketQueueSizeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPacketQueueSizeOptions.cs index 324e8ff5..c886f72e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPacketQueueSizeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPacketQueueSizeOptions.cs @@ -1,64 +1,66 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about new packet queue size settings. - /// - public class SetPacketQueueSizeOptions - { - /// - /// The ideal maximum amount of bytes the Incoming packet queue can consume - /// - public ulong IncomingPacketQueueMaxSizeBytes { get; set; } - - /// - /// The ideal maximum amount of bytes the Outgoing packet queue can consume - /// - public ulong OutgoingPacketQueueMaxSizeBytes { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetPacketQueueSizeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private ulong m_IncomingPacketQueueMaxSizeBytes; - private ulong m_OutgoingPacketQueueMaxSizeBytes; - - public ulong IncomingPacketQueueMaxSizeBytes - { - set - { - m_IncomingPacketQueueMaxSizeBytes = value; - } - } - - public ulong OutgoingPacketQueueMaxSizeBytes - { - set - { - m_OutgoingPacketQueueMaxSizeBytes = value; - } - } - - public void Set(SetPacketQueueSizeOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.SetpacketqueuesizeApiLatest; - IncomingPacketQueueMaxSizeBytes = other.IncomingPacketQueueMaxSizeBytes; - OutgoingPacketQueueMaxSizeBytes = other.OutgoingPacketQueueMaxSizeBytes; - } - } - - public void Set(object other) - { - Set(other as SetPacketQueueSizeOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about new packet queue size settings. + /// + public struct SetPacketQueueSizeOptions + { + /// + /// The ideal maximum amount of bytes the Incoming packet queue can consume + /// + public ulong IncomingPacketQueueMaxSizeBytes { get; set; } + + /// + /// The ideal maximum amount of bytes the Outgoing packet queue can consume + /// + public ulong OutgoingPacketQueueMaxSizeBytes { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetPacketQueueSizeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private ulong m_IncomingPacketQueueMaxSizeBytes; + private ulong m_OutgoingPacketQueueMaxSizeBytes; + + public ulong IncomingPacketQueueMaxSizeBytes + { + set + { + m_IncomingPacketQueueMaxSizeBytes = value; + } + } + + public ulong OutgoingPacketQueueMaxSizeBytes + { + set + { + m_OutgoingPacketQueueMaxSizeBytes = value; + } + } + + public void Set(ref SetPacketQueueSizeOptions other) + { + m_ApiVersion = P2PInterface.SetpacketqueuesizeApiLatest; + IncomingPacketQueueMaxSizeBytes = other.IncomingPacketQueueMaxSizeBytes; + OutgoingPacketQueueMaxSizeBytes = other.OutgoingPacketQueueMaxSizeBytes; + } + + public void Set(ref SetPacketQueueSizeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.SetpacketqueuesizeApiLatest; + IncomingPacketQueueMaxSizeBytes = other.Value.IncomingPacketQueueMaxSizeBytes; + OutgoingPacketQueueMaxSizeBytes = other.Value.OutgoingPacketQueueMaxSizeBytes; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPacketQueueSizeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPacketQueueSizeOptions.cs.meta deleted file mode 100644 index 0cbb0687..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPacketQueueSizeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cf979d0102cfcc94eb52929da2bf2850 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPortRangeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPortRangeOptions.cs index b1f5ec2a..bb56d075 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPortRangeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPortRangeOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about new port range settings. - /// - public class SetPortRangeOptions - { - /// - /// The ideal port to use for P2P traffic. The default value is 7777. If set to 0, the OS will choose a port. If set to 0, MaxAdditionalPortsToTry must be set to 0. - /// - public ushort Port { get; set; } - - /// - /// The maximum amount of additional ports to try if Port is unavailable. Ports will be tried from Port to Port + MaxAdditionalPortsToTry - /// inclusive, until one is available or we run out of ports. If no ports are available, P2P connections will fail. The default value is 99. - /// - public ushort MaxAdditionalPortsToTry { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetPortRangeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private ushort m_Port; - private ushort m_MaxAdditionalPortsToTry; - - public ushort Port - { - set - { - m_Port = value; - } - } - - public ushort MaxAdditionalPortsToTry - { - set - { - m_MaxAdditionalPortsToTry = value; - } - } - - public void Set(SetPortRangeOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.SetportrangeApiLatest; - Port = other.Port; - MaxAdditionalPortsToTry = other.MaxAdditionalPortsToTry; - } - } - - public void Set(object other) - { - Set(other as SetPortRangeOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about new port range settings. + /// + public struct SetPortRangeOptions + { + /// + /// The ideal port to use for P2P traffic. The default value is 7777. If set to 0, the OS will choose a port. If set to 0, MaxAdditionalPortsToTry must be set to 0. + /// + public ushort Port { get; set; } + + /// + /// The maximum amount of additional ports to try if Port is unavailable. Ports will be tried from Port to Port + MaxAdditionalPortsToTry + /// inclusive, until one is available or we run out of ports. If no ports are available, P2P connections will fail. The default value is 99. + /// + public ushort MaxAdditionalPortsToTry { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetPortRangeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private ushort m_Port; + private ushort m_MaxAdditionalPortsToTry; + + public ushort Port + { + set + { + m_Port = value; + } + } + + public ushort MaxAdditionalPortsToTry + { + set + { + m_MaxAdditionalPortsToTry = value; + } + } + + public void Set(ref SetPortRangeOptions other) + { + m_ApiVersion = P2PInterface.SetportrangeApiLatest; + Port = other.Port; + MaxAdditionalPortsToTry = other.MaxAdditionalPortsToTry; + } + + public void Set(ref SetPortRangeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.SetportrangeApiLatest; + Port = other.Value.Port; + MaxAdditionalPortsToTry = other.Value.MaxAdditionalPortsToTry; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPortRangeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPortRangeOptions.cs.meta deleted file mode 100644 index 3288597b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetPortRangeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5932badbc14129645b21abd4d675b70a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetRelayControlOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetRelayControlOptions.cs index 5d6e6659..eb08e1b4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetRelayControlOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetRelayControlOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// Structure containing information about new relay configurations. - /// - public class SetRelayControlOptions - { - /// - /// The requested level of relay servers for P2P connections. This setting is only applied to new P2P connections, or when existing P2P connections - /// reconnect during a temporary connectivity outage. Peers with an incompatible setting to the local setting will not be able to connnect. - /// - public RelayControl RelayControl { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetRelayControlOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private RelayControl m_RelayControl; - - public RelayControl RelayControl - { - set - { - m_RelayControl = value; - } - } - - public void Set(SetRelayControlOptions other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.SetrelaycontrolApiLatest; - RelayControl = other.RelayControl; - } - } - - public void Set(object other) - { - Set(other as SetRelayControlOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// Structure containing information about new relay configurations. + /// + public struct SetRelayControlOptions + { + /// + /// The requested level of relay servers for P2P connections. This setting is only applied to new P2P connections, or when existing P2P connections + /// reconnect during a temporary connectivity outage. Peers with an incompatible setting to the local setting will not be able to connect. + /// + public RelayControl RelayControl { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetRelayControlOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private RelayControl m_RelayControl; + + public RelayControl RelayControl + { + set + { + m_RelayControl = value; + } + } + + public void Set(ref SetRelayControlOptions other) + { + m_ApiVersion = P2PInterface.SetrelaycontrolApiLatest; + RelayControl = other.RelayControl; + } + + public void Set(ref SetRelayControlOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.SetrelaycontrolApiLatest; + RelayControl = other.Value.RelayControl; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetRelayControlOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetRelayControlOptions.cs.meta deleted file mode 100644 index 41580483..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SetRelayControlOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dda5f642e5f79a34b8f9e7e675223a80 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SocketId.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SocketId.cs index 06132a73..05ca6fd4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SocketId.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SocketId.cs @@ -1,77 +1,76 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.P2P -{ - /// - /// P2P Socket ID - /// - /// The Socket ID contains an application-defined name for the connection between a local person and another peer. - /// - /// When a remote user receives a connection request from you, they will receive this information. It can be important - /// to only accept connections with a known socket-name and/or from a known user, to prevent leaking of private - /// information, such as a user's IP address. Using the socket name as a secret key can help prevent such leaks. Shared - /// private data, like a private match's Session ID are good candidates for a socket name. - /// - public class SocketId : ISettable - { - /// - /// A name for the connection. Must be a NULL-terminated string of between 1-32 alpha-numeric characters (A-Z, a-z, 0-9) - /// - public string SocketName { get; set; } - - internal void Set(SocketIdInternal? other) - { - if (other != null) - { - SocketName = other.Value.SocketName; - } - } - - public void Set(object other) - { - Set(other as SocketIdInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SocketIdInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - [System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray, SizeConst = 33)] - private byte[] m_SocketName; - - public string SocketName - { - get - { - string value; - Helper.TryMarshalGet(m_SocketName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_SocketName, value, 33); - } - } - - public void Set(SocketId other) - { - if (other != null) - { - m_ApiVersion = P2PInterface.SocketidApiLatest; - SocketName = other.SocketName; - } - } - - public void Set(object other) - { - Set(other as SocketId); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.P2P +{ + /// + /// P2P Socket ID + /// + /// The Socket ID contains an application-defined name for the connection between a local person and another peer. + /// + /// When a remote user receives a connection request from you, they will receive this information. It can be important + /// to only accept connections with a known socket-name and/or from a known user, to prevent leaking of private + /// information, such as a user's IP address. Using the socket name as a secret key can help prevent such leaks. Shared + /// private data, like a private match's Session ID are good candidates for a socket name. + /// + public struct SocketId + { + /// + /// A name for the connection. Must be a -terminated string of between 1-32 alpha-numeric characters (A-Z, a-z, 0-9, '-', '_', ' ', '+', '=', '.') + /// + public string SocketName { get; set; } + + internal void Set(ref SocketIdInternal other) + { + SocketName = other.SocketName; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SocketIdInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + [System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray, SizeConst = 33)] + private byte[] m_SocketName; + + public string SocketName + { + get + { + string value; + Helper.Get(m_SocketName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_SocketName, 33); + } + } + + public void Set(ref SocketId other) + { + m_ApiVersion = P2PInterface.SocketidApiLatest; + SocketName = other.SocketName; + } + + public void Set(ref SocketId? other) + { + if (other.HasValue) + { + m_ApiVersion = P2PInterface.SocketidApiLatest; + SocketName = other.Value.SocketName; + } + } + + public void Dispose() + { + } + + public void Get(out SocketId output) + { + output = new SocketId(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SocketId.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SocketId.cs.meta deleted file mode 100644 index 86d80dca..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/P2P/SocketId.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4df4a70a0ad2d564088cf638df22b93d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageQuery.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageQuery.cs index 90e5b918..c730668d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageQuery.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageQuery.cs @@ -1,88 +1,88 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices -{ - /// - /// A page query is part of query options. It is used to allow pagination of query results. - /// - public class PageQuery : ISettable - { - /// - /// The index into the ordered query results to start the page at. - /// - public int StartIndex { get; set; } - - /// - /// The maximum number of results to have in the page. - /// - public int MaxCount { get; set; } - - internal void Set(PageQueryInternal? other) - { - if (other != null) - { - StartIndex = other.Value.StartIndex; - MaxCount = other.Value.MaxCount; - } - } - - public void Set(object other) - { - Set(other as PageQueryInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PageQueryInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private int m_StartIndex; - private int m_MaxCount; - - public int StartIndex - { - get - { - return m_StartIndex; - } - - set - { - m_StartIndex = value; - } - } - - public int MaxCount - { - get - { - return m_MaxCount; - } - - set - { - m_MaxCount = value; - } - } - - public void Set(PageQuery other) - { - if (other != null) - { - m_ApiVersion = Common.PagequeryApiLatest; - StartIndex = other.StartIndex; - MaxCount = other.MaxCount; - } - } - - public void Set(object other) - { - Set(other as PageQuery); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices +{ + /// + /// A page query is part of query options. It is used to allow pagination of query results. + /// + public struct PageQuery + { + /// + /// The index into the ordered query results to start the page at. + /// + public int StartIndex { get; set; } + + /// + /// The maximum number of results to have in the page. + /// + public int MaxCount { get; set; } + + internal void Set(ref PageQueryInternal other) + { + StartIndex = other.StartIndex; + MaxCount = other.MaxCount; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PageQueryInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private int m_StartIndex; + private int m_MaxCount; + + public int StartIndex + { + get + { + return m_StartIndex; + } + + set + { + m_StartIndex = value; + } + } + + public int MaxCount + { + get + { + return m_MaxCount; + } + + set + { + m_MaxCount = value; + } + } + + public void Set(ref PageQuery other) + { + m_ApiVersion = Common.PagequeryApiLatest; + StartIndex = other.StartIndex; + MaxCount = other.MaxCount; + } + + public void Set(ref PageQuery? other) + { + if (other.HasValue) + { + m_ApiVersion = Common.PagequeryApiLatest; + StartIndex = other.Value.StartIndex; + MaxCount = other.Value.MaxCount; + } + } + + public void Dispose() + { + } + + public void Get(out PageQuery output) + { + output = new PageQuery(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageQuery.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageQuery.cs.meta deleted file mode 100644 index 94cb6a78..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageQuery.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 989b725fdc69dfa4cae238a5e4a0454a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageResult.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageResult.cs index 17c339b6..e856e379 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageResult.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageResult.cs @@ -1,107 +1,107 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices -{ - /// - /// A page result is part of query callback info. It is used to provide pagination details of query results. - /// - public class PageResult : ISettable - { - /// - /// The index into the ordered query results to start the page at. - /// - public int StartIndex { get; set; } - - /// - /// The number of results in the current page. - /// - public int Count { get; set; } - - /// - /// The number of results associated with they original query options. - /// - public int TotalCount { get; set; } - - internal void Set(PageResultInternal? other) - { - if (other != null) - { - StartIndex = other.Value.StartIndex; - Count = other.Value.Count; - TotalCount = other.Value.TotalCount; - } - } - - public void Set(object other) - { - Set(other as PageResultInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PageResultInternal : ISettable, System.IDisposable - { - private int m_StartIndex; - private int m_Count; - private int m_TotalCount; - - public int StartIndex - { - get - { - return m_StartIndex; - } - - set - { - m_StartIndex = value; - } - } - - public int Count - { - get - { - return m_Count; - } - - set - { - m_Count = value; - } - } - - public int TotalCount - { - get - { - return m_TotalCount; - } - - set - { - m_TotalCount = value; - } - } - - public void Set(PageResult other) - { - if (other != null) - { - StartIndex = other.StartIndex; - Count = other.Count; - TotalCount = other.TotalCount; - } - } - - public void Set(object other) - { - Set(other as PageResult); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices +{ + /// + /// A page result is part of query callback info. It is used to provide pagination details of query results. + /// + public struct PageResult + { + /// + /// The index into the ordered query results to start the page at. + /// + public int StartIndex { get; set; } + + /// + /// The number of results in the current page. + /// + public int Count { get; set; } + + /// + /// The number of results associated with they original query options. + /// + public int TotalCount { get; set; } + + internal void Set(ref PageResultInternal other) + { + StartIndex = other.StartIndex; + Count = other.Count; + TotalCount = other.TotalCount; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PageResultInternal : IGettable, ISettable, System.IDisposable + { + private int m_StartIndex; + private int m_Count; + private int m_TotalCount; + + public int StartIndex + { + get + { + return m_StartIndex; + } + + set + { + m_StartIndex = value; + } + } + + public int Count + { + get + { + return m_Count; + } + + set + { + m_Count = value; + } + } + + public int TotalCount + { + get + { + return m_TotalCount; + } + + set + { + m_TotalCount = value; + } + } + + public void Set(ref PageResult other) + { + StartIndex = other.StartIndex; + Count = other.Count; + TotalCount = other.TotalCount; + } + + public void Set(ref PageResult? other) + { + if (other.HasValue) + { + StartIndex = other.Value.StartIndex; + Count = other.Value.Count; + TotalCount = other.Value.TotalCount; + } + } + + public void Dispose() + { + } + + public void Get(out PageResult output) + { + output = new PageResult(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageResult.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageResult.cs.meta deleted file mode 100644 index a3bbf03c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PageResult.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c0caca9b8f78ca348a95beb4e158599c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform.meta deleted file mode 100644 index 008b687e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a160c15a7fa6b5a4cb2ebcc1a4c35d0a -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/AllocateMemoryFunc.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/AllocateMemoryFunc.cs index 3afe1c02..5e2cb491 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/AllocateMemoryFunc.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/AllocateMemoryFunc.cs @@ -1,17 +1,17 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - /// - /// Function prototype type definition for functions that allocate memory. - /// - /// Functions passed to to serve as memory allocators should return a pointer to the allocated memory. - /// - /// The returned pointer should have at least SizeInBytes available capacity and the memory address should be a multiple of Alignment. - /// The SDK will always call the provided function with an Alignment that is a power of 2. - /// Allocation failures should return a null pointer. - /// - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - public delegate System.IntPtr AllocateMemoryFunc(System.UIntPtr sizeInBytes, System.UIntPtr alignment); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Function prototype type definition for functions that allocate memory. + /// + /// Functions passed to to serve as memory allocators should return a pointer to the allocated memory. + /// + /// The returned pointer should have at least SizeInBytes available capacity and the memory address should be a multiple of Alignment. + /// The SDK will always call the provided function with an Alignment that is a power of 2. + /// Allocation failures should return a null pointer. + /// + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + public delegate System.IntPtr AllocateMemoryFunc(System.UIntPtr sizeInBytes, System.UIntPtr alignment); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/AllocateMemoryFunc.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/AllocateMemoryFunc.cs.meta deleted file mode 100644 index 561b1f8f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/AllocateMemoryFunc.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ef794bbe580c5f84c88b295df6098f63 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ApplicationStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ApplicationStatus.cs new file mode 100644 index 00000000..7fdb2c42 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ApplicationStatus.cs @@ -0,0 +1,28 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// All possible states of the application + /// + public enum ApplicationStatus : int + { + /// + /// Background constrained + /// + BackgroundConstrained = 0, + /// + /// Background unconstrained + /// + BackgroundUnconstrained = 1, + /// + /// Background suspended + /// + BackgroundSuspended = 2, + /// + /// Foreground + /// + Foreground = 3 + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ClientCredentials.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ClientCredentials.cs index a16a7e0f..4869a452 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ClientCredentials.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ClientCredentials.cs @@ -1,92 +1,91 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - /// - /// Client credentials. - /// - public class ClientCredentials : ISettable - { - /// - /// Client ID of the service permissions entry. Set to NULL if no service permissions are used. - /// - public string ClientId { get; set; } - - /// - /// Client secret for accessing the set of permissions. Set to NULL if no service permissions are used. - /// - public string ClientSecret { get; set; } - - internal void Set(ClientCredentialsInternal? other) - { - if (other != null) - { - ClientId = other.Value.ClientId; - ClientSecret = other.Value.ClientSecret; - } - } - - public void Set(object other) - { - Set(other as ClientCredentialsInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ClientCredentialsInternal : ISettable, System.IDisposable - { - private System.IntPtr m_ClientId; - private System.IntPtr m_ClientSecret; - - public string ClientId - { - get - { - string value; - Helper.TryMarshalGet(m_ClientId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ClientId, value); - } - } - - public string ClientSecret - { - get - { - string value; - Helper.TryMarshalGet(m_ClientSecret, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ClientSecret, value); - } - } - - public void Set(ClientCredentials other) - { - if (other != null) - { - ClientId = other.ClientId; - ClientSecret = other.ClientSecret; - } - } - - public void Set(object other) - { - Set(other as ClientCredentials); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ClientId); - Helper.TryMarshalDispose(ref m_ClientSecret); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Client credentials. + /// + public struct ClientCredentials + { + /// + /// Client ID of the service permissions entry. Set to if no service permissions are used. + /// + public Utf8String ClientId { get; set; } + + /// + /// Client secret for accessing the set of permissions. Set to if no service permissions are used. + /// + public Utf8String ClientSecret { get; set; } + + internal void Set(ref ClientCredentialsInternal other) + { + ClientId = other.ClientId; + ClientSecret = other.ClientSecret; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ClientCredentialsInternal : IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientId; + private System.IntPtr m_ClientSecret; + + public Utf8String ClientId + { + get + { + Utf8String value; + Helper.Get(m_ClientId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientId); + } + } + + public Utf8String ClientSecret + { + get + { + Utf8String value; + Helper.Get(m_ClientSecret, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientSecret); + } + } + + public void Set(ref ClientCredentials other) + { + ClientId = other.ClientId; + ClientSecret = other.ClientSecret; + } + + public void Set(ref ClientCredentials? other) + { + if (other.HasValue) + { + ClientId = other.Value.ClientId; + ClientSecret = other.Value.ClientSecret; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientId); + Helper.Dispose(ref m_ClientSecret); + } + + public void Get(out ClientCredentials output) + { + output = new ClientCredentials(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ClientCredentials.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ClientCredentials.cs.meta deleted file mode 100644 index 9038b37d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ClientCredentials.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fc793e185445d02439d2f9aa483a558b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/DesktopCrossplayStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/DesktopCrossplayStatus.cs new file mode 100644 index 00000000..d95dfc9a --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/DesktopCrossplayStatus.cs @@ -0,0 +1,61 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Possible statuses for the availability of desktop crossplay functionality. + /// + /// + public enum DesktopCrossplayStatus : int + { + /// + /// Desktop crossplay is ready to use. + /// + Ok = 0, + /// + /// The application was not launched through the Bootstrapper. + /// + ApplicationNotBootstrapped = 1, + /// + /// The redistributable service is not installed. + /// + ServiceNotInstalled = 2, + /// + /// The service failed to start. + /// + ServiceStartFailed = 3, + /// + /// The service was started successfully, but is no longer running in the background, for an unknown reason. + /// + ServiceNotRunning = 4, + /// + /// The application has explicitly disabled the overlay through SDK initialization flags. + /// + OverlayDisabled = 5, + /// + /// The overlay is not installed. + /// + /// As the overlay is automatically installed and kept up-to-date by the redistributable service, + /// this indicates that the user may have separately manually removed the installed overlay files. + /// + OverlayNotInstalled = 6, + /// + /// The overlay was not loaded due to failing trust check on the digital signature of the file on disk. + /// + /// This error typically indicates one of the following root causes: + /// - The Operating System's local certificate store is out of date. + /// - The local system clock has skewed and is in the wrong time. + /// - The file has been tampered with. + /// - The file trust check timed out, either due to an issue with the local system or network connectivity. + /// + /// The first troubleshooting steps should be to check for any available Operating System updates, + /// for example using the Windows Update, as well as verifying that the system time is correctly set. + /// + OverlayTrustCheckFailed = 7, + /// + /// The overlay failed to load. + /// + OverlayLoadFailed = 8 + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/GetDesktopCrossplayStatusInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/GetDesktopCrossplayStatusInfo.cs new file mode 100644 index 00000000..1a8d7bd5 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/GetDesktopCrossplayStatusInfo.cs @@ -0,0 +1,92 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Output parameters for the function. + /// + public struct GetDesktopCrossplayStatusInfo + { + /// + /// Status for the availability of desktop crossplay functionality. + /// + /// It is recommended to include this value in application logs, and as as part of + /// any player-facing error screens to help troubleshooting possible issues. + /// + public DesktopCrossplayStatus Status { get; set; } + + /// + /// This field is set when the Status is . + /// + /// Possible values for this field are not documented. However, it is recommended + /// to be also included in application logs, and as part of any player-facing + /// error screens. + /// + public int ServiceInitResult { get; set; } + + internal void Set(ref GetDesktopCrossplayStatusInfoInternal other) + { + Status = other.Status; + ServiceInitResult = other.ServiceInitResult; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetDesktopCrossplayStatusInfoInternal : IGettable, ISettable, System.IDisposable + { + private DesktopCrossplayStatus m_Status; + private int m_ServiceInitResult; + + public DesktopCrossplayStatus Status + { + get + { + return m_Status; + } + + set + { + m_Status = value; + } + } + + public int ServiceInitResult + { + get + { + return m_ServiceInitResult; + } + + set + { + m_ServiceInitResult = value; + } + } + + public void Set(ref GetDesktopCrossplayStatusInfo other) + { + Status = other.Status; + ServiceInitResult = other.ServiceInitResult; + } + + public void Set(ref GetDesktopCrossplayStatusInfo? other) + { + if (other.HasValue) + { + Status = other.Value.Status; + ServiceInitResult = other.Value.ServiceInitResult; + } + } + + public void Dispose() + { + } + + public void Get(out GetDesktopCrossplayStatusInfo output) + { + output = new GetDesktopCrossplayStatusInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/GetDesktopCrossplayStatusOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/GetDesktopCrossplayStatusOptions.cs new file mode 100644 index 00000000..4b2a8a72 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/GetDesktopCrossplayStatusOptions.cs @@ -0,0 +1,35 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Input parameters for the function. + /// + public struct GetDesktopCrossplayStatusOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetDesktopCrossplayStatusOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref GetDesktopCrossplayStatusOptions other) + { + m_ApiVersion = PlatformInterface.GetdesktopcrossplaystatusApiLatest; + } + + public void Set(ref GetDesktopCrossplayStatusOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlatformInterface.GetdesktopcrossplaystatusApiLatest; + } + } + + public void Dispose() + { + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeOptions.cs index a54b4270..121cc0d4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeOptions.cs @@ -1,161 +1,172 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - /// - /// Options for initializing the Epic Online Services SDK. - /// - public class InitializeOptions - { - /// - /// A custom memory allocator, if desired. - /// - public System.IntPtr AllocateMemoryFunction { get; set; } - - /// - /// A corresponding memory reallocator. If the AllocateMemoryFunction is nulled, then this field must also be nulled. - /// - public System.IntPtr ReallocateMemoryFunction { get; set; } - - /// - /// A corresponding memory releaser. If the AllocateMemoryFunction is nulled, then this field must also be nulled. - /// - public System.IntPtr ReleaseMemoryFunction { get; set; } - - /// - /// The name of the product using the Epic Online Services SDK. - /// - /// The name string is required to be non-empty and at maximum of 64 characters long. - /// The string buffer can consist of the following characters: - /// A-Z, a-z, 0-9, dot, underscore, space, exclamation mark, question mark, and sign, hyphen, parenthesis, plus, minus, colon. - /// - public string ProductName { get; set; } - - /// - /// Product version of the running application. - /// - /// The name string has same requirements as the ProductName string. - /// - public string ProductVersion { get; set; } - - /// - /// This field is for system specific initialization if any. - /// - /// If provided then the structure will be located in /eos_.h. - /// The structure will be named EOS__InitializeOptions. - /// - public System.IntPtr SystemInitializeOptions { get; set; } - - /// - /// The thread affinity override values for each category of thread. - /// - public InitializeThreadAffinity OverrideThreadAffinity { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct InitializeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_AllocateMemoryFunction; - private System.IntPtr m_ReallocateMemoryFunction; - private System.IntPtr m_ReleaseMemoryFunction; - private System.IntPtr m_ProductName; - private System.IntPtr m_ProductVersion; - private System.IntPtr m_Reserved; - private System.IntPtr m_SystemInitializeOptions; - private System.IntPtr m_OverrideThreadAffinity; - - public System.IntPtr AllocateMemoryFunction - { - set - { - m_AllocateMemoryFunction = value; - } - } - - public System.IntPtr ReallocateMemoryFunction - { - set - { - m_ReallocateMemoryFunction = value; - } - } - - public System.IntPtr ReleaseMemoryFunction - { - set - { - m_ReleaseMemoryFunction = value; - } - } - - public string ProductName - { - set - { - Helper.TryMarshalSet(ref m_ProductName, value); - } - } - - public string ProductVersion - { - set - { - Helper.TryMarshalSet(ref m_ProductVersion, value); - } - } - - public System.IntPtr SystemInitializeOptions - { - set - { - m_SystemInitializeOptions = value; - } - } - - public InitializeThreadAffinity OverrideThreadAffinity - { - set - { - Helper.TryMarshalSet(ref m_OverrideThreadAffinity, value); - } - } - - public void Set(InitializeOptions other) - { - if (other != null) - { - m_ApiVersion = PlatformInterface.InitializeApiLatest; - AllocateMemoryFunction = other.AllocateMemoryFunction; - ReallocateMemoryFunction = other.ReallocateMemoryFunction; - ReleaseMemoryFunction = other.ReleaseMemoryFunction; - ProductName = other.ProductName; - ProductVersion = other.ProductVersion; - int[] reservedData = new int[] { 1, 1 }; - System.IntPtr reservedDataAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref reservedDataAddress, reservedData); - m_Reserved = reservedDataAddress; - SystemInitializeOptions = other.SystemInitializeOptions; - OverrideThreadAffinity = other.OverrideThreadAffinity; - } - } - - public void Set(object other) - { - Set(other as InitializeOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AllocateMemoryFunction); - Helper.TryMarshalDispose(ref m_ReallocateMemoryFunction); - Helper.TryMarshalDispose(ref m_ReleaseMemoryFunction); - Helper.TryMarshalDispose(ref m_ProductName); - Helper.TryMarshalDispose(ref m_ProductVersion); - Helper.TryMarshalDispose(ref m_Reserved); - Helper.TryMarshalDispose(ref m_SystemInitializeOptions); - Helper.TryMarshalDispose(ref m_OverrideThreadAffinity); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Options for initializing the Epic Online Services SDK. + /// + public struct InitializeOptions + { + /// + /// A custom memory allocator, if desired. + /// + public System.IntPtr AllocateMemoryFunction { get; set; } + + /// + /// A corresponding memory reallocator. If the AllocateMemoryFunction is nulled, then this field must also be nulled. + /// + public System.IntPtr ReallocateMemoryFunction { get; set; } + + /// + /// A corresponding memory releaser. If the AllocateMemoryFunction is nulled, then this field must also be nulled. + /// + public System.IntPtr ReleaseMemoryFunction { get; set; } + + /// + /// The name of the product using the Epic Online Services SDK. + /// + /// The name string is required to be non-empty and at maximum of 64 characters long. + /// The string buffer can consist of the following characters: + /// A-Z, a-z, 0-9, dot, underscore, space, exclamation mark, question mark, and sign, hyphen, parenthesis, plus, minus, colon. + /// + public Utf8String ProductName { get; set; } + + /// + /// Product version of the running application. + /// + /// The name string has same requirements as the ProductName string. + /// + public Utf8String ProductVersion { get; set; } + + /// + /// This field is for system specific initialization if any. + /// + /// If provided then the structure will be located in /eos_.h. + /// The structure will be named EOS__InitializeOptions. + /// + public System.IntPtr SystemInitializeOptions { get; set; } + + /// + /// The thread affinity override values for each category of thread. + /// + public InitializeThreadAffinity? OverrideThreadAffinity { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct InitializeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_AllocateMemoryFunction; + private System.IntPtr m_ReallocateMemoryFunction; + private System.IntPtr m_ReleaseMemoryFunction; + private System.IntPtr m_ProductName; + private System.IntPtr m_ProductVersion; + private System.IntPtr m_Reserved; + private System.IntPtr m_SystemInitializeOptions; + private System.IntPtr m_OverrideThreadAffinity; + + public System.IntPtr AllocateMemoryFunction + { + set + { + m_AllocateMemoryFunction = value; + } + } + + public System.IntPtr ReallocateMemoryFunction + { + set + { + m_ReallocateMemoryFunction = value; + } + } + + public System.IntPtr ReleaseMemoryFunction + { + set + { + m_ReleaseMemoryFunction = value; + } + } + + public Utf8String ProductName + { + set + { + Helper.Set(value, ref m_ProductName); + } + } + + public Utf8String ProductVersion + { + set + { + Helper.Set(value, ref m_ProductVersion); + } + } + + public System.IntPtr SystemInitializeOptions + { + set + { + m_SystemInitializeOptions = value; + } + } + + public InitializeThreadAffinity? OverrideThreadAffinity + { + set + { + Helper.Set(ref value, ref m_OverrideThreadAffinity); + } + } + + public void Set(ref InitializeOptions other) + { + m_ApiVersion = PlatformInterface.InitializeApiLatest; + AllocateMemoryFunction = other.AllocateMemoryFunction; + ReallocateMemoryFunction = other.ReallocateMemoryFunction; + ReleaseMemoryFunction = other.ReleaseMemoryFunction; + ProductName = other.ProductName; + ProductVersion = other.ProductVersion; + int[] reservedData = new int[] { 1, 1 }; + System.IntPtr reservedDataAddress = System.IntPtr.Zero; + Helper.Set(reservedData, ref reservedDataAddress); + m_Reserved = reservedDataAddress; + SystemInitializeOptions = other.SystemInitializeOptions; + OverrideThreadAffinity = other.OverrideThreadAffinity; + } + + public void Set(ref InitializeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlatformInterface.InitializeApiLatest; + AllocateMemoryFunction = other.Value.AllocateMemoryFunction; + ReallocateMemoryFunction = other.Value.ReallocateMemoryFunction; + ReleaseMemoryFunction = other.Value.ReleaseMemoryFunction; + ProductName = other.Value.ProductName; + ProductVersion = other.Value.ProductVersion; + int[] reservedData = new int[] { 1, 1 }; + System.IntPtr reservedDataAddress = System.IntPtr.Zero; + Helper.Set(reservedData, ref reservedDataAddress); + m_Reserved = reservedDataAddress; + SystemInitializeOptions = other.Value.SystemInitializeOptions; + OverrideThreadAffinity = other.Value.OverrideThreadAffinity; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AllocateMemoryFunction); + Helper.Dispose(ref m_ReallocateMemoryFunction); + Helper.Dispose(ref m_ReleaseMemoryFunction); + Helper.Dispose(ref m_ProductName); + Helper.Dispose(ref m_ProductVersion); + Helper.Dispose(ref m_Reserved); + Helper.Dispose(ref m_SystemInitializeOptions); + Helper.Dispose(ref m_OverrideThreadAffinity); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeOptions.cs.meta deleted file mode 100644 index b28c2e6a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a3bc80ab01997d7459d11cbfd3894de2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeThreadAffinity.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeThreadAffinity.cs index 2b4a299e..51a2fa97 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeThreadAffinity.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeThreadAffinity.cs @@ -1,152 +1,177 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - /// - /// Options for initializing defining thread affinity for use by Epic Online Services SDK. - /// Set the affinity to 0 to allow EOS SDK to use a platform specific default value. - /// - public class InitializeThreadAffinity : ISettable - { - /// - /// Any thread related to network management that is not IO. - /// - public ulong NetworkWork { get; set; } - - /// - /// Any thread that will interact with a storage device. - /// - public ulong StorageIo { get; set; } - - /// - /// Any thread that will generate web socket IO. - /// - public ulong WebSocketIo { get; set; } - - /// - /// Any thread that will generate IO related to P2P traffic and mangement. - /// - public ulong P2PIo { get; set; } - - /// - /// Any thread that will generate http request IO. - /// - public ulong HttpRequestIo { get; set; } - - internal void Set(InitializeThreadAffinityInternal? other) - { - if (other != null) - { - NetworkWork = other.Value.NetworkWork; - StorageIo = other.Value.StorageIo; - WebSocketIo = other.Value.WebSocketIo; - P2PIo = other.Value.P2PIo; - HttpRequestIo = other.Value.HttpRequestIo; - } - } - - public void Set(object other) - { - Set(other as InitializeThreadAffinityInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct InitializeThreadAffinityInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private ulong m_NetworkWork; - private ulong m_StorageIo; - private ulong m_WebSocketIo; - private ulong m_P2PIo; - private ulong m_HttpRequestIo; - - public ulong NetworkWork - { - get - { - return m_NetworkWork; - } - - set - { - m_NetworkWork = value; - } - } - - public ulong StorageIo - { - get - { - return m_StorageIo; - } - - set - { - m_StorageIo = value; - } - } - - public ulong WebSocketIo - { - get - { - return m_WebSocketIo; - } - - set - { - m_WebSocketIo = value; - } - } - - public ulong P2PIo - { - get - { - return m_P2PIo; - } - - set - { - m_P2PIo = value; - } - } - - public ulong HttpRequestIo - { - get - { - return m_HttpRequestIo; - } - - set - { - m_HttpRequestIo = value; - } - } - - public void Set(InitializeThreadAffinity other) - { - if (other != null) - { - m_ApiVersion = PlatformInterface.InitializeThreadaffinityApiLatest; - NetworkWork = other.NetworkWork; - StorageIo = other.StorageIo; - WebSocketIo = other.WebSocketIo; - P2PIo = other.P2PIo; - HttpRequestIo = other.HttpRequestIo; - } - } - - public void Set(object other) - { - Set(other as InitializeThreadAffinity); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Options for initializing defining thread affinity for use by Epic Online Services SDK. + /// Set the affinity to 0 to allow EOS SDK to use a platform specific default value. + /// + public struct InitializeThreadAffinity + { + /// + /// Any thread related to network management that is not IO. + /// + public ulong NetworkWork { get; set; } + + /// + /// Any thread that will interact with a storage device. + /// + public ulong StorageIo { get; set; } + + /// + /// Any thread that will generate web socket IO. + /// + public ulong WebSocketIo { get; set; } + + /// + /// Any thread that will generate IO related to P2P traffic and management. + /// + public ulong P2PIo { get; set; } + + /// + /// Any thread that will generate http request IO. + /// + public ulong HttpRequestIo { get; set; } + + /// + /// Any thread that will generate IO related to RTC traffic and management. + /// + public ulong RTCIo { get; set; } + + internal void Set(ref InitializeThreadAffinityInternal other) + { + NetworkWork = other.NetworkWork; + StorageIo = other.StorageIo; + WebSocketIo = other.WebSocketIo; + P2PIo = other.P2PIo; + HttpRequestIo = other.HttpRequestIo; + RTCIo = other.RTCIo; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct InitializeThreadAffinityInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private ulong m_NetworkWork; + private ulong m_StorageIo; + private ulong m_WebSocketIo; + private ulong m_P2PIo; + private ulong m_HttpRequestIo; + private ulong m_RTCIo; + + public ulong NetworkWork + { + get + { + return m_NetworkWork; + } + + set + { + m_NetworkWork = value; + } + } + + public ulong StorageIo + { + get + { + return m_StorageIo; + } + + set + { + m_StorageIo = value; + } + } + + public ulong WebSocketIo + { + get + { + return m_WebSocketIo; + } + + set + { + m_WebSocketIo = value; + } + } + + public ulong P2PIo + { + get + { + return m_P2PIo; + } + + set + { + m_P2PIo = value; + } + } + + public ulong HttpRequestIo + { + get + { + return m_HttpRequestIo; + } + + set + { + m_HttpRequestIo = value; + } + } + + public ulong RTCIo + { + get + { + return m_RTCIo; + } + + set + { + m_RTCIo = value; + } + } + + public void Set(ref InitializeThreadAffinity other) + { + m_ApiVersion = PlatformInterface.InitializeThreadaffinityApiLatest; + NetworkWork = other.NetworkWork; + StorageIo = other.StorageIo; + WebSocketIo = other.WebSocketIo; + P2PIo = other.P2PIo; + HttpRequestIo = other.HttpRequestIo; + RTCIo = other.RTCIo; + } + + public void Set(ref InitializeThreadAffinity? other) + { + if (other.HasValue) + { + m_ApiVersion = PlatformInterface.InitializeThreadaffinityApiLatest; + NetworkWork = other.Value.NetworkWork; + StorageIo = other.Value.StorageIo; + WebSocketIo = other.Value.WebSocketIo; + P2PIo = other.Value.P2PIo; + HttpRequestIo = other.Value.HttpRequestIo; + RTCIo = other.Value.RTCIo; + } + } + + public void Dispose() + { + } + + public void Get(out InitializeThreadAffinity output) + { + output = new InitializeThreadAffinity(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeThreadAffinity.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeThreadAffinity.cs.meta deleted file mode 100644 index d6b92191..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/InitializeThreadAffinity.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f2d3dedee30f0ed4592e57b7163c0425 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/NetworkStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/NetworkStatus.cs new file mode 100644 index 00000000..33ce733f --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/NetworkStatus.cs @@ -0,0 +1,24 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// All possible states of the network + /// + public enum NetworkStatus : int + { + /// + /// Network cannot be used. + /// + Disabled = 0, + /// + /// We may not be connected to the internet. The network can still be used, but is expected to probably fail. + /// + Offline = 1, + /// + /// We think we're connected to the internet. + /// + Online = 2 + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/Options.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/Options.cs index 0277a2d5..d77f2a8c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/Options.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/Options.cs @@ -1,241 +1,272 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - /// - /// Platform options for . - /// - public class Options - { - /// - /// A reserved field that should always be nulled. - /// - public System.IntPtr Reserved { get; set; } - - /// - /// The product ID for the running application, found on the dev portal - /// - public string ProductId { get; set; } - - /// - /// The sandbox ID for the running application, found on the dev portal - /// - public string SandboxId { get; set; } - - /// - /// Set of service permissions associated with the running application - /// - public ClientCredentials ClientCredentials { get; set; } - - /// - /// Is this running as a server - /// - public bool IsServer { get; set; } - - /// - /// Used by Player Data Storage and Title Storage. Must be null initialized if unused. 256-bit Encryption Key for file encryption in hexadecimal format (64 hex chars) - /// - public string EncryptionKey { get; set; } - - /// - /// The override country code to use for the logged in user. () - /// - public string OverrideCountryCode { get; set; } - - /// - /// The override locale code to use for the logged in user. This follows ISO 639. () - /// - public string OverrideLocaleCode { get; set; } - - /// - /// The deployment ID for the running application, found on the dev portal - /// - public string DeploymentId { get; set; } - - /// - /// Platform creation flags, e.g. . This is a bitwise-or union of the defined flags. - /// - public PlatformFlags Flags { get; set; } - - /// - /// Used by Player Data Storage and Title Storage. Must be null initialized if unused. Cache directory path. Absolute path to the folder that is going to be used for caching temporary data. The path is created if it's missing. - /// - public string CacheDirectory { get; set; } - - /// - /// A budget, measured in milliseconds, for to do its work. When the budget is met or exceeded (or if no work is available), will return. - /// This allows your game to amortize the cost of SDK work across multiple frames in the event that a lot of work is queued for processing. - /// Zero is interpreted as "perform all available work". - /// - public uint TickBudgetInMilliseconds { get; set; } - - /// - /// RTC options. Setting to NULL will disable RTC features (e.g. voice) - /// - public RTCOptions RTCOptions { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Reserved; - private System.IntPtr m_ProductId; - private System.IntPtr m_SandboxId; - private ClientCredentialsInternal m_ClientCredentials; - private int m_IsServer; - private System.IntPtr m_EncryptionKey; - private System.IntPtr m_OverrideCountryCode; - private System.IntPtr m_OverrideLocaleCode; - private System.IntPtr m_DeploymentId; - private PlatformFlags m_Flags; - private System.IntPtr m_CacheDirectory; - private uint m_TickBudgetInMilliseconds; - private System.IntPtr m_RTCOptions; - - public System.IntPtr Reserved - { - set - { - m_Reserved = value; - } - } - - public string ProductId - { - set - { - Helper.TryMarshalSet(ref m_ProductId, value); - } - } - - public string SandboxId - { - set - { - Helper.TryMarshalSet(ref m_SandboxId, value); - } - } - - public ClientCredentials ClientCredentials - { - set - { - Helper.TryMarshalSet(ref m_ClientCredentials, value); - } - } - - public bool IsServer - { - set - { - Helper.TryMarshalSet(ref m_IsServer, value); - } - } - - public string EncryptionKey - { - set - { - Helper.TryMarshalSet(ref m_EncryptionKey, value); - } - } - - public string OverrideCountryCode - { - set - { - Helper.TryMarshalSet(ref m_OverrideCountryCode, value); - } - } - - public string OverrideLocaleCode - { - set - { - Helper.TryMarshalSet(ref m_OverrideLocaleCode, value); - } - } - - public string DeploymentId - { - set - { - Helper.TryMarshalSet(ref m_DeploymentId, value); - } - } - - public PlatformFlags Flags - { - set - { - m_Flags = value; - } - } - - public string CacheDirectory - { - set - { - Helper.TryMarshalSet(ref m_CacheDirectory, value); - } - } - - public uint TickBudgetInMilliseconds - { - set - { - m_TickBudgetInMilliseconds = value; - } - } - - public RTCOptions RTCOptions - { - set - { - Helper.TryMarshalSet(ref m_RTCOptions, value); - } - } - - public void Set(Options other) - { - if (other != null) - { - m_ApiVersion = PlatformInterface.OptionsApiLatest; - Reserved = other.Reserved; - ProductId = other.ProductId; - SandboxId = other.SandboxId; - ClientCredentials = other.ClientCredentials; - IsServer = other.IsServer; - EncryptionKey = other.EncryptionKey; - OverrideCountryCode = other.OverrideCountryCode; - OverrideLocaleCode = other.OverrideLocaleCode; - DeploymentId = other.DeploymentId; - Flags = other.Flags; - CacheDirectory = other.CacheDirectory; - TickBudgetInMilliseconds = other.TickBudgetInMilliseconds; - RTCOptions = other.RTCOptions; - } - } - - public void Set(object other) - { - Set(other as Options); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Reserved); - Helper.TryMarshalDispose(ref m_ProductId); - Helper.TryMarshalDispose(ref m_SandboxId); - Helper.TryMarshalDispose(ref m_ClientCredentials); - Helper.TryMarshalDispose(ref m_EncryptionKey); - Helper.TryMarshalDispose(ref m_OverrideCountryCode); - Helper.TryMarshalDispose(ref m_OverrideLocaleCode); - Helper.TryMarshalDispose(ref m_DeploymentId); - Helper.TryMarshalDispose(ref m_CacheDirectory); - Helper.TryMarshalDispose(ref m_RTCOptions); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Platform options for . + /// + public struct Options + { + /// + /// A reserved field that should always be nulled. + /// + public System.IntPtr Reserved { get; set; } + + /// + /// The product ID for the running application, found on the dev portal + /// + public Utf8String ProductId { get; set; } + + /// + /// The sandbox ID for the running application, found on the dev portal + /// + public Utf8String SandboxId { get; set; } + + /// + /// Set of service permissions associated with the running application + /// + public ClientCredentials ClientCredentials { get; set; } + + /// + /// Set this to if the application is running as a client with a local user, otherwise set to (e.g. for a dedicated game server) + /// + public bool IsServer { get; set; } + + /// + /// Used by Player Data Storage and Title Storage. Must be null initialized if unused. 256-bit Encryption Key for file encryption in hexadecimal format (64 hex chars) + /// + public Utf8String EncryptionKey { get; set; } + + /// + /// The override country code to use for the logged in user. () + /// + public Utf8String OverrideCountryCode { get; set; } + + /// + /// The override locale code to use for the logged in user. This follows ISO 639. () + /// + public Utf8String OverrideLocaleCode { get; set; } + + /// + /// The deployment ID for the running application, found on the dev portal + /// + public Utf8String DeploymentId { get; set; } + + /// + /// Platform creation flags, e.g. . This is a bitwise-or union of the defined flags. + /// + public PlatformFlags Flags { get; set; } + + /// + /// Used by Player Data Storage and Title Storage. Must be null initialized if unused. Cache directory path. Absolute path to the folder that is going to be used for caching temporary data. The path is created if it's missing. + /// + public Utf8String CacheDirectory { get; set; } + + /// + /// A budget, measured in milliseconds, for to do its work. When the budget is met or exceeded (or if no work is available), will return. + /// This allows your game to amortize the cost of SDK work across multiple frames in the event that a lot of work is queued for processing. + /// Zero is interpreted as "perform all available work". + /// + public uint TickBudgetInMilliseconds { get; set; } + + /// + /// RTC options. Setting to will disable RTC features (e.g. voice) + /// + public RTCOptions? RTCOptions { get; set; } + + /// + /// A handle that contains all the options for setting up integrated platforms. + /// When set to , the default integrated platform behavior for the host platform will be used. + /// + public IntegratedPlatform.IntegratedPlatformOptionsContainer IntegratedPlatformOptionsContainerHandle { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Reserved; + private System.IntPtr m_ProductId; + private System.IntPtr m_SandboxId; + private ClientCredentialsInternal m_ClientCredentials; + private int m_IsServer; + private System.IntPtr m_EncryptionKey; + private System.IntPtr m_OverrideCountryCode; + private System.IntPtr m_OverrideLocaleCode; + private System.IntPtr m_DeploymentId; + private PlatformFlags m_Flags; + private System.IntPtr m_CacheDirectory; + private uint m_TickBudgetInMilliseconds; + private System.IntPtr m_RTCOptions; + private System.IntPtr m_IntegratedPlatformOptionsContainerHandle; + + public System.IntPtr Reserved + { + set + { + m_Reserved = value; + } + } + + public Utf8String ProductId + { + set + { + Helper.Set(value, ref m_ProductId); + } + } + + public Utf8String SandboxId + { + set + { + Helper.Set(value, ref m_SandboxId); + } + } + + public ClientCredentials ClientCredentials + { + set + { + Helper.Set(ref value, ref m_ClientCredentials); + } + } + + public bool IsServer + { + set + { + Helper.Set(value, ref m_IsServer); + } + } + + public Utf8String EncryptionKey + { + set + { + Helper.Set(value, ref m_EncryptionKey); + } + } + + public Utf8String OverrideCountryCode + { + set + { + Helper.Set(value, ref m_OverrideCountryCode); + } + } + + public Utf8String OverrideLocaleCode + { + set + { + Helper.Set(value, ref m_OverrideLocaleCode); + } + } + + public Utf8String DeploymentId + { + set + { + Helper.Set(value, ref m_DeploymentId); + } + } + + public PlatformFlags Flags + { + set + { + m_Flags = value; + } + } + + public Utf8String CacheDirectory + { + set + { + Helper.Set(value, ref m_CacheDirectory); + } + } + + public uint TickBudgetInMilliseconds + { + set + { + m_TickBudgetInMilliseconds = value; + } + } + + public RTCOptions? RTCOptions + { + set + { + Helper.Set(ref value, ref m_RTCOptions); + } + } + + public IntegratedPlatform.IntegratedPlatformOptionsContainer IntegratedPlatformOptionsContainerHandle + { + set + { + Helper.Set(value, ref m_IntegratedPlatformOptionsContainerHandle); + } + } + + public void Set(ref Options other) + { + m_ApiVersion = PlatformInterface.OptionsApiLatest; + Reserved = other.Reserved; + ProductId = other.ProductId; + SandboxId = other.SandboxId; + ClientCredentials = other.ClientCredentials; + IsServer = other.IsServer; + EncryptionKey = other.EncryptionKey; + OverrideCountryCode = other.OverrideCountryCode; + OverrideLocaleCode = other.OverrideLocaleCode; + DeploymentId = other.DeploymentId; + Flags = other.Flags; + CacheDirectory = other.CacheDirectory; + TickBudgetInMilliseconds = other.TickBudgetInMilliseconds; + RTCOptions = other.RTCOptions; + IntegratedPlatformOptionsContainerHandle = other.IntegratedPlatformOptionsContainerHandle; + } + + public void Set(ref Options? other) + { + if (other.HasValue) + { + m_ApiVersion = PlatformInterface.OptionsApiLatest; + Reserved = other.Value.Reserved; + ProductId = other.Value.ProductId; + SandboxId = other.Value.SandboxId; + ClientCredentials = other.Value.ClientCredentials; + IsServer = other.Value.IsServer; + EncryptionKey = other.Value.EncryptionKey; + OverrideCountryCode = other.Value.OverrideCountryCode; + OverrideLocaleCode = other.Value.OverrideLocaleCode; + DeploymentId = other.Value.DeploymentId; + Flags = other.Value.Flags; + CacheDirectory = other.Value.CacheDirectory; + TickBudgetInMilliseconds = other.Value.TickBudgetInMilliseconds; + RTCOptions = other.Value.RTCOptions; + IntegratedPlatformOptionsContainerHandle = other.Value.IntegratedPlatformOptionsContainerHandle; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Reserved); + Helper.Dispose(ref m_ProductId); + Helper.Dispose(ref m_SandboxId); + Helper.Dispose(ref m_ClientCredentials); + Helper.Dispose(ref m_EncryptionKey); + Helper.Dispose(ref m_OverrideCountryCode); + Helper.Dispose(ref m_OverrideLocaleCode); + Helper.Dispose(ref m_DeploymentId); + Helper.Dispose(ref m_CacheDirectory); + Helper.Dispose(ref m_RTCOptions); + Helper.Dispose(ref m_IntegratedPlatformOptionsContainerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/Options.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/Options.cs.meta deleted file mode 100644 index 24aecf2a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/Options.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cb8d97d94d561cc448a5427c598061f9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformFlags.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformFlags.cs index c4692885..f5755287 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformFlags.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformFlags.cs @@ -1,39 +1,39 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - [System.Flags] - public enum PlatformFlags : ulong - { - None = 0x0, - /// - /// A bit that indicates the SDK is being loaded in a game editor, like Unity or UE4 Play-in-Editor - /// - LoadingInEditor = 0x00001, - /// - /// A bit that indicates the SDK should skip initialization of the overlay, which is used by the in-app purchase flow and social overlay. This bit is implied by - /// - DisableOverlay = 0x00002, - /// - /// A bit that indicates the SDK should skip initialization of the social overlay, which provides an overlay UI for social features. This bit is implied by or - /// - DisableSocialOverlay = 0x00004, - /// - /// A reserved bit - /// - Reserved1 = 0x00008, - /// - /// A bit that indicates your game would like to opt-in to experimental Direct3D 9 support for the overlay. This flag is only relevant on Windows - /// - WindowsEnableOverlayD3D9 = 0x00010, - /// - /// A bit that indicates your game would like to opt-in to experimental Direct3D 10 support for the overlay. This flag is only relevant on Windows - /// - WindowsEnableOverlayD3D10 = 0x00020, - /// - /// A bit that indicates your game would like to opt-in to experimental OpenGL support for the overlay. This flag is only relevant on Windows - /// - WindowsEnableOverlayOpengl = 0x00040 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + [System.Flags] + public enum PlatformFlags : ulong + { + None = 0x0, + /// + /// A bit that indicates the SDK is being loaded in a game editor, like Unity or UE4 Play-in-Editor + /// + LoadingInEditor = 0x00001, + /// + /// A bit that indicates the SDK should skip initialization of the overlay, which is used by the in-app purchase flow and social overlay. This bit is implied by + /// + DisableOverlay = 0x00002, + /// + /// A bit that indicates the SDK should skip initialization of the social overlay, which provides an overlay UI for social features. This bit is implied by or + /// + DisableSocialOverlay = 0x00004, + /// + /// A reserved bit + /// + Reserved1 = 0x00008, + /// + /// A bit that indicates your game would like to opt-in to experimental Direct3D 9 support for the overlay. This flag is only relevant on Windows + /// + WindowsEnableOverlayD3D9 = 0x00010, + /// + /// A bit that indicates your game would like to opt-in to experimental Direct3D 10 support for the overlay. This flag is only relevant on Windows + /// + WindowsEnableOverlayD3D10 = 0x00020, + /// + /// A bit that indicates your game would like to opt-in to experimental OpenGL support for the overlay. This flag is only relevant on Windows + /// + WindowsEnableOverlayOpengl = 0x00040 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformFlags.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformFlags.cs.meta deleted file mode 100644 index c795d868..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformFlags.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 47da41ce0968c9249bc61d4d1d8bbb8f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformInterface.cs index fe1c5293..57237fd3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformInterface.cs @@ -1,741 +1,871 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - public sealed partial class PlatformInterface : Handle - { - public PlatformInterface() - { - } - - public PlatformInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - public const int CountrycodeMaxBufferLen = (CountrycodeMaxLength + 1); - - public const int CountrycodeMaxLength = 4; - - /// - /// The most recent version of the API. - /// - public const int InitializeApiLatest = 4; - - /// - /// The most recent version of the API. - /// - public const int InitializeThreadaffinityApiLatest = 1; - - public const int LocalecodeMaxBufferLen = (LocalecodeMaxLength + 1); - - public const int LocalecodeMaxLength = 9; - - public const int OptionsApiLatest = 11; - - /// - /// The most recent version of the API. - /// - public const int RtcoptionsApiLatest = 1; - - /// - /// Checks if the app was launched through the Epic Launcher, and relaunches it through the Epic Launcher if it wasn't. - /// - /// - /// An is returned to indicate success or an error. - /// is returned if the app is being restarted. You should quit your process as soon as possible. - /// is returned if the app was already launched through the Epic Launcher, and no action needs to be taken. - /// is returned if the LauncherCheck module failed to initialize, or the module tried and failed to restart the app. - /// - public Result CheckForLauncherAndRestart() - { - var funcResult = Bindings.EOS_Platform_CheckForLauncherAndRestart(InnerHandle); - - return funcResult; - } - - /// - /// Create a single Epic Online Services Platform Instance. - /// - /// The platform instance is used to gain access to the various Epic Online Services. - /// - /// This function returns an opaque handle to the platform instance, and that handle must be passed to to release the instance. - /// - /// - /// An opaque handle to the platform instance. - /// - public static PlatformInterface Create(Options options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Platform_Create(optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - PlatformInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Achievements Interface. - /// eos_achievements.h - /// eos_achievements_types.h - /// - /// - /// handle - /// - public Achievements.AchievementsInterface GetAchievementsInterface() - { - var funcResult = Bindings.EOS_Platform_GetAchievementsInterface(InnerHandle); - - Achievements.AchievementsInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// This only will return the value set as the override otherwise is returned. - /// This is not currently used for anything internally. - /// eos_ecom.h - /// - /// - /// The account to use for lookup if no override exists. - /// The buffer into which the character data should be written. The buffer must be long enough to hold a string of . - /// - /// The size of the OutBuffer in characters. - /// The input buffer should include enough space to be null-terminated. - /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer. - /// - /// - /// An that indicates whether the active country code string was copied into the OutBuffer. - /// if the information is available and passed out in OutBuffer - /// if you pass a null pointer for the out parameter - /// if there is not an override country code for the user. - /// - The OutBuffer is not large enough to receive the country code string. InOutBufferLength contains the required minimum length to perform the operation successfully. - /// - public Result GetActiveCountryCode(EpicAccountId localUserId, out string outBuffer) - { - var localUserIdInnerHandle = System.IntPtr.Zero; - Helper.TryMarshalSet(ref localUserIdInnerHandle, localUserId); - - System.IntPtr outBufferAddress = System.IntPtr.Zero; - int inOutBufferLength = CountrycodeMaxLength + 1; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_Platform_GetActiveCountryCode(InnerHandle, localUserIdInnerHandle, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// Get the active locale code that the SDK will send to services which require it. - /// This returns the override value otherwise it will use the locale code of the given user. - /// This is used for localization. This follows ISO 639. - /// eos_ecom.h - /// - /// - /// The account to use for lookup if no override exists. - /// The buffer into which the character data should be written. The buffer must be long enough to hold a string of . - /// - /// The size of the OutBuffer in characters. - /// The input buffer should include enough space to be null-terminated. - /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer. - /// - /// - /// An that indicates whether the active locale code string was copied into the OutBuffer. - /// if the information is available and passed out in OutBuffer - /// if you pass a null pointer for the out parameter - /// if there is neither an override nor an available locale code for the user. - /// - The OutBuffer is not large enough to receive the locale code string. InOutBufferLength contains the required minimum length to perform the operation successfully. - /// - public Result GetActiveLocaleCode(EpicAccountId localUserId, out string outBuffer) - { - var localUserIdInnerHandle = System.IntPtr.Zero; - Helper.TryMarshalSet(ref localUserIdInnerHandle, localUserId); - - System.IntPtr outBufferAddress = System.IntPtr.Zero; - int inOutBufferLength = LocalecodeMaxLength + 1; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_Platform_GetActiveLocaleCode(InnerHandle, localUserIdInnerHandle, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// Get a handle to the Anti-Cheat Client Interface. - /// eos_anticheatclient.h - /// eos_anticheatclient_types.h - /// - /// - /// handle - /// - public AntiCheatClient.AntiCheatClientInterface GetAntiCheatClientInterface() - { - var funcResult = Bindings.EOS_Platform_GetAntiCheatClientInterface(InnerHandle); - - AntiCheatClient.AntiCheatClientInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Anti-Cheat Server Interface. - /// eos_anticheatserver.h - /// eos_anticheatserver_types.h - /// - /// - /// handle - /// - public AntiCheatServer.AntiCheatServerInterface GetAntiCheatServerInterface() - { - var funcResult = Bindings.EOS_Platform_GetAntiCheatServerInterface(InnerHandle); - - AntiCheatServer.AntiCheatServerInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Auth Interface. - /// eos_auth.h - /// eos_auth_types.h - /// - /// - /// handle - /// - public Auth.AuthInterface GetAuthInterface() - { - var funcResult = Bindings.EOS_Platform_GetAuthInterface(InnerHandle); - - Auth.AuthInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Connect Interface. - /// eos_connect.h - /// eos_connect_types.h - /// - /// - /// handle - /// - public Connect.ConnectInterface GetConnectInterface() - { - var funcResult = Bindings.EOS_Platform_GetConnectInterface(InnerHandle); - - Connect.ConnectInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Ecom Interface. - /// eos_ecom.h - /// eos_ecom_types.h - /// - /// - /// handle - /// - public Ecom.EcomInterface GetEcomInterface() - { - var funcResult = Bindings.EOS_Platform_GetEcomInterface(InnerHandle); - - Ecom.EcomInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Friends Interface. - /// eos_friends.h - /// eos_friends_types.h - /// - /// - /// handle - /// - public Friends.FriendsInterface GetFriendsInterface() - { - var funcResult = Bindings.EOS_Platform_GetFriendsInterface(InnerHandle); - - Friends.FriendsInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Kids Web Service Interface. - /// eos_kws.h - /// eos_kws_types.h - /// - /// - /// handle - /// - public KWS.KWSInterface GetKWSInterface() - { - var funcResult = Bindings.EOS_Platform_GetKWSInterface(InnerHandle); - - KWS.KWSInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Leaderboards Interface. - /// eos_leaderboards.h - /// eos_leaderboards_types.h - /// - /// - /// handle - /// - public Leaderboards.LeaderboardsInterface GetLeaderboardsInterface() - { - var funcResult = Bindings.EOS_Platform_GetLeaderboardsInterface(InnerHandle); - - Leaderboards.LeaderboardsInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Lobby Interface. - /// eos_lobby.h - /// eos_lobby_types.h - /// - /// - /// handle - /// - public Lobby.LobbyInterface GetLobbyInterface() - { - var funcResult = Bindings.EOS_Platform_GetLobbyInterface(InnerHandle); - - Lobby.LobbyInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Metrics Interface. - /// eos_metrics.h - /// eos_metrics_types.h - /// - /// - /// handle - /// - public Metrics.MetricsInterface GetMetricsInterface() - { - var funcResult = Bindings.EOS_Platform_GetMetricsInterface(InnerHandle); - - Metrics.MetricsInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Mods Interface. - /// eos_mods.h - /// eos_mods_types.h - /// - /// - /// handle - /// - public Mods.ModsInterface GetModsInterface() - { - var funcResult = Bindings.EOS_Platform_GetModsInterface(InnerHandle); - - Mods.ModsInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get the override country code that the SDK will send to services which require it. - /// This is not currently used for anything internally. - /// eos_ecom.h - /// - /// - /// The buffer into which the character data should be written. The buffer must be long enough to hold a string of . - /// - /// The size of the OutBuffer in characters. - /// The input buffer should include enough space to be null-terminated. - /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer. - /// - /// - /// An that indicates whether the override country code string was copied into the OutBuffer. - /// if the information is available and passed out in OutBuffer - /// if you pass a null pointer for the out parameter - /// - The OutBuffer is not large enough to receive the country code string. InOutBufferLength contains the required minimum length to perform the operation successfully. - /// - public Result GetOverrideCountryCode(out string outBuffer) - { - System.IntPtr outBufferAddress = System.IntPtr.Zero; - int inOutBufferLength = CountrycodeMaxLength + 1; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_Platform_GetOverrideCountryCode(InnerHandle, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// Get the override locale code that the SDK will send to services which require it. - /// This is used for localization. This follows ISO 639. - /// eos_ecom.h - /// - /// - /// The buffer into which the character data should be written. The buffer must be long enough to hold a string of . - /// - /// The size of the OutBuffer in characters. - /// The input buffer should include enough space to be null-terminated. - /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer. - /// - /// - /// An that indicates whether the override locale code string was copied into the OutBuffer. - /// if the information is available and passed out in OutBuffer - /// if you pass a null pointer for the out parameter - /// - The OutBuffer is not large enough to receive the locale code string. InOutBufferLength contains the required minimum length to perform the operation successfully. - /// - public Result GetOverrideLocaleCode(out string outBuffer) - { - System.IntPtr outBufferAddress = System.IntPtr.Zero; - int inOutBufferLength = LocalecodeMaxLength + 1; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_Platform_GetOverrideLocaleCode(InnerHandle, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// Get a handle to the Peer-to-Peer Networking Interface. - /// eos_p2p.h - /// eos_p2p_types.h - /// - /// - /// handle - /// - public P2P.P2PInterface GetP2PInterface() - { - var funcResult = Bindings.EOS_Platform_GetP2PInterface(InnerHandle); - - P2P.P2PInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the PlayerDataStorage Interface. - /// eos_playerdatastorage.h - /// eos_playerdatastorage_types.h - /// - /// - /// handle - /// - public PlayerDataStorage.PlayerDataStorageInterface GetPlayerDataStorageInterface() - { - var funcResult = Bindings.EOS_Platform_GetPlayerDataStorageInterface(InnerHandle); - - PlayerDataStorage.PlayerDataStorageInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Presence Interface. - /// eos_presence.h - /// eos_presence_types.h - /// - /// - /// handle - /// - public Presence.PresenceInterface GetPresenceInterface() - { - var funcResult = Bindings.EOS_Platform_GetPresenceInterface(InnerHandle); - - Presence.PresenceInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the RTC Admin interface - /// eos_rtc_admin.h - /// eos_admin_types.h - /// - /// - /// handle - /// - public RTCAdmin.RTCAdminInterface GetRTCAdminInterface() - { - var funcResult = Bindings.EOS_Platform_GetRTCAdminInterface(InnerHandle); - - RTCAdmin.RTCAdminInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Real Time Communications Interface (RTC). - /// From the RTC interface you can retrieve the handle to the audio interface (RTCAudio), which is a component of RTC. - /// - /// eos_rtc.h - /// eos_rtc_types.h - /// - /// - /// handle - /// - public RTC.RTCInterface GetRTCInterface() - { - var funcResult = Bindings.EOS_Platform_GetRTCInterface(InnerHandle); - - RTC.RTCInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Reports Interface. - /// eos_reports.h - /// eos_reports_types.h - /// - /// - /// handle - /// - public Reports.ReportsInterface GetReportsInterface() - { - var funcResult = Bindings.EOS_Platform_GetReportsInterface(InnerHandle); - - Reports.ReportsInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Sanctions Interface. - /// eos_sanctions.h - /// eos_sanctions_types.h - /// - /// - /// handle - /// - public Sanctions.SanctionsInterface GetSanctionsInterface() - { - var funcResult = Bindings.EOS_Platform_GetSanctionsInterface(InnerHandle); - - Sanctions.SanctionsInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Sessions Interface. - /// eos_sessions.h - /// eos_sessions_types.h - /// - /// - /// handle - /// - public Sessions.SessionsInterface GetSessionsInterface() - { - var funcResult = Bindings.EOS_Platform_GetSessionsInterface(InnerHandle); - - Sessions.SessionsInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the Stats Interface. - /// eos_stats.h - /// eos_stats_types.h - /// - /// - /// handle - /// - public Stats.StatsInterface GetStatsInterface() - { - var funcResult = Bindings.EOS_Platform_GetStatsInterface(InnerHandle); - - Stats.StatsInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the TitleStorage Interface. - /// eos_titlestorage.h - /// eos_titlestorage_types.h - /// - /// - /// handle - /// - public TitleStorage.TitleStorageInterface GetTitleStorageInterface() - { - var funcResult = Bindings.EOS_Platform_GetTitleStorageInterface(InnerHandle); - - TitleStorage.TitleStorageInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the UI Interface. - /// eos_ui.h - /// eos_ui_types.h - /// - /// - /// handle - /// - public UI.UIInterface GetUIInterface() - { - var funcResult = Bindings.EOS_Platform_GetUIInterface(InnerHandle); - - UI.UIInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get a handle to the UserInfo Interface. - /// eos_userinfo.h - /// eos_userinfo_types.h - /// - /// - /// handle - /// - public UserInfo.UserInfoInterface GetUserInfoInterface() - { - var funcResult = Bindings.EOS_Platform_GetUserInfoInterface(InnerHandle); - - UserInfo.UserInfoInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Initialize the Epic Online Services SDK. - /// - /// Before calling any other function in the SDK, clients must call this function. - /// - /// This function must only be called one time and must have a corresponding call. - /// - /// - The initialization options to use for the SDK. - /// - /// An is returned to indicate success or an error. - /// is returned if the SDK successfully initializes. - /// is returned if the function has already been called. - /// is returned if the provided options are invalid. - /// - public static Result Initialize(InitializeOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Initialize(optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Release an Epic Online Services platform instance previously returned from . - /// - /// This function should only be called once per instance returned by . Undefined behavior will result in calling it with a single instance more than once. - /// Typically only a single platform instance needs to be created during the lifetime of a game. - /// You should release each platform instance before calling the function. - /// - public void Release() - { - Bindings.EOS_Platform_Release(InnerHandle); - } - - /// - /// Set the override country code that the SDK will send to services which require it. - /// This is not currently used for anything internally. - /// eos_ecom.h - /// - /// - /// - /// An that indicates whether the override country code string was saved. - /// if the country code was overridden - /// if you pass an invalid country code - /// - public Result SetOverrideCountryCode(string newCountryCode) - { - var newCountryCodeAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref newCountryCodeAddress, newCountryCode); - - var funcResult = Bindings.EOS_Platform_SetOverrideCountryCode(InnerHandle, newCountryCodeAddress); - - Helper.TryMarshalDispose(ref newCountryCodeAddress); - - return funcResult; - } - - /// - /// Set the override locale code that the SDK will send to services which require it. - /// This is used for localization. This follows ISO 639. - /// eos_ecom.h - /// - /// - /// - /// An that indicates whether the override locale code string was saved. - /// if the locale code was overridden - /// if you pass an invalid locale code - /// - public Result SetOverrideLocaleCode(string newLocaleCode) - { - var newLocaleCodeAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref newLocaleCodeAddress, newLocaleCode); - - var funcResult = Bindings.EOS_Platform_SetOverrideLocaleCode(InnerHandle, newLocaleCodeAddress); - - Helper.TryMarshalDispose(ref newLocaleCodeAddress); - - return funcResult; - } - - /// - /// Tear down the Epic Online Services SDK. - /// - /// Once this function has been called, no more SDK calls are permitted; calling anything after will result in undefined behavior. - /// - /// - /// An is returned to indicate success or an error. - /// is returned if the SDK is successfully torn down. - /// is returned if a successful call to has not been made. - /// is returned if has already been called. - /// - public static Result Shutdown() - { - var funcResult = Bindings.EOS_Shutdown(); - - return funcResult; - } - - /// - /// Notify the platform instance to do work. This function must be called frequently in order for the services provided by the SDK to properly - /// function. For tick-based applications, it is usually desireable to call this once per-tick. - /// - public void Tick() - { - Bindings.EOS_Platform_Tick(InnerHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + public sealed partial class PlatformInterface : Handle + { + public PlatformInterface() + { + } + + public PlatformInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + public const int CountrycodeMaxBufferLen = (CountrycodeMaxLength + 1); + + public const int CountrycodeMaxLength = 4; + + /// + /// The most recent version of the API. + /// + public const int GetdesktopcrossplaystatusApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int InitializeApiLatest = 4; + + /// + /// The most recent version of the API. + /// + public const int InitializeThreadaffinityApiLatest = 2; + + public const int LocalecodeMaxBufferLen = (LocalecodeMaxLength + 1); + + public const int LocalecodeMaxLength = 9; + + public const int OptionsApiLatest = 12; + + /// + /// The most recent version of the API. + /// + public const int RtcoptionsApiLatest = 1; + + /// + /// Checks if the app was launched through the Epic Launcher, and relaunches it through the Epic Launcher if it wasn't. + /// + /// + /// An is returned to indicate success or an error. + /// is returned if the app is being restarted. You should quit your process as soon as possible. + /// is returned if the app was already launched through the Epic Launcher, and no action needs to be taken. + /// is returned if the LauncherCheck module failed to initialize, or the module tried and failed to restart the app. + /// + public Result CheckForLauncherAndRestart() + { + var funcResult = Bindings.EOS_Platform_CheckForLauncherAndRestart(InnerHandle); + + return funcResult; + } + + /// + /// Create a single Epic Online Services Platform Instance. + /// + /// The platform instance is used to gain access to the various Epic Online Services. + /// + /// This function returns an opaque handle to the platform instance, and that handle must be passed to to release the instance. + /// + /// + /// An opaque handle to the platform instance. + /// + public static PlatformInterface Create(ref Options options) + { + OptionsInternal optionsInternal = new OptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Platform_Create(ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + PlatformInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Achievements Interface. + /// eos_achievements.h + /// eos_achievements_types.h + /// + /// + /// handle + /// + public Achievements.AchievementsInterface GetAchievementsInterface() + { + var funcResult = Bindings.EOS_Platform_GetAchievementsInterface(InnerHandle); + + Achievements.AchievementsInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// This only will return the value set as the override otherwise is returned. + /// This is not currently used for anything internally. + /// eos_ecom.h + /// + /// + /// The account to use for lookup if no override exists. + /// The buffer into which the character data should be written. The buffer must be long enough to hold a string of . + /// + /// The size of the OutBuffer in characters. + /// The input buffer should include enough space to be null-terminated. + /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer. + /// + /// + /// An that indicates whether the active country code string was copied into the OutBuffer. + /// if the information is available and passed out in OutBuffer + /// if you pass a null pointer for the out parameter + /// if there is not an override country code for the user. + /// - The OutBuffer is not large enough to receive the country code string. InOutBufferLength contains the required minimum length to perform the operation successfully. + /// + public Result GetActiveCountryCode(EpicAccountId localUserId, out Utf8String outBuffer) + { + var localUserIdInnerHandle = System.IntPtr.Zero; + Helper.Set(localUserId, ref localUserIdInnerHandle); + + int inOutBufferLength = CountrycodeMaxLength + 1; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_Platform_GetActiveCountryCode(InnerHandle, localUserIdInnerHandle, outBufferAddress, ref inOutBufferLength); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// Get the active locale code that the SDK will send to services which require it. + /// This returns the override value otherwise it will use the locale code of the given user. + /// This is used for localization. This follows ISO 639. + /// eos_ecom.h + /// + /// + /// The account to use for lookup if no override exists. + /// The buffer into which the character data should be written. The buffer must be long enough to hold a string of . + /// + /// The size of the OutBuffer in characters. + /// The input buffer should include enough space to be null-terminated. + /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer. + /// + /// + /// An that indicates whether the active locale code string was copied into the OutBuffer. + /// if the information is available and passed out in OutBuffer + /// if you pass a null pointer for the out parameter + /// if there is neither an override nor an available locale code for the user. + /// - The OutBuffer is not large enough to receive the locale code string. InOutBufferLength contains the required minimum length to perform the operation successfully. + /// + public Result GetActiveLocaleCode(EpicAccountId localUserId, out Utf8String outBuffer) + { + var localUserIdInnerHandle = System.IntPtr.Zero; + Helper.Set(localUserId, ref localUserIdInnerHandle); + + int inOutBufferLength = LocalecodeMaxLength + 1; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_Platform_GetActiveLocaleCode(InnerHandle, localUserIdInnerHandle, outBufferAddress, ref inOutBufferLength); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// Get a handle to the Anti-Cheat Client Interface. + /// eos_anticheatclient.h + /// eos_anticheatclient_types.h + /// + /// + /// handle + /// + public AntiCheatClient.AntiCheatClientInterface GetAntiCheatClientInterface() + { + var funcResult = Bindings.EOS_Platform_GetAntiCheatClientInterface(InnerHandle); + + AntiCheatClient.AntiCheatClientInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Anti-Cheat Server Interface. + /// eos_anticheatserver.h + /// eos_anticheatserver_types.h + /// + /// + /// handle + /// + public AntiCheatServer.AntiCheatServerInterface GetAntiCheatServerInterface() + { + var funcResult = Bindings.EOS_Platform_GetAntiCheatServerInterface(InnerHandle); + + AntiCheatServer.AntiCheatServerInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Retrieves the current application state as told to the SDK by the application. + /// + /// + /// The current application status. + /// + public ApplicationStatus GetApplicationStatus() + { + var funcResult = Bindings.EOS_Platform_GetApplicationStatus(InnerHandle); + + return funcResult; + } + + /// + /// Get a handle to the Auth Interface. + /// eos_auth.h + /// eos_auth_types.h + /// + /// + /// handle + /// + public Auth.AuthInterface GetAuthInterface() + { + var funcResult = Bindings.EOS_Platform_GetAuthInterface(InnerHandle); + + Auth.AuthInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Connect Interface. + /// eos_connect.h + /// eos_connect_types.h + /// + /// + /// handle + /// + public Connect.ConnectInterface GetConnectInterface() + { + var funcResult = Bindings.EOS_Platform_GetConnectInterface(InnerHandle); + + Connect.ConnectInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Custom Invites Interface. + /// eos_custominvites.h + /// eos_custominvites_types.h + /// + /// + /// handle + /// + public CustomInvites.CustomInvitesInterface GetCustomInvitesInterface() + { + var funcResult = Bindings.EOS_Platform_GetCustomInvitesInterface(InnerHandle); + + CustomInvites.CustomInvitesInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Windows only. + /// Checks that the application is ready to use desktop crossplay functionality, with the necessary prerequisites having been met. + /// + /// This function verifies that the application was launched through the Bootstrapper application, + /// the redistributable service has been installed and is running in the background, + /// and that the overlay has been loaded successfully. + /// + /// On Windows, the desktop crossplay functionality is required to use Epic accounts login + /// with applications that are distributed outside the Epic Games Store. + /// + /// input structure that specifies the API version. + /// output structure to receive the desktop crossplay status information. + /// + /// An is returned to indicate success or an error. + /// is returned on non-Windows platforms. + /// + public Result GetDesktopCrossplayStatus(ref GetDesktopCrossplayStatusOptions options, out GetDesktopCrossplayStatusInfo outDesktopCrossplayStatusInfo) + { + GetDesktopCrossplayStatusOptionsInternal optionsInternal = new GetDesktopCrossplayStatusOptionsInternal(); + optionsInternal.Set(ref options); + + var outDesktopCrossplayStatusInfoInternal = Helper.GetDefault(); + + var funcResult = Bindings.EOS_Platform_GetDesktopCrossplayStatus(InnerHandle, ref optionsInternal, ref outDesktopCrossplayStatusInfoInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(ref outDesktopCrossplayStatusInfoInternal, out outDesktopCrossplayStatusInfo); + + return funcResult; + } + + /// + /// Get a handle to the Ecom Interface. + /// eos_ecom.h + /// eos_ecom_types.h + /// + /// + /// handle + /// + public Ecom.EcomInterface GetEcomInterface() + { + var funcResult = Bindings.EOS_Platform_GetEcomInterface(InnerHandle); + + Ecom.EcomInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Friends Interface. + /// eos_friends.h + /// eos_friends_types.h + /// + /// + /// handle + /// + public Friends.FriendsInterface GetFriendsInterface() + { + var funcResult = Bindings.EOS_Platform_GetFriendsInterface(InnerHandle); + + Friends.FriendsInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Kids Web Service Interface. + /// eos_kws.h + /// eos_kws_types.h + /// + /// + /// handle + /// + public KWS.KWSInterface GetKWSInterface() + { + var funcResult = Bindings.EOS_Platform_GetKWSInterface(InnerHandle); + + KWS.KWSInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Leaderboards Interface. + /// eos_leaderboards.h + /// eos_leaderboards_types.h + /// + /// + /// handle + /// + public Leaderboards.LeaderboardsInterface GetLeaderboardsInterface() + { + var funcResult = Bindings.EOS_Platform_GetLeaderboardsInterface(InnerHandle); + + Leaderboards.LeaderboardsInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Lobby Interface. + /// eos_lobby.h + /// eos_lobby_types.h + /// + /// + /// handle + /// + public Lobby.LobbyInterface GetLobbyInterface() + { + var funcResult = Bindings.EOS_Platform_GetLobbyInterface(InnerHandle); + + Lobby.LobbyInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Metrics Interface. + /// eos_metrics.h + /// eos_metrics_types.h + /// + /// + /// handle + /// + public Metrics.MetricsInterface GetMetricsInterface() + { + var funcResult = Bindings.EOS_Platform_GetMetricsInterface(InnerHandle); + + Metrics.MetricsInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Mods Interface. + /// eos_mods.h + /// eos_mods_types.h + /// + /// + /// handle + /// + public Mods.ModsInterface GetModsInterface() + { + var funcResult = Bindings.EOS_Platform_GetModsInterface(InnerHandle); + + Mods.ModsInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Retrieves the current network state as told to the SDK by the application. + /// + /// + /// The current network status. + /// + public NetworkStatus GetNetworkStatus() + { + var funcResult = Bindings.EOS_Platform_GetNetworkStatus(InnerHandle); + + return funcResult; + } + + /// + /// Get the override country code that the SDK will send to services which require it. + /// This is not currently used for anything internally. + /// eos_ecom.h + /// + /// + /// The buffer into which the character data should be written. The buffer must be long enough to hold a string of . + /// + /// The size of the OutBuffer in characters. + /// The input buffer should include enough space to be null-terminated. + /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer. + /// + /// + /// An that indicates whether the override country code string was copied into the OutBuffer. + /// if the information is available and passed out in OutBuffer + /// if you pass a null pointer for the out parameter + /// - The OutBuffer is not large enough to receive the country code string. InOutBufferLength contains the required minimum length to perform the operation successfully. + /// + public Result GetOverrideCountryCode(out Utf8String outBuffer) + { + int inOutBufferLength = CountrycodeMaxLength + 1; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_Platform_GetOverrideCountryCode(InnerHandle, outBufferAddress, ref inOutBufferLength); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// Get the override locale code that the SDK will send to services which require it. + /// This is used for localization. This follows ISO 639. + /// eos_ecom.h + /// + /// + /// The buffer into which the character data should be written. The buffer must be long enough to hold a string of . + /// + /// The size of the OutBuffer in characters. + /// The input buffer should include enough space to be null-terminated. + /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer. + /// + /// + /// An that indicates whether the override locale code string was copied into the OutBuffer. + /// if the information is available and passed out in OutBuffer + /// if you pass a null pointer for the out parameter + /// - The OutBuffer is not large enough to receive the locale code string. InOutBufferLength contains the required minimum length to perform the operation successfully. + /// + public Result GetOverrideLocaleCode(out Utf8String outBuffer) + { + int inOutBufferLength = LocalecodeMaxLength + 1; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_Platform_GetOverrideLocaleCode(InnerHandle, outBufferAddress, ref inOutBufferLength); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// Get a handle to the Peer-to-Peer Networking Interface. + /// eos_p2p.h + /// eos_p2p_types.h + /// + /// + /// handle + /// + public P2P.P2PInterface GetP2PInterface() + { + var funcResult = Bindings.EOS_Platform_GetP2PInterface(InnerHandle); + + P2P.P2PInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the PlayerDataStorage Interface. + /// eos_playerdatastorage.h + /// eos_playerdatastorage_types.h + /// + /// + /// handle + /// + public PlayerDataStorage.PlayerDataStorageInterface GetPlayerDataStorageInterface() + { + var funcResult = Bindings.EOS_Platform_GetPlayerDataStorageInterface(InnerHandle); + + PlayerDataStorage.PlayerDataStorageInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Presence Interface. + /// eos_presence.h + /// eos_presence_types.h + /// + /// + /// handle + /// + public Presence.PresenceInterface GetPresenceInterface() + { + var funcResult = Bindings.EOS_Platform_GetPresenceInterface(InnerHandle); + + Presence.PresenceInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get the active country code that the SDK will send to services which require it. + /// This returns the override value otherwise it will use the country code of the given user. + /// This is currently used for determining pricing. + /// Get a handle to the ProgressionSnapshot Interface. + /// eos_progressionsnapshot.h + /// eos_progressionsnapshot_types.h + /// + /// + /// handle + /// + public ProgressionSnapshot.ProgressionSnapshotInterface GetProgressionSnapshotInterface() + { + var funcResult = Bindings.EOS_Platform_GetProgressionSnapshotInterface(InnerHandle); + + ProgressionSnapshot.ProgressionSnapshotInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the RTC Admin interface + /// eos_rtc_admin.h + /// eos_admin_types.h + /// + /// + /// handle + /// + public RTCAdmin.RTCAdminInterface GetRTCAdminInterface() + { + var funcResult = Bindings.EOS_Platform_GetRTCAdminInterface(InnerHandle); + + RTCAdmin.RTCAdminInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Real Time Communications Interface (RTC). + /// From the RTC interface you can retrieve the handle to the audio interface (RTCAudio), which is a component of RTC. + /// + /// eos_rtc.h + /// eos_rtc_types.h + /// + /// + /// handle + /// + public RTC.RTCInterface GetRTCInterface() + { + var funcResult = Bindings.EOS_Platform_GetRTCInterface(InnerHandle); + + RTC.RTCInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Reports Interface. + /// eos_reports.h + /// eos_reports_types.h + /// + /// + /// handle + /// + public Reports.ReportsInterface GetReportsInterface() + { + var funcResult = Bindings.EOS_Platform_GetReportsInterface(InnerHandle); + + Reports.ReportsInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Sanctions Interface. + /// eos_sanctions.h + /// eos_sanctions_types.h + /// + /// + /// handle + /// + public Sanctions.SanctionsInterface GetSanctionsInterface() + { + var funcResult = Bindings.EOS_Platform_GetSanctionsInterface(InnerHandle); + + Sanctions.SanctionsInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Sessions Interface. + /// eos_sessions.h + /// eos_sessions_types.h + /// + /// + /// handle + /// + public Sessions.SessionsInterface GetSessionsInterface() + { + var funcResult = Bindings.EOS_Platform_GetSessionsInterface(InnerHandle); + + Sessions.SessionsInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the Stats Interface. + /// eos_stats.h + /// eos_stats_types.h + /// + /// + /// handle + /// + public Stats.StatsInterface GetStatsInterface() + { + var funcResult = Bindings.EOS_Platform_GetStatsInterface(InnerHandle); + + Stats.StatsInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the TitleStorage Interface. + /// eos_titlestorage.h + /// eos_titlestorage_types.h + /// + /// + /// handle + /// + public TitleStorage.TitleStorageInterface GetTitleStorageInterface() + { + var funcResult = Bindings.EOS_Platform_GetTitleStorageInterface(InnerHandle); + + TitleStorage.TitleStorageInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the UI Interface. + /// eos_ui.h + /// eos_ui_types.h + /// + /// + /// handle + /// + public UI.UIInterface GetUIInterface() + { + var funcResult = Bindings.EOS_Platform_GetUIInterface(InnerHandle); + + UI.UIInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get a handle to the UserInfo Interface. + /// eos_userinfo.h + /// eos_userinfo_types.h + /// + /// + /// handle + /// + public UserInfo.UserInfoInterface GetUserInfoInterface() + { + var funcResult = Bindings.EOS_Platform_GetUserInfoInterface(InnerHandle); + + UserInfo.UserInfoInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Initialize the Epic Online Services SDK. + /// + /// Before calling any other function in the SDK, clients must call this function. + /// + /// This function must only be called one time and must have a corresponding call. + /// + /// - The initialization options to use for the SDK. + /// + /// An is returned to indicate success or an error. + /// is returned if the SDK successfully initializes. + /// is returned if the function has already been called. + /// is returned if the provided options are invalid. + /// + public static Result Initialize(ref InitializeOptions options) + { + InitializeOptionsInternal optionsInternal = new InitializeOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Initialize(ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Release an Epic Online Services platform instance previously returned from . + /// + /// This function should only be called once per instance returned by . Undefined behavior will result in calling it with a single instance more than once. + /// Typically only a single platform instance needs to be created during the lifetime of a game. + /// You should release each platform instance before calling the function. + /// + public void Release() + { + Bindings.EOS_Platform_Release(InnerHandle); + } + + /// + /// Notify a change in application state. + /// Calling SetApplicationStatus must happen before Tick when foregrounding for the cases where we won't get the background notification. + /// + /// The new status for the application. + /// + /// An that indicates whether we changed the application status successfully. + /// if the application was changed successfully. + /// if the value of NewStatus is invalid. + /// + public Result SetApplicationStatus(ApplicationStatus newStatus) + { + var funcResult = Bindings.EOS_Platform_SetApplicationStatus(InnerHandle, newStatus); + + return funcResult; + } + + /// + /// Notify a change in network state. + /// + /// The new network status. + /// + /// An that indicates whether we changed the network status successfully. + /// if the network was changed successfully. + /// if the value of NewStatus is invalid. + /// + public Result SetNetworkStatus(NetworkStatus newStatus) + { + var funcResult = Bindings.EOS_Platform_SetNetworkStatus(InnerHandle, newStatus); + + return funcResult; + } + + /// + /// Set the override country code that the SDK will send to services which require it. + /// This is not currently used for anything internally. + /// eos_ecom.h + /// + /// + /// + /// An that indicates whether the override country code string was saved. + /// if the country code was overridden + /// if you pass an invalid country code + /// + public Result SetOverrideCountryCode(Utf8String newCountryCode) + { + var newCountryCodeAddress = System.IntPtr.Zero; + Helper.Set(newCountryCode, ref newCountryCodeAddress); + + var funcResult = Bindings.EOS_Platform_SetOverrideCountryCode(InnerHandle, newCountryCodeAddress); + + Helper.Dispose(ref newCountryCodeAddress); + + return funcResult; + } + + /// + /// Set the override locale code that the SDK will send to services which require it. + /// This is used for localization. This follows ISO 639. + /// eos_ecom.h + /// + /// + /// + /// An that indicates whether the override locale code string was saved. + /// if the locale code was overridden + /// if you pass an invalid locale code + /// + public Result SetOverrideLocaleCode(Utf8String newLocaleCode) + { + var newLocaleCodeAddress = System.IntPtr.Zero; + Helper.Set(newLocaleCode, ref newLocaleCodeAddress); + + var funcResult = Bindings.EOS_Platform_SetOverrideLocaleCode(InnerHandle, newLocaleCodeAddress); + + Helper.Dispose(ref newLocaleCodeAddress); + + return funcResult; + } + + /// + /// Tear down the Epic Online Services SDK. + /// + /// Once this function has been called, no more SDK calls are permitted; calling anything after will result in undefined behavior. + /// + /// + /// An is returned to indicate success or an error. + /// is returned if the SDK is successfully torn down. + /// is returned if a successful call to has not been made. + /// is returned if has already been called. + /// + public static Result Shutdown() + { + var funcResult = Bindings.EOS_Shutdown(); + + return funcResult; + } + + /// + /// Notify the platform instance to do work. This function must be called frequently in order for the services provided by the SDK to properly + /// function. For tick-based applications, it is usually desirable to call this once per-tick. + /// + public void Tick() + { + Bindings.EOS_Platform_Tick(InnerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformInterface.cs.meta deleted file mode 100644 index a60f2d50..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/PlatformInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 41db98a17f463544199ffedf3f4cab2e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/RTCOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/RTCOptions.cs index 7e7179d9..16ca53d9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/RTCOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/RTCOptions.cs @@ -1,71 +1,70 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - /// - /// Platform RTC options. - /// - public class RTCOptions : ISettable - { - /// - /// This field is for platform specific initialization if any. - /// - /// If provided then the structure will be located in /eos_.h. - /// The structure will be named EOS__RTCOptions. - /// - public System.IntPtr PlatformSpecificOptions { get; set; } - - internal void Set(RTCOptionsInternal? other) - { - if (other != null) - { - PlatformSpecificOptions = other.Value.PlatformSpecificOptions; - } - } - - public void Set(object other) - { - Set(other as RTCOptionsInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RTCOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_PlatformSpecificOptions; - - public System.IntPtr PlatformSpecificOptions - { - get - { - return m_PlatformSpecificOptions; - } - - set - { - m_PlatformSpecificOptions = value; - } - } - - public void Set(RTCOptions other) - { - if (other != null) - { - m_ApiVersion = PlatformInterface.RtcoptionsApiLatest; - PlatformSpecificOptions = other.PlatformSpecificOptions; - } - } - - public void Set(object other) - { - Set(other as RTCOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_PlatformSpecificOptions); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Platform RTC options. + /// + public struct RTCOptions + { + /// + /// This field is for platform specific initialization if any. + /// + /// If provided then the structure will be located in /eos_.h. + /// The structure will be named EOS__RTCOptions. + /// + public System.IntPtr PlatformSpecificOptions { get; set; } + + internal void Set(ref RTCOptionsInternal other) + { + PlatformSpecificOptions = other.PlatformSpecificOptions; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RTCOptionsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_PlatformSpecificOptions; + + public System.IntPtr PlatformSpecificOptions + { + get + { + return m_PlatformSpecificOptions; + } + + set + { + m_PlatformSpecificOptions = value; + } + } + + public void Set(ref RTCOptions other) + { + m_ApiVersion = PlatformInterface.RtcoptionsApiLatest; + PlatformSpecificOptions = other.PlatformSpecificOptions; + } + + public void Set(ref RTCOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlatformInterface.RtcoptionsApiLatest; + PlatformSpecificOptions = other.Value.PlatformSpecificOptions; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_PlatformSpecificOptions); + } + + public void Get(out RTCOptions output) + { + output = new RTCOptions(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/RTCOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/RTCOptions.cs.meta deleted file mode 100644 index bb87b241..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/RTCOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3da4aa258e9b1fb4ab19f9ec2448a6e9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReallocateMemoryFunc.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReallocateMemoryFunc.cs index 002ab194..f9dbafae 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReallocateMemoryFunc.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReallocateMemoryFunc.cs @@ -1,16 +1,16 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - /// - /// Function prototype type definition for functions that reallocate memory. - /// - /// Functions passed to to serve as memory reallocators should return a pointer to the reallocated memory. - /// The returned pointer should have at least SizeInBytes available capacity and the memory address should be a multiple of alignment. - /// The SDK will always call the provided function with an Alignment that is a power of 2. - /// Reallocation failures should return a null pointer. - /// - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - public delegate System.IntPtr ReallocateMemoryFunc(System.IntPtr pointer, System.UIntPtr sizeInBytes, System.UIntPtr alignment); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Function prototype type definition for functions that reallocate memory. + /// + /// Functions passed to to serve as memory reallocators should return a pointer to the reallocated memory. + /// The returned pointer should have at least SizeInBytes available capacity and the memory address should be a multiple of alignment. + /// The SDK will always call the provided function with an Alignment that is a power of 2. + /// Reallocation failures should return a null pointer. + /// + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + public delegate System.IntPtr ReallocateMemoryFunc(System.IntPtr pointer, System.UIntPtr sizeInBytes, System.UIntPtr alignment); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReallocateMemoryFunc.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReallocateMemoryFunc.cs.meta deleted file mode 100644 index b03aa5b0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReallocateMemoryFunc.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 263c339e92317d04ca52839c05df914d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReleaseMemoryFunc.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReleaseMemoryFunc.cs index 5bbdd365..bad0f373 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReleaseMemoryFunc.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReleaseMemoryFunc.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - /// - /// Function prototype type definition for functions that release memory. - /// - /// When the SDK is done with memory that has been allocated by a custom allocator passed to , it will call the corresponding memory release function. - /// - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - public delegate void ReleaseMemoryFunc(System.IntPtr pointer); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Function prototype type definition for functions that release memory. + /// + /// When the SDK is done with memory that has been allocated by a custom allocator passed to , it will call the corresponding memory release function. + /// + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + public delegate void ReleaseMemoryFunc(System.IntPtr pointer); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReleaseMemoryFunc.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReleaseMemoryFunc.cs.meta deleted file mode 100644 index 6595487b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Platform/ReleaseMemoryFunc.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5429a5dd77aa8134a9d92cfd0f1de85b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage.meta deleted file mode 100644 index 3993c98f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 168d3a0dd77295f499e4e4a247250241 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataAtIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataAtIndexOptions.cs index 1c47f067..5cba94f0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataAtIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataAtIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Input data for the CopyFileMetadataAtIndex function - /// - public class CopyFileMetadataAtIndexOptions - { - /// - /// The Product User ID of the local user who is requesting file metadata - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The index to get data for - /// - public uint Index { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyFileMetadataAtIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private uint m_Index; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public uint Index - { - set - { - m_Index = value; - } - } - - public void Set(CopyFileMetadataAtIndexOptions other) - { - if (other != null) - { - m_ApiVersion = PlayerDataStorageInterface.CopyfilemetadataatindexoptionsApiLatest; - LocalUserId = other.LocalUserId; - Index = other.Index; - } - } - - public void Set(object other) - { - Set(other as CopyFileMetadataAtIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Input data for the CopyFileMetadataAtIndex function + /// + public struct CopyFileMetadataAtIndexOptions + { + /// + /// The Product User ID of the local user who is requesting file metadata + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The index to get data for + /// + public uint Index { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyFileMetadataAtIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private uint m_Index; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint Index + { + set + { + m_Index = value; + } + } + + public void Set(ref CopyFileMetadataAtIndexOptions other) + { + m_ApiVersion = PlayerDataStorageInterface.CopyfilemetadataatindexApiLatest; + LocalUserId = other.LocalUserId; + Index = other.Index; + } + + public void Set(ref CopyFileMetadataAtIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlayerDataStorageInterface.CopyfilemetadataatindexApiLatest; + LocalUserId = other.Value.LocalUserId; + Index = other.Value.Index; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataAtIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataAtIndexOptions.cs.meta deleted file mode 100644 index fae56ee6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataAtIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a10db7eb93427af48b310d8908907250 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataByFilenameOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataByFilenameOptions.cs index e6ac6efc..4c93e527 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataByFilenameOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataByFilenameOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Input data for the CopyFileMetadataByFilename function - /// - public class CopyFileMetadataByFilenameOptions - { - /// - /// The Product User ID of the local user who is requesting file metadata - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The file's name to get data for - /// - public string Filename { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyFileMetadataByFilenameOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string Filename - { - set - { - Helper.TryMarshalSet(ref m_Filename, value); - } - } - - public void Set(CopyFileMetadataByFilenameOptions other) - { - if (other != null) - { - m_ApiVersion = PlayerDataStorageInterface.CopyfilemetadatabyfilenameoptionsApiLatest; - LocalUserId = other.LocalUserId; - Filename = other.Filename; - } - } - - public void Set(object other) - { - Set(other as CopyFileMetadataByFilenameOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_Filename); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Input data for the CopyFileMetadataByFilename function + /// + public struct CopyFileMetadataByFilenameOptions + { + /// + /// The Product User ID of the local user who is requesting file metadata + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The file's name to get data for + /// + public Utf8String Filename { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyFileMetadataByFilenameOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + set + { + Helper.Set(value, ref m_Filename); + } + } + + public void Set(ref CopyFileMetadataByFilenameOptions other) + { + m_ApiVersion = PlayerDataStorageInterface.CopyfilemetadatabyfilenameApiLatest; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + } + + public void Set(ref CopyFileMetadataByFilenameOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlayerDataStorageInterface.CopyfilemetadatabyfilenameApiLatest; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataByFilenameOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataByFilenameOptions.cs.meta deleted file mode 100644 index 301c0bf1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/CopyFileMetadataByFilenameOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4f395ad47a65fec449d5ab79ae8b428f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheCallbackInfo.cs index b5a3dd1c..ec72edc4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Structure containing the result of a delete cache operation - /// - public class DeleteCacheCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into the delete cache request - /// - public object ClientData { get; private set; } - - /// - /// Product User ID of the local user who initiated this request - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(DeleteCacheCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as DeleteCacheCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DeleteCacheCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Structure containing the result of a delete cache operation + /// + public struct DeleteCacheCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful request, other codes indicate an error + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into the delete cache request + /// + public object ClientData { get; set; } + + /// + /// Product User ID of the local user who initiated this request + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref DeleteCacheCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DeleteCacheCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref DeleteCacheCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref DeleteCacheCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out DeleteCacheCallbackInfo output) + { + output = new DeleteCacheCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheCallbackInfo.cs.meta deleted file mode 100644 index e5486203..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 51ae8c8fc3d5eb34e93ed64bbb056619 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheOptions.cs index fe6dbb51..7783f691 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Input data for the function - /// - public class DeleteCacheOptions - { - /// - /// Product User ID of the local user who is deleting his cache - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DeleteCacheOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(DeleteCacheOptions other) - { - if (other != null) - { - m_ApiVersion = PlayerDataStorageInterface.DeletecacheoptionsApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as DeleteCacheOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Input data for the function + /// + public struct DeleteCacheOptions + { + /// + /// Product User ID of the local user who is deleting his cache + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DeleteCacheOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref DeleteCacheOptions other) + { + m_ApiVersion = PlayerDataStorageInterface.DeletecacheApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref DeleteCacheOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlayerDataStorageInterface.DeletecacheApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheOptions.cs.meta deleted file mode 100644 index 6f8e7035..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteCacheOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 88d0939c808e1954ca57d66cc7be1633 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileCallbackInfo.cs index 023f513d..15adb257 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Data containing the result information for a delete file request - /// - public class DeleteFileCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into the file deletion request - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local user who initiated this request - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(DeleteFileCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as DeleteFileCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DeleteFileCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Data containing the result information for a delete file request + /// + public struct DeleteFileCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful request, other codes indicate an error + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into the file deletion request + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local user who initiated this request + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref DeleteFileCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DeleteFileCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref DeleteFileCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref DeleteFileCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out DeleteFileCallbackInfo output) + { + output = new DeleteFileCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileCallbackInfo.cs.meta deleted file mode 100644 index a32cfc11..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c1b08b75ea4f8be45aa864d962809062 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileOptions.cs index 29c67489..1bc6cb33 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Input data for the function - /// - public class DeleteFileOptions - { - /// - /// The Product User ID of the local user who authorizes deletion of the file; must be the file's owner - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The name of the file to delete - /// - public string Filename { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DeleteFileOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string Filename - { - set - { - Helper.TryMarshalSet(ref m_Filename, value); - } - } - - public void Set(DeleteFileOptions other) - { - if (other != null) - { - m_ApiVersion = PlayerDataStorageInterface.DeletefileoptionsApiLatest; - LocalUserId = other.LocalUserId; - Filename = other.Filename; - } - } - - public void Set(object other) - { - Set(other as DeleteFileOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_Filename); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Input data for the function + /// + public struct DeleteFileOptions + { + /// + /// The Product User ID of the local user who authorizes deletion of the file; must be the file's owner + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The name of the file to delete + /// + public Utf8String Filename { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DeleteFileOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + set + { + Helper.Set(value, ref m_Filename); + } + } + + public void Set(ref DeleteFileOptions other) + { + m_ApiVersion = PlayerDataStorageInterface.DeletefileApiLatest; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + } + + public void Set(ref DeleteFileOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlayerDataStorageInterface.DeletefileApiLatest; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileOptions.cs.meta deleted file mode 100644 index 745c2233..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DeleteFileOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bac0d76dbbc01644a8f7327151c591dd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileCallbackInfo.cs index a1b6f9df..5611fc6a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Data containing the result information for a duplicate file request - /// - public class DuplicateFileCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into the file duplicate request - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local user who initiated this request - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(DuplicateFileCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as DuplicateFileCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DuplicateFileCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Data containing the result information for a duplicate file request + /// + public struct DuplicateFileCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful request, other codes indicate an error + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into the file duplicate request + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local user who initiated this request + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref DuplicateFileCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DuplicateFileCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref DuplicateFileCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref DuplicateFileCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out DuplicateFileCallbackInfo output) + { + output = new DuplicateFileCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileCallbackInfo.cs.meta deleted file mode 100644 index c2f61e99..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f8d0c10a5e3e93b4facfd00ec338e7f1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileOptions.cs index e6d50778..35fbf265 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileOptions.cs @@ -1,82 +1,85 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Input data for the function - /// - public class DuplicateFileOptions - { - /// - /// The Product User ID of the local user who authorized the duplication of the requested file; must be the original file's owner - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The name of the existing file to duplicate - /// - public string SourceFilename { get; set; } - - /// - /// The name of the new file - /// - public string DestinationFilename { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DuplicateFileOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_SourceFilename; - private System.IntPtr m_DestinationFilename; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string SourceFilename - { - set - { - Helper.TryMarshalSet(ref m_SourceFilename, value); - } - } - - public string DestinationFilename - { - set - { - Helper.TryMarshalSet(ref m_DestinationFilename, value); - } - } - - public void Set(DuplicateFileOptions other) - { - if (other != null) - { - m_ApiVersion = PlayerDataStorageInterface.DuplicatefileoptionsApiLatest; - LocalUserId = other.LocalUserId; - SourceFilename = other.SourceFilename; - DestinationFilename = other.DestinationFilename; - } - } - - public void Set(object other) - { - Set(other as DuplicateFileOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_SourceFilename); - Helper.TryMarshalDispose(ref m_DestinationFilename); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Input data for the function + /// + public struct DuplicateFileOptions + { + /// + /// The Product User ID of the local user who authorized the duplication of the requested file; must be the original file's owner + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The name of the existing file to duplicate + /// + public Utf8String SourceFilename { get; set; } + + /// + /// The name of the new file + /// + public Utf8String DestinationFilename { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DuplicateFileOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_SourceFilename; + private System.IntPtr m_DestinationFilename; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String SourceFilename + { + set + { + Helper.Set(value, ref m_SourceFilename); + } + } + + public Utf8String DestinationFilename + { + set + { + Helper.Set(value, ref m_DestinationFilename); + } + } + + public void Set(ref DuplicateFileOptions other) + { + m_ApiVersion = PlayerDataStorageInterface.DuplicatefileApiLatest; + LocalUserId = other.LocalUserId; + SourceFilename = other.SourceFilename; + DestinationFilename = other.DestinationFilename; + } + + public void Set(ref DuplicateFileOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlayerDataStorageInterface.DuplicatefileApiLatest; + LocalUserId = other.Value.LocalUserId; + SourceFilename = other.Value.SourceFilename; + DestinationFilename = other.Value.DestinationFilename; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_SourceFilename); + Helper.Dispose(ref m_DestinationFilename); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileOptions.cs.meta deleted file mode 100644 index 53b75819..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/DuplicateFileOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 79e267dd2020a224ab1be00840658927 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileMetadata.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileMetadata.cs index 51693e91..7e2941de 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileMetadata.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileMetadata.cs @@ -1,159 +1,162 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Metadata information for a specific file - /// - public class FileMetadata : ISettable - { - /// - /// The total size of the file in bytes (Includes file header in addition to file contents) - /// - public uint FileSizeBytes { get; set; } - - /// - /// The MD5 Hash of the entire file (including additional file header), in hex digits - /// - public string MD5Hash { get; set; } - - /// - /// The file's name - /// - public string Filename { get; set; } - - /// - /// The POSIX timestamp when the file was saved last time. - /// - public System.DateTimeOffset? LastModifiedTime { get; set; } - - /// - /// The size of data (payload) in file in unencrypted (original) form. - /// - public uint UnencryptedDataSizeBytes { get; set; } - - internal void Set(FileMetadataInternal? other) - { - if (other != null) - { - FileSizeBytes = other.Value.FileSizeBytes; - MD5Hash = other.Value.MD5Hash; - Filename = other.Value.Filename; - LastModifiedTime = other.Value.LastModifiedTime; - UnencryptedDataSizeBytes = other.Value.UnencryptedDataSizeBytes; - } - } - - public void Set(object other) - { - Set(other as FileMetadataInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct FileMetadataInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_FileSizeBytes; - private System.IntPtr m_MD5Hash; - private System.IntPtr m_Filename; - private long m_LastModifiedTime; - private uint m_UnencryptedDataSizeBytes; - - public uint FileSizeBytes - { - get - { - return m_FileSizeBytes; - } - - set - { - m_FileSizeBytes = value; - } - } - - public string MD5Hash - { - get - { - string value; - Helper.TryMarshalGet(m_MD5Hash, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_MD5Hash, value); - } - } - - public string Filename - { - get - { - string value; - Helper.TryMarshalGet(m_Filename, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Filename, value); - } - } - - public System.DateTimeOffset? LastModifiedTime - { - get - { - System.DateTimeOffset? value; - Helper.TryMarshalGet(m_LastModifiedTime, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LastModifiedTime, value); - } - } - - public uint UnencryptedDataSizeBytes - { - get - { - return m_UnencryptedDataSizeBytes; - } - - set - { - m_UnencryptedDataSizeBytes = value; - } - } - - public void Set(FileMetadata other) - { - if (other != null) - { - m_ApiVersion = PlayerDataStorageInterface.FilemetadataApiLatest; - FileSizeBytes = other.FileSizeBytes; - MD5Hash = other.MD5Hash; - Filename = other.Filename; - LastModifiedTime = other.LastModifiedTime; - UnencryptedDataSizeBytes = other.UnencryptedDataSizeBytes; - } - } - - public void Set(object other) - { - Set(other as FileMetadata); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_MD5Hash); - Helper.TryMarshalDispose(ref m_Filename); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Metadata information for a specific file + /// + public struct FileMetadata + { + /// + /// The total size of the file in bytes (Includes file header in addition to file contents) + /// + public uint FileSizeBytes { get; set; } + + /// + /// The MD5 Hash of the entire file (including additional file header), in hex digits + /// + public Utf8String MD5Hash { get; set; } + + /// + /// The file's name + /// + public Utf8String Filename { get; set; } + + /// + /// The POSIX timestamp when the file was saved last time. + /// + public System.DateTimeOffset? LastModifiedTime { get; set; } + + /// + /// The size of data (payload) in file in unencrypted (original) form. + /// + public uint UnencryptedDataSizeBytes { get; set; } + + internal void Set(ref FileMetadataInternal other) + { + FileSizeBytes = other.FileSizeBytes; + MD5Hash = other.MD5Hash; + Filename = other.Filename; + LastModifiedTime = other.LastModifiedTime; + UnencryptedDataSizeBytes = other.UnencryptedDataSizeBytes; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct FileMetadataInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_FileSizeBytes; + private System.IntPtr m_MD5Hash; + private System.IntPtr m_Filename; + private long m_LastModifiedTime; + private uint m_UnencryptedDataSizeBytes; + + public uint FileSizeBytes + { + get + { + return m_FileSizeBytes; + } + + set + { + m_FileSizeBytes = value; + } + } + + public Utf8String MD5Hash + { + get + { + Utf8String value; + Helper.Get(m_MD5Hash, out value); + return value; + } + + set + { + Helper.Set(value, ref m_MD5Hash); + } + } + + public Utf8String Filename + { + get + { + Utf8String value; + Helper.Get(m_Filename, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Filename); + } + } + + public System.DateTimeOffset? LastModifiedTime + { + get + { + System.DateTimeOffset? value; + Helper.Get(m_LastModifiedTime, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LastModifiedTime); + } + } + + public uint UnencryptedDataSizeBytes + { + get + { + return m_UnencryptedDataSizeBytes; + } + + set + { + m_UnencryptedDataSizeBytes = value; + } + } + + public void Set(ref FileMetadata other) + { + m_ApiVersion = PlayerDataStorageInterface.FilemetadataApiLatest; + FileSizeBytes = other.FileSizeBytes; + MD5Hash = other.MD5Hash; + Filename = other.Filename; + LastModifiedTime = other.LastModifiedTime; + UnencryptedDataSizeBytes = other.UnencryptedDataSizeBytes; + } + + public void Set(ref FileMetadata? other) + { + if (other.HasValue) + { + m_ApiVersion = PlayerDataStorageInterface.FilemetadataApiLatest; + FileSizeBytes = other.Value.FileSizeBytes; + MD5Hash = other.Value.MD5Hash; + Filename = other.Value.Filename; + LastModifiedTime = other.Value.LastModifiedTime; + UnencryptedDataSizeBytes = other.Value.UnencryptedDataSizeBytes; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_MD5Hash); + Helper.Dispose(ref m_Filename); + } + + public void Get(out FileMetadata output) + { + output = new FileMetadata(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileMetadata.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileMetadata.cs.meta deleted file mode 100644 index 76990fff..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileMetadata.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e5310a596e36e88478552c28faa5e072 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileTransferProgressCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileTransferProgressCallbackInfo.cs index 6395dabf..a79c242a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileTransferProgressCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileTransferProgressCallbackInfo.cs @@ -1,122 +1,173 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Data containing the information about a file transfer in progress (or one that has completed) - /// - public class FileTransferProgressCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into the file request - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local user who initiated this request - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The file name of the file being transferred - /// - public string Filename { get; private set; } - - /// - /// Amount of bytes transferred so far in this request, out of TotalFileSizeBytes - /// - public uint BytesTransferred { get; private set; } - - /// - /// The total size of the file being transferred (Includes file header in addition to file contents, can be slightly more than expected) - /// - public uint TotalFileSizeBytes { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(FileTransferProgressCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - Filename = other.Value.Filename; - BytesTransferred = other.Value.BytesTransferred; - TotalFileSizeBytes = other.Value.TotalFileSizeBytes; - } - } - - public void Set(object other) - { - Set(other as FileTransferProgressCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct FileTransferProgressCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - private uint m_BytesTransferred; - private uint m_TotalFileSizeBytes; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string Filename - { - get - { - string value; - Helper.TryMarshalGet(m_Filename, out value); - return value; - } - } - - public uint BytesTransferred - { - get - { - return m_BytesTransferred; - } - } - - public uint TotalFileSizeBytes - { - get - { - return m_TotalFileSizeBytes; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Data containing the information about a file transfer in progress (or one that has completed) + /// + public struct FileTransferProgressCallbackInfo : ICallbackInfo + { + /// + /// Client-specified data passed into the file request + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local user who initiated this request + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The file name of the file being transferred + /// + public Utf8String Filename { get; set; } + + /// + /// Amount of bytes transferred so far in this request, out of TotalFileSizeBytes + /// + public uint BytesTransferred { get; set; } + + /// + /// The total size of the file being transferred (Includes file header in addition to file contents, can be slightly more than expected) + /// + public uint TotalFileSizeBytes { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref FileTransferProgressCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + BytesTransferred = other.BytesTransferred; + TotalFileSizeBytes = other.TotalFileSizeBytes; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct FileTransferProgressCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + private uint m_BytesTransferred; + private uint m_TotalFileSizeBytes; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + get + { + Utf8String value; + Helper.Get(m_Filename, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Filename); + } + } + + public uint BytesTransferred + { + get + { + return m_BytesTransferred; + } + + set + { + m_BytesTransferred = value; + } + } + + public uint TotalFileSizeBytes + { + get + { + return m_TotalFileSizeBytes; + } + + set + { + m_TotalFileSizeBytes = value; + } + } + + public void Set(ref FileTransferProgressCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + BytesTransferred = other.BytesTransferred; + TotalFileSizeBytes = other.TotalFileSizeBytes; + } + + public void Set(ref FileTransferProgressCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + BytesTransferred = other.Value.BytesTransferred; + TotalFileSizeBytes = other.Value.TotalFileSizeBytes; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + } + + public void Get(out FileTransferProgressCallbackInfo output) + { + output = new FileTransferProgressCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileTransferProgressCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileTransferProgressCallbackInfo.cs.meta deleted file mode 100644 index 68c51ec3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/FileTransferProgressCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 04a1916df3cb1da468833c4306f9e5b1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/GetFileMetadataCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/GetFileMetadataCountOptions.cs index 7b5d7d56..6eb5a6c4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/GetFileMetadataCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/GetFileMetadataCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Input data for the function - /// - public class GetFileMetadataCountOptions - { - /// - /// The Product User ID of the local user who is requesting file metadata - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetFileMetadataCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(GetFileMetadataCountOptions other) - { - if (other != null) - { - m_ApiVersion = PlayerDataStorageInterface.GetfilemetadatacountoptionsApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as GetFileMetadataCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Input data for the function + /// + public struct GetFileMetadataCountOptions + { + /// + /// The Product User ID of the local user who is requesting file metadata + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetFileMetadataCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref GetFileMetadataCountOptions other) + { + m_ApiVersion = PlayerDataStorageInterface.GetfilemetadatacountApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref GetFileMetadataCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlayerDataStorageInterface.GetfilemetadatacountApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/GetFileMetadataCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/GetFileMetadataCountOptions.cs.meta deleted file mode 100644 index 3b5276f4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/GetFileMetadataCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2cf60ed67a1db6748bffacbbed499dde -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteCacheCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteCacheCompleteCallback.cs index f50f663b..28156139 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteCacheCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteCacheCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Callback for when completes - /// - public delegate void OnDeleteCacheCompleteCallback(DeleteCacheCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnDeleteCacheCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Callback for when completes + /// + public delegate void OnDeleteCacheCompleteCallback(ref DeleteCacheCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnDeleteCacheCompleteCallbackInternal(ref DeleteCacheCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteCacheCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteCacheCompleteCallback.cs.meta deleted file mode 100644 index 2fee589a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteCacheCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 74dde1453a1e02b449f68b7e7a267b3e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteFileCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteFileCompleteCallback.cs index 59d54792..2edce762 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteFileCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteFileCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Callback for when completes - /// - public delegate void OnDeleteFileCompleteCallback(DeleteFileCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnDeleteFileCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Callback for when completes + /// + public delegate void OnDeleteFileCompleteCallback(ref DeleteFileCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnDeleteFileCompleteCallbackInternal(ref DeleteFileCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteFileCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteFileCompleteCallback.cs.meta deleted file mode 100644 index 5397ad62..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDeleteFileCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 590cca403855eed40b9b61b4dc256d4f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDuplicateFileCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDuplicateFileCompleteCallback.cs index c4366d9a..1047c608 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDuplicateFileCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDuplicateFileCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Callback for when completes - /// - public delegate void OnDuplicateFileCompleteCallback(DuplicateFileCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnDuplicateFileCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Callback for when completes + /// + public delegate void OnDuplicateFileCompleteCallback(ref DuplicateFileCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnDuplicateFileCompleteCallbackInternal(ref DuplicateFileCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDuplicateFileCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDuplicateFileCompleteCallback.cs.meta deleted file mode 100644 index 9d343209..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnDuplicateFileCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4d477d26b9147c942a4cda9597a25255 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnFileTransferProgressCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnFileTransferProgressCallback.cs index e2f0050c..9ac03171 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnFileTransferProgressCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnFileTransferProgressCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Callback for when there is a progress update for a file transfer in progress - /// - public delegate void OnFileTransferProgressCallback(FileTransferProgressCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnFileTransferProgressCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Callback for when there is a progress update for a file transfer in progress + /// + public delegate void OnFileTransferProgressCallback(ref FileTransferProgressCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnFileTransferProgressCallbackInternal(ref FileTransferProgressCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnFileTransferProgressCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnFileTransferProgressCallback.cs.meta deleted file mode 100644 index 68da57c5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnFileTransferProgressCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9021f3f0e3dfa9742bf3894c12225ae1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileCompleteCallback.cs index 0821b993..9c56c10e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Callback for when completes - /// - public delegate void OnQueryFileCompleteCallback(QueryFileCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryFileCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Callback for when completes + /// + public delegate void OnQueryFileCompleteCallback(ref QueryFileCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryFileCompleteCallbackInternal(ref QueryFileCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileCompleteCallback.cs.meta deleted file mode 100644 index 200c3535..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5b268e3acae66014ea441a80dd4636a1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileListCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileListCompleteCallback.cs index 5b3b658a..42051ca4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileListCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileListCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Callback for when completes - /// - public delegate void OnQueryFileListCompleteCallback(QueryFileListCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryFileListCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Callback for when completes + /// + public delegate void OnQueryFileListCompleteCallback(ref QueryFileListCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryFileListCompleteCallbackInternal(ref QueryFileListCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileListCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileListCompleteCallback.cs.meta deleted file mode 100644 index 957bbf02..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnQueryFileListCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7c7c933ab47462b4eb532000cb62a743 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileCompleteCallback.cs index 22d25218..ce358548 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Callback for when completes - /// - public delegate void OnReadFileCompleteCallback(ReadFileCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnReadFileCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Callback for when completes + /// + public delegate void OnReadFileCompleteCallback(ref ReadFileCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnReadFileCompleteCallbackInternal(ref ReadFileCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileCompleteCallback.cs.meta deleted file mode 100644 index 2660ddc3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: edc951a68b64e2246921ae9b286d9afe -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileDataCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileDataCallback.cs index ff59231c..c7ab1675 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileDataCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileDataCallback.cs @@ -1,17 +1,17 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Callback for when we have data ready to be read from the requested file. It is undefined how often this will be called during a single tick. - /// - /// Struct containing a chunk of data to read, as well as some metadata for the file being read - /// - /// The result of the read operation. If this value is not , this callback will not be called again for the same request - /// - public delegate ReadResult OnReadFileDataCallback(ReadFileDataCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ReadResult OnReadFileDataCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Callback for when we have data ready to be read from the requested file. It is undefined how often this will be called during a single tick. + /// + /// Struct containing a chunk of data to read, as well as some metadata for the file being read + /// + /// The result of the read operation. If this value is not , this callback will not be called again for the same request + /// + public delegate ReadResult OnReadFileDataCallback(ref ReadFileDataCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ReadResult OnReadFileDataCallbackInternal(ref ReadFileDataCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileDataCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileDataCallback.cs.meta deleted file mode 100644 index e74d8090..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnReadFileDataCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 42c8ac242ef79e24d8fad6440539b073 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileCompleteCallback.cs index fb104451..0ccec99d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Callback for when completes - /// - public delegate void OnWriteFileCompleteCallback(WriteFileCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnWriteFileCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Callback for when completes + /// + public delegate void OnWriteFileCompleteCallback(ref WriteFileCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnWriteFileCompleteCallbackInternal(ref WriteFileCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileCompleteCallback.cs.meta deleted file mode 100644 index 9c3ec5d3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5a576dd5a2a52934a865ab93e74b1aaf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileDataCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileDataCallback.cs index ab875774..76b2cf2f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileDataCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileDataCallback.cs @@ -1,19 +1,19 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Callback for when we are ready to get more data to be written into the requested file. It is undefined how often this will be called during a single tick. - /// - /// Struct containing metadata for the file being written to, as well as the max length in bytes that can be safely written to DataBuffer - /// A buffer to write data into, to be appended to the end of the file that is being written to. The maximum length of this value is provided in the Info parameter. The number of bytes written to this buffer should be set in OutDataWritten. - /// The length of the data written to OutDataBuffer. This must be less than or equal than the DataBufferLengthBytes provided in the Info parameter - /// - /// The result of the write operation. If this value is not , this callback will not be called again for the same request. If this is set to or , all data written during the request will not be saved - /// - public delegate WriteResult OnWriteFileDataCallback(WriteFileDataCallbackInfo data, out byte[] outDataBuffer); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate WriteResult OnWriteFileDataCallbackInternal(System.IntPtr data, System.IntPtr outDataBuffer, ref uint outDataWritten); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Callback for when we are ready to get more data to be written into the requested file. It is undefined how often this will be called during a single tick. + /// + /// Struct containing metadata for the file being written to, as well as the max length in bytes that can be safely written to DataBuffer + /// A buffer to write data into, to be appended to the end of the file that is being written to. The maximum length of this value is provided in the Info parameter. The number of bytes written to this buffer should be set in OutDataWritten. + /// The length of the data written to OutDataBuffer. This must be less than or equal than the DataBufferLengthBytes provided in the Info parameter + /// + /// The result of the write operation. If this value is not , this callback will not be called again for the same request. If this is set to or , all data written during the request will not be saved + /// + public delegate WriteResult OnWriteFileDataCallback(ref WriteFileDataCallbackInfo data, out System.ArraySegment outDataBuffer); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate WriteResult OnWriteFileDataCallbackInternal(ref WriteFileDataCallbackInfoInternal data, System.IntPtr outDataBuffer, ref uint outDataWritten); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileDataCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileDataCallback.cs.meta deleted file mode 100644 index d399d965..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/OnWriteFileDataCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 777deffea1b06664e8258e9598572e29 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageFileTransferRequest.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageFileTransferRequest.cs index 3018af9b..6864d04c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageFileTransferRequest.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageFileTransferRequest.cs @@ -1,74 +1,73 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - public sealed partial class PlayerDataStorageFileTransferRequest : Handle - { - public PlayerDataStorageFileTransferRequest() - { - } - - public PlayerDataStorageFileTransferRequest(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// Attempt to cancel this file request in progress. This is a best-effort command and is not guaranteed to be successful if the request has completed before this function is called. - /// - /// - /// if cancel is successful, if request had already completed (can't be canceled), if it's already been canceled before (this is a final state for canceled request and won't change over time). - /// - public Result CancelRequest() - { - var funcResult = Bindings.EOS_PlayerDataStorageFileTransferRequest_CancelRequest(InnerHandle); - - return funcResult; - } - - /// - /// Get the current state of a file request. - /// - /// - /// if complete and successful, if the request is still in progress, or another state for failure. - /// - public Result GetFileRequestState() - { - var funcResult = Bindings.EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState(InnerHandle); - - return funcResult; - } - - /// - /// Get the file name of the file this request is for. OutStringLength will always be set to the string length of the file name if it is not NULL. - /// - /// - /// The maximum number of bytes that can be written to OutStringBuffer - /// The buffer to write the NULL-terminated utf8 file name into, if successful - /// How long the file name is (not including null terminator) - /// - /// if the file name was successfully written to OutFilenameBuffer, a failure result otherwise - /// - public Result GetFilename(out string outStringBuffer) - { - System.IntPtr outStringBufferAddress = System.IntPtr.Zero; - int outStringLength = PlayerDataStorageInterface.FilenameMaxLengthBytes; - Helper.TryMarshalAllocate(ref outStringBufferAddress, outStringLength, out _); - - var funcResult = Bindings.EOS_PlayerDataStorageFileTransferRequest_GetFilename(InnerHandle, (uint)outStringLength, outStringBufferAddress, ref outStringLength); - - Helper.TryMarshalGet(outStringBufferAddress, out outStringBuffer); - Helper.TryMarshalDispose(ref outStringBufferAddress); - - return funcResult; - } - - /// - /// Free the memory used by a cloud-storage file request handle. This will not cancel a request in progress. - /// - public void Release() - { - Bindings.EOS_PlayerDataStorageFileTransferRequest_Release(InnerHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + public sealed partial class PlayerDataStorageFileTransferRequest : Handle + { + public PlayerDataStorageFileTransferRequest() + { + } + + public PlayerDataStorageFileTransferRequest(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// Attempt to cancel this file request in progress. This is a best-effort command and is not guaranteed to be successful if the request has completed before this function is called. + /// + /// + /// if cancel is successful, if request had already completed (can't be canceled), if it's already been canceled before (this is a final state for canceled request and won't change over time). + /// + public Result CancelRequest() + { + var funcResult = Bindings.EOS_PlayerDataStorageFileTransferRequest_CancelRequest(InnerHandle); + + return funcResult; + } + + /// + /// Get the current state of a file request. + /// + /// + /// if complete and successful, if the request is still in progress, or another state for failure. + /// + public Result GetFileRequestState() + { + var funcResult = Bindings.EOS_PlayerDataStorageFileTransferRequest_GetFileRequestState(InnerHandle); + + return funcResult; + } + + /// + /// Get the file name of the file this request is for. OutStringLength will always be set to the string length of the file name if it is not . + /// + /// + /// The maximum number of bytes that can be written to OutStringBuffer + /// The buffer to write the -terminated utf8 file name into, if successful + /// How long the file name is (not including null terminator) + /// + /// if the file name was successfully written to OutFilenameBuffer, a failure result otherwise + /// + public Result GetFilename(out Utf8String outStringBuffer) + { + int outStringLength = PlayerDataStorageInterface.FilenameMaxLengthBytes; + System.IntPtr outStringBufferAddress = Helper.AddAllocation(outStringLength); + + var funcResult = Bindings.EOS_PlayerDataStorageFileTransferRequest_GetFilename(InnerHandle, (uint)outStringLength, outStringBufferAddress, ref outStringLength); + + Helper.Get(outStringBufferAddress, out outStringBuffer); + Helper.Dispose(ref outStringBufferAddress); + + return funcResult; + } + + /// + /// Free the memory used by a cloud-storage file request handle. This will not cancel a request in progress. + /// + public void Release() + { + Bindings.EOS_PlayerDataStorageFileTransferRequest_Release(InnerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageFileTransferRequest.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageFileTransferRequest.cs.meta deleted file mode 100644 index 2e5400a7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageFileTransferRequest.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6025bd72fbc4a82409ecda2e5a6c2e4e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageInterface.cs index 31ccbebd..ddda4b99 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageInterface.cs @@ -1,446 +1,525 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - public sealed partial class PlayerDataStorageInterface : Handle - { - public PlayerDataStorageInterface() - { - } - - public PlayerDataStorageInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - public const int CopyfilemetadataatindexoptionsApiLatest = 1; - - public const int CopyfilemetadatabyfilenameoptionsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int DeletecacheoptionsApiLatest = 1; - - public const int DeletefileoptionsApiLatest = 1; - - public const int DuplicatefileoptionsApiLatest = 1; - - /// - /// Maximum File size in bytes - /// - public const int FileMaxSizeBytes = (64 * 1024 * 1024); - - public const int FilemetadataApiLatest = 3; - - /// - /// Maximum File Name Length in bytes - /// - public const int FilenameMaxLengthBytes = 64; - - public const int GetfilemetadatacountoptionsApiLatest = 1; - - public const int QueryfilelistoptionsApiLatest = 1; - - public const int QueryfileoptionsApiLatest = 1; - - public const int ReadfileoptionsApiLatest = 1; - - public const int WritefileoptionsApiLatest = 1; - - /// - /// Get the cached copy of a file's metadata by index. The metadata will be for the last retrieved or successfully saved version, and will not include any local changes that have not been - /// committed by calling SaveFile. The returned pointer must be released by the user when no longer needed. - /// - /// - /// - /// Object containing properties related to which user is requesting metadata, and at what index - /// A copy of the FileMetadata structure will be set if successful. This data must be released by calling . - /// - /// :: if the requested metadata is currently cached, otherwise an error result explaining what went wrong - /// - public Result CopyFileMetadataAtIndex(CopyFileMetadataAtIndexOptions copyFileMetadataOptions, out FileMetadata outMetadata) - { - var copyFileMetadataOptionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref copyFileMetadataOptionsAddress, copyFileMetadataOptions); - - var outMetadataAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_PlayerDataStorage_CopyFileMetadataAtIndex(InnerHandle, copyFileMetadataOptionsAddress, ref outMetadataAddress); - - Helper.TryMarshalDispose(ref copyFileMetadataOptionsAddress); - - if (Helper.TryMarshalGet(outMetadataAddress, out outMetadata)) - { - Bindings.EOS_PlayerDataStorage_FileMetadata_Release(outMetadataAddress); - } - - return funcResult; - } - - /// - /// Create the cached copy of a file's metadata by filename. The metadata will be for the last retrieved or successfully saved version, and will not include any changes that have not - /// completed writing. The returned pointer must be released by the user when no longer needed. - /// - /// Object containing properties related to which user is requesting metadata, and for which filename - /// A copy of the FileMetadata structure will be set if successful. This data must be released by calling . - /// - /// :: if the metadata is currently cached, otherwise an error result explaining what went wrong - /// - public Result CopyFileMetadataByFilename(CopyFileMetadataByFilenameOptions copyFileMetadataOptions, out FileMetadata outMetadata) - { - var copyFileMetadataOptionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref copyFileMetadataOptionsAddress, copyFileMetadataOptions); - - var outMetadataAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_PlayerDataStorage_CopyFileMetadataByFilename(InnerHandle, copyFileMetadataOptionsAddress, ref outMetadataAddress); - - Helper.TryMarshalDispose(ref copyFileMetadataOptionsAddress); - - if (Helper.TryMarshalGet(outMetadataAddress, out outMetadata)) - { - Bindings.EOS_PlayerDataStorage_FileMetadata_Release(outMetadataAddress); - } - - return funcResult; - } - - /// - /// Clear previously cached file data. This operation will be done asynchronously. All cached files except those corresponding to the transfers in progress will be removed. - /// Warning: Use this with care. Cache system generally tries to clear old and unused cached files from time to time. Unnecessarily clearing cache can degrade performance as SDK will have to re-download data. - /// - /// Object containing properties related to which user is deleting cache - /// Optional pointer to help clients track this request, that is returned in associated callbacks - /// This function is called when the delete cache operation completes - /// - /// if the operation was started correctly, otherwise an error result explaining what went wrong - /// - public Result DeleteCache(DeleteCacheOptions options, object clientData, OnDeleteCacheCompleteCallback completionCallback) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionCallbackInternal = new OnDeleteCacheCompleteCallbackInternal(OnDeleteCacheCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionCallback, completionCallbackInternal); - - var funcResult = Bindings.EOS_PlayerDataStorage_DeleteCache(InnerHandle, optionsAddress, clientDataAddress, completionCallbackInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Deletes an existing file in the cloud. If successful, the file's data will be removed from our local cache. - /// - /// Object containing properties related to which user is deleting the file, and what file name is - /// Optional pointer to help clients track this request, that is returned in the completion callback - /// This function is called when the delete operation completes - public void DeleteFile(DeleteFileOptions deleteOptions, object clientData, OnDeleteFileCompleteCallback completionCallback) - { - var deleteOptionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref deleteOptionsAddress, deleteOptions); - - var clientDataAddress = System.IntPtr.Zero; - - var completionCallbackInternal = new OnDeleteFileCompleteCallbackInternal(OnDeleteFileCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionCallback, completionCallbackInternal); - - Bindings.EOS_PlayerDataStorage_DeleteFile(InnerHandle, deleteOptionsAddress, clientDataAddress, completionCallbackInternal); - - Helper.TryMarshalDispose(ref deleteOptionsAddress); - } - - /// - /// Copies the data of an existing file to a new filename. This action happens entirely on the server and will not upload the contents of the source destination file from the host. This - /// function paired with a subsequent can be used to rename a file. If successful, the destination file's metadata will be updated in our local cache. - /// - /// Object containing properties related to which user is duplicating the file, and what the source and destination file names are - /// Optional pointer to help clients track this request, that is returned in the completion callback - /// This function is called when the duplicate operation completes - public void DuplicateFile(DuplicateFileOptions duplicateOptions, object clientData, OnDuplicateFileCompleteCallback completionCallback) - { - var duplicateOptionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref duplicateOptionsAddress, duplicateOptions); - - var clientDataAddress = System.IntPtr.Zero; - - var completionCallbackInternal = new OnDuplicateFileCompleteCallbackInternal(OnDuplicateFileCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionCallback, completionCallbackInternal); - - Bindings.EOS_PlayerDataStorage_DuplicateFile(InnerHandle, duplicateOptionsAddress, clientDataAddress, completionCallbackInternal); - - Helper.TryMarshalDispose(ref duplicateOptionsAddress); - } - - /// - /// Get the count of files we have previously queried information for and files we have previously read from / written to. - /// - /// - /// Object containing properties related to which user is requesting the metadata count - /// If successful, the count of metadata currently cached - /// - /// :: if the input was valid, otherwise an error result explaining what went wrong - /// - public Result GetFileMetadataCount(GetFileMetadataCountOptions getFileMetadataCountOptions, out int outFileMetadataCount) - { - var getFileMetadataCountOptionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref getFileMetadataCountOptionsAddress, getFileMetadataCountOptions); - - outFileMetadataCount = Helper.GetDefault(); - - var funcResult = Bindings.EOS_PlayerDataStorage_GetFileMetadataCount(InnerHandle, getFileMetadataCountOptionsAddress, ref outFileMetadataCount); - - Helper.TryMarshalDispose(ref getFileMetadataCountOptionsAddress); - - return funcResult; - } - - /// - /// Query a specific file's metadata, such as file names, size, and a MD5 hash of the data. This is not required before a file may be opened, saved, copied, or deleted. Once a file has - /// been queried, its metadata will be available by the and functions. - /// - /// - /// - /// - /// Object containing properties related to which user is querying files, and what file is being queried - /// Optional pointer to help clients track this request, that is returned in the completion callback - /// This function is called when the query operation completes - public void QueryFile(QueryFileOptions queryFileOptions, object clientData, OnQueryFileCompleteCallback completionCallback) - { - var queryFileOptionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref queryFileOptionsAddress, queryFileOptions); - - var clientDataAddress = System.IntPtr.Zero; - - var completionCallbackInternal = new OnQueryFileCompleteCallbackInternal(OnQueryFileCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionCallback, completionCallbackInternal); - - Bindings.EOS_PlayerDataStorage_QueryFile(InnerHandle, queryFileOptionsAddress, clientDataAddress, completionCallbackInternal); - - Helper.TryMarshalDispose(ref queryFileOptionsAddress); - } - - /// - /// Query the file metadata, such as file names, size, and a MD5 hash of the data, for all files owned by this user for this application. This is not required before a file may be opened, - /// saved, copied, or deleted. - /// - /// - /// - /// - /// Object containing properties related to which user is querying files - /// Optional pointer to help clients track this request, that is returned in the completion callback - /// This function is called when the query operation completes - public void QueryFileList(QueryFileListOptions queryFileListOptions, object clientData, OnQueryFileListCompleteCallback completionCallback) - { - var queryFileListOptionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref queryFileListOptionsAddress, queryFileListOptions); - - var clientDataAddress = System.IntPtr.Zero; - - var completionCallbackInternal = new OnQueryFileListCompleteCallbackInternal(OnQueryFileListCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionCallback, completionCallbackInternal); - - Bindings.EOS_PlayerDataStorage_QueryFileList(InnerHandle, queryFileListOptionsAddress, clientDataAddress, completionCallbackInternal); - - Helper.TryMarshalDispose(ref queryFileListOptionsAddress); - } - - /// - /// Retrieve the contents of a specific file, potentially downloading the contents if we do not have a local copy, from the cloud. This request will occur asynchronously, potentially over - /// multiple frames. All callbacks for this function will come from the same thread that the SDK is ticked from. If specified, the FileTransferProgressCallback will always be called at - /// least once if the request is started successfully. - /// - /// - /// Object containing properties related to which user is opening the file, what the file's name is, and related mechanisms for copying the data - /// Optional pointer to help clients track this request, that is returned in associated callbacks - /// This function is called when the read operation completes - /// - /// A valid Player Data Storage File Request handle if successful, or NULL otherwise. Data contained in the completion callback will have more detailed information about issues with the request in failure cases. This handle must be released when it is no longer needed - /// - public PlayerDataStorageFileTransferRequest ReadFile(ReadFileOptions readOptions, object clientData, OnReadFileCompleteCallback completionCallback) - { - var readOptionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref readOptionsAddress, readOptions); - - var clientDataAddress = System.IntPtr.Zero; - - var completionCallbackInternal = new OnReadFileCompleteCallbackInternal(OnReadFileCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionCallback, completionCallbackInternal, readOptions.ReadFileDataCallback, ReadFileOptionsInternal.ReadFileDataCallback, readOptions.FileTransferProgressCallback, ReadFileOptionsInternal.FileTransferProgressCallback); - - var funcResult = Bindings.EOS_PlayerDataStorage_ReadFile(InnerHandle, readOptionsAddress, clientDataAddress, completionCallbackInternal); - - Helper.TryMarshalDispose(ref readOptionsAddress); - - PlayerDataStorageFileTransferRequest funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Write new data to a specific file, potentially overwriting any existing file by the same name, to the cloud. This request will occur asynchronously, potentially over multiple frames. - /// All callbacks for this function will come from the same thread that the SDK is ticked from. If specified, the FileTransferProgressCallback will always be called at least once if the - /// request is started successfully. - /// - /// - /// Object containing properties related to which user is writing the file, what the file's name is, and related mechanisms for writing the data - /// Optional pointer to help clients track this request, that is returned in associated callbacks - /// This function is called when the write operation completes - /// - /// A valid Player Data Storage File Request handle if successful, or NULL otherwise. Data contained in the completion callback will have more detailed information about issues with the request in failure cases. This handle must be released when it is no longer needed - /// - public PlayerDataStorageFileTransferRequest WriteFile(WriteFileOptions writeOptions, object clientData, OnWriteFileCompleteCallback completionCallback) - { - var writeOptionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref writeOptionsAddress, writeOptions); - - var clientDataAddress = System.IntPtr.Zero; - - var completionCallbackInternal = new OnWriteFileCompleteCallbackInternal(OnWriteFileCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionCallback, completionCallbackInternal, writeOptions.WriteFileDataCallback, WriteFileOptionsInternal.WriteFileDataCallback, writeOptions.FileTransferProgressCallback, WriteFileOptionsInternal.FileTransferProgressCallback); - - var funcResult = Bindings.EOS_PlayerDataStorage_WriteFile(InnerHandle, writeOptionsAddress, clientDataAddress, completionCallbackInternal); - - Helper.TryMarshalDispose(ref writeOptionsAddress); - - PlayerDataStorageFileTransferRequest funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - [MonoPInvokeCallback(typeof(OnDeleteCacheCompleteCallbackInternal))] - internal static void OnDeleteCacheCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnDeleteCacheCompleteCallback callback; - DeleteCacheCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnDeleteFileCompleteCallbackInternal))] - internal static void OnDeleteFileCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnDeleteFileCompleteCallback callback; - DeleteFileCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnDuplicateFileCompleteCallbackInternal))] - internal static void OnDuplicateFileCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnDuplicateFileCompleteCallback callback; - DuplicateFileCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnFileTransferProgressCallbackInternal))] - internal static void OnFileTransferProgressCallbackInternalImplementation(System.IntPtr data) - { - OnFileTransferProgressCallback callback; - FileTransferProgressCallbackInfo callbackInfo; - if (Helper.TryGetStructCallback(data, out callback, out callbackInfo)) - { - FileTransferProgressCallbackInfo dataObj; - Helper.TryMarshalGet(data, out dataObj); - - callback(dataObj); - } - } - - [MonoPInvokeCallback(typeof(OnQueryFileCompleteCallbackInternal))] - internal static void OnQueryFileCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnQueryFileCompleteCallback callback; - QueryFileCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryFileListCompleteCallbackInternal))] - internal static void OnQueryFileListCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnQueryFileListCompleteCallback callback; - QueryFileListCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnReadFileCompleteCallbackInternal))] - internal static void OnReadFileCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnReadFileCompleteCallback callback; - ReadFileCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnReadFileDataCallbackInternal))] - internal static ReadResult OnReadFileDataCallbackInternalImplementation(System.IntPtr data) - { - OnReadFileDataCallback callback; - ReadFileDataCallbackInfo callbackInfo; - if (Helper.TryGetStructCallback(data, out callback, out callbackInfo)) - { - ReadFileDataCallbackInfo dataObj; - Helper.TryMarshalGet(data, out dataObj); - - var funcResult = callback(dataObj); - - return funcResult; - } - - return Helper.GetDefault(); - } - - [MonoPInvokeCallback(typeof(OnWriteFileCompleteCallbackInternal))] - internal static void OnWriteFileCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnWriteFileCompleteCallback callback; - WriteFileCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnWriteFileDataCallbackInternal))] - internal static WriteResult OnWriteFileDataCallbackInternalImplementation(System.IntPtr data, System.IntPtr outDataBuffer, ref uint outDataWritten) - { - OnWriteFileDataCallback callback; - WriteFileDataCallbackInfo callbackInfo; - if (Helper.TryGetStructCallback(data, out callback, out callbackInfo)) - { - WriteFileDataCallbackInfo dataObj; - Helper.TryMarshalGet(data, out dataObj); - - byte[] outDataBufferArray; - - var funcResult = callback(dataObj, out outDataBufferArray); - - Helper.TryMarshalGet(outDataBufferArray, out outDataWritten); - Helper.TryMarshalCopy(outDataBuffer, outDataBufferArray); - - return funcResult; - } - - return Helper.GetDefault(); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + public sealed partial class PlayerDataStorageInterface : Handle + { + public PlayerDataStorageInterface() + { + } + + public PlayerDataStorageInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int CopyfilemetadataatindexApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int CopyfilemetadataatindexoptionsApiLatest = CopyfilemetadataatindexApiLatest; + + /// + /// The most recent version of the API. + /// + public const int CopyfilemetadatabyfilenameApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int CopyfilemetadatabyfilenameoptionsApiLatest = CopyfilemetadatabyfilenameApiLatest; + + /// + /// The most recent version of the API. + /// + public const int DeletecacheApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int DeletecacheoptionsApiLatest = DeletecacheApiLatest; + + /// + /// The most recent version of the API. + /// + public const int DeletefileApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int DeletefileoptionsApiLatest = DeletefileApiLatest; + + /// + /// The most recent version of the API. + /// + public const int DuplicatefileApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int DuplicatefileoptionsApiLatest = DuplicatefileApiLatest; + + /// + /// Maximum File size in bytes + /// + public const int FileMaxSizeBytes = (64 * 1024 * 1024); + + public const int FilemetadataApiLatest = 3; + + /// + /// Maximum File Name Length in bytes + /// + public const int FilenameMaxLengthBytes = 64; + + /// + /// The most recent version of the API. + /// + public const int GetfilemetadatacountApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int GetfilemetadatacountoptionsApiLatest = GetfilemetadatacountApiLatest; + + /// + /// The most recent version of the API. + /// + public const int QueryfileApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int QueryfilelistApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int QueryfilelistoptionsApiLatest = QueryfilelistApiLatest; + + /// + /// DEPRECATED! Use instead. + /// + public const int QueryfileoptionsApiLatest = QueryfileApiLatest; + + /// + /// The most recent version of the API. + /// + public const int ReadfileApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int ReadfileoptionsApiLatest = ReadfileApiLatest; + + /// + /// The most recent version of the API. + /// + public const int WritefileApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int WritefileoptionsApiLatest = WritefileApiLatest; + + /// + /// Get the cached copy of a file's metadata by index. The metadata will be for the last retrieved or successfully saved version, and will not include any local changes that have not been + /// committed by calling SaveFile. The returned pointer must be released by the user when no longer needed. + /// + /// + /// + /// Object containing properties related to which user is requesting metadata, and at what index + /// A copy of the FileMetadata structure will be set if successful. This data must be released by calling . + /// + /// if the requested metadata is currently cached, otherwise an error result explaining what went wrong + /// + public Result CopyFileMetadataAtIndex(ref CopyFileMetadataAtIndexOptions copyFileMetadataOptions, out FileMetadata? outMetadata) + { + CopyFileMetadataAtIndexOptionsInternal copyFileMetadataOptionsInternal = new CopyFileMetadataAtIndexOptionsInternal(); + copyFileMetadataOptionsInternal.Set(ref copyFileMetadataOptions); + + var outMetadataAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_PlayerDataStorage_CopyFileMetadataAtIndex(InnerHandle, ref copyFileMetadataOptionsInternal, ref outMetadataAddress); + + Helper.Dispose(ref copyFileMetadataOptionsInternal); + + Helper.Get(outMetadataAddress, out outMetadata); + if (outMetadata != null) + { + Bindings.EOS_PlayerDataStorage_FileMetadata_Release(outMetadataAddress); + } + + return funcResult; + } + + /// + /// Create the cached copy of a file's metadata by filename. The metadata will be for the last retrieved or successfully saved version, and will not include any changes that have not + /// completed writing. The returned pointer must be released by the user when no longer needed. + /// + /// Object containing properties related to which user is requesting metadata, and for which filename + /// A copy of the FileMetadata structure will be set if successful. This data must be released by calling . + /// + /// if the metadata is currently cached, otherwise an error result explaining what went wrong + /// + public Result CopyFileMetadataByFilename(ref CopyFileMetadataByFilenameOptions copyFileMetadataOptions, out FileMetadata? outMetadata) + { + CopyFileMetadataByFilenameOptionsInternal copyFileMetadataOptionsInternal = new CopyFileMetadataByFilenameOptionsInternal(); + copyFileMetadataOptionsInternal.Set(ref copyFileMetadataOptions); + + var outMetadataAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_PlayerDataStorage_CopyFileMetadataByFilename(InnerHandle, ref copyFileMetadataOptionsInternal, ref outMetadataAddress); + + Helper.Dispose(ref copyFileMetadataOptionsInternal); + + Helper.Get(outMetadataAddress, out outMetadata); + if (outMetadata != null) + { + Bindings.EOS_PlayerDataStorage_FileMetadata_Release(outMetadataAddress); + } + + return funcResult; + } + + /// + /// Clear previously cached file data. This operation will be done asynchronously. All cached files except those corresponding to the transfers in progress will be removed. + /// Warning: Use this with care. Cache system generally tries to clear old and unused cached files from time to time. Unnecessarily clearing cache can degrade performance as SDK will have to re-download data. + /// + /// Object containing properties related to which user is deleting cache + /// Optional pointer to help clients track this request, that is returned in associated callbacks + /// This function is called when the delete cache operation completes + /// + /// if the operation was started correctly, otherwise an error result explaining what went wrong + /// + public Result DeleteCache(ref DeleteCacheOptions options, object clientData, OnDeleteCacheCompleteCallback completionCallback) + { + DeleteCacheOptionsInternal optionsInternal = new DeleteCacheOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionCallbackInternal = new OnDeleteCacheCompleteCallbackInternal(OnDeleteCacheCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionCallback, completionCallbackInternal); + + var funcResult = Bindings.EOS_PlayerDataStorage_DeleteCache(InnerHandle, ref optionsInternal, clientDataAddress, completionCallbackInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Deletes an existing file in the cloud. If successful, the file's data will be removed from our local cache. + /// + /// Object containing properties related to which user is deleting the file, and what file name is + /// Optional pointer to help clients track this request, that is returned in the completion callback + /// This function is called when the delete operation completes + public void DeleteFile(ref DeleteFileOptions deleteOptions, object clientData, OnDeleteFileCompleteCallback completionCallback) + { + DeleteFileOptionsInternal deleteOptionsInternal = new DeleteFileOptionsInternal(); + deleteOptionsInternal.Set(ref deleteOptions); + + var clientDataAddress = System.IntPtr.Zero; + + var completionCallbackInternal = new OnDeleteFileCompleteCallbackInternal(OnDeleteFileCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionCallback, completionCallbackInternal); + + Bindings.EOS_PlayerDataStorage_DeleteFile(InnerHandle, ref deleteOptionsInternal, clientDataAddress, completionCallbackInternal); + + Helper.Dispose(ref deleteOptionsInternal); + } + + /// + /// Copies the data of an existing file to a new filename. This action happens entirely on the server and will not upload the contents of the source destination file from the host. This + /// function paired with a subsequent can be used to rename a file. If successful, the destination file's metadata will be updated in our local cache. + /// + /// Object containing properties related to which user is duplicating the file, and what the source and destination file names are + /// Optional pointer to help clients track this request, that is returned in the completion callback + /// This function is called when the duplicate operation completes + public void DuplicateFile(ref DuplicateFileOptions duplicateOptions, object clientData, OnDuplicateFileCompleteCallback completionCallback) + { + DuplicateFileOptionsInternal duplicateOptionsInternal = new DuplicateFileOptionsInternal(); + duplicateOptionsInternal.Set(ref duplicateOptions); + + var clientDataAddress = System.IntPtr.Zero; + + var completionCallbackInternal = new OnDuplicateFileCompleteCallbackInternal(OnDuplicateFileCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionCallback, completionCallbackInternal); + + Bindings.EOS_PlayerDataStorage_DuplicateFile(InnerHandle, ref duplicateOptionsInternal, clientDataAddress, completionCallbackInternal); + + Helper.Dispose(ref duplicateOptionsInternal); + } + + /// + /// Get the count of files we have previously queried information for and files we have previously read from / written to. + /// + /// + /// Object containing properties related to which user is requesting the metadata count + /// If successful, the count of metadata currently cached + /// + /// if the input was valid, otherwise an error result explaining what went wrong + /// + public Result GetFileMetadataCount(ref GetFileMetadataCountOptions getFileMetadataCountOptions, out int outFileMetadataCount) + { + GetFileMetadataCountOptionsInternal getFileMetadataCountOptionsInternal = new GetFileMetadataCountOptionsInternal(); + getFileMetadataCountOptionsInternal.Set(ref getFileMetadataCountOptions); + + outFileMetadataCount = Helper.GetDefault(); + + var funcResult = Bindings.EOS_PlayerDataStorage_GetFileMetadataCount(InnerHandle, ref getFileMetadataCountOptionsInternal, ref outFileMetadataCount); + + Helper.Dispose(ref getFileMetadataCountOptionsInternal); + + return funcResult; + } + + /// + /// Query a specific file's metadata, such as file names, size, and a MD5 hash of the data. This is not required before a file may be opened, saved, copied, or deleted. Once a file has + /// been queried, its metadata will be available by the and functions. + /// + /// + /// + /// + /// Object containing properties related to which user is querying files, and what file is being queried + /// Optional pointer to help clients track this request, that is returned in the completion callback + /// This function is called when the query operation completes + public void QueryFile(ref QueryFileOptions queryFileOptions, object clientData, OnQueryFileCompleteCallback completionCallback) + { + QueryFileOptionsInternal queryFileOptionsInternal = new QueryFileOptionsInternal(); + queryFileOptionsInternal.Set(ref queryFileOptions); + + var clientDataAddress = System.IntPtr.Zero; + + var completionCallbackInternal = new OnQueryFileCompleteCallbackInternal(OnQueryFileCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionCallback, completionCallbackInternal); + + Bindings.EOS_PlayerDataStorage_QueryFile(InnerHandle, ref queryFileOptionsInternal, clientDataAddress, completionCallbackInternal); + + Helper.Dispose(ref queryFileOptionsInternal); + } + + /// + /// Query the file metadata, such as file names, size, and a MD5 hash of the data, for all files owned by this user for this application. This is not required before a file may be opened, + /// saved, copied, or deleted. + /// + /// + /// + /// + /// Object containing properties related to which user is querying files + /// Optional pointer to help clients track this request, that is returned in the completion callback + /// This function is called when the query operation completes + public void QueryFileList(ref QueryFileListOptions queryFileListOptions, object clientData, OnQueryFileListCompleteCallback completionCallback) + { + QueryFileListOptionsInternal queryFileListOptionsInternal = new QueryFileListOptionsInternal(); + queryFileListOptionsInternal.Set(ref queryFileListOptions); + + var clientDataAddress = System.IntPtr.Zero; + + var completionCallbackInternal = new OnQueryFileListCompleteCallbackInternal(OnQueryFileListCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionCallback, completionCallbackInternal); + + Bindings.EOS_PlayerDataStorage_QueryFileList(InnerHandle, ref queryFileListOptionsInternal, clientDataAddress, completionCallbackInternal); + + Helper.Dispose(ref queryFileListOptionsInternal); + } + + /// + /// Retrieve the contents of a specific file, potentially downloading the contents if we do not have a local copy, from the cloud. This request will occur asynchronously, potentially over + /// multiple frames. All callbacks for this function will come from the same thread that the SDK is ticked from. If specified, the FileTransferProgressCallback will always be called at + /// least once if the request is started successfully. + /// + /// + /// Object containing properties related to which user is opening the file, what the file's name is, and related mechanisms for copying the data + /// Optional pointer to help clients track this request, that is returned in associated callbacks + /// This function is called when the read operation completes + /// + /// A valid Player Data Storage File Request handle if successful, or otherwise. Data contained in the completion callback will have more detailed information about issues with the request in failure cases. This handle must be released when it is no longer needed + /// + public PlayerDataStorageFileTransferRequest ReadFile(ref ReadFileOptions readOptions, object clientData, OnReadFileCompleteCallback completionCallback) + { + ReadFileOptionsInternal readOptionsInternal = new ReadFileOptionsInternal(); + readOptionsInternal.Set(ref readOptions); + + var clientDataAddress = System.IntPtr.Zero; + + var completionCallbackInternal = new OnReadFileCompleteCallbackInternal(OnReadFileCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionCallback, completionCallbackInternal, readOptions.ReadFileDataCallback, ReadFileOptionsInternal.ReadFileDataCallback, readOptions.FileTransferProgressCallback, ReadFileOptionsInternal.FileTransferProgressCallback); + + var funcResult = Bindings.EOS_PlayerDataStorage_ReadFile(InnerHandle, ref readOptionsInternal, clientDataAddress, completionCallbackInternal); + + Helper.Dispose(ref readOptionsInternal); + + PlayerDataStorageFileTransferRequest funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Write new data to a specific file, potentially overwriting any existing file by the same name, to the cloud. This request will occur asynchronously, potentially over multiple frames. + /// All callbacks for this function will come from the same thread that the SDK is ticked from. If specified, the FileTransferProgressCallback will always be called at least once if the + /// request is started successfully. + /// + /// + /// Object containing properties related to which user is writing the file, what the file's name is, and related mechanisms for writing the data + /// Optional pointer to help clients track this request, that is returned in associated callbacks + /// This function is called when the write operation completes + /// + /// A valid Player Data Storage File Request handle if successful, or otherwise. Data contained in the completion callback will have more detailed information about issues with the request in failure cases. This handle must be released when it is no longer needed + /// + public PlayerDataStorageFileTransferRequest WriteFile(ref WriteFileOptions writeOptions, object clientData, OnWriteFileCompleteCallback completionCallback) + { + WriteFileOptionsInternal writeOptionsInternal = new WriteFileOptionsInternal(); + writeOptionsInternal.Set(ref writeOptions); + + var clientDataAddress = System.IntPtr.Zero; + + var completionCallbackInternal = new OnWriteFileCompleteCallbackInternal(OnWriteFileCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionCallback, completionCallbackInternal, writeOptions.WriteFileDataCallback, WriteFileOptionsInternal.WriteFileDataCallback, writeOptions.FileTransferProgressCallback, WriteFileOptionsInternal.FileTransferProgressCallback); + + var funcResult = Bindings.EOS_PlayerDataStorage_WriteFile(InnerHandle, ref writeOptionsInternal, clientDataAddress, completionCallbackInternal); + + Helper.Dispose(ref writeOptionsInternal); + + PlayerDataStorageFileTransferRequest funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + [MonoPInvokeCallback(typeof(OnDeleteCacheCompleteCallbackInternal))] + internal static void OnDeleteCacheCompleteCallbackInternalImplementation(ref DeleteCacheCallbackInfoInternal data) + { + OnDeleteCacheCompleteCallback callback; + DeleteCacheCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnDeleteFileCompleteCallbackInternal))] + internal static void OnDeleteFileCompleteCallbackInternalImplementation(ref DeleteFileCallbackInfoInternal data) + { + OnDeleteFileCompleteCallback callback; + DeleteFileCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnDuplicateFileCompleteCallbackInternal))] + internal static void OnDuplicateFileCompleteCallbackInternalImplementation(ref DuplicateFileCallbackInfoInternal data) + { + OnDuplicateFileCompleteCallback callback; + DuplicateFileCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnFileTransferProgressCallbackInternal))] + internal static void OnFileTransferProgressCallbackInternalImplementation(ref FileTransferProgressCallbackInfoInternal data) + { + OnFileTransferProgressCallback callback; + FileTransferProgressCallbackInfo callbackInfo; + if (Helper.TryGetStructCallback(ref data, out callback, out callbackInfo)) + { + FileTransferProgressCallbackInfo dataObj; + Helper.Get(ref data, out dataObj); + + callback(ref dataObj); + } + } + + [MonoPInvokeCallback(typeof(OnQueryFileCompleteCallbackInternal))] + internal static void OnQueryFileCompleteCallbackInternalImplementation(ref QueryFileCallbackInfoInternal data) + { + OnQueryFileCompleteCallback callback; + QueryFileCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryFileListCompleteCallbackInternal))] + internal static void OnQueryFileListCompleteCallbackInternalImplementation(ref QueryFileListCallbackInfoInternal data) + { + OnQueryFileListCompleteCallback callback; + QueryFileListCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnReadFileCompleteCallbackInternal))] + internal static void OnReadFileCompleteCallbackInternalImplementation(ref ReadFileCallbackInfoInternal data) + { + OnReadFileCompleteCallback callback; + ReadFileCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnReadFileDataCallbackInternal))] + internal static ReadResult OnReadFileDataCallbackInternalImplementation(ref ReadFileDataCallbackInfoInternal data) + { + OnReadFileDataCallback callback; + ReadFileDataCallbackInfo callbackInfo; + if (Helper.TryGetStructCallback(ref data, out callback, out callbackInfo)) + { + ReadFileDataCallbackInfo dataObj; + Helper.Get(ref data, out dataObj); + + var funcResult = callback(ref dataObj); + + return funcResult; + } + + return Helper.GetDefault(); + } + + [MonoPInvokeCallback(typeof(OnWriteFileCompleteCallbackInternal))] + internal static void OnWriteFileCompleteCallbackInternalImplementation(ref WriteFileCallbackInfoInternal data) + { + OnWriteFileCompleteCallback callback; + WriteFileCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnWriteFileDataCallbackInternal))] + internal static WriteResult OnWriteFileDataCallbackInternalImplementation(ref WriteFileDataCallbackInfoInternal data, System.IntPtr outDataBuffer, ref uint outDataWritten) + { + OnWriteFileDataCallback callback; + WriteFileDataCallbackInfo callbackInfo; + if (Helper.TryGetStructCallback(ref data, out callback, out callbackInfo)) + { + WriteFileDataCallbackInfo dataObj; + Helper.Get(ref data, out dataObj); + + System.ArraySegment outDataBufferArray; + + var funcResult = callback(ref dataObj, out outDataBufferArray); + + Helper.Get(outDataBufferArray, out outDataWritten); + Helper.Copy(outDataBufferArray, outDataBuffer); + + return funcResult; + } + + return Helper.GetDefault(); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageInterface.cs.meta deleted file mode 100644 index 53a734c1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/PlayerDataStorageInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d4e0efc92022b774fb958a78546c245d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileCallbackInfo.cs index 3ddfbcae..926650e3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Data containing information about a query file request - /// - public class QueryFileCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into the file query request - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local user who initiated this request - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryFileCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryFileCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryFileCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Data containing information about a query file request + /// + public struct QueryFileCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful request, other codes indicate an error + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into the file query request + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local user who initiated this request + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryFileCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryFileCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryFileCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryFileCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out QueryFileCallbackInfo output) + { + output = new QueryFileCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileCallbackInfo.cs.meta deleted file mode 100644 index 36201ab8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 586fddc0cad19fd42ba87aec0bb75316 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListCallbackInfo.cs index d17a96b9..6ac1faca 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListCallbackInfo.cs @@ -1,105 +1,148 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Data containing information about a query file list request - /// - public class QueryFileListCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into the file query request - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local user who initiated this request - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// A count of files that were found, if successful - /// - public uint FileCount { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryFileListCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - FileCount = other.Value.FileCount; - } - } - - public void Set(object other) - { - Set(other as QueryFileListCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryFileListCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private uint m_FileCount; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public uint FileCount - { - get - { - return m_FileCount; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Data containing information about a query file list request + /// + public struct QueryFileListCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful request, other codes indicate an error + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into the file query request + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local user who initiated this request + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// A count of files that were found, if successful + /// + public uint FileCount { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryFileListCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + FileCount = other.FileCount; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryFileListCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private uint m_FileCount; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint FileCount + { + get + { + return m_FileCount; + } + + set + { + m_FileCount = value; + } + } + + public void Set(ref QueryFileListCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + FileCount = other.FileCount; + } + + public void Set(ref QueryFileListCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + FileCount = other.Value.FileCount; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out QueryFileListCallbackInfo output) + { + output = new QueryFileListCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListCallbackInfo.cs.meta deleted file mode 100644 index 92f9281b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2047078f23a0e91469a854afdc8db152 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListOptions.cs index 7dda7ae6..b87a0e12 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Input data for the function - /// - public class QueryFileListOptions - { - /// - /// The Product User ID of the local user who requested file metadata - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryFileListOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(QueryFileListOptions other) - { - if (other != null) - { - m_ApiVersion = PlayerDataStorageInterface.QueryfilelistoptionsApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryFileListOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Input data for the function + /// + public struct QueryFileListOptions + { + /// + /// The Product User ID of the local user who requested file metadata + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryFileListOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryFileListOptions other) + { + m_ApiVersion = PlayerDataStorageInterface.QueryfilelistApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryFileListOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlayerDataStorageInterface.QueryfilelistApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListOptions.cs.meta deleted file mode 100644 index feb8c8e7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileListOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 48a9896cc3368564f848c343842e6001 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileOptions.cs index 8ac6301e..138a38ad 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Input data for the function - /// - public class QueryFileOptions - { - /// - /// The Product User ID of the local user requesting file metadata - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The name of the file being queried - /// - public string Filename { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryFileOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string Filename - { - set - { - Helper.TryMarshalSet(ref m_Filename, value); - } - } - - public void Set(QueryFileOptions other) - { - if (other != null) - { - m_ApiVersion = PlayerDataStorageInterface.QueryfileoptionsApiLatest; - LocalUserId = other.LocalUserId; - Filename = other.Filename; - } - } - - public void Set(object other) - { - Set(other as QueryFileOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_Filename); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Input data for the function + /// + public struct QueryFileOptions + { + /// + /// The Product User ID of the local user requesting file metadata + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The name of the file being queried + /// + public Utf8String Filename { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryFileOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + set + { + Helper.Set(value, ref m_Filename); + } + } + + public void Set(ref QueryFileOptions other) + { + m_ApiVersion = PlayerDataStorageInterface.QueryfileApiLatest; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + } + + public void Set(ref QueryFileOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlayerDataStorageInterface.QueryfileApiLatest; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileOptions.cs.meta deleted file mode 100644 index a74fae9e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/QueryFileOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e04f75bfe6b23594a870b16f6a731cea -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileCallbackInfo.cs index 88dd56dc..c3bab589 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileCallbackInfo.cs @@ -1,107 +1,162 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Data containing the result of a read file request - /// - public class ReadFileCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into the file read request - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local user who initiated this request - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The filename of the file that has been finished reading - /// - public string Filename { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(ReadFileCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - Filename = other.Value.Filename; - } - } - - public void Set(object other) - { - Set(other as ReadFileCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ReadFileCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string Filename - { - get - { - string value; - Helper.TryMarshalGet(m_Filename, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Data containing the result of a read file request + /// + public struct ReadFileCallbackInfo : ICallbackInfo + { + /// + /// The result code for the operation. + /// : The request was successful. + /// : The request was canceled. + /// : There are too many requests in progress for the local user at this time. + /// : There is another requests in progress for the specified file by this user. + /// : The cache directory was not set when calling . + /// : The cache directory provided when calling was invalid. + /// : There were too many requests to the Data Storage service recently by the local user. The application must wait some time before trying again. + /// : The encryption key value was not set when calling . + /// : The downloaded or cached file was corrupted or invalid in some way. What exactly is wrong with the file is returned in the logs (potentially retryable). + /// : The read operation is not allowed (e.g. when application is suspended). + /// : An unexpected error occurred either downloading, or reading the downloaded file. This most commonly means there were file IO issues such as: permission issues, disk is full, etc. (potentially retryable) + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into the file read request + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local user who initiated this request + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The filename of the file that has been finished reading + /// + public Utf8String Filename { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref ReadFileCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ReadFileCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + get + { + Utf8String value; + Helper.Get(m_Filename, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Filename); + } + } + + public void Set(ref ReadFileCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + } + + public void Set(ref ReadFileCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + } + + public void Get(out ReadFileCallbackInfo output) + { + output = new ReadFileCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileCallbackInfo.cs.meta deleted file mode 100644 index ed0aa6c1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 27aa7388293fb514bba9f3e887fc7c31 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileDataCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileDataCallbackInfo.cs index 870b1941..d87487fd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileDataCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileDataCallbackInfo.cs @@ -1,142 +1,201 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Data containing data for a chunk of a file being read - /// - public class ReadFileDataCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into the file request - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local user who initiated this request - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The file name being read - /// - public string Filename { get; private set; } - - /// - /// The total file size of the file being read - /// - public uint TotalFileSizeBytes { get; private set; } - - /// - /// Is this chunk the last chunk of data? - /// - public bool IsLastChunk { get; private set; } - - /// - /// Pointer to the start of data to be read - /// - public byte[] DataChunk { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(ReadFileDataCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - Filename = other.Value.Filename; - TotalFileSizeBytes = other.Value.TotalFileSizeBytes; - IsLastChunk = other.Value.IsLastChunk; - DataChunk = other.Value.DataChunk; - } - } - - public void Set(object other) - { - Set(other as ReadFileDataCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ReadFileDataCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - private uint m_TotalFileSizeBytes; - private int m_IsLastChunk; - private uint m_DataChunkLengthBytes; - private System.IntPtr m_DataChunk; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string Filename - { - get - { - string value; - Helper.TryMarshalGet(m_Filename, out value); - return value; - } - } - - public uint TotalFileSizeBytes - { - get - { - return m_TotalFileSizeBytes; - } - } - - public bool IsLastChunk - { - get - { - bool value; - Helper.TryMarshalGet(m_IsLastChunk, out value); - return value; - } - } - - public byte[] DataChunk - { - get - { - byte[] value; - Helper.TryMarshalGet(m_DataChunk, out value, m_DataChunkLengthBytes); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Data containing data for a chunk of a file being read + /// + public struct ReadFileDataCallbackInfo : ICallbackInfo + { + /// + /// Client-specified data passed into the file request + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local user who initiated this request + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The file name being read + /// + public Utf8String Filename { get; set; } + + /// + /// The total file size of the file being read + /// + public uint TotalFileSizeBytes { get; set; } + + /// + /// Is this chunk the last chunk of data? + /// + public bool IsLastChunk { get; set; } + + /// + /// Pointer to the start of data to be read + /// + public System.ArraySegment DataChunk { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref ReadFileDataCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + TotalFileSizeBytes = other.TotalFileSizeBytes; + IsLastChunk = other.IsLastChunk; + DataChunk = other.DataChunk; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ReadFileDataCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + private uint m_TotalFileSizeBytes; + private int m_IsLastChunk; + private uint m_DataChunkLengthBytes; + private System.IntPtr m_DataChunk; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + get + { + Utf8String value; + Helper.Get(m_Filename, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Filename); + } + } + + public uint TotalFileSizeBytes + { + get + { + return m_TotalFileSizeBytes; + } + + set + { + m_TotalFileSizeBytes = value; + } + } + + public bool IsLastChunk + { + get + { + bool value; + Helper.Get(m_IsLastChunk, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IsLastChunk); + } + } + + public System.ArraySegment DataChunk + { + get + { + System.ArraySegment value; + Helper.Get(m_DataChunk, out value, m_DataChunkLengthBytes); + return value; + } + + set + { + Helper.Set(value, ref m_DataChunk, out m_DataChunkLengthBytes); + } + } + + public void Set(ref ReadFileDataCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + TotalFileSizeBytes = other.TotalFileSizeBytes; + IsLastChunk = other.IsLastChunk; + DataChunk = other.DataChunk; + } + + public void Set(ref ReadFileDataCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + TotalFileSizeBytes = other.Value.TotalFileSizeBytes; + IsLastChunk = other.Value.IsLastChunk; + DataChunk = other.Value.DataChunk; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + Helper.Dispose(ref m_DataChunk); + } + + public void Get(out ReadFileDataCallbackInfo output) + { + output = new ReadFileDataCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileDataCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileDataCallbackInfo.cs.meta deleted file mode 100644 index 5e24340d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileDataCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7a61940d9073a62499e087f678baffbb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileOptions.cs index 5d2b1c3f..fcaad303 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileOptions.cs @@ -1,125 +1,130 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Input data for the function - /// - public class ReadFileOptions - { - /// - /// The Product User ID of the local user who is reading the requested file - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The file name to read; this file must already exist - /// - public string Filename { get; set; } - - /// - /// The maximum amount of data in bytes should be available to read in a single call - /// - public uint ReadChunkLengthBytes { get; set; } - - /// - /// Callback function that handles data as it comes in, and can stop the transfer early - /// - public OnReadFileDataCallback ReadFileDataCallback { get; set; } - - /// - /// Optional callback function to be informed of download progress, if the file is not already locally cached; if provided, this will be called at least once before completion if the request is successfully started - /// - public OnFileTransferProgressCallback FileTransferProgressCallback { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ReadFileOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - private uint m_ReadChunkLengthBytes; - private System.IntPtr m_ReadFileDataCallback; - private System.IntPtr m_FileTransferProgressCallback; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string Filename - { - set - { - Helper.TryMarshalSet(ref m_Filename, value); - } - } - - public uint ReadChunkLengthBytes - { - set - { - m_ReadChunkLengthBytes = value; - } - } - - private static OnReadFileDataCallbackInternal s_ReadFileDataCallback; - public static OnReadFileDataCallbackInternal ReadFileDataCallback - { - get - { - if (s_ReadFileDataCallback == null) - { - s_ReadFileDataCallback = new OnReadFileDataCallbackInternal(PlayerDataStorageInterface.OnReadFileDataCallbackInternalImplementation); - } - - return s_ReadFileDataCallback; - } - } - - private static OnFileTransferProgressCallbackInternal s_FileTransferProgressCallback; - public static OnFileTransferProgressCallbackInternal FileTransferProgressCallback - { - get - { - if (s_FileTransferProgressCallback == null) - { - s_FileTransferProgressCallback = new OnFileTransferProgressCallbackInternal(PlayerDataStorageInterface.OnFileTransferProgressCallbackInternalImplementation); - } - - return s_FileTransferProgressCallback; - } - } - - public void Set(ReadFileOptions other) - { - if (other != null) - { - m_ApiVersion = PlayerDataStorageInterface.ReadfileoptionsApiLatest; - LocalUserId = other.LocalUserId; - Filename = other.Filename; - ReadChunkLengthBytes = other.ReadChunkLengthBytes; - m_ReadFileDataCallback = other.ReadFileDataCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(ReadFileDataCallback) : System.IntPtr.Zero; - m_FileTransferProgressCallback = other.FileTransferProgressCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(FileTransferProgressCallback) : System.IntPtr.Zero; - } - } - - public void Set(object other) - { - Set(other as ReadFileOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_Filename); - Helper.TryMarshalDispose(ref m_ReadFileDataCallback); - Helper.TryMarshalDispose(ref m_FileTransferProgressCallback); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Input data for the function + /// + public struct ReadFileOptions + { + /// + /// The Product User ID of the local user who is reading the requested file + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The file name to read; this file must already exist + /// + public Utf8String Filename { get; set; } + + /// + /// The maximum amount of data in bytes should be available to read in a single call + /// + public uint ReadChunkLengthBytes { get; set; } + + /// + /// Callback function that handles data as it comes in, and can stop the transfer early + /// + public OnReadFileDataCallback ReadFileDataCallback { get; set; } + + /// + /// Optional callback function to be informed of download progress, if the file is not already locally cached; if provided, this will be called at least once before completion if the request is successfully started + /// + public OnFileTransferProgressCallback FileTransferProgressCallback { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ReadFileOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + private uint m_ReadChunkLengthBytes; + private System.IntPtr m_ReadFileDataCallback; + private System.IntPtr m_FileTransferProgressCallback; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + set + { + Helper.Set(value, ref m_Filename); + } + } + + public uint ReadChunkLengthBytes + { + set + { + m_ReadChunkLengthBytes = value; + } + } + + private static OnReadFileDataCallbackInternal s_ReadFileDataCallback; + public static OnReadFileDataCallbackInternal ReadFileDataCallback + { + get + { + if (s_ReadFileDataCallback == null) + { + s_ReadFileDataCallback = new OnReadFileDataCallbackInternal(PlayerDataStorageInterface.OnReadFileDataCallbackInternalImplementation); + } + + return s_ReadFileDataCallback; + } + } + + private static OnFileTransferProgressCallbackInternal s_FileTransferProgressCallback; + public static OnFileTransferProgressCallbackInternal FileTransferProgressCallback + { + get + { + if (s_FileTransferProgressCallback == null) + { + s_FileTransferProgressCallback = new OnFileTransferProgressCallbackInternal(PlayerDataStorageInterface.OnFileTransferProgressCallbackInternalImplementation); + } + + return s_FileTransferProgressCallback; + } + } + + public void Set(ref ReadFileOptions other) + { + m_ApiVersion = PlayerDataStorageInterface.ReadfileApiLatest; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + ReadChunkLengthBytes = other.ReadChunkLengthBytes; + m_ReadFileDataCallback = other.ReadFileDataCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(ReadFileDataCallback) : System.IntPtr.Zero; + m_FileTransferProgressCallback = other.FileTransferProgressCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(FileTransferProgressCallback) : System.IntPtr.Zero; + } + + public void Set(ref ReadFileOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlayerDataStorageInterface.ReadfileApiLatest; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + ReadChunkLengthBytes = other.Value.ReadChunkLengthBytes; + m_ReadFileDataCallback = other.Value.ReadFileDataCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(ReadFileDataCallback) : System.IntPtr.Zero; + m_FileTransferProgressCallback = other.Value.FileTransferProgressCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(FileTransferProgressCallback) : System.IntPtr.Zero; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + Helper.Dispose(ref m_ReadFileDataCallback); + Helper.Dispose(ref m_FileTransferProgressCallback); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileOptions.cs.meta deleted file mode 100644 index 7132ccfa..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadFileOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: df1cd7910de78e342aa6a5dc8f29734f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadResult.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadResult.cs index a96c60a2..f3e61dc6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadResult.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadResult.cs @@ -1,24 +1,24 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Return results for callbacks to return - /// - public enum ReadResult : int - { - /// - /// Signifies the data was read successfully, and we should continue to the next chunk if possible - /// - ContinueReading = 1, - /// - /// Signifies there was a failure reading the data, and the request should end - /// - FailRequest = 2, - /// - /// Signifies the request should be cancelled, but not due to an error - /// - CancelRequest = 3 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Return results for callbacks to return + /// + public enum ReadResult : int + { + /// + /// Signifies the data was read successfully, and we should continue to the next chunk if possible + /// + ContinueReading = 1, + /// + /// Signifies there was a failure reading the data, and the request should end + /// + FailRequest = 2, + /// + /// Signifies the request should be canceled, but not due to an error + /// + CancelRequest = 3 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadResult.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadResult.cs.meta deleted file mode 100644 index 4bc17655..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/ReadResult.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 670aac9bb1862934581921756d6edaa5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileCallbackInfo.cs index faee26d7..1dbb9bb7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileCallbackInfo.cs @@ -1,107 +1,161 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// The result information for a request to write data to a file - /// - public class WriteFileCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into the file write request - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local user who initiated this request - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The file name that is being written to - /// - public string Filename { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(WriteFileCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - Filename = other.Value.Filename; - } - } - - public void Set(object other) - { - Set(other as WriteFileCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct WriteFileCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string Filename - { - get - { - string value; - Helper.TryMarshalGet(m_Filename, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// The result information for a request to write data to a file + /// + public struct WriteFileCallbackInfo : ICallbackInfo + { + /// + /// The result code for the operation. + /// : The request was successful. + /// : The request was canceled. + /// : There are too many requests in progress for the local user at this time. + /// : There is another requests in progress for the specified file by this user. + /// : The cache directory was not set when calling . + /// : The cache directory provided when calling was invalid. + /// : There were too many requests to the Data Storage service recently by the local user. The application must wait some time before trying again. + /// : The encryption key value was not set when calling . + /// : The read operation is not allowed (e.g. when application is suspended). + /// : An unexpected error occurred either downloading, or reading the downloaded file. This most commonly means there were file IO issues such as: permission issues, disk is full, etc. (potentially retryable) + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into the file write request + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local user who initiated this request + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The file name that is being written to + /// + public Utf8String Filename { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref WriteFileCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct WriteFileCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + get + { + Utf8String value; + Helper.Get(m_Filename, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Filename); + } + } + + public void Set(ref WriteFileCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + } + + public void Set(ref WriteFileCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + } + + public void Get(out WriteFileCallbackInfo output) + { + output = new WriteFileCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileCallbackInfo.cs.meta deleted file mode 100644 index 89b98418..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3846e9fe8aa95d84abf4fb1a3f0abbf7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileDataCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileDataCallbackInfo.cs index 8d832540..c5fa76cb 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileDataCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileDataCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Data containing data for a chunk of a file being written - /// - public class WriteFileDataCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into the file write request - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the local user who initiated this request - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The file name that is being written to - /// - public string Filename { get; private set; } - - /// - /// The maximum amount of data in bytes that can be written safely to DataBuffer - /// - public uint DataBufferLengthBytes { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(WriteFileDataCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - Filename = other.Value.Filename; - DataBufferLengthBytes = other.Value.DataBufferLengthBytes; - } - } - - public void Set(object other) - { - Set(other as WriteFileDataCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct WriteFileDataCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - private uint m_DataBufferLengthBytes; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string Filename - { - get - { - string value; - Helper.TryMarshalGet(m_Filename, out value); - return value; - } - } - - public uint DataBufferLengthBytes - { - get - { - return m_DataBufferLengthBytes; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Data containing data for a chunk of a file being written + /// + public struct WriteFileDataCallbackInfo : ICallbackInfo + { + /// + /// Client-specified data passed into the file write request + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the local user who initiated this request + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The file name that is being written to + /// + public Utf8String Filename { get; set; } + + /// + /// The maximum amount of data in bytes that can be written safely to DataBuffer + /// + public uint DataBufferLengthBytes { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref WriteFileDataCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + DataBufferLengthBytes = other.DataBufferLengthBytes; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct WriteFileDataCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + private uint m_DataBufferLengthBytes; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + get + { + Utf8String value; + Helper.Get(m_Filename, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Filename); + } + } + + public uint DataBufferLengthBytes + { + get + { + return m_DataBufferLengthBytes; + } + + set + { + m_DataBufferLengthBytes = value; + } + } + + public void Set(ref WriteFileDataCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + DataBufferLengthBytes = other.DataBufferLengthBytes; + } + + public void Set(ref WriteFileDataCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + DataBufferLengthBytes = other.Value.DataBufferLengthBytes; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + } + + public void Get(out WriteFileDataCallbackInfo output) + { + output = new WriteFileDataCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileDataCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileDataCallbackInfo.cs.meta deleted file mode 100644 index 9c087bed..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileDataCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 42f5bdd4f93cea04b91c7b065246aa15 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileOptions.cs index afb13241..4c9b190e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileOptions.cs @@ -1,125 +1,130 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Input data for the function - /// - public class WriteFileOptions - { - /// - /// The Product User ID of the local user who is writing the requested file to the cloud - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The name of the file to write; if this file already exists, the contents will be replaced if the write request completes successfully - /// - public string Filename { get; set; } - - /// - /// Requested maximum amount of data (in bytes) that can be written to the file per tick - /// - public uint ChunkLengthBytes { get; set; } - - /// - /// Callback function that provides chunks of data to be written into the requested file - /// - public OnWriteFileDataCallback WriteFileDataCallback { get; set; } - - /// - /// Optional callback function to inform the application of upload progress; will be called at least once if set - /// - public OnFileTransferProgressCallback FileTransferProgressCallback { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct WriteFileOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - private uint m_ChunkLengthBytes; - private System.IntPtr m_WriteFileDataCallback; - private System.IntPtr m_FileTransferProgressCallback; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string Filename - { - set - { - Helper.TryMarshalSet(ref m_Filename, value); - } - } - - public uint ChunkLengthBytes - { - set - { - m_ChunkLengthBytes = value; - } - } - - private static OnWriteFileDataCallbackInternal s_WriteFileDataCallback; - public static OnWriteFileDataCallbackInternal WriteFileDataCallback - { - get - { - if (s_WriteFileDataCallback == null) - { - s_WriteFileDataCallback = new OnWriteFileDataCallbackInternal(PlayerDataStorageInterface.OnWriteFileDataCallbackInternalImplementation); - } - - return s_WriteFileDataCallback; - } - } - - private static OnFileTransferProgressCallbackInternal s_FileTransferProgressCallback; - public static OnFileTransferProgressCallbackInternal FileTransferProgressCallback - { - get - { - if (s_FileTransferProgressCallback == null) - { - s_FileTransferProgressCallback = new OnFileTransferProgressCallbackInternal(PlayerDataStorageInterface.OnFileTransferProgressCallbackInternalImplementation); - } - - return s_FileTransferProgressCallback; - } - } - - public void Set(WriteFileOptions other) - { - if (other != null) - { - m_ApiVersion = PlayerDataStorageInterface.WritefileoptionsApiLatest; - LocalUserId = other.LocalUserId; - Filename = other.Filename; - ChunkLengthBytes = other.ChunkLengthBytes; - m_WriteFileDataCallback = other.WriteFileDataCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(WriteFileDataCallback) : System.IntPtr.Zero; - m_FileTransferProgressCallback = other.FileTransferProgressCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(FileTransferProgressCallback) : System.IntPtr.Zero; - } - } - - public void Set(object other) - { - Set(other as WriteFileOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_Filename); - Helper.TryMarshalDispose(ref m_WriteFileDataCallback); - Helper.TryMarshalDispose(ref m_FileTransferProgressCallback); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Input data for the function + /// + public struct WriteFileOptions + { + /// + /// The Product User ID of the local user who is writing the requested file to the cloud + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The name of the file to write; if this file already exists, the contents will be replaced if the write request completes successfully + /// + public Utf8String Filename { get; set; } + + /// + /// Requested maximum amount of data (in bytes) that can be written to the file per tick + /// + public uint ChunkLengthBytes { get; set; } + + /// + /// Callback function that provides chunks of data to be written into the requested file + /// + public OnWriteFileDataCallback WriteFileDataCallback { get; set; } + + /// + /// Optional callback function to inform the application of upload progress; will be called at least once if set + /// + public OnFileTransferProgressCallback FileTransferProgressCallback { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct WriteFileOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + private uint m_ChunkLengthBytes; + private System.IntPtr m_WriteFileDataCallback; + private System.IntPtr m_FileTransferProgressCallback; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + set + { + Helper.Set(value, ref m_Filename); + } + } + + public uint ChunkLengthBytes + { + set + { + m_ChunkLengthBytes = value; + } + } + + private static OnWriteFileDataCallbackInternal s_WriteFileDataCallback; + public static OnWriteFileDataCallbackInternal WriteFileDataCallback + { + get + { + if (s_WriteFileDataCallback == null) + { + s_WriteFileDataCallback = new OnWriteFileDataCallbackInternal(PlayerDataStorageInterface.OnWriteFileDataCallbackInternalImplementation); + } + + return s_WriteFileDataCallback; + } + } + + private static OnFileTransferProgressCallbackInternal s_FileTransferProgressCallback; + public static OnFileTransferProgressCallbackInternal FileTransferProgressCallback + { + get + { + if (s_FileTransferProgressCallback == null) + { + s_FileTransferProgressCallback = new OnFileTransferProgressCallbackInternal(PlayerDataStorageInterface.OnFileTransferProgressCallbackInternalImplementation); + } + + return s_FileTransferProgressCallback; + } + } + + public void Set(ref WriteFileOptions other) + { + m_ApiVersion = PlayerDataStorageInterface.WritefileApiLatest; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + ChunkLengthBytes = other.ChunkLengthBytes; + m_WriteFileDataCallback = other.WriteFileDataCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(WriteFileDataCallback) : System.IntPtr.Zero; + m_FileTransferProgressCallback = other.FileTransferProgressCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(FileTransferProgressCallback) : System.IntPtr.Zero; + } + + public void Set(ref WriteFileOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlayerDataStorageInterface.WritefileApiLatest; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + ChunkLengthBytes = other.Value.ChunkLengthBytes; + m_WriteFileDataCallback = other.Value.WriteFileDataCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(WriteFileDataCallback) : System.IntPtr.Zero; + m_FileTransferProgressCallback = other.Value.FileTransferProgressCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(FileTransferProgressCallback) : System.IntPtr.Zero; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + Helper.Dispose(ref m_WriteFileDataCallback); + Helper.Dispose(ref m_FileTransferProgressCallback); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileOptions.cs.meta deleted file mode 100644 index 7e0ca958..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteFileOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5b8635c0557a4824c9023bca2b118f67 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteResult.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteResult.cs index da40957c..2a150b6c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteResult.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteResult.cs @@ -1,28 +1,28 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.PlayerDataStorage -{ - /// - /// Return results for callbacks to return - /// - public enum WriteResult : int - { - /// - /// Signifies the data was written successfully, and we should write the data the file - /// - ContinueWriting = 1, - /// - /// Signifies all data has now been written successfully, and we should upload the data to the cloud - /// - CompleteRequest = 2, - /// - /// Signifies there was a failure writing the data, and the request should end - /// - FailRequest = 3, - /// - /// Signifies the request should be cancelled, but not due to an error - /// - CancelRequest = 4 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.PlayerDataStorage +{ + /// + /// Return results for callbacks to return + /// + public enum WriteResult : int + { + /// + /// Signifies the data was written successfully, and we should write the data the file + /// + ContinueWriting = 1, + /// + /// Signifies all data has now been written successfully, and we should upload the data to the cloud + /// + CompleteRequest = 2, + /// + /// Signifies there was a failure writing the data, and the request should end + /// + FailRequest = 3, + /// + /// Signifies the request should be canceled, but not due to an error + /// + CancelRequest = 4 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteResult.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteResult.cs.meta deleted file mode 100644 index 404e4798..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/PlayerDataStorage/WriteResult.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8c074f307764d4942a964fbce6d79012 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence.meta deleted file mode 100644 index cc9cb03d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a64e691803d0a2843904e0bec4dbcee6 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyJoinGameAcceptedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyJoinGameAcceptedOptions.cs index 18c0d7dd..842902fd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyJoinGameAcceptedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyJoinGameAcceptedOptions.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - public class AddNotifyJoinGameAcceptedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyJoinGameAcceptedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyJoinGameAcceptedOptions other) - { - if (other != null) - { - m_ApiVersion = PresenceInterface.AddnotifyjoingameacceptedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyJoinGameAcceptedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + public struct AddNotifyJoinGameAcceptedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyJoinGameAcceptedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyJoinGameAcceptedOptions other) + { + m_ApiVersion = PresenceInterface.AddnotifyjoingameacceptedApiLatest; + } + + public void Set(ref AddNotifyJoinGameAcceptedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceInterface.AddnotifyjoingameacceptedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyJoinGameAcceptedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyJoinGameAcceptedOptions.cs.meta deleted file mode 100644 index 3cdb7021..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyJoinGameAcceptedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ac6bf9015757679449ebb665358c9bf6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyOnPresenceChangedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyOnPresenceChangedOptions.cs index ff658d37..4f3d750a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyOnPresenceChangedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyOnPresenceChangedOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data for the function. - /// - public class AddNotifyOnPresenceChangedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyOnPresenceChangedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyOnPresenceChangedOptions other) - { - if (other != null) - { - m_ApiVersion = PresenceInterface.AddnotifyonpresencechangedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyOnPresenceChangedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data for the function. + /// + public struct AddNotifyOnPresenceChangedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyOnPresenceChangedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyOnPresenceChangedOptions other) + { + m_ApiVersion = PresenceInterface.AddnotifyonpresencechangedApiLatest; + } + + public void Set(ref AddNotifyOnPresenceChangedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceInterface.AddnotifyonpresencechangedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyOnPresenceChangedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyOnPresenceChangedOptions.cs.meta deleted file mode 100644 index ccc3c0ff..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/AddNotifyOnPresenceChangedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 236cc0013ca69a147af6f92ac6c57beb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CopyPresenceOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CopyPresenceOptions.cs index 7904eac6..a599ea35 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CopyPresenceOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CopyPresenceOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data for the function. - /// - public class CopyPresenceOptions - { - /// - /// The Epic Online Services Account ID of the local, logged-in user making the request - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID of the user whose cached presence data you want to copy from the cache - /// - public EpicAccountId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyPresenceOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(CopyPresenceOptions other) - { - if (other != null) - { - m_ApiVersion = PresenceInterface.CopypresenceApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as CopyPresenceOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data for the function. + /// + public struct CopyPresenceOptions + { + /// + /// The Epic Account ID of the local, logged-in user making the request + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user whose cached presence data you want to copy from the cache + /// + public EpicAccountId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyPresenceOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref CopyPresenceOptions other) + { + m_ApiVersion = PresenceInterface.CopypresenceApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref CopyPresenceOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceInterface.CopypresenceApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CopyPresenceOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CopyPresenceOptions.cs.meta deleted file mode 100644 index c4194d4a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CopyPresenceOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bfdd6527d6bbd7e429c25091c56c3be1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CreatePresenceModificationOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CreatePresenceModificationOptions.cs index dc3e20a6..1eeb2546 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CreatePresenceModificationOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CreatePresenceModificationOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data for the function. - /// - public class CreatePresenceModificationOptions - { - /// - /// The Epic Online Services Account ID of the local user's Epic Online Services Account ID - /// - public EpicAccountId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CreatePresenceModificationOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(CreatePresenceModificationOptions other) - { - if (other != null) - { - m_ApiVersion = PresenceInterface.CreatepresencemodificationApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as CreatePresenceModificationOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data for the function. + /// + public struct CreatePresenceModificationOptions + { + /// + /// The Epic Account ID of the local, logged-in user making the request + /// + public EpicAccountId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CreatePresenceModificationOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref CreatePresenceModificationOptions other) + { + m_ApiVersion = PresenceInterface.CreatepresencemodificationApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref CreatePresenceModificationOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceInterface.CreatepresencemodificationApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CreatePresenceModificationOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CreatePresenceModificationOptions.cs.meta deleted file mode 100644 index 47ddefc2..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/CreatePresenceModificationOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8a9b3f65c7d04d64ab51d7c87ed8146b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/DataRecord.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/DataRecord.cs index 1aad9ea8..4f0eaabf 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/DataRecord.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/DataRecord.cs @@ -1,95 +1,95 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// An individual presence data record that belongs to a object. This object is released when its parent object is released. - /// - /// - public class DataRecord : ISettable - { - /// - /// The name of this data - /// - public string Key { get; set; } - - /// - /// The value of this data - /// - public string Value { get; set; } - - internal void Set(DataRecordInternal? other) - { - if (other != null) - { - Key = other.Value.Key; - Value = other.Value.Value; - } - } - - public void Set(object other) - { - Set(other as DataRecordInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DataRecordInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Key; - private System.IntPtr m_Value; - - public string Key - { - get - { - string value; - Helper.TryMarshalGet(m_Key, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Key, value); - } - } - - public string Value - { - get - { - string value; - Helper.TryMarshalGet(m_Value, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Value, value); - } - } - - public void Set(DataRecord other) - { - if (other != null) - { - m_ApiVersion = PresenceInterface.DatarecordApiLatest; - Key = other.Key; - Value = other.Value; - } - } - - public void Set(object other) - { - Set(other as DataRecord); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Key); - Helper.TryMarshalDispose(ref m_Value); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// An individual presence data record that belongs to a object. This object is released when its parent object is released. + /// + /// + public struct DataRecord + { + /// + /// The name of this data + /// + public Utf8String Key { get; set; } + + /// + /// The value of this data + /// + public Utf8String Value { get; set; } + + internal void Set(ref DataRecordInternal other) + { + Key = other.Key; + Value = other.Value; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DataRecordInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Key; + private System.IntPtr m_Value; + + public Utf8String Key + { + get + { + Utf8String value; + Helper.Get(m_Key, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Key); + } + } + + public Utf8String Value + { + get + { + Utf8String value; + Helper.Get(m_Value, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Value); + } + } + + public void Set(ref DataRecord other) + { + m_ApiVersion = PresenceInterface.DatarecordApiLatest; + Key = other.Key; + Value = other.Value; + } + + public void Set(ref DataRecord? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceInterface.DatarecordApiLatest; + Key = other.Value.Key; + Value = other.Value.Value; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Key); + Helper.Dispose(ref m_Value); + } + + public void Get(out DataRecord output) + { + output = new DataRecord(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/DataRecord.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/DataRecord.cs.meta deleted file mode 100644 index e8489fe0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/DataRecord.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f2692cccc354b3947a70d4cd0857d3a1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/GetJoinInfoOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/GetJoinInfoOptions.cs index 8749d410..c7f87df5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/GetJoinInfoOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/GetJoinInfoOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data for the function. - /// - public class GetJoinInfoOptions - { - /// - /// The local user's Epic Online Services Account ID - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID to query for join info; this value must either be a logged-in local user, or a friend of that user - /// - public EpicAccountId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetJoinInfoOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(GetJoinInfoOptions other) - { - if (other != null) - { - m_ApiVersion = PresenceInterface.GetjoininfoApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as GetJoinInfoOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data for the function. + /// + public struct GetJoinInfoOptions + { + /// + /// The local user's Epic Account ID + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID to query for join info; this value must either be a logged-in local user, or a friend of that user + /// + public EpicAccountId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetJoinInfoOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref GetJoinInfoOptions other) + { + m_ApiVersion = PresenceInterface.GetjoininfoApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref GetJoinInfoOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceInterface.GetjoininfoApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/GetJoinInfoOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/GetJoinInfoOptions.cs.meta deleted file mode 100644 index 1664452b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/GetJoinInfoOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ebee0c4a9c390554e8802ed70662648f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/HasPresenceOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/HasPresenceOptions.cs index 2d1a04a6..0f4064e9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/HasPresenceOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/HasPresenceOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data for the function. - /// - public class HasPresenceOptions - { - /// - /// The Epic Online Services Account ID of the local, logged-in user making the request - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID of the user whose cached presence data you want to locate - /// - public EpicAccountId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct HasPresenceOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(HasPresenceOptions other) - { - if (other != null) - { - m_ApiVersion = PresenceInterface.HaspresenceApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as HasPresenceOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data for the function. + /// + public struct HasPresenceOptions + { + /// + /// The Epic Account ID of the local, logged-in user making the request + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user whose cached presence data you want to locate + /// + public EpicAccountId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct HasPresenceOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref HasPresenceOptions other) + { + m_ApiVersion = PresenceInterface.HaspresenceApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref HasPresenceOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceInterface.HaspresenceApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/HasPresenceOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/HasPresenceOptions.cs.meta deleted file mode 100644 index 5968d7c4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/HasPresenceOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a04277eb7274e4d41b302e77abe13a42 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Info.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Info.cs index 04ffb2cd..a41c49b5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Info.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Info.cs @@ -1,238 +1,269 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// All the known presence information for a specific user. This object must be released by calling . - /// - /// - /// - public class Info : ISettable - { - /// - /// The status of the user - /// - public Status Status { get; set; } - - /// - /// The Epic Online Services Account ID of the user - /// - public EpicAccountId UserId { get; set; } - - /// - /// The product ID that the user is logged in from - /// - public string ProductId { get; set; } - - /// - /// The version of the product the user is logged in from - /// - public string ProductVersion { get; set; } - - /// - /// The platform of that the user is logged in from - /// - public string Platform { get; set; } - - /// - /// The rich-text of the user - /// - public string RichText { get; set; } - - /// - /// The first data record, or NULL if RecordsCount is not at least 1 - /// - public DataRecord[] Records { get; set; } - - /// - /// The user-facing name for the product the user is logged in from - /// - public string ProductName { get; set; } - - internal void Set(InfoInternal? other) - { - if (other != null) - { - Status = other.Value.Status; - UserId = other.Value.UserId; - ProductId = other.Value.ProductId; - ProductVersion = other.Value.ProductVersion; - Platform = other.Value.Platform; - RichText = other.Value.RichText; - Records = other.Value.Records; - ProductName = other.Value.ProductName; - } - } - - public void Set(object other) - { - Set(other as InfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct InfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private Status m_Status; - private System.IntPtr m_UserId; - private System.IntPtr m_ProductId; - private System.IntPtr m_ProductVersion; - private System.IntPtr m_Platform; - private System.IntPtr m_RichText; - private int m_RecordsCount; - private System.IntPtr m_Records; - private System.IntPtr m_ProductName; - - public Status Status - { - get - { - return m_Status; - } - - set - { - m_Status = value; - } - } - - public EpicAccountId UserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_UserId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UserId, value); - } - } - - public string ProductId - { - get - { - string value; - Helper.TryMarshalGet(m_ProductId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ProductId, value); - } - } - - public string ProductVersion - { - get - { - string value; - Helper.TryMarshalGet(m_ProductVersion, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ProductVersion, value); - } - } - - public string Platform - { - get - { - string value; - Helper.TryMarshalGet(m_Platform, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Platform, value); - } - } - - public string RichText - { - get - { - string value; - Helper.TryMarshalGet(m_RichText, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_RichText, value); - } - } - - public DataRecord[] Records - { - get - { - DataRecord[] value; - Helper.TryMarshalGet(m_Records, out value, m_RecordsCount); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Records, value, out m_RecordsCount); - } - } - - public string ProductName - { - get - { - string value; - Helper.TryMarshalGet(m_ProductName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ProductName, value); - } - } - - public void Set(Info other) - { - if (other != null) - { - m_ApiVersion = PresenceInterface.InfoApiLatest; - Status = other.Status; - UserId = other.UserId; - ProductId = other.ProductId; - ProductVersion = other.ProductVersion; - Platform = other.Platform; - RichText = other.RichText; - Records = other.Records; - ProductName = other.ProductName; - } - } - - public void Set(object other) - { - Set(other as Info); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserId); - Helper.TryMarshalDispose(ref m_ProductId); - Helper.TryMarshalDispose(ref m_ProductVersion); - Helper.TryMarshalDispose(ref m_Platform); - Helper.TryMarshalDispose(ref m_RichText); - Helper.TryMarshalDispose(ref m_Records); - Helper.TryMarshalDispose(ref m_ProductName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// All the known presence information for a specific user. This object must be released by calling . + /// + /// + /// + public struct Info + { + /// + /// The status of the user + /// + public Status Status { get; set; } + + /// + /// The Epic Account ID of the user + /// + public EpicAccountId UserId { get; set; } + + /// + /// The product ID that the user is logged in from + /// + public Utf8String ProductId { get; set; } + + /// + /// The version of the product the user is logged in from + /// + public Utf8String ProductVersion { get; set; } + + /// + /// The platform of that the user is logged in from + /// + public Utf8String Platform { get; set; } + + /// + /// The rich-text of the user + /// + public Utf8String RichText { get; set; } + + /// + /// The first data record, or if RecordsCount is not at least 1 + /// + public DataRecord[] Records { get; set; } + + /// + /// The user-facing name for the product the user is logged in from + /// + public Utf8String ProductName { get; set; } + + /// + /// The integrated platform that the user is logged in with + /// + public Utf8String IntegratedPlatform { get; set; } + + internal void Set(ref InfoInternal other) + { + Status = other.Status; + UserId = other.UserId; + ProductId = other.ProductId; + ProductVersion = other.ProductVersion; + Platform = other.Platform; + RichText = other.RichText; + Records = other.Records; + ProductName = other.ProductName; + IntegratedPlatform = other.IntegratedPlatform; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct InfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private Status m_Status; + private System.IntPtr m_UserId; + private System.IntPtr m_ProductId; + private System.IntPtr m_ProductVersion; + private System.IntPtr m_Platform; + private System.IntPtr m_RichText; + private int m_RecordsCount; + private System.IntPtr m_Records; + private System.IntPtr m_ProductName; + private System.IntPtr m_IntegratedPlatform; + + public Status Status + { + get + { + return m_Status; + } + + set + { + m_Status = value; + } + } + + public EpicAccountId UserId + { + get + { + EpicAccountId value; + Helper.Get(m_UserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UserId); + } + } + + public Utf8String ProductId + { + get + { + Utf8String value; + Helper.Get(m_ProductId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ProductId); + } + } + + public Utf8String ProductVersion + { + get + { + Utf8String value; + Helper.Get(m_ProductVersion, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ProductVersion); + } + } + + public Utf8String Platform + { + get + { + Utf8String value; + Helper.Get(m_Platform, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Platform); + } + } + + public Utf8String RichText + { + get + { + Utf8String value; + Helper.Get(m_RichText, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RichText); + } + } + + public DataRecord[] Records + { + get + { + DataRecord[] value; + Helper.Get(m_Records, out value, m_RecordsCount); + return value; + } + + set + { + Helper.Set(ref value, ref m_Records, out m_RecordsCount); + } + } + + public Utf8String ProductName + { + get + { + Utf8String value; + Helper.Get(m_ProductName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ProductName); + } + } + + public Utf8String IntegratedPlatform + { + get + { + Utf8String value; + Helper.Get(m_IntegratedPlatform, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IntegratedPlatform); + } + } + + public void Set(ref Info other) + { + m_ApiVersion = PresenceInterface.InfoApiLatest; + Status = other.Status; + UserId = other.UserId; + ProductId = other.ProductId; + ProductVersion = other.ProductVersion; + Platform = other.Platform; + RichText = other.RichText; + Records = other.Records; + ProductName = other.ProductName; + IntegratedPlatform = other.IntegratedPlatform; + } + + public void Set(ref Info? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceInterface.InfoApiLatest; + Status = other.Value.Status; + UserId = other.Value.UserId; + ProductId = other.Value.ProductId; + ProductVersion = other.Value.ProductVersion; + Platform = other.Value.Platform; + RichText = other.Value.RichText; + Records = other.Value.Records; + ProductName = other.Value.ProductName; + IntegratedPlatform = other.Value.IntegratedPlatform; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserId); + Helper.Dispose(ref m_ProductId); + Helper.Dispose(ref m_ProductVersion); + Helper.Dispose(ref m_Platform); + Helper.Dispose(ref m_RichText); + Helper.Dispose(ref m_Records); + Helper.Dispose(ref m_ProductName); + Helper.Dispose(ref m_IntegratedPlatform); + } + + public void Get(out Info output) + { + output = new Info(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Info.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Info.cs.meta deleted file mode 100644 index 38867a26..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Info.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ee1a5dc44f3656946b317d4fc3052e9d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/JoinGameAcceptedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/JoinGameAcceptedCallbackInfo.cs index 837ae819..a5a8af3f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/JoinGameAcceptedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/JoinGameAcceptedCallbackInfo.cs @@ -1,127 +1,179 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Output parameters for the Function. - /// - public class JoinGameAcceptedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Join Info custom game-data string to use to join the target user. - /// Set to a null pointer to delete the value. - /// - public string JoinInfo { get; private set; } - - /// - /// The Epic Online Services Account ID of the user who accepted the invitation - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// The Epic Online Services Account ID of the user who sent the invitation - /// - public EpicAccountId TargetUserId { get; private set; } - - /// - /// If the value is not then it must be passed back to the SDK using . - /// This should be done after attempting to join the game and either succeeding or failing to connect. - /// This is necessary to allow the Social Overlay UI to manage the `Join` button. - /// - public ulong UiEventId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(JoinGameAcceptedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - JoinInfo = other.Value.JoinInfo; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - UiEventId = other.Value.UiEventId; - } - } - - public void Set(object other) - { - Set(other as JoinGameAcceptedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct JoinGameAcceptedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_JoinInfo; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - private ulong m_UiEventId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string JoinInfo - { - get - { - string value; - Helper.TryMarshalGet(m_JoinInfo, out value); - return value; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public EpicAccountId TargetUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - - public ulong UiEventId - { - get - { - return m_UiEventId; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Output parameters for the Function. + /// + public struct JoinGameAcceptedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Join Info custom game-data string to use to join the target user. + /// Set to a null pointer to delete the value. + /// + public Utf8String JoinInfo { get; set; } + + /// + /// The Epic Account ID of the user who accepted the invitation + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user who sent the invitation + /// + public EpicAccountId TargetUserId { get; set; } + + /// + /// If the value is not then it must be passed back to the SDK using . + /// This should be done after attempting to join the game and either succeeding or failing to connect. + /// This is necessary to allow the Social Overlay UI to manage the `Join` button. + /// + public ulong UiEventId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref JoinGameAcceptedCallbackInfoInternal other) + { + ClientData = other.ClientData; + JoinInfo = other.JoinInfo; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + UiEventId = other.UiEventId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct JoinGameAcceptedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_JoinInfo; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + private ulong m_UiEventId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String JoinInfo + { + get + { + Utf8String value; + Helper.Get(m_JoinInfo, out value); + return value; + } + + set + { + Helper.Set(value, ref m_JoinInfo); + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + get + { + EpicAccountId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public ulong UiEventId + { + get + { + return m_UiEventId; + } + + set + { + m_UiEventId = value; + } + } + + public void Set(ref JoinGameAcceptedCallbackInfo other) + { + ClientData = other.ClientData; + JoinInfo = other.JoinInfo; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + UiEventId = other.UiEventId; + } + + public void Set(ref JoinGameAcceptedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + JoinInfo = other.Value.JoinInfo; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + UiEventId = other.Value.UiEventId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_JoinInfo); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out JoinGameAcceptedCallbackInfo output) + { + output = new JoinGameAcceptedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/JoinGameAcceptedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/JoinGameAcceptedCallbackInfo.cs.meta deleted file mode 100644 index 4990b0ca..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/JoinGameAcceptedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5967c818dd6e0d34a809414195323fb4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnJoinGameAcceptedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnJoinGameAcceptedCallback.cs index 6169c0e2..c34bd831 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnJoinGameAcceptedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnJoinGameAcceptedCallback.cs @@ -1,17 +1,15 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Function prototype definition for notifications that come from - /// - /// - /// A containing the output information and result - /// @note must be called with any valid UiEventId passed via the data. - /// - public delegate void OnJoinGameAcceptedCallback(JoinGameAcceptedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnJoinGameAcceptedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Function prototype definition for notifications that come from + /// EOS_UI_AcknowledgeEventId must be called with any valid UiEventId passed via the data. + /// + /// A containing the output information and result + public delegate void OnJoinGameAcceptedCallback(ref JoinGameAcceptedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnJoinGameAcceptedCallbackInternal(ref JoinGameAcceptedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnJoinGameAcceptedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnJoinGameAcceptedCallback.cs.meta deleted file mode 100644 index ec9442de..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnJoinGameAcceptedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b416a69446590a44685ef48766e4f2ba -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnPresenceChangedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnPresenceChangedCallback.cs index b6f5255b..fa3d1266 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnPresenceChangedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnPresenceChangedCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Callback for information related to notifications from triggering. - /// - public delegate void OnPresenceChangedCallback(PresenceChangedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnPresenceChangedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Callback for information related to notifications from triggering. + /// + public delegate void OnPresenceChangedCallback(ref PresenceChangedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnPresenceChangedCallbackInternal(ref PresenceChangedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnPresenceChangedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnPresenceChangedCallback.cs.meta deleted file mode 100644 index c08ac59a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnPresenceChangedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 49a584e62ebb688478bd1da28f77320b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnQueryPresenceCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnQueryPresenceCompleteCallback.cs index fb1dc7a7..5245a7fc 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnQueryPresenceCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnQueryPresenceCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Callback for information related to finishing. - /// - public delegate void OnQueryPresenceCompleteCallback(QueryPresenceCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryPresenceCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Callback for information related to finishing. + /// + public delegate void OnQueryPresenceCompleteCallback(ref QueryPresenceCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryPresenceCompleteCallbackInternal(ref QueryPresenceCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnQueryPresenceCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnQueryPresenceCompleteCallback.cs.meta deleted file mode 100644 index 7dcfb78b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/OnQueryPresenceCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 31e7516920ec81c429d10082a1546333 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceChangedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceChangedCallbackInfo.cs index 8102e753..a8b337ec 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceChangedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceChangedCallbackInfo.cs @@ -1,92 +1,129 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data containing which users presence has changed - /// - public class PresenceChangedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local user who is being informed for PresenceUserId's presence change - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// The Epic Online Services Account ID of the user who had their presence changed - /// - public EpicAccountId PresenceUserId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(PresenceChangedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - PresenceUserId = other.Value.PresenceUserId; - } - } - - public void Set(object other) - { - Set(other as PresenceChangedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PresenceChangedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_PresenceUserId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public EpicAccountId PresenceUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_PresenceUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data containing which users presence has changed + /// + public struct PresenceChangedCallbackInfo : ICallbackInfo + { + /// + /// Client-specified data passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local user who is being informed for PresenceUserId's presence change + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user who had their presence changed + /// + public EpicAccountId PresenceUserId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref PresenceChangedCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + PresenceUserId = other.PresenceUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PresenceChangedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_PresenceUserId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId PresenceUserId + { + get + { + EpicAccountId value; + Helper.Get(m_PresenceUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_PresenceUserId); + } + } + + public void Set(ref PresenceChangedCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + PresenceUserId = other.PresenceUserId; + } + + public void Set(ref PresenceChangedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + PresenceUserId = other.Value.PresenceUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_PresenceUserId); + } + + public void Get(out PresenceChangedCallbackInfo output) + { + output = new PresenceChangedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceChangedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceChangedCallbackInfo.cs.meta deleted file mode 100644 index 176c5e84..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceChangedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3e5e10a4e1d01e84aa817e2ce4873358 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceInterface.cs index 7e00aa9d..254a427d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceInterface.cs @@ -1,371 +1,379 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - public sealed partial class PresenceInterface : Handle - { - public PresenceInterface() - { - } - - public PresenceInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int AddnotifyjoingameacceptedApiLatest = 2; - - public const int AddnotifyonpresencechangedApiLatest = 1; - - public const int CopypresenceApiLatest = 2; - - public const int CreatepresencemodificationApiLatest = 1; - - /// - /// The maximum allowed length a data's key may be. This value is subject to change and data structures should be designed to allow for greater numbers than this. - /// - public const int DataMaxKeyLength = 64; - - /// - /// The maximum of allowed individual pieces of data a user may have. This value is subject to change and data structures should be designed to allow for greater - /// numbers than this. - /// - public const int DataMaxKeys = 32; - - /// - /// The maximum allowed length a data's value may be. This value is subject to change and data structures should be designed to allow for greater numbers than this. - /// - public const int DataMaxValueLength = 255; - - public const int DatarecordApiLatest = 1; - - /// - /// DEPRECATED! Use instead. - /// - public const int DeletedataApiLatest = PresenceModification.PresencemodificationDeletedataApiLatest; - - public const int GetjoininfoApiLatest = 1; - - public const int HaspresenceApiLatest = 1; - - public const int InfoApiLatest = 2; - - public const int QuerypresenceApiLatest = 1; - - /// - /// The maximum allowed length a user's rich text string may be. This value is subject to change and data structures should be designed to allow for greater numbers - /// than this. - /// - public const int RichTextMaxValueLength = 255; - - /// - /// DEPRECATED! Use instead. - /// - public const int SetdataApiLatest = PresenceModification.PresencemodificationSetdataApiLatest; - - public const int SetpresenceApiLatest = 1; - - /// - /// DEPRECATED! Use instead. - /// - public const int SetrawrichtextApiLatest = PresenceModification.PresencemodificationSetrawrichtextApiLatest; - - /// - /// DEPRECATED! Use instead. - /// - public const int SetstatusApiLatest = PresenceModification.PresencemodificationSetstatusApiLatest; - - /// - /// Register to receive notifications when a user accepts a join game option via the social overlay. - /// @note must call RemoveNotifyJoinGameAccepted to remove the notification - /// - /// Structure containing information about the request. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// A callback that is fired when a a notification is received. - /// - /// handle representing the registered callback - /// - public ulong AddNotifyJoinGameAccepted(AddNotifyJoinGameAcceptedOptions options, object clientData, OnJoinGameAcceptedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnJoinGameAcceptedCallbackInternal(OnJoinGameAcceptedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_Presence_AddNotifyJoinGameAccepted(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications when presence changes. If the returned NotificationId is valid, you must call RemoveNotifyOnPresenceChanged when you no longer wish to - /// have your NotificationHandler called - /// - /// - /// - /// Data the is returned to when NotificationHandler is invoked - /// The callback to be fired when a presence change occurs - /// - /// Notification ID representing the registered callback if successful, an invalid NotificationId if not - /// - public ulong AddNotifyOnPresenceChanged(AddNotifyOnPresenceChangedOptions options, object clientData, OnPresenceChangedCallback notificationHandler) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationHandlerInternal = new OnPresenceChangedCallbackInternal(OnPresenceChangedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationHandler, notificationHandlerInternal); - - var funcResult = Bindings.EOS_Presence_AddNotifyOnPresenceChanged(InnerHandle, optionsAddress, clientDataAddress, notificationHandlerInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Get a user's cached presence object. If successful, this data must be released by calling - /// - /// - /// Object containing properties related to who is requesting presence and for what user - /// A pointer to a pointer of Presence Info. If the returned result is success, this will be set to data that must be later released, otherwise this will be set to NULL - /// - /// Success if we have cached data, or an error result if the request was invalid or we do not have cached data. - /// - public Result CopyPresence(CopyPresenceOptions options, out Info outPresence) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outPresenceAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Presence_CopyPresence(InnerHandle, optionsAddress, ref outPresenceAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outPresenceAddress, out outPresence)) - { - Bindings.EOS_Presence_Info_Release(outPresenceAddress); - } - - return funcResult; - } - - /// - /// Creates a presence modification handle. This handle can used to add multiple changes to your presence that can be applied with . - /// The resulting handle must be released by calling once it has been passed to . - /// - /// - /// - /// - /// - /// - /// - /// Object containing properties related to the user modifying their presence - /// Pointer to a Presence Modification Handle to be set if successful - /// - /// Success if we successfully created the Presence Modification Handle pointed at in OutPresenceModificationHandle, or an error result if the input data was invalid - /// - public Result CreatePresenceModification(CreatePresenceModificationOptions options, out PresenceModification outPresenceModificationHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outPresenceModificationHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Presence_CreatePresenceModification(InnerHandle, optionsAddress, ref outPresenceModificationHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outPresenceModificationHandleAddress, out outPresenceModificationHandle); - - return funcResult; - } - - /// - /// Gets a join info custom game-data string for a specific user. This is a helper function for reading the presence data related to how a user can be joined. - /// Its meaning is entirely application dependent. - /// - /// This value will be valid only after a QueryPresence call has successfully completed. - /// - /// - /// Object containing an associated user - /// The buffer into which the character data should be written. The buffer must be long enough to hold a string of . - /// - /// Used as an input to define the OutBuffer length. - /// The input buffer should include enough space to be null-terminated. - /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer. - /// - /// - /// An that indicates whether the location string was copied into the OutBuffer. - /// if the information is available and passed out in OutBuffer - /// if you pass a null pointer for the out parameter - /// if there is user or the location string was not found. - /// - The OutBuffer is not large enough to receive the location string. InOutBufferLength contains the required minimum length to perform the operation successfully. - /// - public Result GetJoinInfo(GetJoinInfoOptions options, out string outBuffer) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - System.IntPtr outBufferAddress = System.IntPtr.Zero; - int inOutBufferLength = PresenceModification.PresencemodificationJoininfoMaxLength + 1; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_Presence_GetJoinInfo(InnerHandle, optionsAddress, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// Check if we already have presence for a user - /// - /// Object containing properties related to who is requesting presence and for what user - /// - /// true if we have presence for the requested user, or false if the request was invalid or we do not have cached data - /// - public bool HasPresence(HasPresenceOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Presence_HasPresence(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - bool funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Query a user's presence. This must complete successfully before CopyPresence will have valid results. If HasPresence returns true for a remote - /// user, this does not need to be called. - /// - /// Object containing properties related to who is querying presence and for what user - /// Optional pointer to help track this request, that is returned in the completion callback - /// Pointer to a function that handles receiving the completion information - public void QueryPresence(QueryPresenceOptions options, object clientData, OnQueryPresenceCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryPresenceCompleteCallbackInternal(OnQueryPresenceCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Presence_QueryPresence(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Unregister from receiving notifications when a user accepts a join game option via the social overlay. - /// - /// Handle representing the registered callback - public void RemoveNotifyJoinGameAccepted(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Presence_RemoveNotifyJoinGameAccepted(InnerHandle, inId); - } - - /// - /// Unregister a previously bound notification handler from receiving presence update notifications - /// - /// The Notification ID representing the registered callback - public void RemoveNotifyOnPresenceChanged(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_Presence_RemoveNotifyOnPresenceChanged(InnerHandle, notificationId); - } - - /// - /// Sets your new presence with the data applied to a PresenceModificationHandle. The PresenceModificationHandle can be released safely after calling this function. - /// - /// - /// - /// Object containing a PresenceModificationHandle and associated user data - /// Optional pointer to help track this request, that is returned in the completion callback - /// Pointer to a function that handles receiving the completion information - public void SetPresence(SetPresenceOptions options, object clientData, SetPresenceCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new SetPresenceCompleteCallbackInternal(SetPresenceCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Presence_SetPresence(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnJoinGameAcceptedCallbackInternal))] - internal static void OnJoinGameAcceptedCallbackInternalImplementation(System.IntPtr data) - { - OnJoinGameAcceptedCallback callback; - JoinGameAcceptedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnPresenceChangedCallbackInternal))] - internal static void OnPresenceChangedCallbackInternalImplementation(System.IntPtr data) - { - OnPresenceChangedCallback callback; - PresenceChangedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryPresenceCompleteCallbackInternal))] - internal static void OnQueryPresenceCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnQueryPresenceCompleteCallback callback; - QueryPresenceCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(SetPresenceCompleteCallbackInternal))] - internal static void SetPresenceCompleteCallbackInternalImplementation(System.IntPtr data) - { - SetPresenceCompleteCallback callback; - SetPresenceCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + public sealed partial class PresenceInterface : Handle + { + public PresenceInterface() + { + } + + public PresenceInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int AddnotifyjoingameacceptedApiLatest = 2; + + public const int AddnotifyonpresencechangedApiLatest = 1; + + public const int CopypresenceApiLatest = 3; + + public const int CreatepresencemodificationApiLatest = 1; + + /// + /// The maximum allowed length a data's key may be. This value is subject to change and data structures should be designed to allow for greater numbers than this. + /// + public const int DataMaxKeyLength = 64; + + /// + /// The maximum of allowed individual pieces of data a user may have. This value is subject to change and data structures should be designed to allow for greater + /// numbers than this. + /// + public const int DataMaxKeys = 32; + + /// + /// The maximum allowed length a data's value may be. This value is subject to change and data structures should be designed to allow for greater numbers than this. + /// + public const int DataMaxValueLength = 255; + + public const int DatarecordApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int DeletedataApiLatest = PresenceModification.PresencemodificationDeletedataApiLatest; + + public const int GetjoininfoApiLatest = 1; + + public const int HaspresenceApiLatest = 1; + + public const int InfoApiLatest = 3; + + /// + /// The presence key used to specify the local platform's presence string on platforms that use tokenized presence. + /// For use with . + /// + /// + /// + public static readonly Utf8String KeyPlatformPresence = "EOS_PlatformPresence"; + + public const int QuerypresenceApiLatest = 1; + + /// + /// The maximum allowed length a user's rich text string may be. This value is subject to change and data structures should be designed to allow for greater numbers + /// than this. + /// + public const int RichTextMaxValueLength = 255; + + /// + /// DEPRECATED! Use instead. + /// + public const int SetdataApiLatest = PresenceModification.PresencemodificationSetdataApiLatest; + + public const int SetpresenceApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int SetrawrichtextApiLatest = PresenceModification.PresencemodificationSetrawrichtextApiLatest; + + /// + /// DEPRECATED! Use instead. + /// + public const int SetstatusApiLatest = PresenceModification.PresencemodificationSetstatusApiLatest; + + /// + /// Register to receive notifications when a user accepts a join game option via the social overlay. + /// must call RemoveNotifyJoinGameAccepted to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a a notification is received. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyJoinGameAccepted(ref AddNotifyJoinGameAcceptedOptions options, object clientData, OnJoinGameAcceptedCallback notificationFn) + { + AddNotifyJoinGameAcceptedOptionsInternal optionsInternal = new AddNotifyJoinGameAcceptedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnJoinGameAcceptedCallbackInternal(OnJoinGameAcceptedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Presence_AddNotifyJoinGameAccepted(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications when presence changes. If the returned NotificationId is valid, you must call RemoveNotifyOnPresenceChanged when you no longer wish to + /// have your NotificationHandler called + /// + /// + /// + /// Data the is returned to when NotificationHandler is invoked + /// The callback to be fired when a presence change occurs + /// + /// Notification ID representing the registered callback if successful, an invalid NotificationId if not + /// + public ulong AddNotifyOnPresenceChanged(ref AddNotifyOnPresenceChangedOptions options, object clientData, OnPresenceChangedCallback notificationHandler) + { + AddNotifyOnPresenceChangedOptionsInternal optionsInternal = new AddNotifyOnPresenceChangedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationHandlerInternal = new OnPresenceChangedCallbackInternal(OnPresenceChangedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationHandler, notificationHandlerInternal); + + var funcResult = Bindings.EOS_Presence_AddNotifyOnPresenceChanged(InnerHandle, ref optionsInternal, clientDataAddress, notificationHandlerInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Get a user's cached presence object. If successful, this data must be released by calling + /// + /// + /// Object containing properties related to who is requesting presence and for what user + /// A pointer to a pointer of Presence Info. If the returned result is success, this will be set to data that must be later released, otherwise this will be set to + /// + /// Success if we have cached data, or an error result if the request was invalid or we do not have cached data. + /// + public Result CopyPresence(ref CopyPresenceOptions options, out Info? outPresence) + { + CopyPresenceOptionsInternal optionsInternal = new CopyPresenceOptionsInternal(); + optionsInternal.Set(ref options); + + var outPresenceAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Presence_CopyPresence(InnerHandle, ref optionsInternal, ref outPresenceAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outPresenceAddress, out outPresence); + if (outPresence != null) + { + Bindings.EOS_Presence_Info_Release(outPresenceAddress); + } + + return funcResult; + } + + /// + /// Creates a presence modification handle. This handle can used to add multiple changes to your presence that can be applied with . + /// The resulting handle must be released by calling once it has been passed to . + /// + /// + /// + /// + /// + /// + /// + /// Object containing properties related to the user modifying their presence + /// Pointer to a Presence Modification Handle to be set if successful + /// + /// Success if we successfully created the Presence Modification Handle pointed at in OutPresenceModificationHandle, or an error result if the input data was invalid + /// + public Result CreatePresenceModification(ref CreatePresenceModificationOptions options, out PresenceModification outPresenceModificationHandle) + { + CreatePresenceModificationOptionsInternal optionsInternal = new CreatePresenceModificationOptionsInternal(); + optionsInternal.Set(ref options); + + var outPresenceModificationHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Presence_CreatePresenceModification(InnerHandle, ref optionsInternal, ref outPresenceModificationHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outPresenceModificationHandleAddress, out outPresenceModificationHandle); + + return funcResult; + } + + /// + /// Gets a join info custom game-data string for a specific user. This is a helper function for reading the presence data related to how a user can be joined. + /// Its meaning is entirely application dependent. + /// + /// This value will be valid only after a QueryPresence call has successfully completed. + /// + /// + /// Object containing an associated user + /// The buffer into which the character data should be written. The buffer must be long enough to hold a string of . + /// + /// Used as an input to define the OutBuffer length. + /// The input buffer should include enough space to be null-terminated. + /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer. + /// + /// + /// An that indicates whether the location string was copied into the OutBuffer. + /// if the information is available and passed out in OutBuffer + /// if you pass a null pointer for the out parameter + /// if there is user or the location string was not found. + /// - The OutBuffer is not large enough to receive the location string. InOutBufferLength contains the required minimum length to perform the operation successfully. + /// + public Result GetJoinInfo(ref GetJoinInfoOptions options, out Utf8String outBuffer) + { + GetJoinInfoOptionsInternal optionsInternal = new GetJoinInfoOptionsInternal(); + optionsInternal.Set(ref options); + + int inOutBufferLength = PresenceModification.PresencemodificationJoininfoMaxLength + 1; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_Presence_GetJoinInfo(InnerHandle, ref optionsInternal, outBufferAddress, ref inOutBufferLength); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// Check if we already have presence for a user + /// + /// Object containing properties related to who is requesting presence and for what user + /// + /// if we have presence for the requested user, or if the request was invalid or we do not have cached data + /// + public bool HasPresence(ref HasPresenceOptions options) + { + HasPresenceOptionsInternal optionsInternal = new HasPresenceOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Presence_HasPresence(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + bool funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Query a user's presence. This must complete successfully before CopyPresence will have valid results. If HasPresence returns true for a remote + /// user, this does not need to be called. + /// + /// Object containing properties related to who is querying presence and for what user + /// Optional pointer to help track this request, that is returned in the completion callback + /// Pointer to a function that handles receiving the completion information + public void QueryPresence(ref QueryPresenceOptions options, object clientData, OnQueryPresenceCompleteCallback completionDelegate) + { + QueryPresenceOptionsInternal optionsInternal = new QueryPresenceOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryPresenceCompleteCallbackInternal(OnQueryPresenceCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Presence_QueryPresence(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Unregister from receiving notifications when a user accepts a join game option via the social overlay. + /// + /// Handle representing the registered callback + public void RemoveNotifyJoinGameAccepted(ulong inId) + { + Bindings.EOS_Presence_RemoveNotifyJoinGameAccepted(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister a previously bound notification handler from receiving presence update notifications + /// + /// The Notification ID representing the registered callback + public void RemoveNotifyOnPresenceChanged(ulong notificationId) + { + Bindings.EOS_Presence_RemoveNotifyOnPresenceChanged(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Sets your new presence with the data applied to a PresenceModificationHandle. The PresenceModificationHandle can be released safely after calling this function. + /// + /// + /// + /// Object containing a PresenceModificationHandle and associated user data + /// Optional pointer to help track this request, that is returned in the completion callback + /// Pointer to a function that handles receiving the completion information + public void SetPresence(ref SetPresenceOptions options, object clientData, SetPresenceCompleteCallback completionDelegate) + { + SetPresenceOptionsInternal optionsInternal = new SetPresenceOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new SetPresenceCompleteCallbackInternal(SetPresenceCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Presence_SetPresence(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnJoinGameAcceptedCallbackInternal))] + internal static void OnJoinGameAcceptedCallbackInternalImplementation(ref JoinGameAcceptedCallbackInfoInternal data) + { + OnJoinGameAcceptedCallback callback; + JoinGameAcceptedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnPresenceChangedCallbackInternal))] + internal static void OnPresenceChangedCallbackInternalImplementation(ref PresenceChangedCallbackInfoInternal data) + { + OnPresenceChangedCallback callback; + PresenceChangedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryPresenceCompleteCallbackInternal))] + internal static void OnQueryPresenceCompleteCallbackInternalImplementation(ref QueryPresenceCallbackInfoInternal data) + { + OnQueryPresenceCompleteCallback callback; + QueryPresenceCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(SetPresenceCompleteCallbackInternal))] + internal static void SetPresenceCompleteCallbackInternalImplementation(ref SetPresenceCallbackInfoInternal data) + { + SetPresenceCompleteCallback callback; + SetPresenceCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceInterface.cs.meta deleted file mode 100644 index 747b2c35..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a9b9f3ac747a9204899c99c7d559a9cb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModification.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModification.cs index 86d977e5..77593238 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModification.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModification.cs @@ -1,160 +1,160 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - public sealed partial class PresenceModification : Handle - { - public PresenceModification() - { - } - - public PresenceModification(System.IntPtr innerHandle) : base(innerHandle) - { - } - - public const int PresencemodificationDatarecordidApiLatest = 1; - - /// - /// Most recent version of the API. - /// - public const int PresencemodificationDeletedataApiLatest = 1; - - public const int PresencemodificationJoininfoMaxLength = PresenceInterface.DataMaxValueLength; - - /// - /// The most recent version of the API. - /// - public const int PresencemodificationSetdataApiLatest = 1; - - public const int PresencemodificationSetjoininfoApiLatest = 1; - - /// - /// The most recent version of the function. - /// - public const int PresencemodificationSetrawrichtextApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int PresencemodificationSetstatusApiLatest = 1; - - /// - /// Removes one or more rows of user-defined presence data for a local user. At least one DeleteDataInfo object - /// must be specified. - /// - /// - /// - /// - /// Object containing an array of new presence data. - /// - /// Success if modification was added successfully, otherwise an error code related to the problem - /// - public Result DeleteData(PresenceModificationDeleteDataOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_PresenceModification_DeleteData(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Release the memory associated with an handle. This must be called on Handles retrieved from . - /// This can be safely called on a NULL presence modification handle. This also may be safely called while a call to SetPresence is still pending. - /// - /// - /// The presence modification handle to release - public void Release() - { - Bindings.EOS_PresenceModification_Release(InnerHandle); - } - - /// - /// Modifies one or more rows of user-defined presence data for a local user. At least one InfoData object - /// must be specified. - /// - /// - /// - /// - /// Object containing an array of new presence data. - /// - /// Success if modification was added successfully, otherwise an error code related to the problem - /// - public Result SetData(PresenceModificationSetDataOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_PresenceModification_SetData(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Sets your new join info custom game-data string. This is a helper function for reading the presence data related to how a user can be joined. - /// Its meaning is entirely application dependent. - /// - /// - /// Object containing a join info string and associated user data - /// - /// Success if modification was added successfully, otherwise an error code related to the problem - /// - public Result SetJoinInfo(PresenceModificationSetJoinInfoOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_PresenceModification_SetJoinInfo(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Modifies a user's Rich Presence string to a new state. This is the exact value other users will see - /// when they query the local user's presence. - /// - /// - /// Object containing properties related to setting a user's RichText string - /// - /// Success if modification was added successfully, otherwise an error code related to the problem - /// - public Result SetRawRichText(PresenceModificationSetRawRichTextOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_PresenceModification_SetRawRichText(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Modifies a user's online status to be the new state. - /// - /// Object containing properties related to setting a user's Status - /// - /// Success if modification was added successfully, otherwise an error code related to the problem - /// - public Result SetStatus(PresenceModificationSetStatusOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_PresenceModification_SetStatus(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + public sealed partial class PresenceModification : Handle + { + public PresenceModification() + { + } + + public PresenceModification(System.IntPtr innerHandle) : base(innerHandle) + { + } + + public const int PresencemodificationDatarecordidApiLatest = 1; + + /// + /// Most recent version of the API. + /// + public const int PresencemodificationDeletedataApiLatest = 1; + + public const int PresencemodificationJoininfoMaxLength = PresenceInterface.DataMaxValueLength; + + /// + /// The most recent version of the API. + /// + public const int PresencemodificationSetdataApiLatest = 1; + + public const int PresencemodificationSetjoininfoApiLatest = 1; + + /// + /// The most recent version of the function. + /// + public const int PresencemodificationSetrawrichtextApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int PresencemodificationSetstatusApiLatest = 1; + + /// + /// Removes one or more rows of user-defined presence data for a local user. At least one DeleteDataInfo object + /// must be specified. + /// + /// + /// + /// + /// Object containing an array of new presence data. + /// + /// Success if modification was added successfully, otherwise an error code related to the problem + /// + public Result DeleteData(ref PresenceModificationDeleteDataOptions options) + { + PresenceModificationDeleteDataOptionsInternal optionsInternal = new PresenceModificationDeleteDataOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_PresenceModification_DeleteData(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Release the memory associated with an handle. This must be called on Handles retrieved from . + /// This can be safely called on a presence modification handle. This also may be safely called while a call to SetPresence is still pending. + /// + /// + /// The presence modification handle to release + public void Release() + { + Bindings.EOS_PresenceModification_Release(InnerHandle); + } + + /// + /// Modifies one or more rows of user-defined presence data for a local user. At least one InfoData object + /// must be specified. + /// + /// + /// + /// + /// Object containing an array of new presence data. + /// + /// Success if modification was added successfully, otherwise an error code related to the problem + /// + public Result SetData(ref PresenceModificationSetDataOptions options) + { + PresenceModificationSetDataOptionsInternal optionsInternal = new PresenceModificationSetDataOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_PresenceModification_SetData(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Sets your new join info custom game-data string. This is a helper function for reading the presence data related to how a user can be joined. + /// Its meaning is entirely application dependent. + /// + /// + /// Object containing a join info string and associated user data + /// + /// Success if modification was added successfully, otherwise an error code related to the problem + /// + public Result SetJoinInfo(ref PresenceModificationSetJoinInfoOptions options) + { + PresenceModificationSetJoinInfoOptionsInternal optionsInternal = new PresenceModificationSetJoinInfoOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_PresenceModification_SetJoinInfo(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Modifies a user's Rich Presence string to a new state. This is the exact value other users will see + /// when they query the local user's presence. + /// + /// + /// Object containing properties related to setting a user's RichText string + /// + /// Success if modification was added successfully, otherwise an error code related to the problem + /// + public Result SetRawRichText(ref PresenceModificationSetRawRichTextOptions options) + { + PresenceModificationSetRawRichTextOptionsInternal optionsInternal = new PresenceModificationSetRawRichTextOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_PresenceModification_SetRawRichText(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Modifies a user's online status to be the new state. + /// + /// Object containing properties related to setting a user's Status + /// + /// Success if modification was added successfully, otherwise an error code related to the problem + /// + public Result SetStatus(ref PresenceModificationSetStatusOptions options) + { + PresenceModificationSetStatusOptionsInternal optionsInternal = new PresenceModificationSetStatusOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_PresenceModification_SetStatus(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModification.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModification.cs.meta deleted file mode 100644 index 1d68af2c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModification.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7a51a418ff6424d4dacfb470c7d0867a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDataRecordId.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDataRecordId.cs index e3fc1103..78e2924a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDataRecordId.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDataRecordId.cs @@ -1,70 +1,69 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data for identifying which data records should be deleted. - /// - public class PresenceModificationDataRecordId : ISettable - { - /// - /// The key to be deleted from the data record - /// - public string Key { get; set; } - - internal void Set(PresenceModificationDataRecordIdInternal? other) - { - if (other != null) - { - Key = other.Value.Key; - } - } - - public void Set(object other) - { - Set(other as PresenceModificationDataRecordIdInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PresenceModificationDataRecordIdInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Key; - - public string Key - { - get - { - string value; - Helper.TryMarshalGet(m_Key, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Key, value); - } - } - - public void Set(PresenceModificationDataRecordId other) - { - if (other != null) - { - m_ApiVersion = PresenceModification.PresencemodificationDatarecordidApiLatest; - Key = other.Key; - } - } - - public void Set(object other) - { - Set(other as PresenceModificationDataRecordId); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Key); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data for identifying which data records should be deleted. + /// + public struct PresenceModificationDataRecordId + { + /// + /// The key to be deleted from the data record + /// + public Utf8String Key { get; set; } + + internal void Set(ref PresenceModificationDataRecordIdInternal other) + { + Key = other.Key; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PresenceModificationDataRecordIdInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Key; + + public Utf8String Key + { + get + { + Utf8String value; + Helper.Get(m_Key, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Key); + } + } + + public void Set(ref PresenceModificationDataRecordId other) + { + m_ApiVersion = PresenceModification.PresencemodificationDatarecordidApiLatest; + Key = other.Key; + } + + public void Set(ref PresenceModificationDataRecordId? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceModification.PresencemodificationDatarecordidApiLatest; + Key = other.Value.Key; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Key); + } + + public void Get(out PresenceModificationDataRecordId output) + { + output = new PresenceModificationDataRecordId(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDataRecordId.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDataRecordId.cs.meta deleted file mode 100644 index db9d8b2c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDataRecordId.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e40880fb9c50deb4bae3e66cf34ef6f7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDeleteDataOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDeleteDataOptions.cs index 194c2aaf..0ab6d57c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDeleteDataOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDeleteDataOptions.cs @@ -1,51 +1,52 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data for the function. - /// - public class PresenceModificationDeleteDataOptions - { - /// - /// The pointer to start of a sequential array - /// - public PresenceModificationDataRecordId[] Records { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PresenceModificationDeleteDataOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private int m_RecordsCount; - private System.IntPtr m_Records; - - public PresenceModificationDataRecordId[] Records - { - set - { - Helper.TryMarshalSet(ref m_Records, value, out m_RecordsCount); - } - } - - public void Set(PresenceModificationDeleteDataOptions other) - { - if (other != null) - { - m_ApiVersion = PresenceModification.PresencemodificationDeletedataApiLatest; - Records = other.Records; - } - } - - public void Set(object other) - { - Set(other as PresenceModificationDeleteDataOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Records); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data for the function. + /// + public struct PresenceModificationDeleteDataOptions + { + /// + /// The pointer to start of a sequential array + /// + public PresenceModificationDataRecordId[] Records { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PresenceModificationDeleteDataOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private int m_RecordsCount; + private System.IntPtr m_Records; + + public PresenceModificationDataRecordId[] Records + { + set + { + Helper.Set(ref value, ref m_Records, out m_RecordsCount); + } + } + + public void Set(ref PresenceModificationDeleteDataOptions other) + { + m_ApiVersion = PresenceModification.PresencemodificationDeletedataApiLatest; + Records = other.Records; + } + + public void Set(ref PresenceModificationDeleteDataOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceModification.PresencemodificationDeletedataApiLatest; + Records = other.Value.Records; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Records); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDeleteDataOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDeleteDataOptions.cs.meta deleted file mode 100644 index 56c2a625..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationDeleteDataOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c8bdfb6a79beaf748b362a11d222b43c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetDataOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetDataOptions.cs index 1207c874..feab9994 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetDataOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetDataOptions.cs @@ -1,51 +1,52 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data for the function. - /// - public class PresenceModificationSetDataOptions - { - /// - /// The pointer to start of a sequential array of Presence DataRecords - /// - public DataRecord[] Records { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PresenceModificationSetDataOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private int m_RecordsCount; - private System.IntPtr m_Records; - - public DataRecord[] Records - { - set - { - Helper.TryMarshalSet(ref m_Records, value, out m_RecordsCount); - } - } - - public void Set(PresenceModificationSetDataOptions other) - { - if (other != null) - { - m_ApiVersion = PresenceModification.PresencemodificationSetdataApiLatest; - Records = other.Records; - } - } - - public void Set(object other) - { - Set(other as PresenceModificationSetDataOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Records); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data for the function. + /// + public struct PresenceModificationSetDataOptions + { + /// + /// The pointer to start of a sequential array of Presence DataRecords + /// + public DataRecord[] Records { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PresenceModificationSetDataOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private int m_RecordsCount; + private System.IntPtr m_Records; + + public DataRecord[] Records + { + set + { + Helper.Set(ref value, ref m_Records, out m_RecordsCount); + } + } + + public void Set(ref PresenceModificationSetDataOptions other) + { + m_ApiVersion = PresenceModification.PresencemodificationSetdataApiLatest; + Records = other.Records; + } + + public void Set(ref PresenceModificationSetDataOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceModification.PresencemodificationSetdataApiLatest; + Records = other.Value.Records; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Records); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetDataOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetDataOptions.cs.meta deleted file mode 100644 index 4a18d8c7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetDataOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c9b6aff542569a94a874a8dbe813ebe4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetJoinInfoOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetJoinInfoOptions.cs index 4797f3ec..49150580 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetJoinInfoOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetJoinInfoOptions.cs @@ -1,62 +1,62 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data for the function. - /// - public class PresenceModificationSetJoinInfoOptions - { - /// - /// The string which will be advertised as this player's join info. - /// An application is expected to freely define the meaning of this string to use for connecting to an active game session. - /// The string should not exceed in length. - /// This affects the ability of the Social Overlay to show game related actions to take in the player's social graph. - /// - /// @note The Social Overlay can handle only one of the following three options at a time: - /// using the bPresenceEnabled flags within the Sessions interface - /// using the bPresenceEnabled flags within the Lobby interface - /// using - /// - /// - /// - /// - /// - public string JoinInfo { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PresenceModificationSetJoinInfoOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_JoinInfo; - - public string JoinInfo - { - set - { - Helper.TryMarshalSet(ref m_JoinInfo, value); - } - } - - public void Set(PresenceModificationSetJoinInfoOptions other) - { - if (other != null) - { - m_ApiVersion = PresenceModification.PresencemodificationSetjoininfoApiLatest; - JoinInfo = other.JoinInfo; - } - } - - public void Set(object other) - { - Set(other as PresenceModificationSetJoinInfoOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_JoinInfo); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data for the function. + /// + public struct PresenceModificationSetJoinInfoOptions + { + /// + /// The string which will be advertised as this player's join info. + /// An application is expected to freely define the meaning of this string to use for connecting to an active game session. + /// The string should not exceed in length. + /// This affects the ability of the Social Overlay to show game related actions to take in the player's social graph. + /// The Social Overlay can handle only one of the following three options at a time: + /// using the bPresenceEnabled flags within the Sessions interface + /// using the bPresenceEnabled flags within the Lobby interface + /// using EOS_PresenceModification_SetJoinInfo + /// + /// + /// + /// + /// + public Utf8String JoinInfo { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PresenceModificationSetJoinInfoOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_JoinInfo; + + public Utf8String JoinInfo + { + set + { + Helper.Set(value, ref m_JoinInfo); + } + } + + public void Set(ref PresenceModificationSetJoinInfoOptions other) + { + m_ApiVersion = PresenceModification.PresencemodificationSetjoininfoApiLatest; + JoinInfo = other.JoinInfo; + } + + public void Set(ref PresenceModificationSetJoinInfoOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceModification.PresencemodificationSetjoininfoApiLatest; + JoinInfo = other.Value.JoinInfo; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_JoinInfo); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetJoinInfoOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetJoinInfoOptions.cs.meta deleted file mode 100644 index 12dca5fd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetJoinInfoOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a945badf5403eae46a9f22d9ce5d239c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetRawRichTextOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetRawRichTextOptions.cs index ae65e1e4..43c8d8c1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetRawRichTextOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetRawRichTextOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data for the API. - /// - public class PresenceModificationSetRawRichTextOptions - { - /// - /// The status of the user - /// - public string RichText { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PresenceModificationSetRawRichTextOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_RichText; - - public string RichText - { - set - { - Helper.TryMarshalSet(ref m_RichText, value); - } - } - - public void Set(PresenceModificationSetRawRichTextOptions other) - { - if (other != null) - { - m_ApiVersion = PresenceModification.PresencemodificationSetrawrichtextApiLatest; - RichText = other.RichText; - } - } - - public void Set(object other) - { - Set(other as PresenceModificationSetRawRichTextOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_RichText); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data for the API. + /// + public struct PresenceModificationSetRawRichTextOptions + { + /// + /// The status of the user + /// + public Utf8String RichText { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PresenceModificationSetRawRichTextOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_RichText; + + public Utf8String RichText + { + set + { + Helper.Set(value, ref m_RichText); + } + } + + public void Set(ref PresenceModificationSetRawRichTextOptions other) + { + m_ApiVersion = PresenceModification.PresencemodificationSetrawrichtextApiLatest; + RichText = other.RichText; + } + + public void Set(ref PresenceModificationSetRawRichTextOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceModification.PresencemodificationSetrawrichtextApiLatest; + RichText = other.Value.RichText; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_RichText); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetRawRichTextOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetRawRichTextOptions.cs.meta deleted file mode 100644 index 3e01400c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetRawRichTextOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 992cc007172c4bb4fbd56a12ad40b68a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetStatusOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetStatusOptions.cs index c98d2e16..1c240d34 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetStatusOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetStatusOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data for the function. - /// - public class PresenceModificationSetStatusOptions - { - /// - /// The status of the user - /// - public Status Status { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PresenceModificationSetStatusOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private Status m_Status; - - public Status Status - { - set - { - m_Status = value; - } - } - - public void Set(PresenceModificationSetStatusOptions other) - { - if (other != null) - { - m_ApiVersion = PresenceModification.PresencemodificationSetstatusApiLatest; - Status = other.Status; - } - } - - public void Set(object other) - { - Set(other as PresenceModificationSetStatusOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data for the function. + /// + public struct PresenceModificationSetStatusOptions + { + /// + /// The status of the user + /// + public Status Status { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PresenceModificationSetStatusOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private Status m_Status; + + public Status Status + { + set + { + m_Status = value; + } + } + + public void Set(ref PresenceModificationSetStatusOptions other) + { + m_ApiVersion = PresenceModification.PresencemodificationSetstatusApiLatest; + Status = other.Status; + } + + public void Set(ref PresenceModificationSetStatusOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceModification.PresencemodificationSetstatusApiLatest; + Status = other.Value.Status; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetStatusOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetStatusOptions.cs.meta deleted file mode 100644 index 965af09a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/PresenceModificationSetStatusOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9a388044cd14d4a4099fe12809fda19d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceCallbackInfo.cs index 47ce477c..d84f531f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// The result meta-data for a presence query. - /// - public class QueryPresenceCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful query, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local user who made this request - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// The Epic Online Services Account ID of the user whose presence was potentially queried - /// - public EpicAccountId TargetUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryPresenceCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as QueryPresenceCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryPresenceCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public EpicAccountId TargetUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// The result meta-data for a presence query. + /// + public struct QueryPresenceCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful query, other codes indicate an error + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local user who made this request + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user whose presence was potentially queried + /// + public EpicAccountId TargetUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryPresenceCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryPresenceCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + get + { + EpicAccountId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref QueryPresenceCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref QueryPresenceCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out QueryPresenceCallbackInfo output) + { + output = new QueryPresenceCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceCallbackInfo.cs.meta deleted file mode 100644 index 8583351d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 82484530c01cb3d489bf7a526d1f280d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceOptions.cs index 921020b6..767fcf1c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data for the function - /// - public class QueryPresenceOptions - { - /// - /// The Epic Online Services Account ID of the local, logged-in user making the request - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID of the user whose presence data you want to retrieve; this value must be either the user making the request, or a friend of that user - /// - public EpicAccountId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryPresenceOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(QueryPresenceOptions other) - { - if (other != null) - { - m_ApiVersion = PresenceInterface.QuerypresenceApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as QueryPresenceOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data for the function + /// + public struct QueryPresenceOptions + { + /// + /// The Epic Account ID of the local, logged-in user making the request + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the user whose presence data you want to retrieve; this value must be either the user making the request, or a friend of that user + /// + public EpicAccountId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryPresenceOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref QueryPresenceOptions other) + { + m_ApiVersion = PresenceInterface.QuerypresenceApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref QueryPresenceOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceInterface.QuerypresenceApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceOptions.cs.meta deleted file mode 100644 index 37949a6b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/QueryPresenceOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0b5f98f93f833cf4d9a52763e78daa5c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCallbackInfo.cs index 43ab5147..34c3cc10 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// The result meta-data from setting a user's presence. - /// - public class SetPresenceCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned if presence was successfully set, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local user that had their presence set - /// - public EpicAccountId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(SetPresenceCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as SetPresenceCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetPresenceCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// The result meta-data from setting a user's presence. + /// + public struct SetPresenceCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned if presence was successfully set, other codes indicate an error + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local user that had their presence set + /// + public EpicAccountId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref SetPresenceCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetPresenceCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref SetPresenceCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref SetPresenceCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out SetPresenceCallbackInfo output) + { + output = new SetPresenceCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCallbackInfo.cs.meta deleted file mode 100644 index 7d1b0866..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 627caa8447847d844af11490cad1a4db -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCompleteCallback.cs index b99a5275..f96e95ee 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Callback for information related to finishing. - /// - public delegate void SetPresenceCompleteCallback(SetPresenceCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void SetPresenceCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Callback for information related to finishing. + /// + public delegate void SetPresenceCompleteCallback(ref SetPresenceCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void SetPresenceCompleteCallbackInternal(ref SetPresenceCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCompleteCallback.cs.meta deleted file mode 100644 index 48079ad7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 619c81887962c5f4b81b553e6301165e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceOptions.cs index da798da4..1772c801 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Data for the function. - /// - public class SetPresenceOptions - { - /// - /// The Epic Online Services Account ID of the local user's Epic Online Services Account ID - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The handle to the presence update - /// - public PresenceModification PresenceModificationHandle { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetPresenceOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_PresenceModificationHandle; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public PresenceModification PresenceModificationHandle - { - set - { - Helper.TryMarshalSet(ref m_PresenceModificationHandle, value); - } - } - - public void Set(SetPresenceOptions other) - { - if (other != null) - { - m_ApiVersion = PresenceInterface.SetpresenceApiLatest; - LocalUserId = other.LocalUserId; - PresenceModificationHandle = other.PresenceModificationHandle; - } - } - - public void Set(object other) - { - Set(other as SetPresenceOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_PresenceModificationHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Data for the function. + /// + public struct SetPresenceOptions + { + /// + /// The Epic Account ID of the local, logged-in user making the request + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The handle to the presence update + /// + public PresenceModification PresenceModificationHandle { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetPresenceOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_PresenceModificationHandle; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public PresenceModification PresenceModificationHandle + { + set + { + Helper.Set(value, ref m_PresenceModificationHandle); + } + } + + public void Set(ref SetPresenceOptions other) + { + m_ApiVersion = PresenceInterface.SetpresenceApiLatest; + LocalUserId = other.LocalUserId; + PresenceModificationHandle = other.PresenceModificationHandle; + } + + public void Set(ref SetPresenceOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PresenceInterface.SetpresenceApiLatest; + LocalUserId = other.Value.LocalUserId; + PresenceModificationHandle = other.Value.PresenceModificationHandle; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_PresenceModificationHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceOptions.cs.meta deleted file mode 100644 index 21eb4355..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/SetPresenceOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7bf18ac02446b2640a72b1c86cc43792 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Status.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Status.cs index dff2a420..e38b179b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Status.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Status.cs @@ -1,34 +1,34 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Presence -{ - /// - /// Presence Status states of a user - /// - /// - /// - public enum Status : int - { - /// - /// The status of the account is offline or not known - /// - Offline = 0, - /// - /// The status of the account is online - /// - Online = 1, - /// - /// The status of the account is away - /// - Away = 2, - /// - /// The status of the account is away, and has been away for a while - /// - ExtendedAway = 3, - /// - /// The status of the account is do-not-disturb - /// - DoNotDisturb = 4 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Presence +{ + /// + /// Presence Status states of a user + /// + /// + /// + public enum Status : int + { + /// + /// The status of the account is offline or not known + /// + Offline = 0, + /// + /// The status of the account is online + /// + Online = 1, + /// + /// The status of the account is away + /// + Away = 2, + /// + /// The status of the account is away, and has been away for a while + /// + ExtendedAway = 3, + /// + /// The status of the account is do-not-disturb + /// + DoNotDisturb = 4 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Status.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Status.cs.meta deleted file mode 100644 index 10d05cee..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Presence/Status.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8f5eee0491024d24fbc4a48339d67f4d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProductUserId.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProductUserId.cs index 3e76be0b..232eccb7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProductUserId.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProductUserId.cs @@ -1,99 +1,125 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices -{ - public sealed partial class ProductUserId : Handle - { - public ProductUserId() - { - } - - public ProductUserId(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// A character buffer of this size is large enough to fit a successful output of . This length does not include the null-terminator. - /// - public const int ProductuseridMaxLength = 128; - - /// - /// Retrieve an from a raw string representing an Epic Online Services Product User ID. The input string must be null-terminated. - /// NOTE: There is no validation on the string format, this should only be used with values serialized from legitimate sources such as - /// - /// The stringified product user ID for which to retrieve the Epic Online Services Product User ID - /// - /// The that corresponds to the ProductUserIdString - /// - public static ProductUserId FromString(string productUserIdString) - { - var productUserIdStringAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref productUserIdStringAddress, productUserIdString); - - var funcResult = Bindings.EOS_ProductUserId_FromString(productUserIdStringAddress); - - Helper.TryMarshalDispose(ref productUserIdStringAddress); - - ProductUserId funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Check whether or not the given account unique ID is considered valid - /// NOTE: This will return true for any created with as there is no validation - /// - /// The Product User ID to check for validity - /// - /// true if the is valid, otherwise false - /// - public bool IsValid() - { - var funcResult = Bindings.EOS_ProductUserId_IsValid(InnerHandle); - - bool funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Retrieve a null-terminated stringified Product User ID from an . This is useful for replication of Product User IDs in multiplayer games. - /// This string will be no larger than + 1 and will only contain UTF8-encoded printable characters (excluding the null-terminator). - /// - /// The Product User ID for which to retrieve the stringified version. - /// The buffer into which the character data should be written - /// - /// The size of the OutBuffer in characters. - /// The input buffer should include enough space to be null-terminated. - /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer including the null termination character. - /// - /// - /// An that indicates whether the Product User ID string was copied into the OutBuffer. - /// - The OutBuffer was filled, and InOutBufferLength contains the number of characters copied into OutBuffer including the null terminator. - /// - Either OutBuffer or InOutBufferLength were passed as NULL parameters. - /// - The AccountId is invalid and cannot be stringified. - /// - The OutBuffer is not large enough to receive the Product User ID string. InOutBufferLength contains the required minimum length to perform the operation successfully. - /// - public Result ToString(out string outBuffer) - { - System.IntPtr outBufferAddress = System.IntPtr.Zero; - int inOutBufferLength = ProductuseridMaxLength + 1; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_ProductUserId_ToString(InnerHandle, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - public override string ToString() - { - string funcResult; - ToString(out funcResult); - return funcResult; - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices +{ + public sealed partial class ProductUserId : Handle + { + public ProductUserId() + { + } + + public ProductUserId(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// A character buffer of this size is large enough to fit a successful output of . This length does not include the null-terminator. + /// + public const int ProductuseridMaxLength = 32; + + /// + /// Retrieve an from a raw string representing an Epic Online Services Product User ID. The input string must be null-terminated. + /// NOTE: There is no validation on the string format, this should only be used with values serialized from legitimate sources such as + /// + /// The stringified product user ID for which to retrieve the Epic Online Services Product User ID + /// + /// The that corresponds to the ProductUserIdString + /// + public static ProductUserId FromString(Utf8String productUserIdString) + { + var productUserIdStringAddress = System.IntPtr.Zero; + Helper.Set(productUserIdString, ref productUserIdStringAddress); + + var funcResult = Bindings.EOS_ProductUserId_FromString(productUserIdStringAddress); + + Helper.Dispose(ref productUserIdStringAddress); + + ProductUserId funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + public static explicit operator ProductUserId(Utf8String value) + { + return FromString(value); + } + + /// + /// Check whether or not the given account unique ID is considered valid + /// NOTE: This will return true for any created with as there is no validation + /// + /// The Product User ID to check for validity + /// + /// if the is valid, otherwise + /// + public bool IsValid() + { + var funcResult = Bindings.EOS_ProductUserId_IsValid(InnerHandle); + + bool funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Retrieve a null-terminated stringified Product User ID from an . This is useful for replication of Product User IDs in multiplayer games. + /// This string will be no larger than + 1 and will only contain UTF8-encoded printable characters as well as the null-terminator. + /// + /// The Product User ID for which to retrieve the stringified version. + /// The buffer into which the character data should be written + /// + /// The size of the OutBuffer in characters. + /// The input buffer should include enough space to be null-terminated. + /// When the function returns, this parameter will be filled with the length of the string copied into OutBuffer including the null-termination character. + /// + /// + /// An that indicates whether the Product User ID string was copied into the OutBuffer. + /// - The OutBuffer was filled, and InOutBufferLength contains the number of characters copied into OutBuffer including the null-terminator. + /// - Either OutBuffer or InOutBufferLength were passed as parameters. + /// - The AccountId is invalid and cannot be stringified. + /// - The OutBuffer is not large enough to receive the Product User ID string. InOutBufferLength contains the required minimum length to perform the operation successfully. + /// + public Result ToString(out Utf8String outBuffer) + { + int inOutBufferLength = ProductuseridMaxLength + 1; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_ProductUserId_ToString(InnerHandle, outBufferAddress, ref inOutBufferLength); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + public override string ToString() + { + Utf8String funcResult; + ToString(out funcResult); + return funcResult; + } + + public override string ToString(string format, System.IFormatProvider formatProvider) + { + if (format != null) + { + return string.Format(format, ToString()); + } + + return ToString(); + } + + public static explicit operator Utf8String(ProductUserId value) + { + Utf8String result = null; + + if (value != null) + { + value.ToString(out result); + } + + return result; + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProductUserId.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProductUserId.cs.meta deleted file mode 100644 index 33e3e82c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProductUserId.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 47afbf867286d31488852cef0923a85a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/AddProgressionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/AddProgressionOptions.cs new file mode 100644 index 00000000..489d9f9b --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/AddProgressionOptions.cs @@ -0,0 +1,81 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.ProgressionSnapshot +{ + public struct AddProgressionOptions + { + /// + /// The Snapshot Id received via a function. + /// + public uint SnapshotId { get; set; } + + /// + /// The key in a key/value pair of progression entry + /// + public Utf8String Key { get; set; } + + /// + /// The value in a key/value pair of progression entry + /// + public Utf8String Value { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddProgressionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_SnapshotId; + private System.IntPtr m_Key; + private System.IntPtr m_Value; + + public uint SnapshotId + { + set + { + m_SnapshotId = value; + } + } + + public Utf8String Key + { + set + { + Helper.Set(value, ref m_Key); + } + } + + public Utf8String Value + { + set + { + Helper.Set(value, ref m_Value); + } + } + + public void Set(ref AddProgressionOptions other) + { + m_ApiVersion = ProgressionSnapshotInterface.AddprogressionApiLatest; + SnapshotId = other.SnapshotId; + Key = other.Key; + Value = other.Value; + } + + public void Set(ref AddProgressionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ProgressionSnapshotInterface.AddprogressionApiLatest; + SnapshotId = other.Value.SnapshotId; + Key = other.Value.Key; + Value = other.Value.Value; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Key); + Helper.Dispose(ref m_Value); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/BeginSnapshotOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/BeginSnapshotOptions.cs new file mode 100644 index 00000000..a0cf20e3 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/BeginSnapshotOptions.cs @@ -0,0 +1,48 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.ProgressionSnapshot +{ + public struct BeginSnapshotOptions + { + /// + /// The Product User ID of the local user to whom the key/value pair belong + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct BeginSnapshotOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref BeginSnapshotOptions other) + { + m_ApiVersion = ProgressionSnapshotInterface.BeginsnapshotApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref BeginSnapshotOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ProgressionSnapshotInterface.BeginsnapshotApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/DeleteSnapshotCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/DeleteSnapshotCallbackInfo.cs new file mode 100644 index 00000000..0a74932b --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/DeleteSnapshotCallbackInfo.cs @@ -0,0 +1,123 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.ProgressionSnapshot +{ + public struct DeleteSnapshotCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// The Product User ID of the local user to whom the key/value pair belong + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref DeleteSnapshotCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + LocalUserId = other.LocalUserId; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DeleteSnapshotCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref DeleteSnapshotCallbackInfo other) + { + ResultCode = other.ResultCode; + LocalUserId = other.LocalUserId; + ClientData = other.ClientData; + } + + public void Set(ref DeleteSnapshotCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + LocalUserId = other.Value.LocalUserId; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ClientData); + } + + public void Get(out DeleteSnapshotCallbackInfo output) + { + output = new DeleteSnapshotCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/DeleteSnapshotOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/DeleteSnapshotOptions.cs new file mode 100644 index 00000000..52ad364b --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/DeleteSnapshotOptions.cs @@ -0,0 +1,48 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.ProgressionSnapshot +{ + public struct DeleteSnapshotOptions + { + /// + /// The Product User ID of the local user to whom the key/value pair belong + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DeleteSnapshotOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref DeleteSnapshotOptions other) + { + m_ApiVersion = ProgressionSnapshotInterface.DeletesnapshotApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref DeleteSnapshotOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ProgressionSnapshotInterface.DeletesnapshotApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/EndSnapshotOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/EndSnapshotOptions.cs new file mode 100644 index 00000000..62b3d7b4 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/EndSnapshotOptions.cs @@ -0,0 +1,47 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.ProgressionSnapshot +{ + public struct EndSnapshotOptions + { + /// + /// The Snapshot Id received via a function. + /// + public uint SnapshotId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct EndSnapshotOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_SnapshotId; + + public uint SnapshotId + { + set + { + m_SnapshotId = value; + } + } + + public void Set(ref EndSnapshotOptions other) + { + m_ApiVersion = ProgressionSnapshotInterface.EndsnapshotApiLatest; + SnapshotId = other.SnapshotId; + } + + public void Set(ref EndSnapshotOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ProgressionSnapshotInterface.EndsnapshotApiLatest; + SnapshotId = other.Value.SnapshotId; + } + } + + public void Dispose() + { + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/OnDeleteSnapshotCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/OnDeleteSnapshotCallback.cs new file mode 100644 index 00000000..794c7930 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/OnDeleteSnapshotCallback.cs @@ -0,0 +1,10 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.ProgressionSnapshot +{ + public delegate void OnDeleteSnapshotCallback(ref DeleteSnapshotCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnDeleteSnapshotCallbackInternal(ref DeleteSnapshotCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/OnSubmitSnapshotCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/OnSubmitSnapshotCallback.cs new file mode 100644 index 00000000..8dfb754b --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/OnSubmitSnapshotCallback.cs @@ -0,0 +1,10 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.ProgressionSnapshot +{ + public delegate void OnSubmitSnapshotCallback(ref SubmitSnapshotCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnSubmitSnapshotCallbackInternal(ref SubmitSnapshotCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/ProgressionSnapshotInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/ProgressionSnapshotInterface.cs new file mode 100644 index 00000000..1b7c6da4 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/ProgressionSnapshotInterface.cs @@ -0,0 +1,153 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.ProgressionSnapshot +{ + public sealed partial class ProgressionSnapshotInterface : Handle + { + public ProgressionSnapshotInterface() + { + } + + public ProgressionSnapshotInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + public const int AddprogressionApiLatest = 1; + + public const int BeginsnapshotApiLatest = 1; + + public const int DeletesnapshotApiLatest = 1; + + public const int EndsnapshotApiLatest = 1; + + public const int InvalidProgressionsnapshotid = 0; + + public const int SubmitsnapshotApiLatest = 1; + + /// + /// Stores a Key/Value pair in memory for a given snapshot. + /// If multiple calls happen with the same key, the last invocation wins, overwriting the previous value for that + /// given key. + /// + /// The order in which the Key/Value pairs are added is stored as is for later retrieval/display. + /// Ideally, you would make multiple calls to AddProgression() followed by a single call to SubmitSnapshot(). + /// + /// + /// when successful; otherwise, + /// + public Result AddProgression(ref AddProgressionOptions options) + { + AddProgressionOptionsInternal optionsInternal = new AddProgressionOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_ProgressionSnapshot_AddProgression(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Creates a new progression-snapshot resource for a given user. + /// + /// Object containing properties that identifies the PUID this Snapshot will belong to. + /// A progression-snapshot identifier output parameter. Use that identifier to reference the snapshot in the other APIs. + /// + /// when successful. + /// when no IDs are available. This is irrecoverable state. + /// + public Result BeginSnapshot(ref BeginSnapshotOptions options, out uint outSnapshotId) + { + BeginSnapshotOptionsInternal optionsInternal = new BeginSnapshotOptionsInternal(); + optionsInternal.Set(ref options); + + outSnapshotId = Helper.GetDefault(); + + var funcResult = Bindings.EOS_ProgressionSnapshot_BeginSnapshot(InnerHandle, ref optionsInternal, ref outSnapshotId); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Wipes out all progression data for the given user from the service. However, any previous progression data that haven't + /// been submitted yet are retained. + /// + public void DeleteSnapshot(ref DeleteSnapshotOptions options, object clientData, OnDeleteSnapshotCallback completionDelegate) + { + DeleteSnapshotOptionsInternal optionsInternal = new DeleteSnapshotOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnDeleteSnapshotCallbackInternal(OnDeleteSnapshotCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_ProgressionSnapshot_DeleteSnapshot(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Cleans up and releases resources associated with the given progression snapshot identifier. + /// + /// + /// when successful; otherwise, + /// + public Result EndSnapshot(ref EndSnapshotOptions options) + { + EndSnapshotOptionsInternal optionsInternal = new EndSnapshotOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_ProgressionSnapshot_EndSnapshot(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Saves the previously added Key/Value pairs of a given Snapshot to the service. + /// + /// Note: This will overwrite any prior progression data stored with the service that's associated with the user. + /// + public void SubmitSnapshot(ref SubmitSnapshotOptions options, object clientData, OnSubmitSnapshotCallback completionDelegate) + { + SubmitSnapshotOptionsInternal optionsInternal = new SubmitSnapshotOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnSubmitSnapshotCallbackInternal(OnSubmitSnapshotCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_ProgressionSnapshot_SubmitSnapshot(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnDeleteSnapshotCallbackInternal))] + internal static void OnDeleteSnapshotCallbackInternalImplementation(ref DeleteSnapshotCallbackInfoInternal data) + { + OnDeleteSnapshotCallback callback; + DeleteSnapshotCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnSubmitSnapshotCallbackInternal))] + internal static void OnSubmitSnapshotCallbackInternalImplementation(ref SubmitSnapshotCallbackInfoInternal data) + { + OnSubmitSnapshotCallback callback; + SubmitSnapshotCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/SubmitSnapshotCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/SubmitSnapshotCallbackInfo.cs new file mode 100644 index 00000000..9e8d9004 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/SubmitSnapshotCallbackInfo.cs @@ -0,0 +1,120 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.ProgressionSnapshot +{ + public struct SubmitSnapshotCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// The Snapshot Id used in the Submit function. + /// + public uint SnapshotId { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref SubmitSnapshotCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + SnapshotId = other.SnapshotId; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SubmitSnapshotCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private uint m_SnapshotId; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public uint SnapshotId + { + get + { + return m_SnapshotId; + } + + set + { + m_SnapshotId = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref SubmitSnapshotCallbackInfo other) + { + ResultCode = other.ResultCode; + SnapshotId = other.SnapshotId; + ClientData = other.ClientData; + } + + public void Set(ref SubmitSnapshotCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + SnapshotId = other.Value.SnapshotId; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out SubmitSnapshotCallbackInfo output) + { + output = new SubmitSnapshotCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/SubmitSnapshotOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/SubmitSnapshotOptions.cs new file mode 100644 index 00000000..06acfb97 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/ProgressionSnapshot/SubmitSnapshotOptions.cs @@ -0,0 +1,47 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.ProgressionSnapshot +{ + public struct SubmitSnapshotOptions + { + /// + /// The Snapshot Id received via a function. + /// + public uint SnapshotId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SubmitSnapshotOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_SnapshotId; + + public uint SnapshotId + { + set + { + m_SnapshotId = value; + } + } + + public void Set(ref SubmitSnapshotOptions other) + { + m_ApiVersion = ProgressionSnapshotInterface.SubmitsnapshotApiLatest; + SnapshotId = other.SnapshotId; + } + + public void Set(ref SubmitSnapshotOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ProgressionSnapshotInterface.SubmitsnapshotApiLatest; + SnapshotId = other.Value.SnapshotId; + } + } + + public void Dispose() + { + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC.meta deleted file mode 100644 index 5ef7577b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4a056fa51a4eeaa458c7efeabb36a484 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyDisconnectedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyDisconnectedOptions.cs index 300fdfaa..4259b3e2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyDisconnectedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyDisconnectedOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// This struct is used to call . - /// - public class AddNotifyDisconnectedOptions - { - /// - /// The Product User ID of the user trying to request this operation. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The room this event is registered on. - /// - public string RoomName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyDisconnectedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public void Set(AddNotifyDisconnectedOptions other) - { - if (other != null) - { - m_ApiVersion = RTCInterface.AddnotifydisconnectedApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - } - } - - public void Set(object other) - { - Set(other as AddNotifyDisconnectedOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// This struct is used to call . + /// + public struct AddNotifyDisconnectedOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this event is registered on. + /// + public Utf8String RoomName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyDisconnectedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public void Set(ref AddNotifyDisconnectedOptions other) + { + m_ApiVersion = RTCInterface.AddnotifydisconnectedApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + } + + public void Set(ref AddNotifyDisconnectedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCInterface.AddnotifydisconnectedApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyDisconnectedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyDisconnectedOptions.cs.meta deleted file mode 100644 index 4ec3df77..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyDisconnectedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f2a54c8ac62785a408cdfe3ed7fe76e4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyParticipantStatusChangedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyParticipantStatusChangedOptions.cs index 6b094556..59b33f0c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyParticipantStatusChangedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyParticipantStatusChangedOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// This struct is used to call . - /// - public class AddNotifyParticipantStatusChangedOptions - { - /// - /// The Product User ID of the user trying to request this operation. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The room this event is registered on. - /// - public string RoomName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyParticipantStatusChangedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public void Set(AddNotifyParticipantStatusChangedOptions other) - { - if (other != null) - { - m_ApiVersion = RTCInterface.AddnotifyparticipantstatuschangedApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - } - } - - public void Set(object other) - { - Set(other as AddNotifyParticipantStatusChangedOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// This struct is used to call . + /// + public struct AddNotifyParticipantStatusChangedOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this event is registered on. + /// + public Utf8String RoomName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyParticipantStatusChangedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public void Set(ref AddNotifyParticipantStatusChangedOptions other) + { + m_ApiVersion = RTCInterface.AddnotifyparticipantstatuschangedApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + } + + public void Set(ref AddNotifyParticipantStatusChangedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCInterface.AddnotifyparticipantstatuschangedApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyParticipantStatusChangedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyParticipantStatusChangedOptions.cs.meta deleted file mode 100644 index 7616eb2b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/AddNotifyParticipantStatusChangedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1ad2047545430f444ab16063e609362a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantCallbackInfo.cs index 9fddc189..c61eff7d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantCallbackInfo.cs @@ -1,143 +1,202 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// This struct is passed in with a call to . - /// - public class BlockParticipantCallbackInfo : ICallbackInfo, ISettable - { - /// - /// This returns: - /// if the channel was successfully blocked. - /// otherwise. - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The room the users should be blocked on. - /// - public string RoomName { get; private set; } - - /// - /// The Product User ID of the participant being blocked - /// - public ProductUserId ParticipantId { get; private set; } - - /// - /// The block state that should have been set - /// - public bool Blocked { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(BlockParticipantCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RoomName = other.Value.RoomName; - ParticipantId = other.Value.ParticipantId; - Blocked = other.Value.Blocked; - } - } - - public void Set(object other) - { - Set(other as BlockParticipantCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct BlockParticipantCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private System.IntPtr m_ParticipantId; - private int m_Blocked; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string RoomName - { - get - { - string value; - Helper.TryMarshalGet(m_RoomName, out value); - return value; - } - } - - public ProductUserId ParticipantId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_ParticipantId, out value); - return value; - } - } - - public bool Blocked - { - get - { - bool value; - Helper.TryMarshalGet(m_Blocked, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// This struct is passed in with a call to . + /// + public struct BlockParticipantCallbackInfo : ICallbackInfo + { + /// + /// This returns: + /// if the channel was successfully blocked. + /// otherwise. + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room the users should be blocked on. + /// + public Utf8String RoomName { get; set; } + + /// + /// The Product User ID of the participant being blocked + /// + public ProductUserId ParticipantId { get; set; } + + /// + /// The block state that should have been set + /// + public bool Blocked { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref BlockParticipantCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ParticipantId = other.ParticipantId; + Blocked = other.Blocked; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct BlockParticipantCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_ParticipantId; + private int m_Blocked; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public ProductUserId ParticipantId + { + get + { + ProductUserId value; + Helper.Get(m_ParticipantId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ParticipantId); + } + } + + public bool Blocked + { + get + { + bool value; + Helper.Get(m_Blocked, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Blocked); + } + } + + public void Set(ref BlockParticipantCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ParticipantId = other.ParticipantId; + Blocked = other.Blocked; + } + + public void Set(ref BlockParticipantCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + ParticipantId = other.Value.ParticipantId; + Blocked = other.Value.Blocked; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_ParticipantId); + } + + public void Get(out BlockParticipantCallbackInfo output) + { + output = new BlockParticipantCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantCallbackInfo.cs.meta deleted file mode 100644 index 9a564eb6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 739bb360d284a2d45aa6dbadfabaf09b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantOptions.cs index 0afc0f56..a5a216a4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantOptions.cs @@ -1,97 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// This struct is passed in with a call to . - /// - public class BlockParticipantOptions - { - /// - /// Product User ID of the user trying to request this operation. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The room the users should be blocked on. - /// - public string RoomName { get; set; } - - /// - /// Product User ID of the participant to block - /// - public ProductUserId ParticipantId { get; set; } - - /// - /// Block or unblock the participant - /// - public bool Blocked { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct BlockParticipantOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private System.IntPtr m_ParticipantId; - private int m_Blocked; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public ProductUserId ParticipantId - { - set - { - Helper.TryMarshalSet(ref m_ParticipantId, value); - } - } - - public bool Blocked - { - set - { - Helper.TryMarshalSet(ref m_Blocked, value); - } - } - - public void Set(BlockParticipantOptions other) - { - if (other != null) - { - m_ApiVersion = RTCInterface.BlockparticipantApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - ParticipantId = other.ParticipantId; - Blocked = other.Blocked; - } - } - - public void Set(object other) - { - Set(other as BlockParticipantOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - Helper.TryMarshalDispose(ref m_ParticipantId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// This struct is passed in with a call to . + /// + public struct BlockParticipantOptions + { + /// + /// Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room the users should be blocked on. + /// + public Utf8String RoomName { get; set; } + + /// + /// Product User ID of the participant to block + /// + public ProductUserId ParticipantId { get; set; } + + /// + /// Block or unblock the participant + /// + public bool Blocked { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct BlockParticipantOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_ParticipantId; + private int m_Blocked; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public ProductUserId ParticipantId + { + set + { + Helper.Set(value, ref m_ParticipantId); + } + } + + public bool Blocked + { + set + { + Helper.Set(value, ref m_Blocked); + } + } + + public void Set(ref BlockParticipantOptions other) + { + m_ApiVersion = RTCInterface.BlockparticipantApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ParticipantId = other.ParticipantId; + Blocked = other.Blocked; + } + + public void Set(ref BlockParticipantOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCInterface.BlockparticipantApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + ParticipantId = other.Value.ParticipantId; + Blocked = other.Value.Blocked; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_ParticipantId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantOptions.cs.meta deleted file mode 100644 index fca424d9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/BlockParticipantOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2c585c2c02be9be4aa87d483f872ccde -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/DisconnectedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/DisconnectedCallbackInfo.cs index f3c7f6dd..0938d844 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/DisconnectedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/DisconnectedCallbackInfo.cs @@ -1,112 +1,156 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// This struct is passed in with a call to registered event. - /// - public class DisconnectedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// This returns: - /// The room was left cleanly. - /// : There was a network issue connecting to the server (retryable). - /// : The user has been kicked by the server (retryable). - /// : A known error occurred during interaction with the server (retryable). - /// Unexpected error (retryable). - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The room associated with this event. - /// - public string RoomName { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(DisconnectedCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RoomName = other.Value.RoomName; - } - } - - public void Set(object other) - { - Set(other as DisconnectedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DisconnectedCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string RoomName - { - get - { - string value; - Helper.TryMarshalGet(m_RoomName, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// This struct is passed in with a call to registered event. + /// + public struct DisconnectedCallbackInfo : ICallbackInfo + { + /// + /// This returns: + /// The room was left cleanly. + /// : There was a network issue connecting to the server (retryable). + /// : The user has been kicked by the server (retryable). + /// : A known error occurred during interaction with the server (retryable). + /// Unexpected error (retryable). + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room associated with this event. + /// + public Utf8String RoomName { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref DisconnectedCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DisconnectedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public void Set(ref DisconnectedCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + } + + public void Set(ref DisconnectedCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + + public void Get(out DisconnectedCallbackInfo output) + { + output = new DisconnectedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/DisconnectedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/DisconnectedCallbackInfo.cs.meta deleted file mode 100644 index 42a2e74d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/DisconnectedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 834ab271cf7d5bf4b9f4bb4e914cb2f5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomCallbackInfo.cs index 796784c2..1cb320dd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomCallbackInfo.cs @@ -1,113 +1,157 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// This struct is passed in with a call to . - /// - public class JoinRoomCallbackInfo : ICallbackInfo, ISettable - { - /// - /// This returns: - /// if the channel was successfully joined. - /// : unable to connect to RTC servers (retryable). - /// : if the token is invalid (not retryable). - /// : if the room cannot accept more participants (not retryable). - /// : if the room name belongs to the Lobby voice system (not retryable). - /// otherwise (retryable). - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The room the user was trying to join. - /// - public string RoomName { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(JoinRoomCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RoomName = other.Value.RoomName; - } - } - - public void Set(object other) - { - Set(other as JoinRoomCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct JoinRoomCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string RoomName - { - get - { - string value; - Helper.TryMarshalGet(m_RoomName, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// This struct is passed in with a call to . + /// + public struct JoinRoomCallbackInfo : ICallbackInfo + { + /// + /// This returns: + /// if the channel was successfully joined. + /// : unable to connect to RTC servers (retryable). + /// : if the token is invalid (not retryable). + /// : if the room cannot accept more participants (not retryable). + /// : if the room name belongs to the Lobby voice system (not retryable). + /// otherwise (retryable). + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room the user was trying to join. + /// + public Utf8String RoomName { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref JoinRoomCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct JoinRoomCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public void Set(ref JoinRoomCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + } + + public void Set(ref JoinRoomCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + + public void Get(out JoinRoomCallbackInfo output) + { + output = new JoinRoomCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomCallbackInfo.cs.meta deleted file mode 100644 index b9b0af26..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bcdbfd16f9123dc4cb4cad960e768ed6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomFlags.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomFlags.cs index 3a6fcb1f..06a4f67b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomFlags.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomFlags.cs @@ -1,18 +1,18 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - [System.Flags] - public enum JoinRoomFlags : uint - { - None = 0x0, - /// - /// Enables echo mode. - /// This can be used during development to have the server send your voice back to you so you don't need 2 clients to test - /// if voice is being sent and received. - /// ::Flags - /// - EnableEcho = 0x01 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + [System.Flags] + public enum JoinRoomFlags : uint + { + None = 0x0, + /// + /// Enables echo mode. + /// This can be used during development to have the server send your voice back to you so you don't need 2 clients to test + /// if voice is being sent and received. + /// + /// + EnableEcho = 0x01 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomFlags.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomFlags.cs.meta deleted file mode 100644 index 513ae46e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomFlags.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 30ac5acbc95b25546b15c218546e6925 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomOptions.cs index f62c1321..ca917183 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomOptions.cs @@ -1,161 +1,169 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// This struct is used to call . - /// - public class JoinRoomOptions - { - /// - /// The product user id of the user trying to request this operation. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The room the user would like to join. - /// - public string RoomName { get; set; } - - /// - /// The room the user would like to join. - /// - public string ClientBaseUrl { get; set; } - - /// - /// Authorization credential token to join the room. - /// - public string ParticipantToken { get; set; } - - /// - /// The participant id used to join the room. If set to NULL the LocalUserId will be used instead. - /// - public ProductUserId ParticipantId { get; set; } - - /// - /// Join room flags, e.g. . This is a bitwise-or union of the defined flags. - /// - public JoinRoomFlags Flags { get; set; } - - /// - /// Enable or disable Manual Audio Input. If manual audio input is enabled audio recording is not started and the audio - /// buffers must be passed manually using . - /// - public bool ManualAudioInputEnabled { get; set; } - - /// - /// Enable or disable Manual Audio Output. If manual audio output is enabled audio rendering is not started and the audio - /// buffers must be received with and rendered manually. - /// - public bool ManualAudioOutputEnabled { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct JoinRoomOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private System.IntPtr m_ClientBaseUrl; - private System.IntPtr m_ParticipantToken; - private System.IntPtr m_ParticipantId; - private JoinRoomFlags m_Flags; - private int m_ManualAudioInputEnabled; - private int m_ManualAudioOutputEnabled; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public string ClientBaseUrl - { - set - { - Helper.TryMarshalSet(ref m_ClientBaseUrl, value); - } - } - - public string ParticipantToken - { - set - { - Helper.TryMarshalSet(ref m_ParticipantToken, value); - } - } - - public ProductUserId ParticipantId - { - set - { - Helper.TryMarshalSet(ref m_ParticipantId, value); - } - } - - public JoinRoomFlags Flags - { - set - { - m_Flags = value; - } - } - - public bool ManualAudioInputEnabled - { - set - { - Helper.TryMarshalSet(ref m_ManualAudioInputEnabled, value); - } - } - - public bool ManualAudioOutputEnabled - { - set - { - Helper.TryMarshalSet(ref m_ManualAudioOutputEnabled, value); - } - } - - public void Set(JoinRoomOptions other) - { - if (other != null) - { - m_ApiVersion = RTCInterface.JoinroomApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - ClientBaseUrl = other.ClientBaseUrl; - ParticipantToken = other.ParticipantToken; - ParticipantId = other.ParticipantId; - Flags = other.Flags; - ManualAudioInputEnabled = other.ManualAudioInputEnabled; - ManualAudioOutputEnabled = other.ManualAudioOutputEnabled; - } - } - - public void Set(object other) - { - Set(other as JoinRoomOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - Helper.TryMarshalDispose(ref m_ClientBaseUrl); - Helper.TryMarshalDispose(ref m_ParticipantToken); - Helper.TryMarshalDispose(ref m_ParticipantId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// This struct is used to call . + /// + public struct JoinRoomOptions + { + /// + /// The product user id of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room the user would like to join. + /// + public Utf8String RoomName { get; set; } + + /// + /// The room the user would like to join. + /// + public Utf8String ClientBaseUrl { get; set; } + + /// + /// Authorization credential token to join the room. + /// + public Utf8String ParticipantToken { get; set; } + + /// + /// The participant id used to join the room. If set to the LocalUserId will be used instead. + /// + public ProductUserId ParticipantId { get; set; } + + /// + /// Join room flags, e.g. . This is a bitwise-or union of the defined flags. + /// + public JoinRoomFlags Flags { get; set; } + + /// + /// Enable or disable Manual Audio Input. If manual audio input is enabled audio recording is not started and the audio + /// buffers must be passed manually using . + /// + public bool ManualAudioInputEnabled { get; set; } + + /// + /// Enable or disable Manual Audio Output. If manual audio output is enabled audio rendering is not started and the audio + /// buffers must be received with and rendered manually. + /// + public bool ManualAudioOutputEnabled { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct JoinRoomOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_ClientBaseUrl; + private System.IntPtr m_ParticipantToken; + private System.IntPtr m_ParticipantId; + private JoinRoomFlags m_Flags; + private int m_ManualAudioInputEnabled; + private int m_ManualAudioOutputEnabled; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public Utf8String ClientBaseUrl + { + set + { + Helper.Set(value, ref m_ClientBaseUrl); + } + } + + public Utf8String ParticipantToken + { + set + { + Helper.Set(value, ref m_ParticipantToken); + } + } + + public ProductUserId ParticipantId + { + set + { + Helper.Set(value, ref m_ParticipantId); + } + } + + public JoinRoomFlags Flags + { + set + { + m_Flags = value; + } + } + + public bool ManualAudioInputEnabled + { + set + { + Helper.Set(value, ref m_ManualAudioInputEnabled); + } + } + + public bool ManualAudioOutputEnabled + { + set + { + Helper.Set(value, ref m_ManualAudioOutputEnabled); + } + } + + public void Set(ref JoinRoomOptions other) + { + m_ApiVersion = RTCInterface.JoinroomApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ClientBaseUrl = other.ClientBaseUrl; + ParticipantToken = other.ParticipantToken; + ParticipantId = other.ParticipantId; + Flags = other.Flags; + ManualAudioInputEnabled = other.ManualAudioInputEnabled; + ManualAudioOutputEnabled = other.ManualAudioOutputEnabled; + } + + public void Set(ref JoinRoomOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCInterface.JoinroomApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + ClientBaseUrl = other.Value.ClientBaseUrl; + ParticipantToken = other.Value.ParticipantToken; + ParticipantId = other.Value.ParticipantId; + Flags = other.Value.Flags; + ManualAudioInputEnabled = other.Value.ManualAudioInputEnabled; + ManualAudioOutputEnabled = other.Value.ManualAudioOutputEnabled; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_ClientBaseUrl); + Helper.Dispose(ref m_ParticipantToken); + Helper.Dispose(ref m_ParticipantId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomOptions.cs.meta deleted file mode 100644 index 330922b9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/JoinRoomOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d011e8b1453d4ba4187fd8d570333360 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomCallbackInfo.cs index 579f5898..1fbee723 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomCallbackInfo.cs @@ -1,110 +1,154 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// This struct is passed in with a call to . - /// - public class LeaveRoomCallbackInfo : ICallbackInfo, ISettable - { - /// - /// This returns: - /// if the channel was successfully left. - /// if the room name belongs to the Lobby voice system. - /// otherwise. - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The room the user was trying to leave. - /// - public string RoomName { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(LeaveRoomCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RoomName = other.Value.RoomName; - } - } - - public void Set(object other) - { - Set(other as LeaveRoomCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LeaveRoomCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string RoomName - { - get - { - string value; - Helper.TryMarshalGet(m_RoomName, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// This struct is passed in with a call to . + /// + public struct LeaveRoomCallbackInfo : ICallbackInfo + { + /// + /// This returns: + /// if the channel was successfully left. + /// if the room name belongs to the Lobby voice system. + /// otherwise. + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room the user was trying to leave. + /// + public Utf8String RoomName { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref LeaveRoomCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LeaveRoomCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public void Set(ref LeaveRoomCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + } + + public void Set(ref LeaveRoomCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + + public void Get(out LeaveRoomCallbackInfo output) + { + output = new LeaveRoomCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomCallbackInfo.cs.meta deleted file mode 100644 index 4acdd1e1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a36a534259d3cfe4d959068a2748623c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomOptions.cs index 9f7ed17d..9304aab2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// This struct is used to call . - /// - public class LeaveRoomOptions - { - /// - /// Product User ID of the user requesting to leave the room - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The room to leave. - /// - public string RoomName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct LeaveRoomOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public void Set(LeaveRoomOptions other) - { - if (other != null) - { - m_ApiVersion = RTCInterface.LeaveroomApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - } - } - - public void Set(object other) - { - Set(other as LeaveRoomOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// This struct is used to call . + /// + public struct LeaveRoomOptions + { + /// + /// Product User ID of the user requesting to leave the room + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room to leave. + /// + public Utf8String RoomName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct LeaveRoomOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public void Set(ref LeaveRoomOptions other) + { + m_ApiVersion = RTCInterface.LeaveroomApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + } + + public void Set(ref LeaveRoomOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCInterface.LeaveroomApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomOptions.cs.meta deleted file mode 100644 index 50500242..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/LeaveRoomOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dd8c59e6e1e50be4eac28d2c3a71125b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnBlockParticipantCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnBlockParticipantCallback.cs index e429550e..ff072d14 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnBlockParticipantCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnBlockParticipantCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// Callback for completion of block participants request. - /// - public delegate void OnBlockParticipantCallback(BlockParticipantCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnBlockParticipantCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// Callback for completion of block participants request. + /// + public delegate void OnBlockParticipantCallback(ref BlockParticipantCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnBlockParticipantCallbackInternal(ref BlockParticipantCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnBlockParticipantCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnBlockParticipantCallback.cs.meta deleted file mode 100644 index 846533a5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnBlockParticipantCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3f5ae8a07b291e34a838fa35ed845be0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnDisconnectedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnDisconnectedCallback.cs index dd26ff85..555c2f70 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnDisconnectedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnDisconnectedCallback.cs @@ -1,10 +1,10 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - public delegate void OnDisconnectedCallback(DisconnectedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnDisconnectedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + public delegate void OnDisconnectedCallback(ref DisconnectedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnDisconnectedCallbackInternal(ref DisconnectedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnDisconnectedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnDisconnectedCallback.cs.meta deleted file mode 100644 index dbcf4e29..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnDisconnectedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c42be3daadb7b1143ba3af3f34454b27 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnJoinRoomCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnJoinRoomCallback.cs index 6507d324..ebf12273 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnJoinRoomCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnJoinRoomCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// Callback for completion of room join request. - /// - public delegate void OnJoinRoomCallback(JoinRoomCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnJoinRoomCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// Callback for completion of room join request. + /// + public delegate void OnJoinRoomCallback(ref JoinRoomCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnJoinRoomCallbackInternal(ref JoinRoomCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnJoinRoomCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnJoinRoomCallback.cs.meta deleted file mode 100644 index 6bc7d847..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnJoinRoomCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cd256147f3f0f92478b23af03922955d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnLeaveRoomCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnLeaveRoomCallback.cs index 79250da7..157fee28 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnLeaveRoomCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnLeaveRoomCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// Callback for completion of room leave request. - /// - public delegate void OnLeaveRoomCallback(LeaveRoomCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnLeaveRoomCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// Callback for completion of room leave request. + /// + public delegate void OnLeaveRoomCallback(ref LeaveRoomCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnLeaveRoomCallbackInternal(ref LeaveRoomCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnLeaveRoomCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnLeaveRoomCallback.cs.meta deleted file mode 100644 index c0954efe..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnLeaveRoomCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3d77a26c2dfb2bc4295a6b5a2a6eac6a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnParticipantStatusChangedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnParticipantStatusChangedCallback.cs index fa509024..2450d702 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnParticipantStatusChangedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnParticipantStatusChangedCallback.cs @@ -1,10 +1,10 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - public delegate void OnParticipantStatusChangedCallback(ParticipantStatusChangedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnParticipantStatusChangedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + public delegate void OnParticipantStatusChangedCallback(ref ParticipantStatusChangedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnParticipantStatusChangedCallbackInternal(ref ParticipantStatusChangedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnParticipantStatusChangedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnParticipantStatusChangedCallback.cs.meta deleted file mode 100644 index edc55e21..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/OnParticipantStatusChangedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c0b553c9a575b7d4fb84629d0aa515f8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantMetadata.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantMetadata.cs index d2738836..b030ba7e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantMetadata.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantMetadata.cs @@ -1,94 +1,94 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// This struct is used to get information about a specific participant metadata item. - /// - public class ParticipantMetadata : ISettable - { - /// - /// The unique key of this metadata item. The max size of the string is . - /// - public string Key { get; set; } - - /// - /// The value of this metadata item. The max size of the string is . - /// - public string Value { get; set; } - - internal void Set(ParticipantMetadataInternal? other) - { - if (other != null) - { - Key = other.Value.Key; - Value = other.Value.Value; - } - } - - public void Set(object other) - { - Set(other as ParticipantMetadataInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ParticipantMetadataInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Key; - private System.IntPtr m_Value; - - public string Key - { - get - { - string value; - Helper.TryMarshalGet(m_Key, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Key, value); - } - } - - public string Value - { - get - { - string value; - Helper.TryMarshalGet(m_Value, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Value, value); - } - } - - public void Set(ParticipantMetadata other) - { - if (other != null) - { - m_ApiVersion = RTCInterface.ParticipantmetadataApiLatest; - Key = other.Key; - Value = other.Value; - } - } - - public void Set(object other) - { - Set(other as ParticipantMetadata); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Key); - Helper.TryMarshalDispose(ref m_Value); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// This struct is used to get information about a specific participant metadata item. + /// + public struct ParticipantMetadata + { + /// + /// The unique key of this metadata item. The max size of the string is . + /// + public Utf8String Key { get; set; } + + /// + /// The value of this metadata item. The max size of the string is . + /// + public Utf8String Value { get; set; } + + internal void Set(ref ParticipantMetadataInternal other) + { + Key = other.Key; + Value = other.Value; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ParticipantMetadataInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Key; + private System.IntPtr m_Value; + + public Utf8String Key + { + get + { + Utf8String value; + Helper.Get(m_Key, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Key); + } + } + + public Utf8String Value + { + get + { + Utf8String value; + Helper.Get(m_Value, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Value); + } + } + + public void Set(ref ParticipantMetadata other) + { + m_ApiVersion = RTCInterface.ParticipantmetadataApiLatest; + Key = other.Key; + Value = other.Value; + } + + public void Set(ref ParticipantMetadata? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCInterface.ParticipantmetadataApiLatest; + Key = other.Value.Key; + Value = other.Value.Value; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Key); + Helper.Dispose(ref m_Value); + } + + public void Get(out ParticipantMetadata output) + { + output = new ParticipantMetadata(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantMetadata.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantMetadata.cs.meta deleted file mode 100644 index 22b1706a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantMetadata.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 534b67119a9a0cb40b43391372345ac2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantStatusChangedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantStatusChangedCallbackInfo.cs index f2756d82..9b4ed3ce 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantStatusChangedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantStatusChangedCallbackInfo.cs @@ -1,143 +1,231 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// This struct is passed in with a call to registered event. - /// - public class ParticipantStatusChangedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The room associated with this event. - /// - public string RoomName { get; private set; } - - /// - /// The participant whose status changed. - /// - public ProductUserId ParticipantId { get; private set; } - - /// - /// What status change occurred - /// - public RTCParticipantStatus ParticipantStatus { get; private set; } - - /// - /// The participant metadata items. - /// This is only set if ParticipantStatus is - /// - public ParticipantMetadata[] ParticipantMetadata { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(ParticipantStatusChangedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RoomName = other.Value.RoomName; - ParticipantId = other.Value.ParticipantId; - ParticipantStatus = other.Value.ParticipantStatus; - ParticipantMetadata = other.Value.ParticipantMetadata; - } - } - - public void Set(object other) - { - Set(other as ParticipantStatusChangedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ParticipantStatusChangedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private System.IntPtr m_ParticipantId; - private RTCParticipantStatus m_ParticipantStatus; - private uint m_ParticipantMetadataCount; - private System.IntPtr m_ParticipantMetadata; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string RoomName - { - get - { - string value; - Helper.TryMarshalGet(m_RoomName, out value); - return value; - } - } - - public ProductUserId ParticipantId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_ParticipantId, out value); - return value; - } - } - - public RTCParticipantStatus ParticipantStatus - { - get - { - return m_ParticipantStatus; - } - } - - public ParticipantMetadata[] ParticipantMetadata - { - get - { - ParticipantMetadata[] value; - Helper.TryMarshalGet(m_ParticipantMetadata, out value, m_ParticipantMetadataCount); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// This struct is passed in with a call to registered event. + /// + public struct ParticipantStatusChangedCallbackInfo : ICallbackInfo + { + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room associated with this event. + /// + public Utf8String RoomName { get; set; } + + /// + /// The participant whose status changed. + /// + public ProductUserId ParticipantId { get; set; } + + /// + /// What status change occurred + /// + public RTCParticipantStatus ParticipantStatus { get; set; } + + /// + /// The participant metadata items. + /// This is only set for the first notification where ParticipantStatus is . Subsequent notifications + /// such as when bParticipantInBlocklist changes will not contain any metadata. + /// + public ParticipantMetadata[] ParticipantMetadata { get; set; } + + /// + /// The participant's block list status, if ParticipantStatus is . + /// This is set to true if the participant is in any of the local user's applicable block lists, + /// such Epic block list or any of the current platform's block lists. + /// It can be used to detect when an internal automatic RTC block is applied because of trust and safety restrictions. + /// + public bool ParticipantInBlocklist { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref ParticipantStatusChangedCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ParticipantId = other.ParticipantId; + ParticipantStatus = other.ParticipantStatus; + ParticipantMetadata = other.ParticipantMetadata; + ParticipantInBlocklist = other.ParticipantInBlocklist; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ParticipantStatusChangedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_ParticipantId; + private RTCParticipantStatus m_ParticipantStatus; + private uint m_ParticipantMetadataCount; + private System.IntPtr m_ParticipantMetadata; + private int m_ParticipantInBlocklist; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public ProductUserId ParticipantId + { + get + { + ProductUserId value; + Helper.Get(m_ParticipantId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ParticipantId); + } + } + + public RTCParticipantStatus ParticipantStatus + { + get + { + return m_ParticipantStatus; + } + + set + { + m_ParticipantStatus = value; + } + } + + public ParticipantMetadata[] ParticipantMetadata + { + get + { + ParticipantMetadata[] value; + Helper.Get(m_ParticipantMetadata, out value, m_ParticipantMetadataCount); + return value; + } + + set + { + Helper.Set(ref value, ref m_ParticipantMetadata, out m_ParticipantMetadataCount); + } + } + + public bool ParticipantInBlocklist + { + get + { + bool value; + Helper.Get(m_ParticipantInBlocklist, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ParticipantInBlocklist); + } + } + + public void Set(ref ParticipantStatusChangedCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ParticipantId = other.ParticipantId; + ParticipantStatus = other.ParticipantStatus; + ParticipantMetadata = other.ParticipantMetadata; + ParticipantInBlocklist = other.ParticipantInBlocklist; + } + + public void Set(ref ParticipantStatusChangedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + ParticipantId = other.Value.ParticipantId; + ParticipantStatus = other.Value.ParticipantStatus; + ParticipantMetadata = other.Value.ParticipantMetadata; + ParticipantInBlocklist = other.Value.ParticipantInBlocklist; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_ParticipantId); + Helper.Dispose(ref m_ParticipantMetadata); + } + + public void Get(out ParticipantStatusChangedCallbackInfo output) + { + output = new ParticipantStatusChangedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantStatusChangedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantStatusChangedCallbackInfo.cs.meta deleted file mode 100644 index 78701aa5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/ParticipantStatusChangedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fd408a794a337c345839c6d3e1f99379 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCInterface.cs index d15e2e16..1a1dcc46 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCInterface.cs @@ -1,296 +1,356 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - public sealed partial class RTCInterface : Handle - { - public RTCInterface() - { - } - - public RTCInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int AddnotifydisconnectedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifyparticipantstatuschangedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int BlockparticipantApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int JoinroomApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int LeaveroomApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int ParticipantmetadataApiLatest = 1; - - public const int ParticipantmetadataKeyMaxcharcount = 256; - - public const int ParticipantmetadataValueMaxcharcount = 256; - - /// - /// Register to receive notifications when disconnected from the room. If the returned NotificationId is valid, you must call - /// when you no longer wish to have your CompletionDelegate called. - /// - /// This function will always return when used with lobby RTC room. To be notified of the connection - /// status of a Lobby-managed RTC room, use the function instead. - /// - /// - /// - /// Arbitrary data that is passed back in the CompletionDelegate - /// The callback to be fired when a presence change occurs - /// - /// Notification ID representing the registered callback if successful, an invalid NotificationId if not - /// - public ulong AddNotifyDisconnected(AddNotifyDisconnectedOptions options, object clientData, OnDisconnectedCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnDisconnectedCallbackInternal(OnDisconnectedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - var funcResult = Bindings.EOS_RTC_AddNotifyDisconnected(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications when a participant's status changes (e.g: join or leave the room). If the returned NotificationId is valid, you must call - /// when you no longer wish to have your CompletionDelegate called. - /// - /// If you register to this notification before joining a room, you will receive a notification for every member already in the room when you join said room. - /// This allows you to know who is already in the room when you join. - /// - /// To be used effectively with a Lobby-managed RTC room, this should be registered during the or completion - /// callbacks when the ResultCode is . If this notification is registered after that point, it is possible to miss notifications for - /// already-existing room participants. - /// - /// - /// - /// Arbitrary data that is passed back in the CompletionDelegate - /// The callback to be fired when a presence change occurs - /// - /// Notification ID representing the registered callback if successful, an invalid NotificationId if not - /// @note This notification is also raised when the local user joins the room, but NOT when the local user leaves the room. - /// - public ulong AddNotifyParticipantStatusChanged(AddNotifyParticipantStatusChangedOptions options, object clientData, OnParticipantStatusChangedCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnParticipantStatusChangedCallbackInternal(OnParticipantStatusChangedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - var funcResult = Bindings.EOS_RTC_AddNotifyParticipantStatusChanged(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Use this function to block a participant already connected to the room. After blocking them no media will be sent or received between - /// that user and the local user. This method can be used after receiving the OnParticipantStatusChanged notification. - /// - /// structure containing the parameters for the operation. - /// Arbitrary data that is passed back in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - /// - /// if the operation succeeded - /// if any of the parameters are incorrect - /// if either the local user or specified participant are not in the specified room - /// - public void BlockParticipant(BlockParticipantOptions options, object clientData, OnBlockParticipantCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnBlockParticipantCallbackInternal(OnBlockParticipantCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_RTC_BlockParticipant(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Get a handle to the Audio interface - /// eos_rtc_audio.h - /// eos_rtc_audio_types.h - /// - /// - /// handle - /// - public RTCAudio.RTCAudioInterface GetAudioInterface() - { - var funcResult = Bindings.EOS_RTC_GetAudioInterface(InnerHandle); - - RTCAudio.RTCAudioInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Use this function to join a room. - /// - /// This function does not need to called for the Lobby RTC Room system; doing so will return . The lobby system will - /// automatically join and leave RTC Rooms for all lobbies that have RTC rooms enabled. - /// - /// structure containing the parameters for the operation. - /// Arbitrary data that is passed back in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void JoinRoom(JoinRoomOptions options, object clientData, OnJoinRoomCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnJoinRoomCallbackInternal(OnJoinRoomCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_RTC_JoinRoom(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Use this function to leave a room and clean up all the resources associated with it. This function has to always be called when the - /// room is abandoned even if the user is already disconnected for other reasons. - /// - /// This function does not need to called for the Lobby RTC Room system; doing so will return . The lobby system will - /// automatically join and leave RTC Rooms for all lobbies that have RTC rooms enabled. - /// - /// structure containing the parameters for the operation. - /// Arbitrary data that is passed back in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - /// - /// if the operation succeeded - /// if any of the parameters are incorrect - /// if not in the specified room - /// - public void LeaveRoom(LeaveRoomOptions options, object clientData, OnLeaveRoomCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnLeaveRoomCallbackInternal(OnLeaveRoomCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_RTC_LeaveRoom(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Unregister a previously bound notification handler from receiving room disconnection notifications - /// - /// The Notification ID representing the registered callback - public void RemoveNotifyDisconnected(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_RTC_RemoveNotifyDisconnected(InnerHandle, notificationId); - } - - /// - /// Unregister a previously bound notification handler from receiving participant status change notifications - /// - /// The Notification ID representing the registered callback - public void RemoveNotifyParticipantStatusChanged(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_RTC_RemoveNotifyParticipantStatusChanged(InnerHandle, notificationId); - } - - [MonoPInvokeCallback(typeof(OnBlockParticipantCallbackInternal))] - internal static void OnBlockParticipantCallbackInternalImplementation(System.IntPtr data) - { - OnBlockParticipantCallback callback; - BlockParticipantCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnDisconnectedCallbackInternal))] - internal static void OnDisconnectedCallbackInternalImplementation(System.IntPtr data) - { - OnDisconnectedCallback callback; - DisconnectedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnJoinRoomCallbackInternal))] - internal static void OnJoinRoomCallbackInternalImplementation(System.IntPtr data) - { - OnJoinRoomCallback callback; - JoinRoomCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnLeaveRoomCallbackInternal))] - internal static void OnLeaveRoomCallbackInternalImplementation(System.IntPtr data) - { - OnLeaveRoomCallback callback; - LeaveRoomCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnParticipantStatusChangedCallbackInternal))] - internal static void OnParticipantStatusChangedCallbackInternalImplementation(System.IntPtr data) - { - OnParticipantStatusChangedCallback callback; - ParticipantStatusChangedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + public sealed partial class RTCInterface : Handle + { + public RTCInterface() + { + } + + public RTCInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int AddnotifydisconnectedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifyparticipantstatuschangedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int BlockparticipantApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int JoinroomApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int LeaveroomApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int ParticipantmetadataApiLatest = 1; + + public const int ParticipantmetadataKeyMaxcharcount = 256; + + public const int ParticipantmetadataValueMaxcharcount = 256; + + /// + /// The most recent version of the API. + /// + public const int SetroomsettingApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SetsettingApiLatest = 1; + + /// + /// Register to receive notifications when disconnected from the room. If the returned NotificationId is valid, you must call + /// when you no longer wish to have your CompletionDelegate called. + /// + /// This function will always return when used with lobby RTC room. To be notified of the connection + /// status of a Lobby-managed RTC room, use the function instead. + /// + /// + /// + /// Arbitrary data that is passed back in the CompletionDelegate + /// The callback to be fired when a presence change occurs + /// + /// Notification ID representing the registered callback if successful, an invalid NotificationId if not + /// + public ulong AddNotifyDisconnected(ref AddNotifyDisconnectedOptions options, object clientData, OnDisconnectedCallback completionDelegate) + { + AddNotifyDisconnectedOptionsInternal optionsInternal = new AddNotifyDisconnectedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnDisconnectedCallbackInternal(OnDisconnectedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + var funcResult = Bindings.EOS_RTC_AddNotifyDisconnected(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications when a participant's status changes (e.g: join or leave the room), or when the participant is added or removed + /// from an applicable block list (e.g: Epic block list and/or current platform's block list). + /// If the returned NotificationId is valid, you must call when you no longer wish to have your CompletionDelegate called. + /// + /// If you register to this notification before joining a room, you will receive a notification for every member already in the room when you join said room. + /// This allows you to know who is already in the room when you join. + /// + /// To be used effectively with a Lobby-managed RTC room, this should be registered during the or completion + /// callbacks when the ResultCode is . If this notification is registered after that point, it is possible to miss notifications for + /// already-existing room participants. + /// + /// You can use this notification to detect internal automatic RTC blocks due to block lists. + /// When a participant joins a room and while the system resolves the block list status of said participant, the participant is set to blocked and you'll receive + /// a notification with ParticipantStatus set to and bParticipantInBlocklist set to true. + /// Once the block list status is resolved, if the player is not in any applicable block list(s), it is then unblocked a new notification is sent with + /// ParticipantStatus set to and bParticipantInBlocklist set to false. + /// This notification is also raised when the local user joins the room, but NOT when the local user leaves the room. + /// + /// + /// + /// Arbitrary data that is passed back in the CompletionDelegate + /// The callback to be fired when a presence change occurs + /// + /// Notification ID representing the registered callback if successful, an invalid NotificationId if not + /// + public ulong AddNotifyParticipantStatusChanged(ref AddNotifyParticipantStatusChangedOptions options, object clientData, OnParticipantStatusChangedCallback completionDelegate) + { + AddNotifyParticipantStatusChangedOptionsInternal optionsInternal = new AddNotifyParticipantStatusChangedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnParticipantStatusChangedCallbackInternal(OnParticipantStatusChangedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + var funcResult = Bindings.EOS_RTC_AddNotifyParticipantStatusChanged(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Use this function to block a participant already connected to the room. After blocking them no media will be sent or received between + /// that user and the local user. This method can be used after receiving the OnParticipantStatusChanged notification. + /// + /// structure containing the parameters for the operation. + /// Arbitrary data that is passed back in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + /// + /// if the operation succeeded + /// if any of the parameters are incorrect + /// if either the local user or specified participant are not in the specified room + /// The user is in one of the platform's applicable block lists and thus an RTC unblock is not allowed. + /// + public void BlockParticipant(ref BlockParticipantOptions options, object clientData, OnBlockParticipantCallback completionDelegate) + { + BlockParticipantOptionsInternal optionsInternal = new BlockParticipantOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnBlockParticipantCallbackInternal(OnBlockParticipantCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_RTC_BlockParticipant(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Get a handle to the Audio interface + /// eos_rtc_audio.h + /// eos_rtc_audio_types.h + /// + /// + /// handle + /// + public RTCAudio.RTCAudioInterface GetAudioInterface() + { + var funcResult = Bindings.EOS_RTC_GetAudioInterface(InnerHandle); + + RTCAudio.RTCAudioInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Use this function to join a room. + /// + /// This function does not need to called for the Lobby RTC Room system; doing so will return . The lobby system will + /// automatically join and leave RTC Rooms for all lobbies that have RTC rooms enabled. + /// + /// structure containing the parameters for the operation. + /// Arbitrary data that is passed back in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void JoinRoom(ref JoinRoomOptions options, object clientData, OnJoinRoomCallback completionDelegate) + { + JoinRoomOptionsInternal optionsInternal = new JoinRoomOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnJoinRoomCallbackInternal(OnJoinRoomCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_RTC_JoinRoom(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Use this function to leave a room and clean up all the resources associated with it. This function has to always be called when the + /// room is abandoned even if the user is already disconnected for other reasons. + /// + /// This function does not need to called for the Lobby RTC Room system; doing so will return . The lobby system will + /// automatically join and leave RTC Rooms for all lobbies that have RTC rooms enabled. + /// + /// structure containing the parameters for the operation. + /// Arbitrary data that is passed back in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + /// + /// if the operation succeeded + /// if any of the parameters are incorrect + /// if not in the specified room + /// + public void LeaveRoom(ref LeaveRoomOptions options, object clientData, OnLeaveRoomCallback completionDelegate) + { + LeaveRoomOptionsInternal optionsInternal = new LeaveRoomOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnLeaveRoomCallbackInternal(OnLeaveRoomCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_RTC_LeaveRoom(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Unregister a previously bound notification handler from receiving room disconnection notifications + /// + /// The Notification ID representing the registered callback + public void RemoveNotifyDisconnected(ulong notificationId) + { + Bindings.EOS_RTC_RemoveNotifyDisconnected(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Unregister a previously bound notification handler from receiving participant status change notifications + /// + /// The Notification ID representing the registered callback + public void RemoveNotifyParticipantStatusChanged(ulong notificationId) + { + Bindings.EOS_RTC_RemoveNotifyParticipantStatusChanged(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Use this function to control settings for the specific room. + /// + /// The available settings are documented as part of . + /// + /// structure containing the parameters for the operation + /// + /// when the setting is successfully set, when the setting is unknown, when the value is invalid. + /// + public Result SetRoomSetting(ref SetRoomSettingOptions options) + { + SetRoomSettingOptionsInternal optionsInternal = new SetRoomSettingOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_RTC_SetRoomSetting(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Use this function to control settings. + /// + /// The available settings are documented as part of . + /// + /// structure containing the parameters for the operation + /// + /// when the setting is successfully set, when the setting is unknown, when the value is invalid. + /// + public Result SetSetting(ref SetSettingOptions options) + { + SetSettingOptionsInternal optionsInternal = new SetSettingOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_RTC_SetSetting(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + [MonoPInvokeCallback(typeof(OnBlockParticipantCallbackInternal))] + internal static void OnBlockParticipantCallbackInternalImplementation(ref BlockParticipantCallbackInfoInternal data) + { + OnBlockParticipantCallback callback; + BlockParticipantCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnDisconnectedCallbackInternal))] + internal static void OnDisconnectedCallbackInternalImplementation(ref DisconnectedCallbackInfoInternal data) + { + OnDisconnectedCallback callback; + DisconnectedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnJoinRoomCallbackInternal))] + internal static void OnJoinRoomCallbackInternalImplementation(ref JoinRoomCallbackInfoInternal data) + { + OnJoinRoomCallback callback; + JoinRoomCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnLeaveRoomCallbackInternal))] + internal static void OnLeaveRoomCallbackInternalImplementation(ref LeaveRoomCallbackInfoInternal data) + { + OnLeaveRoomCallback callback; + LeaveRoomCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnParticipantStatusChangedCallbackInternal))] + internal static void OnParticipantStatusChangedCallbackInternalImplementation(ref ParticipantStatusChangedCallbackInfoInternal data) + { + OnParticipantStatusChangedCallback callback; + ParticipantStatusChangedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCInterface.cs.meta deleted file mode 100644 index a9d54d99..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e8433bca5ea086543a6320a201a19bc3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCParticipantStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCParticipantStatus.cs index ed6a6bb1..ca4bf096 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCParticipantStatus.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCParticipantStatus.cs @@ -1,20 +1,20 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTC -{ - /// - /// Participant RTC's status change - /// - public enum RTCParticipantStatus : int - { - /// - /// Participant joined the room - /// - Joined = 0, - /// - /// Participant left the room - /// - Left = 1 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// Participant RTC's status change + /// + public enum RTCParticipantStatus : int + { + /// + /// Participant joined the room + /// + Joined = 0, + /// + /// Participant left the room + /// + Left = 1 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCParticipantStatus.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCParticipantStatus.cs.meta deleted file mode 100644 index e6372e4d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/RTCParticipantStatus.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6f86f06f0dc215947a6f1bf2dde00d7b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/SetRoomSettingOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/SetRoomSettingOptions.cs new file mode 100644 index 00000000..b0295036 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/SetRoomSettingOptions.cs @@ -0,0 +1,108 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// This struct is used to call + /// + /// Available values of SettingName: + /// - DisableEchoCancelation: Disables the use of echo cancellation for the audio channel. Default "False". + /// - DisableNoiseSupression: Disables the use of noise suppression for the audio channel. Default "False". + /// - DisableAutoGainControl: Disables the use of auto gain control for the audio channel. Default "False". + /// - DisableDtx: Allows to disable the use of DTX. Default "False". + /// + public struct SetRoomSettingOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room the setting will be applied to. + /// + public Utf8String RoomName { get; set; } + + /// + /// Setting that should be set. + /// + public Utf8String SettingName { get; set; } + + /// + /// Value to set the setting to. + /// + public Utf8String SettingValue { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetRoomSettingOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_SettingName; + private System.IntPtr m_SettingValue; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public Utf8String SettingName + { + set + { + Helper.Set(value, ref m_SettingName); + } + } + + public Utf8String SettingValue + { + set + { + Helper.Set(value, ref m_SettingValue); + } + } + + public void Set(ref SetRoomSettingOptions other) + { + m_ApiVersion = RTCInterface.SetroomsettingApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + SettingName = other.SettingName; + SettingValue = other.SettingValue; + } + + public void Set(ref SetRoomSettingOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCInterface.SetroomsettingApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + SettingName = other.Value.SettingName; + SettingValue = other.Value.SettingValue; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_SettingName); + Helper.Dispose(ref m_SettingValue); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/SetSettingOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/SetSettingOptions.cs new file mode 100644 index 00000000..e4b810de --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTC/SetSettingOptions.cs @@ -0,0 +1,74 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTC +{ + /// + /// This struct is used to call + /// + /// Available values of SettingName: + /// - DisableEchoCancelation: Disables the use of echo cancellation for the audio channel. Default "False". + /// - DisableNoiseSupression: Disables the use of noise suppression for the audio channel. Default "False". + /// - DisableAutoGainControl: Disables the use of auto gain control for the audio channel. Default "False". + /// - DisableDtx: Allows to disable the use of DTX. Default "False". + /// + public struct SetSettingOptions + { + /// + /// Setting that should be set. + /// + public Utf8String SettingName { get; set; } + + /// + /// Value to set the setting to. + /// + public Utf8String SettingValue { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetSettingOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SettingName; + private System.IntPtr m_SettingValue; + + public Utf8String SettingName + { + set + { + Helper.Set(value, ref m_SettingName); + } + } + + public Utf8String SettingValue + { + set + { + Helper.Set(value, ref m_SettingValue); + } + } + + public void Set(ref SetSettingOptions other) + { + m_ApiVersion = RTCInterface.SetsettingApiLatest; + SettingName = other.SettingName; + SettingValue = other.SettingValue; + } + + public void Set(ref SetSettingOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCInterface.SetsettingApiLatest; + SettingName = other.Value.SettingName; + SettingValue = other.Value.SettingValue; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SettingName); + Helper.Dispose(ref m_SettingValue); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin.meta deleted file mode 100644 index f8e164ae..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1c78c615257a5784ea6880e356eb2bb4 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByIndexOptions.cs index 85fe6092..08bacc7c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAdmin -{ - /// - /// Input parameters for the function. - /// - public class CopyUserTokenByIndexOptions - { - /// - /// Index of the user token to retrieve from the cache. - /// - public uint UserTokenIndex { get; set; } - - /// - /// Query identifier received as part of a previous query. - /// - /// - public uint QueryId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyUserTokenByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_UserTokenIndex; - private uint m_QueryId; - - public uint UserTokenIndex - { - set - { - m_UserTokenIndex = value; - } - } - - public uint QueryId - { - set - { - m_QueryId = value; - } - } - - public void Set(CopyUserTokenByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAdminInterface.CopyusertokenbyindexApiLatest; - UserTokenIndex = other.UserTokenIndex; - QueryId = other.QueryId; - } - } - - public void Set(object other) - { - Set(other as CopyUserTokenByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAdmin +{ + /// + /// Input parameters for the function. + /// + public struct CopyUserTokenByIndexOptions + { + /// + /// Index of the user token to retrieve from the cache. + /// + public uint UserTokenIndex { get; set; } + + /// + /// Query identifier received as part of a previous query. + /// + /// + public uint QueryId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyUserTokenByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_UserTokenIndex; + private uint m_QueryId; + + public uint UserTokenIndex + { + set + { + m_UserTokenIndex = value; + } + } + + public uint QueryId + { + set + { + m_QueryId = value; + } + } + + public void Set(ref CopyUserTokenByIndexOptions other) + { + m_ApiVersion = RTCAdminInterface.CopyusertokenbyindexApiLatest; + UserTokenIndex = other.UserTokenIndex; + QueryId = other.QueryId; + } + + public void Set(ref CopyUserTokenByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAdminInterface.CopyusertokenbyindexApiLatest; + UserTokenIndex = other.Value.UserTokenIndex; + QueryId = other.Value.QueryId; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByIndexOptions.cs.meta deleted file mode 100644 index d6224959..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 13b5e94891466794bb0f308e5df9abc7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByUserIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByUserIdOptions.cs index fed085e0..cf5b7646 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByUserIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByUserIdOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAdmin -{ - /// - /// Input parameters for the function. - /// - public class CopyUserTokenByUserIdOptions - { - /// - /// The Product User ID for the user whose user token we're copying. - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// Query identifier received as part of a previous query. - /// - /// - public uint QueryId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyUserTokenByUserIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - private uint m_QueryId; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public uint QueryId - { - set - { - m_QueryId = value; - } - } - - public void Set(CopyUserTokenByUserIdOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAdminInterface.CopyusertokenbyuseridApiLatest; - TargetUserId = other.TargetUserId; - QueryId = other.QueryId; - } - } - - public void Set(object other) - { - Set(other as CopyUserTokenByUserIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAdmin +{ + /// + /// Input parameters for the function. + /// + public struct CopyUserTokenByUserIdOptions + { + /// + /// The Product User ID for the user whose user token we're copying. + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Query identifier received as part of a previous query. + /// + /// + public uint QueryId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyUserTokenByUserIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private uint m_QueryId; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public uint QueryId + { + set + { + m_QueryId = value; + } + } + + public void Set(ref CopyUserTokenByUserIdOptions other) + { + m_ApiVersion = RTCAdminInterface.CopyusertokenbyuseridApiLatest; + TargetUserId = other.TargetUserId; + QueryId = other.QueryId; + } + + public void Set(ref CopyUserTokenByUserIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAdminInterface.CopyusertokenbyuseridApiLatest; + TargetUserId = other.Value.TargetUserId; + QueryId = other.Value.QueryId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByUserIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByUserIdOptions.cs.meta deleted file mode 100644 index 6d49899a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/CopyUserTokenByUserIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e2fb36d869fe7f24b8fd4b802d593583 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickCompleteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickCompleteCallbackInfo.cs index 24dc13d7..456cbf1e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickCompleteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickCompleteCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAdmin -{ - /// - /// Data containing the result information for a kick participant request. - /// - public class KickCompleteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into the kick request - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(KickCompleteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as KickCompleteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct KickCompleteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAdmin +{ + /// + /// Data containing the result information for a kick participant request. + /// + public struct KickCompleteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into the kick request + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref KickCompleteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct KickCompleteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref KickCompleteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref KickCompleteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out KickCompleteCallbackInfo output) + { + output = new KickCompleteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickCompleteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickCompleteCallbackInfo.cs.meta deleted file mode 100644 index 2438dea8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickCompleteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1aa56d837bade634d8efbf6f439a6729 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickOptions.cs index 0dcac664..11976446 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAdmin -{ - /// - /// Input parameters for the function. - /// - public class KickOptions - { - /// - /// Room name to kick the participant from - /// - public string RoomName { get; set; } - - /// - /// Product User ID of the participant to kick from the room - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct KickOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_RoomName; - private System.IntPtr m_TargetUserId; - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(KickOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAdminInterface.KickApiLatest; - RoomName = other.RoomName; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as KickOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_RoomName); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAdmin +{ + /// + /// Input parameters for the function. + /// + public struct KickOptions + { + /// + /// Room name to kick the participant from + /// + public Utf8String RoomName { get; set; } + + /// + /// Product User ID of the participant to kick from the room + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct KickOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_RoomName; + private System.IntPtr m_TargetUserId; + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref KickOptions other) + { + m_ApiVersion = RTCAdminInterface.KickApiLatest; + RoomName = other.RoomName; + TargetUserId = other.TargetUserId; + } + + public void Set(ref KickOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAdminInterface.KickApiLatest; + RoomName = other.Value.RoomName; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickOptions.cs.meta deleted file mode 100644 index ea002570..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/KickOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: be8e252a74b9c1342899e06fac96b56c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnKickCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnKickCompleteCallback.cs index 688c8a8d..75e66e80 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnKickCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnKickCompleteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAdmin -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// An containing the output information and result - public delegate void OnKickCompleteCallback(KickCompleteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnKickCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAdmin +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// An containing the output information and result + public delegate void OnKickCompleteCallback(ref KickCompleteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnKickCompleteCallbackInternal(ref KickCompleteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnKickCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnKickCompleteCallback.cs.meta deleted file mode 100644 index deacb29f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnKickCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1ec16b7886713bb48be90050ea6f091c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnQueryJoinRoomTokenCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnQueryJoinRoomTokenCompleteCallback.cs index 6e1dea97..83d61182 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnQueryJoinRoomTokenCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnQueryJoinRoomTokenCompleteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAdmin -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// An containing the output information and result - public delegate void OnQueryJoinRoomTokenCompleteCallback(QueryJoinRoomTokenCompleteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryJoinRoomTokenCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAdmin +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// An containing the output information and result + public delegate void OnQueryJoinRoomTokenCompleteCallback(ref QueryJoinRoomTokenCompleteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryJoinRoomTokenCompleteCallbackInternal(ref QueryJoinRoomTokenCompleteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnQueryJoinRoomTokenCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnQueryJoinRoomTokenCompleteCallback.cs.meta deleted file mode 100644 index 6dcfc21d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnQueryJoinRoomTokenCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e9cc4e6bb555b1549965e74b7e4a1ffd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnSetParticipantHardMuteCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnSetParticipantHardMuteCompleteCallback.cs index 90699e3d..30b270ac 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnSetParticipantHardMuteCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnSetParticipantHardMuteCompleteCallback.cs @@ -1,10 +1,10 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAdmin -{ - public delegate void OnSetParticipantHardMuteCompleteCallback(SetParticipantHardMuteCompleteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnSetParticipantHardMuteCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAdmin +{ + public delegate void OnSetParticipantHardMuteCompleteCallback(ref SetParticipantHardMuteCompleteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnSetParticipantHardMuteCompleteCallbackInternal(ref SetParticipantHardMuteCompleteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnSetParticipantHardMuteCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnSetParticipantHardMuteCompleteCallback.cs.meta deleted file mode 100644 index 1ef0950f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/OnSetParticipantHardMuteCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 74c588dc14fbfad40a1561ba5c4140c2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenCompleteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenCompleteCallbackInfo.cs index 7044cc1e..dcba6b3e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenCompleteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenCompleteCallbackInfo.cs @@ -1,140 +1,198 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAdmin -{ - /// - /// Data containing the result information for a query join room token request. - /// - public class QueryJoinRoomTokenCompleteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// Room the request was made for. - /// - public string RoomName { get; private set; } - - /// - /// URL passed to backend to join room. - /// - public string ClientBaseUrl { get; private set; } - - /// - /// If the query completed successfully, this contains an identifier that should be used to retrieve the tokens. - /// This identifier is only valid for the duration of the callback. - /// - /// - /// - public uint QueryId { get; private set; } - - /// - /// How many token received as result of the query - /// - public uint TokenCount { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryJoinRoomTokenCompleteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - RoomName = other.Value.RoomName; - ClientBaseUrl = other.Value.ClientBaseUrl; - QueryId = other.Value.QueryId; - TokenCount = other.Value.TokenCount; - } - } - - public void Set(object other) - { - Set(other as QueryJoinRoomTokenCompleteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryJoinRoomTokenCompleteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_RoomName; - private System.IntPtr m_ClientBaseUrl; - private uint m_QueryId; - private uint m_TokenCount; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string RoomName - { - get - { - string value; - Helper.TryMarshalGet(m_RoomName, out value); - return value; - } - } - - public string ClientBaseUrl - { - get - { - string value; - Helper.TryMarshalGet(m_ClientBaseUrl, out value); - return value; - } - } - - public uint QueryId - { - get - { - return m_QueryId; - } - } - - public uint TokenCount - { - get - { - return m_TokenCount; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAdmin +{ + /// + /// Data containing the result information for a query join room token request. + /// + public struct QueryJoinRoomTokenCompleteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// Room the request was made for. + /// + public Utf8String RoomName { get; set; } + + /// + /// URL passed to backend to join room. + /// + public Utf8String ClientBaseUrl { get; set; } + + /// + /// If the query completed successfully, this contains an identifier that should be used to retrieve the tokens. + /// This identifier is only valid for the duration of the callback. + /// + /// + /// + public uint QueryId { get; set; } + + /// + /// How many token received as result of the query + /// + public uint TokenCount { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryJoinRoomTokenCompleteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + RoomName = other.RoomName; + ClientBaseUrl = other.ClientBaseUrl; + QueryId = other.QueryId; + TokenCount = other.TokenCount; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryJoinRoomTokenCompleteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_RoomName; + private System.IntPtr m_ClientBaseUrl; + private uint m_QueryId; + private uint m_TokenCount; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public Utf8String ClientBaseUrl + { + get + { + Utf8String value; + Helper.Get(m_ClientBaseUrl, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientBaseUrl); + } + } + + public uint QueryId + { + get + { + return m_QueryId; + } + + set + { + m_QueryId = value; + } + } + + public uint TokenCount + { + get + { + return m_TokenCount; + } + + set + { + m_TokenCount = value; + } + } + + public void Set(ref QueryJoinRoomTokenCompleteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + RoomName = other.RoomName; + ClientBaseUrl = other.ClientBaseUrl; + QueryId = other.QueryId; + TokenCount = other.TokenCount; + } + + public void Set(ref QueryJoinRoomTokenCompleteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + RoomName = other.Value.RoomName; + ClientBaseUrl = other.Value.ClientBaseUrl; + QueryId = other.Value.QueryId; + TokenCount = other.Value.TokenCount; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_ClientBaseUrl); + } + + public void Get(out QueryJoinRoomTokenCompleteCallbackInfo output) + { + output = new QueryJoinRoomTokenCompleteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenCompleteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenCompleteCallbackInfo.cs.meta deleted file mode 100644 index 5a5e40ac..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenCompleteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8559ffc20f620f74996b4ea8d7f7ed4a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenOptions.cs index f9be760b..04eede79 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenOptions.cs @@ -1,103 +1,107 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAdmin -{ - /// - /// Input parameters for the function. - /// - public class QueryJoinRoomTokenOptions - { - /// - /// Product User ID for local user who is querying join room tokens. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// Room name to request a token for. - /// - public string RoomName { get; set; } - - /// - /// An array of Product User IDs indicating the users to retrieve a token for. - /// - public ProductUserId[] TargetUserIds { get; set; } - - /// - /// Array of IP Addresses, one for each of the users we're querying tokens for. - /// There should be TargetUserIdsCount Ip Addresses, you can set an entry to NULL if not known. - /// If TargetUserIpAddresses is set to NULL IP Addresses will be ignored. - /// IPv4 format: "0.0.0.0" - /// IPv6 format: "0:0:0:0:0:0:0:0" - /// - public string TargetUserIpAddresses { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryJoinRoomTokenOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private System.IntPtr m_TargetUserIds; - private uint m_TargetUserIdsCount; - private System.IntPtr m_TargetUserIpAddresses; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public ProductUserId[] TargetUserIds - { - set - { - Helper.TryMarshalSet(ref m_TargetUserIds, value, out m_TargetUserIdsCount); - } - } - - public string TargetUserIpAddresses - { - set - { - Helper.TryMarshalSet(ref m_TargetUserIpAddresses, value); - } - } - - public void Set(QueryJoinRoomTokenOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAdminInterface.QueryjoinroomtokenApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - TargetUserIds = other.TargetUserIds; - TargetUserIpAddresses = other.TargetUserIpAddresses; - } - } - - public void Set(object other) - { - Set(other as QueryJoinRoomTokenOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - Helper.TryMarshalDispose(ref m_TargetUserIds); - Helper.TryMarshalDispose(ref m_TargetUserIpAddresses); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAdmin +{ + /// + /// Input parameters for the function. + /// + public struct QueryJoinRoomTokenOptions + { + /// + /// Product User ID for local user who is querying join room tokens. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Room name to request a token for. + /// + public Utf8String RoomName { get; set; } + + /// + /// An array of Product User IDs indicating the users to retrieve a token for. + /// + public ProductUserId[] TargetUserIds { get; set; } + + /// + /// Array of IP Addresses, one for each of the users we're querying tokens for. + /// There should be TargetUserIdsCount Ip Addresses, you can set an entry to if not known. + /// If TargetUserIpAddresses is set to IP Addresses will be ignored. + /// IPv4 format: "0.0.0.0" + /// IPv6 format: "0:0:0:0:0:0:0:0" + /// + public Utf8String TargetUserIpAddresses { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryJoinRoomTokenOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_TargetUserIds; + private uint m_TargetUserIdsCount; + private System.IntPtr m_TargetUserIpAddresses; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public ProductUserId[] TargetUserIds + { + set + { + Helper.Set(value, ref m_TargetUserIds, out m_TargetUserIdsCount); + } + } + + public Utf8String TargetUserIpAddresses + { + set + { + Helper.Set(value, ref m_TargetUserIpAddresses); + } + } + + public void Set(ref QueryJoinRoomTokenOptions other) + { + m_ApiVersion = RTCAdminInterface.QueryjoinroomtokenApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + TargetUserIds = other.TargetUserIds; + TargetUserIpAddresses = other.TargetUserIpAddresses; + } + + public void Set(ref QueryJoinRoomTokenOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAdminInterface.QueryjoinroomtokenApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + TargetUserIds = other.Value.TargetUserIds; + TargetUserIpAddresses = other.Value.TargetUserIpAddresses; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_TargetUserIds); + Helper.Dispose(ref m_TargetUserIpAddresses); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenOptions.cs.meta deleted file mode 100644 index 56813633..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/QueryJoinRoomTokenOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: def0db3f5eea2bc41afa42e1b8caada2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/RTCAdminInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/RTCAdminInterface.cs index ec96ded9..4e9b5ca8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/RTCAdminInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/RTCAdminInterface.cs @@ -1,215 +1,215 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAdmin -{ - public sealed partial class RTCAdminInterface : Handle - { - public RTCAdminInterface() - { - } - - public RTCAdminInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the struct. - /// - public const int CopyusertokenbyindexApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int CopyusertokenbyuseridApiLatest = 2; - - /// - /// The most recent version of the API - /// - public const int KickApiLatest = 1; - - /// - /// The most recent version of the API - /// - public const int QueryjoinroomtokenApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int SetparticipanthardmuteApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int UsertokenApiLatest = 1; - - /// - /// Fetches a user token when called inside of the OnQueryJoinRoomTokenComplete callback. - /// - /// - /// Structure containing the index being accessed - /// - /// The user token for the given index, if it exists and is valid. Use when finished - /// @note The order of the tokens doesn't necessarily match the order of the array specified in the when - /// initiating the query. - /// - /// - /// if the information is available and passed out in OutUserToken - /// if you pass a null pointer for the out parameter - /// if the user token is not found - /// - public Result CopyUserTokenByIndex(CopyUserTokenByIndexOptions options, out UserToken outUserToken) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outUserTokenAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_RTCAdmin_CopyUserTokenByIndex(InnerHandle, optionsAddress, ref outUserTokenAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outUserTokenAddress, out outUserToken)) - { - Bindings.EOS_RTCAdmin_UserToken_Release(outUserTokenAddress); - } - - return funcResult; - } - - /// - /// Fetches a user token for a given user ID when called inside of the OnQueryJoinRoomTokenComplete callback. - /// - /// - /// Structure containing the user ID being accessed - /// The user token for the given user ID, if it exists and is valid. Use when finished - /// - /// if the information is available and passed out in OutUserToken - /// if you pass a null pointer for the out parameter - /// if the user token is not found - /// - public Result CopyUserTokenByUserId(CopyUserTokenByUserIdOptions options, out UserToken outUserToken) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outUserTokenAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_RTCAdmin_CopyUserTokenByUserId(InnerHandle, optionsAddress, ref outUserTokenAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outUserTokenAddress, out outUserToken)) - { - Bindings.EOS_RTCAdmin_UserToken_Release(outUserTokenAddress); - } - - return funcResult; - } - - /// - /// Starts an asynchronous task that removes a participant from a room and revokes their token. - /// - /// structure containing the room and user to revoke the token from. - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void Kick(KickOptions options, object clientData, OnKickCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnKickCompleteCallbackInternal(OnKickCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_RTCAdmin_Kick(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Query for a list of user tokens for joining a room. - /// - /// Each query generates a query id ( see ) which should be used - /// to retrieve the tokens from inside the callback. - /// - /// Structure containing information about the application whose user tokens we're retrieving. - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// This function is called when the query join room token operation completes. - /// - /// if the operation completes successfully - /// if any of the options are incorrect - /// - public void QueryJoinRoomToken(QueryJoinRoomTokenOptions options, object clientData, OnQueryJoinRoomTokenCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryJoinRoomTokenCompleteCallbackInternal(OnQueryJoinRoomTokenCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_RTCAdmin_QueryJoinRoomToken(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Starts an asynchronous task remotely mutes/unmutes a room participant. - /// - /// This remotely mutes the specified participant, so no audio is sent from that participant to any other participant in the room. - /// - /// structure containing the room and user to mute. - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void SetParticipantHardMute(SetParticipantHardMuteOptions options, object clientData, OnSetParticipantHardMuteCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnSetParticipantHardMuteCompleteCallbackInternal(OnSetParticipantHardMuteCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_RTCAdmin_SetParticipantHardMute(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnKickCompleteCallbackInternal))] - internal static void OnKickCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnKickCompleteCallback callback; - KickCompleteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryJoinRoomTokenCompleteCallbackInternal))] - internal static void OnQueryJoinRoomTokenCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnQueryJoinRoomTokenCompleteCallback callback; - QueryJoinRoomTokenCompleteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnSetParticipantHardMuteCompleteCallbackInternal))] - internal static void OnSetParticipantHardMuteCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnSetParticipantHardMuteCompleteCallback callback; - SetParticipantHardMuteCompleteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAdmin +{ + public sealed partial class RTCAdminInterface : Handle + { + public RTCAdminInterface() + { + } + + public RTCAdminInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the struct. + /// + public const int CopyusertokenbyindexApiLatest = 2; + + /// + /// The most recent version of the struct. + /// + public const int CopyusertokenbyuseridApiLatest = 2; + + /// + /// The most recent version of the API + /// + public const int KickApiLatest = 1; + + /// + /// The most recent version of the API + /// + public const int QueryjoinroomtokenApiLatest = 2; + + /// + /// The most recent version of the struct. + /// + public const int SetparticipanthardmuteApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int UsertokenApiLatest = 1; + + /// + /// Fetches a user token when called inside of the OnQueryJoinRoomTokenComplete callback. + /// The order of the tokens doesn't necessarily match the order of the EOS_ProductUserId array specified in the EOS_RTCAdmin_QueryJoinRoomTokenOptions when + /// initiating the query. + /// + /// + /// Structure containing the index being accessed + /// The user token for the given index, if it exists and is valid. Use when finished + /// + /// if the information is available and passed out in OutUserToken + /// if you pass a null pointer for the out parameter + /// if the user token is not found + /// + public Result CopyUserTokenByIndex(ref CopyUserTokenByIndexOptions options, out UserToken? outUserToken) + { + CopyUserTokenByIndexOptionsInternal optionsInternal = new CopyUserTokenByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outUserTokenAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_RTCAdmin_CopyUserTokenByIndex(InnerHandle, ref optionsInternal, ref outUserTokenAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outUserTokenAddress, out outUserToken); + if (outUserToken != null) + { + Bindings.EOS_RTCAdmin_UserToken_Release(outUserTokenAddress); + } + + return funcResult; + } + + /// + /// Fetches a user token for a given user ID when called inside of the OnQueryJoinRoomTokenComplete callback. + /// + /// + /// Structure containing the user ID being accessed + /// The user token for the given user ID, if it exists and is valid. Use when finished + /// + /// if the information is available and passed out in OutUserToken + /// if you pass a null pointer for the out parameter + /// if the user token is not found + /// + public Result CopyUserTokenByUserId(ref CopyUserTokenByUserIdOptions options, out UserToken? outUserToken) + { + CopyUserTokenByUserIdOptionsInternal optionsInternal = new CopyUserTokenByUserIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outUserTokenAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_RTCAdmin_CopyUserTokenByUserId(InnerHandle, ref optionsInternal, ref outUserTokenAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outUserTokenAddress, out outUserToken); + if (outUserToken != null) + { + Bindings.EOS_RTCAdmin_UserToken_Release(outUserTokenAddress); + } + + return funcResult; + } + + /// + /// Starts an asynchronous task that removes a participant from a room and revokes their token. + /// + /// structure containing the room and user to revoke the token from. + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void Kick(ref KickOptions options, object clientData, OnKickCompleteCallback completionDelegate) + { + KickOptionsInternal optionsInternal = new KickOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnKickCompleteCallbackInternal(OnKickCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_RTCAdmin_Kick(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Query for a list of user tokens for joining a room. + /// + /// Each query generates a query id ( see ) which should be used + /// to retrieve the tokens from inside the callback. + /// + /// Structure containing information about the application whose user tokens we're retrieving. + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// This function is called when the query join room token operation completes. + /// + /// if the operation completes successfully + /// if any of the options are incorrect + /// + public void QueryJoinRoomToken(ref QueryJoinRoomTokenOptions options, object clientData, OnQueryJoinRoomTokenCompleteCallback completionDelegate) + { + QueryJoinRoomTokenOptionsInternal optionsInternal = new QueryJoinRoomTokenOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryJoinRoomTokenCompleteCallbackInternal(OnQueryJoinRoomTokenCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_RTCAdmin_QueryJoinRoomToken(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Starts an asynchronous task remotely mutes/unmutes a room participant. + /// + /// This remotely mutes the specified participant, so no audio is sent from that participant to any other participant in the room. + /// + /// structure containing the room and user to mute. + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void SetParticipantHardMute(ref SetParticipantHardMuteOptions options, object clientData, OnSetParticipantHardMuteCompleteCallback completionDelegate) + { + SetParticipantHardMuteOptionsInternal optionsInternal = new SetParticipantHardMuteOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnSetParticipantHardMuteCompleteCallbackInternal(OnSetParticipantHardMuteCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_RTCAdmin_SetParticipantHardMute(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnKickCompleteCallbackInternal))] + internal static void OnKickCompleteCallbackInternalImplementation(ref KickCompleteCallbackInfoInternal data) + { + OnKickCompleteCallback callback; + KickCompleteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryJoinRoomTokenCompleteCallbackInternal))] + internal static void OnQueryJoinRoomTokenCompleteCallbackInternalImplementation(ref QueryJoinRoomTokenCompleteCallbackInfoInternal data) + { + OnQueryJoinRoomTokenCompleteCallback callback; + QueryJoinRoomTokenCompleteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnSetParticipantHardMuteCompleteCallbackInternal))] + internal static void OnSetParticipantHardMuteCompleteCallbackInternalImplementation(ref SetParticipantHardMuteCompleteCallbackInfoInternal data) + { + OnSetParticipantHardMuteCompleteCallback callback; + SetParticipantHardMuteCompleteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/RTCAdminInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/RTCAdminInterface.cs.meta deleted file mode 100644 index 6b4fa155..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/RTCAdminInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e66a604d904d80342bea0880c27fe1c9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteCompleteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteCompleteCallbackInfo.cs index 0184a0bf..99e9dd60 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteCompleteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteCompleteCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAdmin -{ - /// - /// Data containing the result information for a hard mute request. - /// - public class SetParticipantHardMuteCompleteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into the hard mute request - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(SetParticipantHardMuteCompleteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as SetParticipantHardMuteCompleteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetParticipantHardMuteCompleteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAdmin +{ + /// + /// Data containing the result information for a hard mute request. + /// + public struct SetParticipantHardMuteCompleteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into the hard mute request + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref SetParticipantHardMuteCompleteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetParticipantHardMuteCompleteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref SetParticipantHardMuteCompleteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref SetParticipantHardMuteCompleteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out SetParticipantHardMuteCompleteCallbackInfo output) + { + output = new SetParticipantHardMuteCompleteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteCompleteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteCompleteCallbackInfo.cs.meta deleted file mode 100644 index c97e2193..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteCompleteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7266fe8b09afc1446b95ff2acd01d8e1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteOptions.cs index d4485cd5..bea9a1a4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAdmin -{ - /// - /// Input parameters for the function. - /// - public class SetParticipantHardMuteOptions - { - /// - /// Room to kick the participant from - /// - public string RoomName { get; set; } - - /// - /// Product User ID of the participant to hard mute for every participant in the room. - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// Hard mute status (Mute on or off) - /// - public bool Mute { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetParticipantHardMuteOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_RoomName; - private System.IntPtr m_TargetUserId; - private int m_Mute; - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public bool Mute - { - set - { - Helper.TryMarshalSet(ref m_Mute, value); - } - } - - public void Set(SetParticipantHardMuteOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAdminInterface.SetparticipanthardmuteApiLatest; - RoomName = other.RoomName; - TargetUserId = other.TargetUserId; - Mute = other.Mute; - } - } - - public void Set(object other) - { - Set(other as SetParticipantHardMuteOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_RoomName); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAdmin +{ + /// + /// Input parameters for the function. + /// + public struct SetParticipantHardMuteOptions + { + /// + /// Room to kick the participant from + /// + public Utf8String RoomName { get; set; } + + /// + /// Product User ID of the participant to hard mute for every participant in the room. + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Hard mute status (Mute on or off) + /// + public bool Mute { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetParticipantHardMuteOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_RoomName; + private System.IntPtr m_TargetUserId; + private int m_Mute; + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public bool Mute + { + set + { + Helper.Set(value, ref m_Mute); + } + } + + public void Set(ref SetParticipantHardMuteOptions other) + { + m_ApiVersion = RTCAdminInterface.SetparticipanthardmuteApiLatest; + RoomName = other.RoomName; + TargetUserId = other.TargetUserId; + Mute = other.Mute; + } + + public void Set(ref SetParticipantHardMuteOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAdminInterface.SetparticipanthardmuteApiLatest; + RoomName = other.Value.RoomName; + TargetUserId = other.Value.TargetUserId; + Mute = other.Value.Mute; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteOptions.cs.meta deleted file mode 100644 index a3b52eb2..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/SetParticipantHardMuteOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c5c4b7d3c3497744b8c595c114d0b3b3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/UserToken.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/UserToken.cs index 0b1bc215..6262f5a3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/UserToken.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/UserToken.cs @@ -1,94 +1,94 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAdmin -{ - /// - /// Contains information about a collection of user tokens for joining a room. - /// - public class UserToken : ISettable - { - /// - /// The Product User ID for the user who owns this user token. - /// - public ProductUserId ProductUserId { get; set; } - - /// - /// Access token to enable a user to join a room - /// - public string Token { get; set; } - - internal void Set(UserTokenInternal? other) - { - if (other != null) - { - ProductUserId = other.Value.ProductUserId; - Token = other.Value.Token; - } - } - - public void Set(object other) - { - Set(other as UserTokenInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UserTokenInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_ProductUserId; - private System.IntPtr m_Token; - - public ProductUserId ProductUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_ProductUserId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_ProductUserId, value); - } - } - - public string Token - { - get - { - string value; - Helper.TryMarshalGet(m_Token, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Token, value); - } - } - - public void Set(UserToken other) - { - if (other != null) - { - m_ApiVersion = RTCAdminInterface.UsertokenApiLatest; - ProductUserId = other.ProductUserId; - Token = other.Token; - } - } - - public void Set(object other) - { - Set(other as UserToken); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ProductUserId); - Helper.TryMarshalDispose(ref m_Token); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAdmin +{ + /// + /// Contains information about a collection of user tokens for joining a room. + /// + public struct UserToken + { + /// + /// The Product User ID for the user who owns this user token. + /// + public ProductUserId ProductUserId { get; set; } + + /// + /// Access token to enable a user to join a room + /// + public Utf8String Token { get; set; } + + internal void Set(ref UserTokenInternal other) + { + ProductUserId = other.ProductUserId; + Token = other.Token; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UserTokenInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_ProductUserId; + private System.IntPtr m_Token; + + public ProductUserId ProductUserId + { + get + { + ProductUserId value; + Helper.Get(m_ProductUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ProductUserId); + } + } + + public Utf8String Token + { + get + { + Utf8String value; + Helper.Get(m_Token, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Token); + } + } + + public void Set(ref UserToken other) + { + m_ApiVersion = RTCAdminInterface.UsertokenApiLatest; + ProductUserId = other.ProductUserId; + Token = other.Token; + } + + public void Set(ref UserToken? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAdminInterface.UsertokenApiLatest; + ProductUserId = other.Value.ProductUserId; + Token = other.Value.Token; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ProductUserId); + Helper.Dispose(ref m_Token); + } + + public void Get(out UserToken output) + { + output = new UserToken(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/UserToken.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/UserToken.cs.meta deleted file mode 100644 index a46ae9a6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/UserToken.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 16617ec7016bc3847b58f3dc4cd1f684 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio.meta deleted file mode 100644 index 7e2d4c3c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8f2c4951052286b4bb7490ba231b2abc -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeRenderOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeRenderOptions.cs index f724db74..8a8fb366 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeRenderOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeRenderOptions.cs @@ -1,82 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to call . - /// - public class AddNotifyAudioBeforeRenderOptions - { - /// - /// The Product User ID of the user trying to request this operation. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The room this event is registered on. - /// - public string RoomName { get; set; } - - /// - /// Mixed audio or unmixed audio. - /// For unmixed audio notifications it is not supported to modify the samples in the callback. - /// - public bool UnmixedAudio { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyAudioBeforeRenderOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private int m_UnmixedAudio; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public bool UnmixedAudio - { - set - { - Helper.TryMarshalSet(ref m_UnmixedAudio, value); - } - } - - public void Set(AddNotifyAudioBeforeRenderOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.AddnotifyaudiobeforerenderApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - UnmixedAudio = other.UnmixedAudio; - } - } - - public void Set(object other) - { - Set(other as AddNotifyAudioBeforeRenderOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to call . + /// + public struct AddNotifyAudioBeforeRenderOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this event is registered on. + /// + public Utf8String RoomName { get; set; } + + /// + /// Mixed audio or unmixed audio. + /// + public bool UnmixedAudio { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyAudioBeforeRenderOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private int m_UnmixedAudio; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public bool UnmixedAudio + { + set + { + Helper.Set(value, ref m_UnmixedAudio); + } + } + + public void Set(ref AddNotifyAudioBeforeRenderOptions other) + { + m_ApiVersion = RTCAudioInterface.AddnotifyaudiobeforerenderApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + UnmixedAudio = other.UnmixedAudio; + } + + public void Set(ref AddNotifyAudioBeforeRenderOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.AddnotifyaudiobeforerenderApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + UnmixedAudio = other.Value.UnmixedAudio; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeRenderOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeRenderOptions.cs.meta deleted file mode 100644 index 50c4f2f7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeRenderOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 82e75caf67a8c784cba1308e05e10585 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeSendOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeSendOptions.cs index 136931cc..3f7abda9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeSendOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeSendOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to call . - /// - public class AddNotifyAudioBeforeSendOptions - { - /// - /// The Product User ID of the user trying to request this operation. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The room this event is registered on. - /// - public string RoomName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyAudioBeforeSendOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public void Set(AddNotifyAudioBeforeSendOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.AddnotifyaudiobeforesendApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - } - } - - public void Set(object other) - { - Set(other as AddNotifyAudioBeforeSendOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to call . + /// + public struct AddNotifyAudioBeforeSendOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this event is registered on. + /// + public Utf8String RoomName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyAudioBeforeSendOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public void Set(ref AddNotifyAudioBeforeSendOptions other) + { + m_ApiVersion = RTCAudioInterface.AddnotifyaudiobeforesendApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + } + + public void Set(ref AddNotifyAudioBeforeSendOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.AddnotifyaudiobeforesendApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeSendOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeSendOptions.cs.meta deleted file mode 100644 index 32437e73..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioBeforeSendOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6bd601411bdf6814cb5a072bc9849a1c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioDevicesChangedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioDevicesChangedOptions.cs index 1a95a1a3..9dffef0f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioDevicesChangedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioDevicesChangedOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to call . - /// - public class AddNotifyAudioDevicesChangedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyAudioDevicesChangedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyAudioDevicesChangedOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.AddnotifyaudiodeviceschangedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyAudioDevicesChangedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to call . + /// + public struct AddNotifyAudioDevicesChangedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyAudioDevicesChangedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyAudioDevicesChangedOptions other) + { + m_ApiVersion = RTCAudioInterface.AddnotifyaudiodeviceschangedApiLatest; + } + + public void Set(ref AddNotifyAudioDevicesChangedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.AddnotifyaudiodeviceschangedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioDevicesChangedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioDevicesChangedOptions.cs.meta deleted file mode 100644 index 3ec543eb..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioDevicesChangedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 367649d5d0d3d034c80bfd7d2fb63d86 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioInputStateOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioInputStateOptions.cs index dabb9bbb..81f0da43 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioInputStateOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioInputStateOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to call . - /// - public class AddNotifyAudioInputStateOptions - { - /// - /// The Product User ID of the user trying to request this operation. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The room this event is registered on. - /// - public string RoomName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyAudioInputStateOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public void Set(AddNotifyAudioInputStateOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.AddnotifyaudioinputstateApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - } - } - - public void Set(object other) - { - Set(other as AddNotifyAudioInputStateOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to call . + /// + public struct AddNotifyAudioInputStateOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this event is registered on. + /// + public Utf8String RoomName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyAudioInputStateOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public void Set(ref AddNotifyAudioInputStateOptions other) + { + m_ApiVersion = RTCAudioInterface.AddnotifyaudioinputstateApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + } + + public void Set(ref AddNotifyAudioInputStateOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.AddnotifyaudioinputstateApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioInputStateOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioInputStateOptions.cs.meta deleted file mode 100644 index 7c1f43d1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioInputStateOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 71566f6460f48414f92d981f5dbd12ab -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioOutputStateOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioOutputStateOptions.cs index 04639140..6256f16e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioOutputStateOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioOutputStateOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to call . - /// - public class AddNotifyAudioOutputStateOptions - { - /// - /// The Product User ID of the user trying to request this operation. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The room this event is registered on. - /// - public string RoomName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyAudioOutputStateOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public void Set(AddNotifyAudioOutputStateOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.AddnotifyaudiooutputstateApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - } - } - - public void Set(object other) - { - Set(other as AddNotifyAudioOutputStateOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to call . + /// + public struct AddNotifyAudioOutputStateOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this event is registered on. + /// + public Utf8String RoomName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyAudioOutputStateOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public void Set(ref AddNotifyAudioOutputStateOptions other) + { + m_ApiVersion = RTCAudioInterface.AddnotifyaudiooutputstateApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + } + + public void Set(ref AddNotifyAudioOutputStateOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.AddnotifyaudiooutputstateApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioOutputStateOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioOutputStateOptions.cs.meta deleted file mode 100644 index 0bc4482c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyAudioOutputStateOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 90b840a431631b541ac249c6440d428c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyParticipantUpdatedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyParticipantUpdatedOptions.cs index 23e9169c..b09d0d5c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyParticipantUpdatedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyParticipantUpdatedOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to call . - /// - public class AddNotifyParticipantUpdatedOptions - { - /// - /// The Product User ID of the user trying to request this operation. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The room this event is registered on. - /// - public string RoomName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyParticipantUpdatedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public void Set(AddNotifyParticipantUpdatedOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.AddnotifyparticipantupdatedApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - } - } - - public void Set(object other) - { - Set(other as AddNotifyParticipantUpdatedOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to call . + /// + public struct AddNotifyParticipantUpdatedOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this event is registered on. + /// + public Utf8String RoomName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyParticipantUpdatedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public void Set(ref AddNotifyParticipantUpdatedOptions other) + { + m_ApiVersion = RTCAudioInterface.AddnotifyparticipantupdatedApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + } + + public void Set(ref AddNotifyParticipantUpdatedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.AddnotifyparticipantupdatedApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyParticipantUpdatedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyParticipantUpdatedOptions.cs.meta deleted file mode 100644 index 14dbed7c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AddNotifyParticipantUpdatedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cee9febfca2788440bd4d3e4989abf0e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeRenderCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeRenderCallbackInfo.cs index 19bbee35..e78d6d76 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeRenderCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeRenderCallbackInfo.cs @@ -1,129 +1,180 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is passed in with a call to registered event. - /// - public class AudioBeforeRenderCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The room associated with this event. - /// - public string RoomName { get; private set; } - - /// - /// Audio buffer. - /// If bUnmixedAudio was set to true when setting the notifications (aka: you get buffers per participant), then you should - /// not modify this buffer. - /// - public AudioBuffer Buffer { get; private set; } - - /// - /// The Product User ID of the participant if bUnmixedAudio was set to true when setting the notifications, or empty if - /// bUnmixedAudio was set to false and thus the buffer is the mixed audio of all participants - /// - public ProductUserId ParticipantId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(AudioBeforeRenderCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RoomName = other.Value.RoomName; - Buffer = other.Value.Buffer; - ParticipantId = other.Value.ParticipantId; - } - } - - public void Set(object other) - { - Set(other as AudioBeforeRenderCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AudioBeforeRenderCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private System.IntPtr m_Buffer; - private System.IntPtr m_ParticipantId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string RoomName - { - get - { - string value; - Helper.TryMarshalGet(m_RoomName, out value); - return value; - } - } - - public AudioBuffer Buffer - { - get - { - AudioBuffer value; - Helper.TryMarshalGet(m_Buffer, out value); - return value; - } - } - - public ProductUserId ParticipantId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_ParticipantId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to registered event. + /// + public struct AudioBeforeRenderCallbackInfo : ICallbackInfo + { + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room associated with this event. + /// + public Utf8String RoomName { get; set; } + + /// + /// Audio buffer. + /// + public AudioBuffer? Buffer { get; set; } + + /// + /// The Product User ID of the participant if bUnmixedAudio was set to true when setting the notifications, or empty if + /// bUnmixedAudio was set to false and thus the buffer is the mixed audio of all participants + /// + public ProductUserId ParticipantId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref AudioBeforeRenderCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Buffer = other.Buffer; + ParticipantId = other.ParticipantId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AudioBeforeRenderCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_Buffer; + private System.IntPtr m_ParticipantId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public AudioBuffer? Buffer + { + get + { + AudioBuffer? value; + Helper.Get(m_Buffer, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_Buffer); + } + } + + public ProductUserId ParticipantId + { + get + { + ProductUserId value; + Helper.Get(m_ParticipantId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ParticipantId); + } + } + + public void Set(ref AudioBeforeRenderCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Buffer = other.Buffer; + ParticipantId = other.ParticipantId; + } + + public void Set(ref AudioBeforeRenderCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + Buffer = other.Value.Buffer; + ParticipantId = other.Value.ParticipantId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_Buffer); + Helper.Dispose(ref m_ParticipantId); + } + + public void Get(out AudioBeforeRenderCallbackInfo output) + { + output = new AudioBeforeRenderCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeRenderCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeRenderCallbackInfo.cs.meta deleted file mode 100644 index 7c660e26..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeRenderCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 37ec2a30bcf91ef4cbc5849ccf39f8cd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeSendCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeSendCallbackInfo.cs index ad9ac329..ffd6ab64 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeSendCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeSendCallbackInfo.cs @@ -1,109 +1,154 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is passed in with a call to registered event. - /// - public class AudioBeforeSendCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The room associated with this event. - /// - public string RoomName { get; private set; } - - /// - /// Audio buffer. - /// - public AudioBuffer Buffer { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(AudioBeforeSendCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RoomName = other.Value.RoomName; - Buffer = other.Value.Buffer; - } - } - - public void Set(object other) - { - Set(other as AudioBeforeSendCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AudioBeforeSendCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private System.IntPtr m_Buffer; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string RoomName - { - get - { - string value; - Helper.TryMarshalGet(m_RoomName, out value); - return value; - } - } - - public AudioBuffer Buffer - { - get - { - AudioBuffer value; - Helper.TryMarshalGet(m_Buffer, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to registered event. + /// + public struct AudioBeforeSendCallbackInfo : ICallbackInfo + { + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room associated with this event. + /// + public Utf8String RoomName { get; set; } + + /// + /// Audio buffer. + /// + public AudioBuffer? Buffer { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref AudioBeforeSendCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Buffer = other.Buffer; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AudioBeforeSendCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_Buffer; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public AudioBuffer? Buffer + { + get + { + AudioBuffer? value; + Helper.Get(m_Buffer, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_Buffer); + } + } + + public void Set(ref AudioBeforeSendCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Buffer = other.Buffer; + } + + public void Set(ref AudioBeforeSendCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + Buffer = other.Value.Buffer; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_Buffer); + } + + public void Get(out AudioBeforeSendCallbackInfo output) + { + output = new AudioBeforeSendCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeSendCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeSendCallbackInfo.cs.meta deleted file mode 100644 index 5ba455d0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBeforeSendCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5746d5df383788e42b935bf941abaaa6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBuffer.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBuffer.cs index 3911183c..5f36b29d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBuffer.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBuffer.cs @@ -1,113 +1,114 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to represent an audio buffer received in callbacks from and . - /// - public class AudioBuffer : ISettable - { - /// - /// Pointer to the data with the interleaved audio frames in signed 16 bits format. - /// - public short[] Frames { get; set; } - - /// - /// Sample rate for the samples in the Frames buffer. - /// - public uint SampleRate { get; set; } - - /// - /// Number of channels for the samples in the Frames buffer. - /// - public uint Channels { get; set; } - - internal void Set(AudioBufferInternal? other) - { - if (other != null) - { - Frames = other.Value.Frames; - SampleRate = other.Value.SampleRate; - Channels = other.Value.Channels; - } - } - - public void Set(object other) - { - Set(other as AudioBufferInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AudioBufferInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Frames; - private uint m_FramesCount; - private uint m_SampleRate; - private uint m_Channels; - - public short[] Frames - { - get - { - short[] value; - Helper.TryMarshalGet(m_Frames, out value, m_FramesCount); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Frames, value, out m_FramesCount); - } - } - - public uint SampleRate - { - get - { - return m_SampleRate; - } - - set - { - m_SampleRate = value; - } - } - - public uint Channels - { - get - { - return m_Channels; - } - - set - { - m_Channels = value; - } - } - - public void Set(AudioBuffer other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.AudiobufferApiLatest; - Frames = other.Frames; - SampleRate = other.SampleRate; - Channels = other.Channels; - } - } - - public void Set(object other) - { - Set(other as AudioBuffer); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Frames); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to represent an audio buffer received in callbacks from and . + /// + public struct AudioBuffer + { + /// + /// Pointer to the data with the interleaved audio frames in signed 16 bits format. + /// + public short[] Frames { get; set; } + + /// + /// Sample rate for the samples in the Frames buffer. + /// + public uint SampleRate { get; set; } + + /// + /// Number of channels for the samples in the Frames buffer. + /// + public uint Channels { get; set; } + + internal void Set(ref AudioBufferInternal other) + { + Frames = other.Frames; + SampleRate = other.SampleRate; + Channels = other.Channels; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AudioBufferInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Frames; + private uint m_FramesCount; + private uint m_SampleRate; + private uint m_Channels; + + public short[] Frames + { + get + { + short[] value; + Helper.Get(m_Frames, out value, m_FramesCount); + return value; + } + + set + { + Helper.Set(value, ref m_Frames, out m_FramesCount); + } + } + + public uint SampleRate + { + get + { + return m_SampleRate; + } + + set + { + m_SampleRate = value; + } + } + + public uint Channels + { + get + { + return m_Channels; + } + + set + { + m_Channels = value; + } + } + + public void Set(ref AudioBuffer other) + { + m_ApiVersion = RTCAudioInterface.AudiobufferApiLatest; + Frames = other.Frames; + SampleRate = other.SampleRate; + Channels = other.Channels; + } + + public void Set(ref AudioBuffer? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.AudiobufferApiLatest; + Frames = other.Value.Frames; + SampleRate = other.Value.SampleRate; + Channels = other.Value.Channels; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Frames); + } + + public void Get(out AudioBuffer output) + { + output = new AudioBuffer(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBuffer.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBuffer.cs.meta deleted file mode 100644 index 617a96d4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioBuffer.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cf59ae7a63a1d6c43a6150b5e8258877 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioDevicesChangedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioDevicesChangedCallbackInfo.cs index 350ba5d3..f4e3546e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioDevicesChangedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioDevicesChangedCallbackInfo.cs @@ -1,58 +1,79 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is passed in with a call to registered event. - /// - public class AudioDevicesChangedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into . - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(AudioDevicesChangedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as AudioDevicesChangedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AudioDevicesChangedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to registered event. + /// + public struct AudioDevicesChangedCallbackInfo : ICallbackInfo + { + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref AudioDevicesChangedCallbackInfoInternal other) + { + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AudioDevicesChangedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref AudioDevicesChangedCallbackInfo other) + { + ClientData = other.ClientData; + } + + public void Set(ref AudioDevicesChangedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out AudioDevicesChangedCallbackInfo output) + { + output = new AudioDevicesChangedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioDevicesChangedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioDevicesChangedCallbackInfo.cs.meta deleted file mode 100644 index d78479a3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioDevicesChangedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9953a3168a35c4747960c10acff89ce0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputDeviceInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputDeviceInfo.cs index 87c38b44..882a7255 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputDeviceInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputDeviceInfo.cs @@ -1,117 +1,120 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to get information about a specific input device. - /// - public class AudioInputDeviceInfo : ISettable - { - /// - /// True if this is the default audio input device in the system. - /// - public bool DefaultDevice { get; set; } - - /// - /// The persistent unique id of the device. - /// - public string DeviceId { get; set; } - - /// - /// The name of the device - /// - public string DeviceName { get; set; } - - internal void Set(AudioInputDeviceInfoInternal? other) - { - if (other != null) - { - DefaultDevice = other.Value.DefaultDevice; - DeviceId = other.Value.DeviceId; - DeviceName = other.Value.DeviceName; - } - } - - public void Set(object other) - { - Set(other as AudioInputDeviceInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AudioInputDeviceInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private int m_DefaultDevice; - private System.IntPtr m_DeviceId; - private System.IntPtr m_DeviceName; - - public bool DefaultDevice - { - get - { - bool value; - Helper.TryMarshalGet(m_DefaultDevice, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DefaultDevice, value); - } - } - - public string DeviceId - { - get - { - string value; - Helper.TryMarshalGet(m_DeviceId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DeviceId, value); - } - } - - public string DeviceName - { - get - { - string value; - Helper.TryMarshalGet(m_DeviceName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DeviceName, value); - } - } - - public void Set(AudioInputDeviceInfo other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.AudioinputdeviceinfoApiLatest; - DefaultDevice = other.DefaultDevice; - DeviceId = other.DeviceId; - DeviceName = other.DeviceName; - } - } - - public void Set(object other) - { - Set(other as AudioInputDeviceInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_DeviceId); - Helper.TryMarshalDispose(ref m_DeviceName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to get information about a specific input device. + /// + public struct AudioInputDeviceInfo + { + /// + /// True if this is the default audio input device in the system. + /// + public bool DefaultDevice { get; set; } + + /// + /// The persistent unique id of the device. + /// The value can be cached - invalidated only when the audio device pool is changed. + /// + /// + public Utf8String DeviceId { get; set; } + + /// + /// Human-readable name of the device + /// + public Utf8String DeviceName { get; set; } + + internal void Set(ref AudioInputDeviceInfoInternal other) + { + DefaultDevice = other.DefaultDevice; + DeviceId = other.DeviceId; + DeviceName = other.DeviceName; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AudioInputDeviceInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private int m_DefaultDevice; + private System.IntPtr m_DeviceId; + private System.IntPtr m_DeviceName; + + public bool DefaultDevice + { + get + { + bool value; + Helper.Get(m_DefaultDevice, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DefaultDevice); + } + } + + public Utf8String DeviceId + { + get + { + Utf8String value; + Helper.Get(m_DeviceId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DeviceId); + } + } + + public Utf8String DeviceName + { + get + { + Utf8String value; + Helper.Get(m_DeviceName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DeviceName); + } + } + + public void Set(ref AudioInputDeviceInfo other) + { + m_ApiVersion = RTCAudioInterface.AudioinputdeviceinfoApiLatest; + DefaultDevice = other.DefaultDevice; + DeviceId = other.DeviceId; + DeviceName = other.DeviceName; + } + + public void Set(ref AudioInputDeviceInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.AudioinputdeviceinfoApiLatest; + DefaultDevice = other.Value.DefaultDevice; + DeviceId = other.Value.DeviceId; + DeviceName = other.Value.DeviceName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_DeviceId); + Helper.Dispose(ref m_DeviceName); + } + + public void Get(out AudioInputDeviceInfo output) + { + output = new AudioInputDeviceInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputDeviceInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputDeviceInfo.cs.meta deleted file mode 100644 index 5913e1f0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputDeviceInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8081b48c0fb837344848a3fa8e2f53a8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputStateCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputStateCallbackInfo.cs index 570c1f47..4df38c6d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputStateCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputStateCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is passed in with a call to registered event. - /// - public class AudioInputStateCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The room associated with this event. - /// - public string RoomName { get; private set; } - - /// - /// The status of the audio input. - /// - public RTCAudioInputStatus Status { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(AudioInputStateCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RoomName = other.Value.RoomName; - Status = other.Value.Status; - } - } - - public void Set(object other) - { - Set(other as AudioInputStateCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AudioInputStateCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private RTCAudioInputStatus m_Status; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string RoomName - { - get - { - string value; - Helper.TryMarshalGet(m_RoomName, out value); - return value; - } - } - - public RTCAudioInputStatus Status - { - get - { - return m_Status; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to registered event. + /// + public struct AudioInputStateCallbackInfo : ICallbackInfo + { + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room associated with this event. + /// + public Utf8String RoomName { get; set; } + + /// + /// The status of the audio input. + /// + public RTCAudioInputStatus Status { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref AudioInputStateCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Status = other.Status; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AudioInputStateCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private RTCAudioInputStatus m_Status; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public RTCAudioInputStatus Status + { + get + { + return m_Status; + } + + set + { + m_Status = value; + } + } + + public void Set(ref AudioInputStateCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Status = other.Status; + } + + public void Set(ref AudioInputStateCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + Status = other.Value.Status; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + + public void Get(out AudioInputStateCallbackInfo output) + { + output = new AudioInputStateCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputStateCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputStateCallbackInfo.cs.meta deleted file mode 100644 index 7e168125..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioInputStateCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2cef6f76838d5734f9ff26dbe486c209 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputDeviceInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputDeviceInfo.cs index 0719de1f..637b12b5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputDeviceInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputDeviceInfo.cs @@ -1,117 +1,120 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to get information about a specific input device. - /// - public class AudioOutputDeviceInfo : ISettable - { - /// - /// True if this is the default audio input device in the system. - /// - public bool DefaultDevice { get; set; } - - /// - /// The persistent unique id of the device. - /// - public string DeviceId { get; set; } - - /// - /// The name of the device - /// - public string DeviceName { get; set; } - - internal void Set(AudioOutputDeviceInfoInternal? other) - { - if (other != null) - { - DefaultDevice = other.Value.DefaultDevice; - DeviceId = other.Value.DeviceId; - DeviceName = other.Value.DeviceName; - } - } - - public void Set(object other) - { - Set(other as AudioOutputDeviceInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AudioOutputDeviceInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private int m_DefaultDevice; - private System.IntPtr m_DeviceId; - private System.IntPtr m_DeviceName; - - public bool DefaultDevice - { - get - { - bool value; - Helper.TryMarshalGet(m_DefaultDevice, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DefaultDevice, value); - } - } - - public string DeviceId - { - get - { - string value; - Helper.TryMarshalGet(m_DeviceId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DeviceId, value); - } - } - - public string DeviceName - { - get - { - string value; - Helper.TryMarshalGet(m_DeviceName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DeviceName, value); - } - } - - public void Set(AudioOutputDeviceInfo other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.AudiooutputdeviceinfoApiLatest; - DefaultDevice = other.DefaultDevice; - DeviceId = other.DeviceId; - DeviceName = other.DeviceName; - } - } - - public void Set(object other) - { - Set(other as AudioOutputDeviceInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_DeviceId); - Helper.TryMarshalDispose(ref m_DeviceName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to get information about a specific output device. + /// + public struct AudioOutputDeviceInfo + { + /// + /// True if this is the default audio output device in the system. + /// + public bool DefaultDevice { get; set; } + + /// + /// The persistent unique id of the device. + /// The value can be cached - invalidated only when the audio device pool is changed. + /// + /// + public Utf8String DeviceId { get; set; } + + /// + /// The human readable name of the device + /// + public Utf8String DeviceName { get; set; } + + internal void Set(ref AudioOutputDeviceInfoInternal other) + { + DefaultDevice = other.DefaultDevice; + DeviceId = other.DeviceId; + DeviceName = other.DeviceName; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AudioOutputDeviceInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private int m_DefaultDevice; + private System.IntPtr m_DeviceId; + private System.IntPtr m_DeviceName; + + public bool DefaultDevice + { + get + { + bool value; + Helper.Get(m_DefaultDevice, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DefaultDevice); + } + } + + public Utf8String DeviceId + { + get + { + Utf8String value; + Helper.Get(m_DeviceId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DeviceId); + } + } + + public Utf8String DeviceName + { + get + { + Utf8String value; + Helper.Get(m_DeviceName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DeviceName); + } + } + + public void Set(ref AudioOutputDeviceInfo other) + { + m_ApiVersion = RTCAudioInterface.AudiooutputdeviceinfoApiLatest; + DefaultDevice = other.DefaultDevice; + DeviceId = other.DeviceId; + DeviceName = other.DeviceName; + } + + public void Set(ref AudioOutputDeviceInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.AudiooutputdeviceinfoApiLatest; + DefaultDevice = other.Value.DefaultDevice; + DeviceId = other.Value.DeviceId; + DeviceName = other.Value.DeviceName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_DeviceId); + Helper.Dispose(ref m_DeviceName); + } + + public void Get(out AudioOutputDeviceInfo output) + { + output = new AudioOutputDeviceInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputDeviceInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputDeviceInfo.cs.meta deleted file mode 100644 index da28d15e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputDeviceInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 24ebbd4ae2bb61f468746686a7c9783b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputStateCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputStateCallbackInfo.cs index 90e30fab..6ef7e6b5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputStateCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputStateCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is passed in with a call to registered event. - /// - public class AudioOutputStateCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The room associated with this event. - /// - public string RoomName { get; private set; } - - /// - /// The status of the audio output. - /// - public RTCAudioOutputStatus Status { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(AudioOutputStateCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RoomName = other.Value.RoomName; - Status = other.Value.Status; - } - } - - public void Set(object other) - { - Set(other as AudioOutputStateCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AudioOutputStateCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private RTCAudioOutputStatus m_Status; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string RoomName - { - get - { - string value; - Helper.TryMarshalGet(m_RoomName, out value); - return value; - } - } - - public RTCAudioOutputStatus Status - { - get - { - return m_Status; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to registered event. + /// + public struct AudioOutputStateCallbackInfo : ICallbackInfo + { + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room associated with this event. + /// + public Utf8String RoomName { get; set; } + + /// + /// The status of the audio output. + /// + public RTCAudioOutputStatus Status { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref AudioOutputStateCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Status = other.Status; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AudioOutputStateCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private RTCAudioOutputStatus m_Status; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public RTCAudioOutputStatus Status + { + get + { + return m_Status; + } + + set + { + m_Status = value; + } + } + + public void Set(ref AudioOutputStateCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Status = other.Status; + } + + public void Set(ref AudioOutputStateCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + Status = other.Value.Status; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + + public void Get(out AudioOutputStateCallbackInfo output) + { + output = new AudioOutputStateCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputStateCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputStateCallbackInfo.cs.meta deleted file mode 100644 index 2c9b0039..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/AudioOutputStateCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a9950522a21f98d4fbf52961ce5f9355 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDeviceByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDeviceByIndexOptions.cs index a5fb33c1..dc39218f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDeviceByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDeviceByIndexOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// Input parameters for the function. - /// - public class GetAudioInputDeviceByIndexOptions - { - /// - /// Index of the device info to retrieve. - /// - public uint DeviceInfoIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetAudioInputDeviceByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_DeviceInfoIndex; - - public uint DeviceInfoIndex - { - set - { - m_DeviceInfoIndex = value; - } - } - - public void Set(GetAudioInputDeviceByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.GetaudioinputdevicebyindexApiLatest; - DeviceInfoIndex = other.DeviceInfoIndex; - } - } - - public void Set(object other) - { - Set(other as GetAudioInputDeviceByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// Input parameters for the function. + /// + public struct GetAudioInputDeviceByIndexOptions + { + /// + /// Index of the device info to retrieve. + /// + public uint DeviceInfoIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetAudioInputDeviceByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_DeviceInfoIndex; + + public uint DeviceInfoIndex + { + set + { + m_DeviceInfoIndex = value; + } + } + + public void Set(ref GetAudioInputDeviceByIndexOptions other) + { + m_ApiVersion = RTCAudioInterface.GetaudioinputdevicebyindexApiLatest; + DeviceInfoIndex = other.DeviceInfoIndex; + } + + public void Set(ref GetAudioInputDeviceByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.GetaudioinputdevicebyindexApiLatest; + DeviceInfoIndex = other.Value.DeviceInfoIndex; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDeviceByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDeviceByIndexOptions.cs.meta deleted file mode 100644 index a678780f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDeviceByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 669d7d3cf70358d47ad534d1637a01a3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDevicesCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDevicesCountOptions.cs index c381c18e..75c70782 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDevicesCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDevicesCountOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// Input parameters for the function. - /// - public class GetAudioInputDevicesCountOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetAudioInputDevicesCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(GetAudioInputDevicesCountOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.GetaudioinputdevicescountApiLatest; - } - } - - public void Set(object other) - { - Set(other as GetAudioInputDevicesCountOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// Input parameters for the function. + /// + public struct GetAudioInputDevicesCountOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetAudioInputDevicesCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref GetAudioInputDevicesCountOptions other) + { + m_ApiVersion = RTCAudioInterface.GetaudioinputdevicescountApiLatest; + } + + public void Set(ref GetAudioInputDevicesCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.GetaudioinputdevicescountApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDevicesCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDevicesCountOptions.cs.meta deleted file mode 100644 index 4c28d06e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioInputDevicesCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8faf8aacf2de2e44197c8e3aa04657aa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDeviceByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDeviceByIndexOptions.cs index 1f2eac97..760027d4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDeviceByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDeviceByIndexOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// Input parameters for the function. - /// - public class GetAudioOutputDeviceByIndexOptions - { - /// - /// Index of the device info to retrieve. - /// - public uint DeviceInfoIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetAudioOutputDeviceByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_DeviceInfoIndex; - - public uint DeviceInfoIndex - { - set - { - m_DeviceInfoIndex = value; - } - } - - public void Set(GetAudioOutputDeviceByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.GetaudiooutputdevicebyindexApiLatest; - DeviceInfoIndex = other.DeviceInfoIndex; - } - } - - public void Set(object other) - { - Set(other as GetAudioOutputDeviceByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// Input parameters for the function. + /// + public struct GetAudioOutputDeviceByIndexOptions + { + /// + /// Index of the device info to retrieve. + /// + public uint DeviceInfoIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetAudioOutputDeviceByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_DeviceInfoIndex; + + public uint DeviceInfoIndex + { + set + { + m_DeviceInfoIndex = value; + } + } + + public void Set(ref GetAudioOutputDeviceByIndexOptions other) + { + m_ApiVersion = RTCAudioInterface.GetaudiooutputdevicebyindexApiLatest; + DeviceInfoIndex = other.DeviceInfoIndex; + } + + public void Set(ref GetAudioOutputDeviceByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.GetaudiooutputdevicebyindexApiLatest; + DeviceInfoIndex = other.Value.DeviceInfoIndex; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDeviceByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDeviceByIndexOptions.cs.meta deleted file mode 100644 index f0d3e924..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDeviceByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d4c7bcc928bb3b748bf018d46928aeb1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDevicesCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDevicesCountOptions.cs index 96577fc6..9cb60a05 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDevicesCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDevicesCountOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// Output parameters for the function. - /// - public class GetAudioOutputDevicesCountOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetAudioOutputDevicesCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(GetAudioOutputDevicesCountOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.GetaudiooutputdevicescountApiLatest; - } - } - - public void Set(object other) - { - Set(other as GetAudioOutputDevicesCountOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// Input parameters for the function. + /// + public struct GetAudioOutputDevicesCountOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetAudioOutputDevicesCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref GetAudioOutputDevicesCountOptions other) + { + m_ApiVersion = RTCAudioInterface.GetaudiooutputdevicescountApiLatest; + } + + public void Set(ref GetAudioOutputDevicesCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.GetaudiooutputdevicescountApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDevicesCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDevicesCountOptions.cs.meta deleted file mode 100644 index 7c45c678..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/GetAudioOutputDevicesCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3f43c9181f84f3a44a0288219bc48637 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeRenderCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeRenderCallback.cs index 1a504602..802e8ba3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeRenderCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeRenderCallback.cs @@ -1,10 +1,10 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - public delegate void OnAudioBeforeRenderCallback(AudioBeforeRenderCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnAudioBeforeRenderCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + public delegate void OnAudioBeforeRenderCallback(ref AudioBeforeRenderCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnAudioBeforeRenderCallbackInternal(ref AudioBeforeRenderCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeRenderCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeRenderCallback.cs.meta deleted file mode 100644 index 8d235acd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeRenderCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d522e0cf157deae42bd7f83e6462542c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeSendCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeSendCallback.cs index 646bd621..df9a6241 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeSendCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeSendCallback.cs @@ -1,10 +1,10 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - public delegate void OnAudioBeforeSendCallback(AudioBeforeSendCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnAudioBeforeSendCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + public delegate void OnAudioBeforeSendCallback(ref AudioBeforeSendCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnAudioBeforeSendCallbackInternal(ref AudioBeforeSendCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeSendCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeSendCallback.cs.meta deleted file mode 100644 index 50c66e73..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioBeforeSendCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a15e48dc51b823e4da64020f1d98b2fb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioDevicesChangedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioDevicesChangedCallback.cs index 8957261a..ba9dfe31 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioDevicesChangedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioDevicesChangedCallback.cs @@ -1,10 +1,10 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - public delegate void OnAudioDevicesChangedCallback(AudioDevicesChangedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnAudioDevicesChangedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + public delegate void OnAudioDevicesChangedCallback(ref AudioDevicesChangedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnAudioDevicesChangedCallbackInternal(ref AudioDevicesChangedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioDevicesChangedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioDevicesChangedCallback.cs.meta deleted file mode 100644 index c51e3bc0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioDevicesChangedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d702dec68c86ff942a20cebe01f7e26a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioInputStateCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioInputStateCallback.cs index 0185c196..f0821531 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioInputStateCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioInputStateCallback.cs @@ -1,10 +1,10 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - public delegate void OnAudioInputStateCallback(AudioInputStateCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnAudioInputStateCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + public delegate void OnAudioInputStateCallback(ref AudioInputStateCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnAudioInputStateCallbackInternal(ref AudioInputStateCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioInputStateCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioInputStateCallback.cs.meta deleted file mode 100644 index 65eae6f8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioInputStateCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 241507b626fe38c4dbc99f44201327ec -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioOutputStateCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioOutputStateCallback.cs index fa087d53..49c086c0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioOutputStateCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioOutputStateCallback.cs @@ -1,10 +1,10 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - public delegate void OnAudioOutputStateCallback(AudioOutputStateCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnAudioOutputStateCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + public delegate void OnAudioOutputStateCallback(ref AudioOutputStateCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnAudioOutputStateCallbackInternal(ref AudioOutputStateCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioOutputStateCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioOutputStateCallback.cs.meta deleted file mode 100644 index 38db20d9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnAudioOutputStateCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0354a801b8f3a7145b542798a939703a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnParticipantUpdatedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnParticipantUpdatedCallback.cs index 233994c1..b0128eea 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnParticipantUpdatedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnParticipantUpdatedCallback.cs @@ -1,10 +1,10 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - public delegate void OnParticipantUpdatedCallback(ParticipantUpdatedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnParticipantUpdatedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + public delegate void OnParticipantUpdatedCallback(ref ParticipantUpdatedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnParticipantUpdatedCallbackInternal(ref ParticipantUpdatedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnParticipantUpdatedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnParticipantUpdatedCallback.cs.meta deleted file mode 100644 index e17ea69c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnParticipantUpdatedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 14b1fade8115fc54a8aabc90b87b68a2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateParticipantVolumeCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateParticipantVolumeCallback.cs new file mode 100644 index 00000000..63afbe1d --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateParticipantVolumeCallback.cs @@ -0,0 +1,13 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// Callback for completion of update participant volume request. + /// + public delegate void OnUpdateParticipantVolumeCallback(ref UpdateParticipantVolumeCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnUpdateParticipantVolumeCallbackInternal(ref UpdateParticipantVolumeCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateReceivingCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateReceivingCallback.cs index dee658ba..2a9c22f8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateReceivingCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateReceivingCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// Callback for completion of update receiving request - /// - public delegate void OnUpdateReceivingCallback(UpdateReceivingCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnUpdateReceivingCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// Callback for completion of update receiving request + /// + public delegate void OnUpdateReceivingCallback(ref UpdateReceivingCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnUpdateReceivingCallbackInternal(ref UpdateReceivingCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateReceivingCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateReceivingCallback.cs.meta deleted file mode 100644 index 99d77044..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateReceivingCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 161a654a89bed2641aac22711c0dafb0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateReceivingVolumeCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateReceivingVolumeCallback.cs new file mode 100644 index 00000000..c2bfcbbc --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateReceivingVolumeCallback.cs @@ -0,0 +1,13 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// Callback for completion of update receiving volume request. + /// + public delegate void OnUpdateReceivingVolumeCallback(ref UpdateReceivingVolumeCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnUpdateReceivingVolumeCallbackInternal(ref UpdateReceivingVolumeCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateSendingCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateSendingCallback.cs index 154aad7f..fe8bb6cd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateSendingCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateSendingCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// Callback for completion of update sending request. - /// - public delegate void OnUpdateSendingCallback(UpdateSendingCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnUpdateSendingCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// Callback for completion of update sending request. + /// + public delegate void OnUpdateSendingCallback(ref UpdateSendingCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnUpdateSendingCallbackInternal(ref UpdateSendingCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateSendingCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateSendingCallback.cs.meta deleted file mode 100644 index 651f4ab6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateSendingCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0eed99f5299726c43bc6369b6ce36dd7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateSendingVolumeCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateSendingVolumeCallback.cs new file mode 100644 index 00000000..29d17430 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/OnUpdateSendingVolumeCallback.cs @@ -0,0 +1,13 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// Callback for completion of update sending volume request. + /// + public delegate void OnUpdateSendingVolumeCallback(ref UpdateSendingVolumeCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnUpdateSendingVolumeCallbackInternal(ref UpdateSendingVolumeCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/ParticipantUpdatedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/ParticipantUpdatedCallbackInfo.cs index 9d447409..203f95d7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/ParticipantUpdatedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/ParticipantUpdatedCallbackInfo.cs @@ -1,141 +1,200 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is passed in with a call to registered event. - /// - public class ParticipantUpdatedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The room associated with this event. - /// - public string RoomName { get; private set; } - - /// - /// The participant updated. - /// - public ProductUserId ParticipantId { get; private set; } - - /// - /// The participant speaking / non-speaking status. - /// - public bool Speaking { get; private set; } - - /// - /// The participant audio status (enabled, disabled). - /// - public RTCAudioStatus AudioStatus { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(ParticipantUpdatedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RoomName = other.Value.RoomName; - ParticipantId = other.Value.ParticipantId; - Speaking = other.Value.Speaking; - AudioStatus = other.Value.AudioStatus; - } - } - - public void Set(object other) - { - Set(other as ParticipantUpdatedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ParticipantUpdatedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private System.IntPtr m_ParticipantId; - private int m_Speaking; - private RTCAudioStatus m_AudioStatus; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string RoomName - { - get - { - string value; - Helper.TryMarshalGet(m_RoomName, out value); - return value; - } - } - - public ProductUserId ParticipantId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_ParticipantId, out value); - return value; - } - } - - public bool Speaking - { - get - { - bool value; - Helper.TryMarshalGet(m_Speaking, out value); - return value; - } - } - - public RTCAudioStatus AudioStatus - { - get - { - return m_AudioStatus; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to registered event. + /// + public struct ParticipantUpdatedCallbackInfo : ICallbackInfo + { + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room associated with this event. + /// + public Utf8String RoomName { get; set; } + + /// + /// The participant updated. + /// + public ProductUserId ParticipantId { get; set; } + + /// + /// The participant speaking / non-speaking status. + /// + public bool Speaking { get; set; } + + /// + /// The participant audio status (enabled, disabled). + /// + public RTCAudioStatus AudioStatus { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref ParticipantUpdatedCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ParticipantId = other.ParticipantId; + Speaking = other.Speaking; + AudioStatus = other.AudioStatus; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ParticipantUpdatedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_ParticipantId; + private int m_Speaking; + private RTCAudioStatus m_AudioStatus; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public ProductUserId ParticipantId + { + get + { + ProductUserId value; + Helper.Get(m_ParticipantId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ParticipantId); + } + } + + public bool Speaking + { + get + { + bool value; + Helper.Get(m_Speaking, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Speaking); + } + } + + public RTCAudioStatus AudioStatus + { + get + { + return m_AudioStatus; + } + + set + { + m_AudioStatus = value; + } + } + + public void Set(ref ParticipantUpdatedCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ParticipantId = other.ParticipantId; + Speaking = other.Speaking; + AudioStatus = other.AudioStatus; + } + + public void Set(ref ParticipantUpdatedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + ParticipantId = other.Value.ParticipantId; + Speaking = other.Value.Speaking; + AudioStatus = other.Value.AudioStatus; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_ParticipantId); + } + + public void Get(out ParticipantUpdatedCallbackInfo output) + { + output = new ParticipantUpdatedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/ParticipantUpdatedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/ParticipantUpdatedCallbackInfo.cs.meta deleted file mode 100644 index db0cda21..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/ParticipantUpdatedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bec1c92eba851fa4ab1518a9c3e418c9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInputStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInputStatus.cs index ae72e6e0..eccc6712 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInputStatus.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInputStatus.cs @@ -1,34 +1,34 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// An enumeration of the different audio input device statuses. - /// - public enum RTCAudioInputStatus : int - { - /// - /// The device is not in used right now (e.g: you are alone in the room). In such cases, the hardware resources are not allocated. - /// - Idle = 0, - /// - /// The device is being used and capturing audio - /// - Recording = 1, - /// - /// The SDK is in a recording state, but actually capturing silence because the device is exclusively being used by the platform at the moment. - /// This only applies to certain platforms. - /// - RecordingSilent = 2, - /// - /// The SDK is in a recording state, but actually capturing silence because the device is disconnected (e.g: the microphone is not plugged in). - /// This only applies to certain platforms. - /// - RecordingDisconnected = 3, - /// - /// Something failed while trying to use the device - /// - Failed = 4 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// An enumeration of the different audio input device statuses. + /// + public enum RTCAudioInputStatus : int + { + /// + /// The device is not in used right now (e.g: you are alone in the room). In such cases, the hardware resources are not allocated. + /// + Idle = 0, + /// + /// The device is being used and capturing audio + /// + Recording = 1, + /// + /// The SDK is in a recording state, but actually capturing silence because the device is exclusively being used by the platform at the moment. + /// This only applies to certain platforms. + /// + RecordingSilent = 2, + /// + /// The SDK is in a recording state, but actually capturing silence because the device is disconnected (e.g: the microphone is not plugged in). + /// This only applies to certain platforms. + /// + RecordingDisconnected = 3, + /// + /// Something failed while trying to use the device + /// + Failed = 4 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInputStatus.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInputStatus.cs.meta deleted file mode 100644 index 818a223a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInputStatus.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a5fe9f60cfad8fb4abbabc0af6eb9ada -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInterface.cs index c27fdf93..1c08e785 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInterface.cs @@ -1,725 +1,862 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - public sealed partial class RTCAudioInterface : Handle - { - public RTCAudioInterface() - { - } - - public RTCAudioInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int AddnotifyaudiobeforerenderApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifyaudiobeforesendApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifyaudiodeviceschangedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifyaudioinputstateApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifyaudiooutputstateApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifyparticipantupdatedApiLatest = 1; - - /// - /// The most recent version of the API - /// - public const int AudiobufferApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int AudioinputdeviceinfoApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int AudiooutputdeviceinfoApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetaudioinputdevicebyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetaudioinputdevicescountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetaudiooutputdevicebyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetaudiooutputdevicescountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int RegisterplatformaudiouserApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SendaudioApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SetaudioinputsettingsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SetaudiooutputsettingsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int UnregisterplatformaudiouserApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int UpdatereceivingApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int UpdatesendingApiLatest = 1; - - /// - /// Register to receive notifications with remote audio buffers before they are rendered. - /// - /// This gives you access to the audio data received, allowing for example the implementation of custom filters/effects. - /// - /// If the returned NotificationId is valid, you must call when you no longer wish to - /// have your CompletionDelegate called. - /// - /// - /// - /// Arbitrary data that is passed back in the CompletionDelegate - /// The callback to be fired when a presence change occurs - /// - /// Notification ID representing the registered callback if successful, an invalid NotificationId if not - /// - public ulong AddNotifyAudioBeforeRender(AddNotifyAudioBeforeRenderOptions options, object clientData, OnAudioBeforeRenderCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnAudioBeforeRenderCallbackInternal(OnAudioBeforeRenderCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - var funcResult = Bindings.EOS_RTCAudio_AddNotifyAudioBeforeRender(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications when local audio buffers are about to be encoded and sent. - /// - /// This gives you access to the audio data about to be sent, allowing for example the implementation of custom filters/effects. - /// - /// If the returned NotificationId is valid, you must call when you no longer wish to - /// have your CompletionDelegate called. - /// - /// - /// - /// Arbitrary data that is passed back in the CompletionDelegate - /// The callback to be fired when a presence change occurs - /// - /// Notification ID representing the registered callback if successful, an invalid NotificationId if not - /// - public ulong AddNotifyAudioBeforeSend(AddNotifyAudioBeforeSendOptions options, object clientData, OnAudioBeforeSendCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnAudioBeforeSendCallbackInternal(OnAudioBeforeSendCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - var funcResult = Bindings.EOS_RTCAudio_AddNotifyAudioBeforeSend(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications when an audio device is added or removed to the system. - /// - /// If the returned NotificationId is valid, you must call when you no longer wish - /// to have your CompletionDelegate called. - /// - /// - /// - /// Arbitrary data that is passed back in the CompletionDelegate - /// The callback to be fired when an audio device change occurs - /// - /// Notification ID representing the registered callback if successful, an invalid NotificationId if not - /// - public ulong AddNotifyAudioDevicesChanged(AddNotifyAudioDevicesChangedOptions options, object clientData, OnAudioDevicesChangedCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnAudioDevicesChangedCallbackInternal(OnAudioDevicesChangedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - var funcResult = Bindings.EOS_RTCAudio_AddNotifyAudioDevicesChanged(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications when audio input state changed. - /// - /// If the returned NotificationId is valid, you must call when you no longer wish to - /// have your CompletionDelegate called. - /// - /// - /// - /// Arbitrary data that is passed back in the CompletionDelegate - /// The callback to be fired when audio input state changes - /// - /// Notification ID representing the registered callback if successful, an invalid NotificationId if not - /// - public ulong AddNotifyAudioInputState(AddNotifyAudioInputStateOptions options, object clientData, OnAudioInputStateCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnAudioInputStateCallbackInternal(OnAudioInputStateCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - var funcResult = Bindings.EOS_RTCAudio_AddNotifyAudioInputState(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications when audio output state changed. - /// - /// If the returned NotificationId is valid, you must call when you no longer wish to - /// have your CompletionDelegate called. - /// - /// - /// - /// Arbitrary data that is passed back in the CompletionDelegate - /// The callback to be fired when audio output state changes - /// - /// Notification ID representing the registered callback if successful, an invalid NotificationId if not - /// - public ulong AddNotifyAudioOutputState(AddNotifyAudioOutputStateOptions options, object clientData, OnAudioOutputStateCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnAudioOutputStateCallbackInternal(OnAudioOutputStateCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - var funcResult = Bindings.EOS_RTCAudio_AddNotifyAudioOutputState(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications when a room participant audio status is updated (f.e when speaking flag changes). - /// - /// If the returned NotificationId is valid, you must call when you no longer wish - /// to have your CompletionDelegate called. - /// - /// - /// - /// Arbitrary data that is passed back in the CompletionDelegate - /// The callback to be fired when a presence change occurs - /// - /// Notification ID representing the registered callback if successful, an invalid NotificationId if not - /// - public ulong AddNotifyParticipantUpdated(AddNotifyParticipantUpdatedOptions options, object clientData, OnParticipantUpdatedCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnParticipantUpdatedCallbackInternal(OnParticipantUpdatedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - var funcResult = Bindings.EOS_RTCAudio_AddNotifyParticipantUpdated(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Fetches an audio input device's info from then given index. The returned value should not be cached and important - /// information should be copied off of the result object immediately. - /// - /// - /// - /// structure containing the index being accessed - /// - /// A pointer to the device information, or NULL on error. You should NOT keep hold of this pointer. - /// - public AudioInputDeviceInfo GetAudioInputDeviceByIndex(GetAudioInputDeviceByIndexOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_RTCAudio_GetAudioInputDeviceByIndex(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - AudioInputDeviceInfo funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Returns the number of audio input devices available in the system. - /// - /// The returned value should not be cached and should instead be used immediately with the - /// function. - /// - /// - /// - /// structure containing the parameters for the operation - /// - /// The number of audio input devices - /// - public uint GetAudioInputDevicesCount(GetAudioInputDevicesCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_RTCAudio_GetAudioInputDevicesCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Fetches an audio output device's info from then given index. - /// - /// The returned value should not be cached and important information should be copied off of the result object immediately. - /// - /// - /// - /// structure containing the index being accessed - /// - /// A pointer to the device information, or NULL on error. You should NOT keep hold of this pointer. - /// - public AudioOutputDeviceInfo GetAudioOutputDeviceByIndex(GetAudioOutputDeviceByIndexOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_RTCAudio_GetAudioOutputDeviceByIndex(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - AudioOutputDeviceInfo funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Returns the number of audio output devices available in the system. - /// - /// The returned value should not be cached and should instead be used immediately with the - /// function. - /// - /// - /// - /// structure containing the parameters for the operation - /// - /// The number of audio output devices - /// - public uint GetAudioOutputDevicesCount(GetAudioOutputDevicesCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_RTCAudio_GetAudioOutputDevicesCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Use this function to inform the audio system of a user. - /// - /// This function is only necessary for some platforms. - /// - /// structure containing the parameters for the operation. - /// - /// if the user was successfully registered, otherwise. - /// - public Result RegisterPlatformAudioUser(RegisterPlatformAudioUserOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_RTCAudio_RegisterPlatformAudioUser(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Unregister a previously bound notification handler from receiving remote audio buffers before they are rendered. - /// - /// The Notification ID representing the registered callback - public void RemoveNotifyAudioBeforeRender(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_RTCAudio_RemoveNotifyAudioBeforeRender(InnerHandle, notificationId); - } - - /// - /// Unregister a previously bound notification handler from receiving local audio buffers before they are encoded and sent. - /// - /// The Notification ID representing the registered callback - public void RemoveNotifyAudioBeforeSend(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_RTCAudio_RemoveNotifyAudioBeforeSend(InnerHandle, notificationId); - } - - /// - /// Unregister a previously bound notification handler from receiving audio devices notifications - /// - /// The Notification ID representing the registered callback - public void RemoveNotifyAudioDevicesChanged(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_RTCAudio_RemoveNotifyAudioDevicesChanged(InnerHandle, notificationId); - } - - /// - /// Unregister a previously bound notification handler from receiving notifications on audio input state changed. - /// - /// The Notification ID representing the registered callback - public void RemoveNotifyAudioInputState(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_RTCAudio_RemoveNotifyAudioInputState(InnerHandle, notificationId); - } - - /// - /// Unregister a previously bound notification handler from receiving notifications on audio output state changed. - /// - /// The Notification ID representing the registered callback - public void RemoveNotifyAudioOutputState(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_RTCAudio_RemoveNotifyAudioOutputState(InnerHandle, notificationId); - } - - /// - /// Unregister a previously bound notification handler from receiving participant updated notifications - /// - /// The Notification ID representing the registered callback - public void RemoveNotifyParticipantUpdated(ulong notificationId) - { - Helper.TryRemoveCallbackByNotificationId(notificationId); - - Bindings.EOS_RTCAudio_RemoveNotifyParticipantUpdated(InnerHandle, notificationId); - } - - /// - /// Use this function to push a new audio buffer to be sent to the participants of a room. - /// - /// This should only be used if Manual Audio Input was enabled locally for the specified room. - /// - /// - /// - /// structure containing the parameters for the operation. - /// - /// if the buffer was successfully queued for sending - /// if any of the parameters are incorrect - /// if the specified room was not found - /// if manual recording was not enabled when joining the room. - /// - public Result SendAudio(SendAudioOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_RTCAudio_SendAudio(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Use this function to set audio input settings, such as the active input device, volume, or platform AEC. - /// - /// structure containing the parameters for the operation. - /// - /// if the setting was successful - /// if any of the parameters are incorrect - /// - public Result SetAudioInputSettings(SetAudioInputSettingsOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_RTCAudio_SetAudioInputSettings(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Use this function to set audio output settings, such as the active output device or volume. - /// - /// structure containing the parameters for the operation. - /// - /// if the setting was successful - /// if any of the parameters are incorrect - /// - public Result SetAudioOutputSettings(SetAudioOutputSettingsOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_RTCAudio_SetAudioOutputSettings(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Use this function to remove a user that was added with . - /// - /// structure containing the parameters for the operation. - /// - /// if the user was successfully unregistered, otherwise. - /// - public Result UnregisterPlatformAudioUser(UnregisterPlatformAudioUserOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_RTCAudio_UnregisterPlatformAudioUser(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Use this function to tweak incoming audio options per room. - /// - /// @note Due to internal implementation details, this function requires that you first register to any notification for room - /// - /// structure containing the parameters for the operation. - /// Arbitrary data that is passed back in the CompletionDelegate - /// The callback to be fired when the operation completes, either successfully or in error - /// - /// if the operation succeeded - /// if any of the parameters are incorrect - /// if either the local user or specified participant are not in the room - /// - public void UpdateReceiving(UpdateReceivingOptions options, object clientData, OnUpdateReceivingCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnUpdateReceivingCallbackInternal(OnUpdateReceivingCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_RTCAudio_UpdateReceiving(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Use this function to tweak outgoing audio options per room. - /// - /// @note Due to internal implementation details, this function requires that you first register to any notification for room - /// - /// structure containing the parameters for the operation. - /// Arbitrary data that is passed back in the CompletionDelegate - /// The callback to be fired when the operation completes, either successfully or in error - /// - /// if the operation succeeded - /// if any of the parameters are incorrect - /// if the local user is not in the room - /// - public void UpdateSending(UpdateSendingOptions options, object clientData, OnUpdateSendingCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnUpdateSendingCallbackInternal(OnUpdateSendingCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_RTCAudio_UpdateSending(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnAudioBeforeRenderCallbackInternal))] - internal static void OnAudioBeforeRenderCallbackInternalImplementation(System.IntPtr data) - { - OnAudioBeforeRenderCallback callback; - AudioBeforeRenderCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnAudioBeforeSendCallbackInternal))] - internal static void OnAudioBeforeSendCallbackInternalImplementation(System.IntPtr data) - { - OnAudioBeforeSendCallback callback; - AudioBeforeSendCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnAudioDevicesChangedCallbackInternal))] - internal static void OnAudioDevicesChangedCallbackInternalImplementation(System.IntPtr data) - { - OnAudioDevicesChangedCallback callback; - AudioDevicesChangedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnAudioInputStateCallbackInternal))] - internal static void OnAudioInputStateCallbackInternalImplementation(System.IntPtr data) - { - OnAudioInputStateCallback callback; - AudioInputStateCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnAudioOutputStateCallbackInternal))] - internal static void OnAudioOutputStateCallbackInternalImplementation(System.IntPtr data) - { - OnAudioOutputStateCallback callback; - AudioOutputStateCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnParticipantUpdatedCallbackInternal))] - internal static void OnParticipantUpdatedCallbackInternalImplementation(System.IntPtr data) - { - OnParticipantUpdatedCallback callback; - ParticipantUpdatedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnUpdateReceivingCallbackInternal))] - internal static void OnUpdateReceivingCallbackInternalImplementation(System.IntPtr data) - { - OnUpdateReceivingCallback callback; - UpdateReceivingCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnUpdateSendingCallbackInternal))] - internal static void OnUpdateSendingCallbackInternalImplementation(System.IntPtr data) - { - OnUpdateSendingCallback callback; - UpdateSendingCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + public sealed partial class RTCAudioInterface : Handle + { + public RTCAudioInterface() + { + } + + public RTCAudioInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int AddnotifyaudiobeforerenderApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifyaudiobeforesendApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifyaudiodeviceschangedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifyaudioinputstateApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifyaudiooutputstateApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifyparticipantupdatedApiLatest = 1; + + /// + /// The most recent version of the API + /// + public const int AudiobufferApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int AudioinputdeviceinfoApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int AudiooutputdeviceinfoApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetaudioinputdevicebyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetaudioinputdevicescountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetaudiooutputdevicebyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetaudiooutputdevicescountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int RegisterplatformaudiouserApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SendaudioApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SetaudioinputsettingsApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SetaudiooutputsettingsApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UnregisterplatformaudiouserApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UpdateparticipantvolumeApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UpdatereceivingApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UpdatereceivingvolumeApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UpdatesendingApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UpdatesendingvolumeApiLatest = 1; + + /// + /// Register to receive notifications with remote audio buffers before they are rendered. + /// + /// This gives you access to the audio data received, allowing for example the implementation of custom filters/effects. + /// + /// If the returned NotificationId is valid, you must call when you no longer wish to + /// have your CompletionDelegate called. + /// + /// + /// + /// Arbitrary data that is passed back in the CompletionDelegate + /// The callback to be fired when a presence change occurs + /// + /// Notification ID representing the registered callback if successful, an invalid NotificationId if not + /// + public ulong AddNotifyAudioBeforeRender(ref AddNotifyAudioBeforeRenderOptions options, object clientData, OnAudioBeforeRenderCallback completionDelegate) + { + AddNotifyAudioBeforeRenderOptionsInternal optionsInternal = new AddNotifyAudioBeforeRenderOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnAudioBeforeRenderCallbackInternal(OnAudioBeforeRenderCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + var funcResult = Bindings.EOS_RTCAudio_AddNotifyAudioBeforeRender(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications when local audio buffers are about to be encoded and sent. + /// + /// This gives you access to the audio data about to be sent, allowing for example the implementation of custom filters/effects. + /// + /// If the returned NotificationId is valid, you must call when you no longer wish to + /// have your CompletionDelegate called. + /// + /// + /// + /// Arbitrary data that is passed back in the CompletionDelegate + /// The callback to be fired when a presence change occurs + /// + /// Notification ID representing the registered callback if successful, an invalid NotificationId if not + /// + public ulong AddNotifyAudioBeforeSend(ref AddNotifyAudioBeforeSendOptions options, object clientData, OnAudioBeforeSendCallback completionDelegate) + { + AddNotifyAudioBeforeSendOptionsInternal optionsInternal = new AddNotifyAudioBeforeSendOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnAudioBeforeSendCallbackInternal(OnAudioBeforeSendCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + var funcResult = Bindings.EOS_RTCAudio_AddNotifyAudioBeforeSend(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications when an audio device is added or removed to the system. + /// + /// If the returned NotificationId is valid, you must call when you no longer wish + /// to have your CompletionDelegate called. + /// + /// The library will try to use user selected audio device while following these rules: + /// - if none of the audio devices has been available and connected before - the library will try to use it; + /// - if user selected device failed for some reason, default device will be used instead (and user selected device will be memorized); + /// - if user selected a device but it was not used for some reason (and default was used instead), when devices selection is triggered we will try to use user selected device again; + /// - triggers to change a device: when new audio device appears or disappears - library will try to use previously user selected; + /// - if for any reason, a device cannot be used - the library will fallback to using default; + /// - if a configuration of the current audio device has been changed, it will be restarted. + /// + /// + /// + /// + /// + /// Arbitrary data that is passed back in the CompletionDelegate + /// The callback to be fired when an audio device change occurs + /// + /// Notification ID representing the registered callback if successful, an invalid NotificationId if not + /// + public ulong AddNotifyAudioDevicesChanged(ref AddNotifyAudioDevicesChangedOptions options, object clientData, OnAudioDevicesChangedCallback completionDelegate) + { + AddNotifyAudioDevicesChangedOptionsInternal optionsInternal = new AddNotifyAudioDevicesChangedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnAudioDevicesChangedCallbackInternal(OnAudioDevicesChangedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + var funcResult = Bindings.EOS_RTCAudio_AddNotifyAudioDevicesChanged(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications when audio input state changed. + /// + /// If the returned NotificationId is valid, you must call when you no longer wish to + /// have your CompletionDelegate called. + /// + /// + /// + /// Arbitrary data that is passed back in the CompletionDelegate + /// The callback to be fired when audio input state changes + /// + /// Notification ID representing the registered callback if successful, an invalid NotificationId if not + /// + public ulong AddNotifyAudioInputState(ref AddNotifyAudioInputStateOptions options, object clientData, OnAudioInputStateCallback completionDelegate) + { + AddNotifyAudioInputStateOptionsInternal optionsInternal = new AddNotifyAudioInputStateOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnAudioInputStateCallbackInternal(OnAudioInputStateCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + var funcResult = Bindings.EOS_RTCAudio_AddNotifyAudioInputState(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications when audio output state changed. + /// + /// If the returned NotificationId is valid, you must call when you no longer wish to + /// have your CompletionDelegate called. + /// + /// + /// + /// Arbitrary data that is passed back in the CompletionDelegate + /// The callback to be fired when audio output state changes + /// + /// Notification ID representing the registered callback if successful, an invalid NotificationId if not + /// + public ulong AddNotifyAudioOutputState(ref AddNotifyAudioOutputStateOptions options, object clientData, OnAudioOutputStateCallback completionDelegate) + { + AddNotifyAudioOutputStateOptionsInternal optionsInternal = new AddNotifyAudioOutputStateOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnAudioOutputStateCallbackInternal(OnAudioOutputStateCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + var funcResult = Bindings.EOS_RTCAudio_AddNotifyAudioOutputState(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications when a room participant audio status is updated (f.e when speaking flag changes). + /// + /// If the returned NotificationId is valid, you must call when you no longer wish + /// to have your CompletionDelegate called. + /// + /// + /// + /// Arbitrary data that is passed back in the CompletionDelegate + /// The callback to be fired when a presence change occurs + /// + /// Notification ID representing the registered callback if successful, an invalid NotificationId if not + /// + public ulong AddNotifyParticipantUpdated(ref AddNotifyParticipantUpdatedOptions options, object clientData, OnParticipantUpdatedCallback completionDelegate) + { + AddNotifyParticipantUpdatedOptionsInternal optionsInternal = new AddNotifyParticipantUpdatedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnParticipantUpdatedCallbackInternal(OnParticipantUpdatedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + var funcResult = Bindings.EOS_RTCAudio_AddNotifyParticipantUpdated(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Fetches an audio input device's info from then given index. The returned value should not be cached and important + /// information should be copied off of the result object immediately. + /// + /// + /// + /// structure containing the index being accessed + /// + /// A pointer to the device information, or on error. You should NOT keep hold of this pointer. + /// + public AudioInputDeviceInfo? GetAudioInputDeviceByIndex(ref GetAudioInputDeviceByIndexOptions options) + { + GetAudioInputDeviceByIndexOptionsInternal optionsInternal = new GetAudioInputDeviceByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_RTCAudio_GetAudioInputDeviceByIndex(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + AudioInputDeviceInfo? funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Returns the number of audio input devices available in the system. + /// + /// The returned value should not be cached and should instead be used immediately with the + /// function. + /// + /// + /// + /// structure containing the parameters for the operation + /// + /// The number of audio input devices + /// + public uint GetAudioInputDevicesCount(ref GetAudioInputDevicesCountOptions options) + { + GetAudioInputDevicesCountOptionsInternal optionsInternal = new GetAudioInputDevicesCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_RTCAudio_GetAudioInputDevicesCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Fetches an audio output device's info from then given index. + /// + /// The returned value should not be cached and important information should be copied off of the result object immediately. + /// + /// + /// + /// structure containing the index being accessed + /// + /// A pointer to the device information, or on error. You should NOT keep hold of this pointer. + /// + public AudioOutputDeviceInfo? GetAudioOutputDeviceByIndex(ref GetAudioOutputDeviceByIndexOptions options) + { + GetAudioOutputDeviceByIndexOptionsInternal optionsInternal = new GetAudioOutputDeviceByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_RTCAudio_GetAudioOutputDeviceByIndex(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + AudioOutputDeviceInfo? funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Returns the number of audio output devices available in the system. + /// + /// The returned value should not be cached and should instead be used immediately with the + /// function. + /// + /// + /// + /// structure containing the parameters for the operation + /// + /// The number of audio output devices + /// + public uint GetAudioOutputDevicesCount(ref GetAudioOutputDevicesCountOptions options) + { + GetAudioOutputDevicesCountOptionsInternal optionsInternal = new GetAudioOutputDevicesCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_RTCAudio_GetAudioOutputDevicesCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Use this function to inform the audio system of a user. + /// + /// This function is only necessary for some platforms. + /// + /// structure containing the parameters for the operation. + /// + /// if the user was successfully registered, otherwise. + /// + public Result RegisterPlatformAudioUser(ref RegisterPlatformAudioUserOptions options) + { + RegisterPlatformAudioUserOptionsInternal optionsInternal = new RegisterPlatformAudioUserOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_RTCAudio_RegisterPlatformAudioUser(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Unregister a previously bound notification handler from receiving remote audio buffers before they are rendered. + /// + /// The Notification ID representing the registered callback + public void RemoveNotifyAudioBeforeRender(ulong notificationId) + { + Bindings.EOS_RTCAudio_RemoveNotifyAudioBeforeRender(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Unregister a previously bound notification handler from receiving local audio buffers before they are encoded and sent. + /// + /// The Notification ID representing the registered callback + public void RemoveNotifyAudioBeforeSend(ulong notificationId) + { + Bindings.EOS_RTCAudio_RemoveNotifyAudioBeforeSend(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Unregister a previously bound notification handler from receiving audio devices notifications + /// + /// The Notification ID representing the registered callback + public void RemoveNotifyAudioDevicesChanged(ulong notificationId) + { + Bindings.EOS_RTCAudio_RemoveNotifyAudioDevicesChanged(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Unregister a previously bound notification handler from receiving notifications on audio input state changed. + /// + /// The Notification ID representing the registered callback + public void RemoveNotifyAudioInputState(ulong notificationId) + { + Bindings.EOS_RTCAudio_RemoveNotifyAudioInputState(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Unregister a previously bound notification handler from receiving notifications on audio output state changed. + /// + /// The Notification ID representing the registered callback + public void RemoveNotifyAudioOutputState(ulong notificationId) + { + Bindings.EOS_RTCAudio_RemoveNotifyAudioOutputState(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Unregister a previously bound notification handler from receiving participant updated notifications + /// + /// The Notification ID representing the registered callback + public void RemoveNotifyParticipantUpdated(ulong notificationId) + { + Bindings.EOS_RTCAudio_RemoveNotifyParticipantUpdated(InnerHandle, notificationId); + + Helper.RemoveCallbackByNotificationId(notificationId); + } + + /// + /// Use this function to push a new audio buffer to be sent to the participants of a room. + /// + /// This should only be used if Manual Audio Input was enabled locally for the specified room. + /// + /// + /// + /// structure containing the parameters for the operation. + /// + /// if the buffer was successfully queued for sending + /// if any of the parameters are incorrect + /// if the specified room was not found + /// if manual recording was not enabled when joining the room. + /// + public Result SendAudio(ref SendAudioOptions options) + { + SendAudioOptionsInternal optionsInternal = new SendAudioOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_RTCAudio_SendAudio(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Use this function to set audio input settings, such as the active input device, volume, or platform AEC. + /// + /// structure containing the parameters for the operation. + /// + /// if the setting was successful + /// if any of the parameters are incorrect + /// + public Result SetAudioInputSettings(ref SetAudioInputSettingsOptions options) + { + SetAudioInputSettingsOptionsInternal optionsInternal = new SetAudioInputSettingsOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_RTCAudio_SetAudioInputSettings(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Use this function to set audio output settings, such as the active output device or volume. + /// + /// structure containing the parameters for the operation. + /// + /// if the setting was successful + /// if any of the parameters are incorrect + /// + public Result SetAudioOutputSettings(ref SetAudioOutputSettingsOptions options) + { + SetAudioOutputSettingsOptionsInternal optionsInternal = new SetAudioOutputSettingsOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_RTCAudio_SetAudioOutputSettings(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Use this function to remove a user that was added with . + /// + /// structure containing the parameters for the operation. + /// + /// if the user was successfully unregistered, otherwise. + /// + public Result UnregisterPlatformAudioUser(ref UnregisterPlatformAudioUserOptions options) + { + UnregisterPlatformAudioUserOptionsInternal optionsInternal = new UnregisterPlatformAudioUserOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_RTCAudio_UnregisterPlatformAudioUser(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Use this function to change participant audio volume for a room. + /// Due to internal implementation details, this function requires that you first register to any notification for room + /// + /// structure containing the parameters for the operation. + /// Arbitrary data that is passed back in the CompletionDelegate + /// The callback to be fired when the operation completes, either successfully or in error + /// + /// if the operation succeeded + /// if any of the parameters are incorrect + /// if either the local user or specified participant are not in the room + /// + public void UpdateParticipantVolume(ref UpdateParticipantVolumeOptions options, object clientData, OnUpdateParticipantVolumeCallback completionDelegate) + { + UpdateParticipantVolumeOptionsInternal optionsInternal = new UpdateParticipantVolumeOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnUpdateParticipantVolumeCallbackInternal(OnUpdateParticipantVolumeCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_RTCAudio_UpdateParticipantVolume(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Use this function to tweak incoming audio options for a room. + /// Due to internal implementation details, this function requires that you first register to any notification for room + /// + /// structure containing the parameters for the operation. + /// Arbitrary data that is passed back in the CompletionDelegate + /// The callback to be fired when the operation completes, either successfully or in error + /// + /// if the operation succeeded + /// if any of the parameters are incorrect + /// if either the local user or specified participant are not in the room + /// + public void UpdateReceiving(ref UpdateReceivingOptions options, object clientData, OnUpdateReceivingCallback completionDelegate) + { + UpdateReceivingOptionsInternal optionsInternal = new UpdateReceivingOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnUpdateReceivingCallbackInternal(OnUpdateReceivingCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_RTCAudio_UpdateReceiving(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Use this function to change incoming audio volume for a room. + /// Due to internal implementation details, this function requires that you first register to any notification for room + /// + /// structure containing the parameters for the operation. + /// Arbitrary data that is passed back in the CompletionDelegate + /// The callback to be fired when the operation completes, either successfully or on error + /// + /// if the operation succeeded + /// if any of the parameters are incorrect + /// if the local user is not in the room + /// + public void UpdateReceivingVolume(ref UpdateReceivingVolumeOptions options, object clientData, OnUpdateReceivingVolumeCallback completionDelegate) + { + UpdateReceivingVolumeOptionsInternal optionsInternal = new UpdateReceivingVolumeOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnUpdateReceivingVolumeCallbackInternal(OnUpdateReceivingVolumeCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_RTCAudio_UpdateReceivingVolume(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Use this function to tweak outgoing audio options for a room. + /// Due to internal implementation details, this function requires that you first register to any notification for room + /// + /// structure containing the parameters for the operation. + /// Arbitrary data that is passed back in the CompletionDelegate + /// The callback to be fired when the operation completes, either successfully or in error + /// + /// if the operation succeeded + /// if any of the parameters are incorrect + /// if the local user is not in the room + /// + public void UpdateSending(ref UpdateSendingOptions options, object clientData, OnUpdateSendingCallback completionDelegate) + { + UpdateSendingOptionsInternal optionsInternal = new UpdateSendingOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnUpdateSendingCallbackInternal(OnUpdateSendingCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_RTCAudio_UpdateSending(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Use this function to change outgoing audio volume for a room. + /// Due to internal implementation details, this function requires that you first register to any notification for room + /// + /// structure containing the parameters for the operation. + /// Arbitrary data that is passed back in the CompletionDelegate + /// The callback to be fired when the operation completes, either successfully or in error + /// + /// if the operation succeeded + /// if any of the parameters are incorrect + /// if the local user is not in the room + /// + public void UpdateSendingVolume(ref UpdateSendingVolumeOptions options, object clientData, OnUpdateSendingVolumeCallback completionDelegate) + { + UpdateSendingVolumeOptionsInternal optionsInternal = new UpdateSendingVolumeOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnUpdateSendingVolumeCallbackInternal(OnUpdateSendingVolumeCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_RTCAudio_UpdateSendingVolume(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnAudioBeforeRenderCallbackInternal))] + internal static void OnAudioBeforeRenderCallbackInternalImplementation(ref AudioBeforeRenderCallbackInfoInternal data) + { + OnAudioBeforeRenderCallback callback; + AudioBeforeRenderCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnAudioBeforeSendCallbackInternal))] + internal static void OnAudioBeforeSendCallbackInternalImplementation(ref AudioBeforeSendCallbackInfoInternal data) + { + OnAudioBeforeSendCallback callback; + AudioBeforeSendCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnAudioDevicesChangedCallbackInternal))] + internal static void OnAudioDevicesChangedCallbackInternalImplementation(ref AudioDevicesChangedCallbackInfoInternal data) + { + OnAudioDevicesChangedCallback callback; + AudioDevicesChangedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnAudioInputStateCallbackInternal))] + internal static void OnAudioInputStateCallbackInternalImplementation(ref AudioInputStateCallbackInfoInternal data) + { + OnAudioInputStateCallback callback; + AudioInputStateCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnAudioOutputStateCallbackInternal))] + internal static void OnAudioOutputStateCallbackInternalImplementation(ref AudioOutputStateCallbackInfoInternal data) + { + OnAudioOutputStateCallback callback; + AudioOutputStateCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnParticipantUpdatedCallbackInternal))] + internal static void OnParticipantUpdatedCallbackInternalImplementation(ref ParticipantUpdatedCallbackInfoInternal data) + { + OnParticipantUpdatedCallback callback; + ParticipantUpdatedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnUpdateParticipantVolumeCallbackInternal))] + internal static void OnUpdateParticipantVolumeCallbackInternalImplementation(ref UpdateParticipantVolumeCallbackInfoInternal data) + { + OnUpdateParticipantVolumeCallback callback; + UpdateParticipantVolumeCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnUpdateReceivingCallbackInternal))] + internal static void OnUpdateReceivingCallbackInternalImplementation(ref UpdateReceivingCallbackInfoInternal data) + { + OnUpdateReceivingCallback callback; + UpdateReceivingCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnUpdateReceivingVolumeCallbackInternal))] + internal static void OnUpdateReceivingVolumeCallbackInternalImplementation(ref UpdateReceivingVolumeCallbackInfoInternal data) + { + OnUpdateReceivingVolumeCallback callback; + UpdateReceivingVolumeCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnUpdateSendingCallbackInternal))] + internal static void OnUpdateSendingCallbackInternalImplementation(ref UpdateSendingCallbackInfoInternal data) + { + OnUpdateSendingCallback callback; + UpdateSendingCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnUpdateSendingVolumeCallbackInternal))] + internal static void OnUpdateSendingVolumeCallbackInternalImplementation(ref UpdateSendingVolumeCallbackInfoInternal data) + { + OnUpdateSendingVolumeCallback callback; + UpdateSendingVolumeCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInterface.cs.meta deleted file mode 100644 index b0fd9034..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5fc6b38d834369d4fb7f61b30980e08a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioOutputStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioOutputStatus.cs index 9cf4d822..4ef33631 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioOutputStatus.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioOutputStatus.cs @@ -1,24 +1,24 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// An enumeration of the different audio output device statuses. - /// - public enum RTCAudioOutputStatus : int - { - /// - /// The device is not in used right now (e.g: you are alone in the room). In such cases, the hardware resources are not allocated. - /// - Idle = 0, - /// - /// Device is in use - /// - Playing = 1, - /// - /// Something failed while trying to use the device - /// - Failed = 2 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// An enumeration of the different audio output device statuses. + /// + public enum RTCAudioOutputStatus : int + { + /// + /// The device is not in used right now (e.g: you are alone in the room). In such cases, the hardware resources are not allocated. + /// + Idle = 0, + /// + /// Device is in use + /// + Playing = 1, + /// + /// Something failed while trying to use the device + /// + Failed = 2 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioOutputStatus.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioOutputStatus.cs.meta deleted file mode 100644 index 6f2fe383..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioOutputStatus.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3f03e4ce29b27ce4ea342413eb8e17a9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioStatus.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioStatus.cs index 656ab2ea..eec88ef8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioStatus.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioStatus.cs @@ -1,32 +1,32 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// An enumeration of the different audio channel statuses. - /// - public enum RTCAudioStatus : int - { - /// - /// Audio unsupported by the source (no devices) - /// - Unsupported = 0, - /// - /// Audio enabled - /// - Enabled = 1, - /// - /// Audio disabled - /// - Disabled = 2, - /// - /// Audio disabled by the administrator - /// - AdminDisabled = 3, - /// - /// Audio channel is disabled temporarily for both sending and receiving - /// - NotListeningDisabled = 4 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// An enumeration of the different audio channel statuses. + /// + public enum RTCAudioStatus : int + { + /// + /// Audio unsupported by the source (no devices) + /// + Unsupported = 0, + /// + /// Audio enabled + /// + Enabled = 1, + /// + /// Audio disabled + /// + Disabled = 2, + /// + /// Audio disabled by the administrator + /// + AdminDisabled = 3, + /// + /// Audio channel is disabled temporarily for both sending and receiving + /// + NotListeningDisabled = 4 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioStatus.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioStatus.cs.meta deleted file mode 100644 index 41fe5cac..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RTCAudioStatus.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1e9df935d70c0d742b18f49398d8b68c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RegisterPlatformAudioUserOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RegisterPlatformAudioUserOptions.cs index 544a1839..8ea602a6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RegisterPlatformAudioUserOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RegisterPlatformAudioUserOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to inform the audio system of a user. - /// - public class RegisterPlatformAudioUserOptions - { - /// - /// Platform dependent user id. - /// - public string UserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RegisterPlatformAudioUserOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserId; - - public string UserId - { - set - { - Helper.TryMarshalSet(ref m_UserId, value); - } - } - - public void Set(RegisterPlatformAudioUserOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.RegisterplatformaudiouserApiLatest; - UserId = other.UserId; - } - } - - public void Set(object other) - { - Set(other as RegisterPlatformAudioUserOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to inform the audio system of a user. + /// + public struct RegisterPlatformAudioUserOptions + { + /// + /// Platform dependent user id. + /// + public Utf8String UserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RegisterPlatformAudioUserOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserId; + + public Utf8String UserId + { + set + { + Helper.Set(value, ref m_UserId); + } + } + + public void Set(ref RegisterPlatformAudioUserOptions other) + { + m_ApiVersion = RTCAudioInterface.RegisterplatformaudiouserApiLatest; + UserId = other.UserId; + } + + public void Set(ref RegisterPlatformAudioUserOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.RegisterplatformaudiouserApiLatest; + UserId = other.Value.UserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RegisterPlatformAudioUserOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RegisterPlatformAudioUserOptions.cs.meta deleted file mode 100644 index 8ebe741d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/RegisterPlatformAudioUserOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ce0aa68dbd0a6f54ab46e3140a8884f9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SendAudioOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SendAudioOptions.cs index 62c0b098..b26b433a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SendAudioOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SendAudioOptions.cs @@ -1,83 +1,86 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to call . - /// - public class SendAudioOptions - { - /// - /// The Product User ID of the user trying to request this operation. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The room this event is registered on. - /// - public string RoomName { get; set; } - - /// - /// Audio buffer, which must have a duration of 10 ms. - /// @note The SDK makes a copy of buffer. There is no need to keep the buffer around after calling - /// - public AudioBuffer Buffer { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SendAudioOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private System.IntPtr m_Buffer; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public AudioBuffer Buffer - { - set - { - Helper.TryMarshalSet(ref m_Buffer, value); - } - } - - public void Set(SendAudioOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.SendaudioApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - Buffer = other.Buffer; - } - } - - public void Set(object other) - { - Set(other as SendAudioOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - Helper.TryMarshalDispose(ref m_Buffer); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to call . + /// + public struct SendAudioOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this event is registered on. + /// + public Utf8String RoomName { get; set; } + + /// + /// Audio buffer, which must have a duration of 10 ms. + /// The SDK makes a copy of buffer. There is no need to keep the buffer around after calling EOS_RTCAudio_SendAudio + /// + public AudioBuffer? Buffer { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SendAudioOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_Buffer; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public AudioBuffer? Buffer + { + set + { + Helper.Set(ref value, ref m_Buffer); + } + } + + public void Set(ref SendAudioOptions other) + { + m_ApiVersion = RTCAudioInterface.SendaudioApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Buffer = other.Buffer; + } + + public void Set(ref SendAudioOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.SendaudioApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + Buffer = other.Value.Buffer; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_Buffer); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SendAudioOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SendAudioOptions.cs.meta deleted file mode 100644 index ce1115e8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SendAudioOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f0ece4578afbfb4469de3b4385f4c32a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioInputSettingsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioInputSettingsOptions.cs index 1cb18dec..0e705e4d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioInputSettingsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioInputSettingsOptions.cs @@ -1,97 +1,109 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to call . - /// - public class SetAudioInputSettingsOptions - { - /// - /// The Product User ID of the user trying to request this operation. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The device Id to be used for this user. Pass NULL or empty string to use default input device. - /// - public string DeviceId { get; set; } - - /// - /// The volume to be configured for this device (range 0.0 to 100.0). - /// At the moment, the only value that produce any effect is 0.0 (silence). Any other value is ignored and causes no change to the volume. - /// - public float Volume { get; set; } - - /// - /// Enable or disable Platform AEC (Acoustic Echo Cancellation) if available. - /// - public bool PlatformAEC { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetAudioInputSettingsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_DeviceId; - private float m_Volume; - private int m_PlatformAEC; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string DeviceId - { - set - { - Helper.TryMarshalSet(ref m_DeviceId, value); - } - } - - public float Volume - { - set - { - m_Volume = value; - } - } - - public bool PlatformAEC - { - set - { - Helper.TryMarshalSet(ref m_PlatformAEC, value); - } - } - - public void Set(SetAudioInputSettingsOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.SetaudioinputsettingsApiLatest; - LocalUserId = other.LocalUserId; - DeviceId = other.DeviceId; - Volume = other.Volume; - PlatformAEC = other.PlatformAEC; - } - } - - public void Set(object other) - { - Set(other as SetAudioInputSettingsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_DeviceId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to call . + /// + public struct SetAudioInputSettingsOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The device Id to be used for this user. Pass or empty string to use default input device. + /// + /// If the device ID is invalid, the default device will be used instead. + /// Despite this fact, that device ID will be stored and the library will try to move on it when an audio device pool is being changed. + /// + /// The actual hardware audio device usage depends on the current payload and optimized not to use it + /// when generated audio frames cannot be processed by someone else based on a scope of rules (For instance, when a client is alone in a room). + /// + /// + public Utf8String DeviceId { get; set; } + + /// + /// The volume to be used for all rooms of this user (range 0.0 to 100.0). + /// + /// At the moment, the only value that produce any effect is 0.0 (silence). Any other value is ignored and causes no change to the volume. + /// + public float Volume { get; set; } + + /// + /// Enable or disable Platform AEC (Acoustic Echo Cancellation) if available. + /// + public bool PlatformAEC { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetAudioInputSettingsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_DeviceId; + private float m_Volume; + private int m_PlatformAEC; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String DeviceId + { + set + { + Helper.Set(value, ref m_DeviceId); + } + } + + public float Volume + { + set + { + m_Volume = value; + } + } + + public bool PlatformAEC + { + set + { + Helper.Set(value, ref m_PlatformAEC); + } + } + + public void Set(ref SetAudioInputSettingsOptions other) + { + m_ApiVersion = RTCAudioInterface.SetaudioinputsettingsApiLatest; + LocalUserId = other.LocalUserId; + DeviceId = other.DeviceId; + Volume = other.Volume; + PlatformAEC = other.PlatformAEC; + } + + public void Set(ref SetAudioInputSettingsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.SetaudioinputsettingsApiLatest; + LocalUserId = other.Value.LocalUserId; + DeviceId = other.Value.DeviceId; + Volume = other.Value.Volume; + PlatformAEC = other.Value.PlatformAEC; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_DeviceId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioInputSettingsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioInputSettingsOptions.cs.meta deleted file mode 100644 index 253d9a76..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioInputSettingsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0349b608ac4e19346bb4280e64936720 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioOutputSettingsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioOutputSettingsOptions.cs index 73ecce9f..e72db095 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioOutputSettingsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioOutputSettingsOptions.cs @@ -1,82 +1,93 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to call . - /// - public class SetAudioOutputSettingsOptions - { - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The device Id to be used for this user. Pass NULL or empty string to use default output device. - /// - public string DeviceId { get; set; } - - /// - /// The volume to be configured for this device (range 0.0 to 100.0). Volume 50 means that the audio volume is not modified - /// and stays in its source value. - /// - public float Volume { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetAudioOutputSettingsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_DeviceId; - private float m_Volume; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string DeviceId - { - set - { - Helper.TryMarshalSet(ref m_DeviceId, value); - } - } - - public float Volume - { - set - { - m_Volume = value; - } - } - - public void Set(SetAudioOutputSettingsOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.SetaudiooutputsettingsApiLatest; - LocalUserId = other.LocalUserId; - DeviceId = other.DeviceId; - Volume = other.Volume; - } - } - - public void Set(object other) - { - Set(other as SetAudioOutputSettingsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_DeviceId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to call . + /// + public struct SetAudioOutputSettingsOptions + { + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The device Id to be used for this user. Pass or empty string to use default output device. + /// + /// If the device ID is invalid, the default device will be used instead. + /// Despite of this fact, that device ID will be stored and the library will try to move on it when a device pool is being changed. + /// + /// The actual hardware audio device usage depends on the current payload and optimized not to use it + /// when generated audio frames cannot be processed by someone else based on a scope of rules (For instance, when a client is alone in a room). + /// + /// + public Utf8String DeviceId { get; set; } + + /// + /// The volume to be used for all rooms of this user (range 0.0 to 100.0). + /// + /// Volume 50.0 means that the audio volume is not modified and stays in its source value. + /// + public float Volume { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetAudioOutputSettingsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_DeviceId; + private float m_Volume; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String DeviceId + { + set + { + Helper.Set(value, ref m_DeviceId); + } + } + + public float Volume + { + set + { + m_Volume = value; + } + } + + public void Set(ref SetAudioOutputSettingsOptions other) + { + m_ApiVersion = RTCAudioInterface.SetaudiooutputsettingsApiLatest; + LocalUserId = other.LocalUserId; + DeviceId = other.DeviceId; + Volume = other.Volume; + } + + public void Set(ref SetAudioOutputSettingsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.SetaudiooutputsettingsApiLatest; + LocalUserId = other.Value.LocalUserId; + DeviceId = other.Value.DeviceId; + Volume = other.Value.Volume; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_DeviceId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioOutputSettingsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioOutputSettingsOptions.cs.meta deleted file mode 100644 index 8e89325b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/SetAudioOutputSettingsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a1da8b72e3a37a842bed13ee9f9e322e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UnregisterPlatformAudioUserOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UnregisterPlatformAudioUserOptions.cs index d629cd17..cc1cbdbe 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UnregisterPlatformAudioUserOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UnregisterPlatformAudioUserOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is used to remove a user from the audio system. - /// - public class UnregisterPlatformAudioUserOptions - { - /// - /// The account of a user associated with this event. - /// - public string UserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UnregisterPlatformAudioUserOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserId; - - public string UserId - { - set - { - Helper.TryMarshalSet(ref m_UserId, value); - } - } - - public void Set(UnregisterPlatformAudioUserOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.UnregisterplatformaudiouserApiLatest; - UserId = other.UserId; - } - } - - public void Set(object other) - { - Set(other as UnregisterPlatformAudioUserOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is used to remove a user from the audio system. + /// + public struct UnregisterPlatformAudioUserOptions + { + /// + /// The account of a user associated with this event. + /// + public Utf8String UserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UnregisterPlatformAudioUserOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserId; + + public Utf8String UserId + { + set + { + Helper.Set(value, ref m_UserId); + } + } + + public void Set(ref UnregisterPlatformAudioUserOptions other) + { + m_ApiVersion = RTCAudioInterface.UnregisterplatformaudiouserApiLatest; + UserId = other.UserId; + } + + public void Set(ref UnregisterPlatformAudioUserOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.UnregisterplatformaudiouserApiLatest; + UserId = other.Value.UserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UnregisterPlatformAudioUserOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UnregisterPlatformAudioUserOptions.cs.meta deleted file mode 100644 index dc987d61..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UnregisterPlatformAudioUserOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d110cfb7c0d0b1444bca55b9bdf40aa4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateParticipantVolumeCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateParticipantVolumeCallbackInfo.cs new file mode 100644 index 00000000..c699a6d4 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateParticipantVolumeCallbackInfo.cs @@ -0,0 +1,200 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to . + /// + public struct UpdateParticipantVolumeCallbackInfo : ICallbackInfo + { + /// + /// This returns: + /// if volume of remote participant audio was successfully changed. + /// otherwise. + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this settings should be applied on. + /// + public Utf8String RoomName { get; set; } + + /// + /// The participant to modify or null to update the global configuration + /// + public ProductUserId ParticipantId { get; set; } + + /// + /// The volume that was set for received audio (range 0.0 to 100.0). + /// + public float Volume { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref UpdateParticipantVolumeCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ParticipantId = other.ParticipantId; + Volume = other.Volume; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateParticipantVolumeCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_ParticipantId; + private float m_Volume; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public ProductUserId ParticipantId + { + get + { + ProductUserId value; + Helper.Get(m_ParticipantId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ParticipantId); + } + } + + public float Volume + { + get + { + return m_Volume; + } + + set + { + m_Volume = value; + } + } + + public void Set(ref UpdateParticipantVolumeCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ParticipantId = other.ParticipantId; + Volume = other.Volume; + } + + public void Set(ref UpdateParticipantVolumeCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + ParticipantId = other.Value.ParticipantId; + Volume = other.Value.Volume; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_ParticipantId); + } + + public void Get(out UpdateParticipantVolumeCallbackInfo output) + { + output = new UpdateParticipantVolumeCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateParticipantVolumeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateParticipantVolumeOptions.cs new file mode 100644 index 00000000..2044b930 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateParticipantVolumeOptions.cs @@ -0,0 +1,101 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to + /// + public struct UpdateParticipantVolumeOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this settings should be applied on. + /// + public Utf8String RoomName { get; set; } + + /// + /// The participant to modify or null to update the global configuration + /// + public ProductUserId ParticipantId { get; set; } + + /// + /// The volume to be set for received audio (range 0.0 to 100.0). Volume 50 means that the audio volume is not modified + /// + public float Volume { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateParticipantVolumeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_ParticipantId; + private float m_Volume; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public ProductUserId ParticipantId + { + set + { + Helper.Set(value, ref m_ParticipantId); + } + } + + public float Volume + { + set + { + m_Volume = value; + } + } + + public void Set(ref UpdateParticipantVolumeOptions other) + { + m_ApiVersion = RTCAudioInterface.UpdateparticipantvolumeApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ParticipantId = other.ParticipantId; + Volume = other.Volume; + } + + public void Set(ref UpdateParticipantVolumeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.UpdateparticipantvolumeApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + ParticipantId = other.Value.ParticipantId; + Volume = other.Value.Volume; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_ParticipantId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingCallbackInfo.cs index 7dec8ff9..23ae044b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingCallbackInfo.cs @@ -1,143 +1,203 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is passed in with a call to . - /// - public class UpdateReceivingCallbackInfo : ICallbackInfo, ISettable - { - /// - /// This returns: - /// if the users were successfully unblocked. - /// otherwise. - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The room this settings should be applied on. - /// - public string RoomName { get; private set; } - - /// - /// The participant to modify or null to update the global configuration - /// - public ProductUserId ParticipantId { get; private set; } - - /// - /// Muted or unmuted audio track - /// - public bool AudioEnabled { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(UpdateReceivingCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RoomName = other.Value.RoomName; - ParticipantId = other.Value.ParticipantId; - AudioEnabled = other.Value.AudioEnabled; - } - } - - public void Set(object other) - { - Set(other as UpdateReceivingCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateReceivingCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private System.IntPtr m_ParticipantId; - private int m_AudioEnabled; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string RoomName - { - get - { - string value; - Helper.TryMarshalGet(m_RoomName, out value); - return value; - } - } - - public ProductUserId ParticipantId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_ParticipantId, out value); - return value; - } - } - - public bool AudioEnabled - { - get - { - bool value; - Helper.TryMarshalGet(m_AudioEnabled, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to . + /// + public struct UpdateReceivingCallbackInfo : ICallbackInfo + { + /// + /// This returns: + /// if receiving of channels of remote users was successfully enabled/disabled. + /// if the participant isn't found by ParticipantId. + /// otherwise. + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this settings should be applied on. + /// + public Utf8String RoomName { get; set; } + + /// + /// The participant to modify or null to update the global configuration + /// + public ProductUserId ParticipantId { get; set; } + + /// + /// Muted or unmuted audio track + /// + public bool AudioEnabled { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref UpdateReceivingCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ParticipantId = other.ParticipantId; + AudioEnabled = other.AudioEnabled; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateReceivingCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_ParticipantId; + private int m_AudioEnabled; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public ProductUserId ParticipantId + { + get + { + ProductUserId value; + Helper.Get(m_ParticipantId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ParticipantId); + } + } + + public bool AudioEnabled + { + get + { + bool value; + Helper.Get(m_AudioEnabled, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AudioEnabled); + } + } + + public void Set(ref UpdateReceivingCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ParticipantId = other.ParticipantId; + AudioEnabled = other.AudioEnabled; + } + + public void Set(ref UpdateReceivingCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + ParticipantId = other.Value.ParticipantId; + AudioEnabled = other.Value.AudioEnabled; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_ParticipantId); + } + + public void Get(out UpdateReceivingCallbackInfo output) + { + output = new UpdateReceivingCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingCallbackInfo.cs.meta deleted file mode 100644 index c90f30ad..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8ce851f17f2e42d41b85a57af8904ae8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingOptions.cs index 646c443b..6a8b26a0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingOptions.cs @@ -1,97 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is passed in with a call to . - /// - public class UpdateReceivingOptions - { - /// - /// The Product User ID of the user trying to request this operation. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The room this settings should be applied on. - /// - public string RoomName { get; set; } - - /// - /// The participant to modify or null to update the global configuration - /// - public ProductUserId ParticipantId { get; set; } - - /// - /// Mute or unmute audio track - /// - public bool AudioEnabled { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateReceivingOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private System.IntPtr m_ParticipantId; - private int m_AudioEnabled; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public ProductUserId ParticipantId - { - set - { - Helper.TryMarshalSet(ref m_ParticipantId, value); - } - } - - public bool AudioEnabled - { - set - { - Helper.TryMarshalSet(ref m_AudioEnabled, value); - } - } - - public void Set(UpdateReceivingOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.UpdatereceivingApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - ParticipantId = other.ParticipantId; - AudioEnabled = other.AudioEnabled; - } - } - - public void Set(object other) - { - Set(other as UpdateReceivingOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - Helper.TryMarshalDispose(ref m_ParticipantId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to . + /// + public struct UpdateReceivingOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this settings should be applied on. + /// + public Utf8String RoomName { get; set; } + + /// + /// The participant to modify or null to update the global configuration + /// + public ProductUserId ParticipantId { get; set; } + + /// + /// Mute or unmute audio track + /// + public bool AudioEnabled { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateReceivingOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private System.IntPtr m_ParticipantId; + private int m_AudioEnabled; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public ProductUserId ParticipantId + { + set + { + Helper.Set(value, ref m_ParticipantId); + } + } + + public bool AudioEnabled + { + set + { + Helper.Set(value, ref m_AudioEnabled); + } + } + + public void Set(ref UpdateReceivingOptions other) + { + m_ApiVersion = RTCAudioInterface.UpdatereceivingApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + ParticipantId = other.ParticipantId; + AudioEnabled = other.AudioEnabled; + } + + public void Set(ref UpdateReceivingOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.UpdatereceivingApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + ParticipantId = other.Value.ParticipantId; + AudioEnabled = other.Value.AudioEnabled; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + Helper.Dispose(ref m_ParticipantId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingOptions.cs.meta deleted file mode 100644 index 0acaafb5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 042b43c1d102db74384481ae3b3e1bd4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingVolumeCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingVolumeCallbackInfo.cs new file mode 100644 index 00000000..9e7f544f --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingVolumeCallbackInfo.cs @@ -0,0 +1,175 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to . + /// + public struct UpdateReceivingVolumeCallbackInfo : ICallbackInfo + { + /// + /// This returns: + /// if receiving volume of channels of the local user was successfully changed. + /// otherwise. + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this settings should be applied on. + /// + public Utf8String RoomName { get; set; } + + /// + /// The volume that was set for received audio (range 0.0 to 100.0). + /// + public float Volume { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref UpdateReceivingVolumeCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Volume = other.Volume; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateReceivingVolumeCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private float m_Volume; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public float Volume + { + get + { + return m_Volume; + } + + set + { + m_Volume = value; + } + } + + public void Set(ref UpdateReceivingVolumeCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Volume = other.Volume; + } + + public void Set(ref UpdateReceivingVolumeCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + Volume = other.Value.Volume; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + + public void Get(out UpdateReceivingVolumeCallbackInfo output) + { + output = new UpdateReceivingVolumeCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingVolumeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingVolumeOptions.cs new file mode 100644 index 00000000..8a9e4292 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateReceivingVolumeOptions.cs @@ -0,0 +1,84 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to + /// + public struct UpdateReceivingVolumeOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this settings should be applied on. + /// + public Utf8String RoomName { get; set; } + + /// + /// The volume to be set for received audio (range 0.0 to 100.0). Volume 50 means that the audio volume is not modified + /// + public float Volume { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateReceivingVolumeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private float m_Volume; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public float Volume + { + set + { + m_Volume = value; + } + } + + public void Set(ref UpdateReceivingVolumeOptions other) + { + m_ApiVersion = RTCAudioInterface.UpdatereceivingvolumeApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Volume = other.Volume; + } + + public void Set(ref UpdateReceivingVolumeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.UpdatereceivingvolumeApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + Volume = other.Value.Volume; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingCallbackInfo.cs index 67d0b4c2..d922993a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingCallbackInfo.cs @@ -1,124 +1,175 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is passed in with a call to . - /// - public class UpdateSendingCallbackInfo : ICallbackInfo, ISettable - { - /// - /// This returns: - /// if the channel was successfully blocked. - /// otherwise. - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request. - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The room this settings should be applied on. - /// - public string RoomName { get; private set; } - - /// - /// Muted or unmuted audio track status - /// - public RTCAudioStatus AudioStatus { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(UpdateSendingCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - RoomName = other.Value.RoomName; - AudioStatus = other.Value.AudioStatus; - } - } - - public void Set(object other) - { - Set(other as UpdateSendingCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateSendingCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private RTCAudioStatus m_AudioStatus; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string RoomName - { - get - { - string value; - Helper.TryMarshalGet(m_RoomName, out value); - return value; - } - } - - public RTCAudioStatus AudioStatus - { - get - { - return m_AudioStatus; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to . + /// + public struct UpdateSendingCallbackInfo : ICallbackInfo + { + /// + /// This returns: + /// if sending of channels of the local user was successfully enabled/disabled. + /// otherwise. + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this settings should be applied on. + /// + public Utf8String RoomName { get; set; } + + /// + /// Muted or unmuted audio track status + /// + public RTCAudioStatus AudioStatus { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref UpdateSendingCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + AudioStatus = other.AudioStatus; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateSendingCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private RTCAudioStatus m_AudioStatus; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public RTCAudioStatus AudioStatus + { + get + { + return m_AudioStatus; + } + + set + { + m_AudioStatus = value; + } + } + + public void Set(ref UpdateSendingCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + AudioStatus = other.AudioStatus; + } + + public void Set(ref UpdateSendingCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + AudioStatus = other.Value.AudioStatus; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + + public void Get(out UpdateSendingCallbackInfo output) + { + output = new UpdateSendingCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingCallbackInfo.cs.meta deleted file mode 100644 index 6d2da804..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 33eb252b56b540046931c1178cd098bb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingOptions.cs index 1f6638fe..2bbd6616 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.RTCAudio -{ - /// - /// This struct is passed in with a call to - /// - public class UpdateSendingOptions - { - /// - /// The Product User ID of the user trying to request this operation. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The room this settings should be applied on. - /// - public string RoomName { get; set; } - - /// - /// Muted or unmuted audio track status - /// - public RTCAudioStatus AudioStatus { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateSendingOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_RoomName; - private RTCAudioStatus m_AudioStatus; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string RoomName - { - set - { - Helper.TryMarshalSet(ref m_RoomName, value); - } - } - - public RTCAudioStatus AudioStatus - { - set - { - m_AudioStatus = value; - } - } - - public void Set(UpdateSendingOptions other) - { - if (other != null) - { - m_ApiVersion = RTCAudioInterface.UpdatesendingApiLatest; - LocalUserId = other.LocalUserId; - RoomName = other.RoomName; - AudioStatus = other.AudioStatus; - } - } - - public void Set(object other) - { - Set(other as UpdateSendingOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_RoomName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to + /// + public struct UpdateSendingOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this settings should be applied on. + /// + public Utf8String RoomName { get; set; } + + /// + /// Muted or unmuted audio track status + /// + public RTCAudioStatus AudioStatus { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateSendingOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private RTCAudioStatus m_AudioStatus; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public RTCAudioStatus AudioStatus + { + set + { + m_AudioStatus = value; + } + } + + public void Set(ref UpdateSendingOptions other) + { + m_ApiVersion = RTCAudioInterface.UpdatesendingApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + AudioStatus = other.AudioStatus; + } + + public void Set(ref UpdateSendingOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.UpdatesendingApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + AudioStatus = other.Value.AudioStatus; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingOptions.cs.meta deleted file mode 100644 index dcaebd34..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 85c249c64a339c8469c4c3fbcfa84b6a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingVolumeCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingVolumeCallbackInfo.cs new file mode 100644 index 00000000..3b45b19b --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingVolumeCallbackInfo.cs @@ -0,0 +1,175 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to . + /// + public struct UpdateSendingVolumeCallbackInfo : ICallbackInfo + { + /// + /// This returns: + /// if sending volume of channels of the local user was successfully changed. + /// otherwise. + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this settings should be applied on. + /// + public Utf8String RoomName { get; set; } + + /// + /// The volume that was set for sent audio (range 0.0 to 100.0). + /// + public float Volume { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref UpdateSendingVolumeCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Volume = other.Volume; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateSendingVolumeCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private float m_Volume; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + get + { + Utf8String value; + Helper.Get(m_RoomName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public float Volume + { + get + { + return m_Volume; + } + + set + { + m_Volume = value; + } + } + + public void Set(ref UpdateSendingVolumeCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Volume = other.Volume; + } + + public void Set(ref UpdateSendingVolumeCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + Volume = other.Value.Volume; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + + public void Get(out UpdateSendingVolumeCallbackInfo output) + { + output = new UpdateSendingVolumeCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingVolumeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingVolumeOptions.cs new file mode 100644 index 00000000..154538ad --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAudio/UpdateSendingVolumeOptions.cs @@ -0,0 +1,84 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.RTCAudio +{ + /// + /// This struct is passed in with a call to + /// + public struct UpdateSendingVolumeOptions + { + /// + /// The Product User ID of the user trying to request this operation. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The room this settings should be applied on. + /// + public Utf8String RoomName { get; set; } + + /// + /// The volume to be set for sent audio (range 0.0 to 100.0). Volume 50 means that the audio volume is not modified + /// + public float Volume { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateSendingVolumeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_RoomName; + private float m_Volume; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String RoomName + { + set + { + Helper.Set(value, ref m_RoomName); + } + } + + public float Volume + { + set + { + m_Volume = value; + } + } + + public void Set(ref UpdateSendingVolumeOptions other) + { + m_ApiVersion = RTCAudioInterface.UpdatesendingvolumeApiLatest; + LocalUserId = other.LocalUserId; + RoomName = other.RoomName; + Volume = other.Volume; + } + + public void Set(ref UpdateSendingVolumeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = RTCAudioInterface.UpdatesendingvolumeApiLatest; + LocalUserId = other.Value.LocalUserId; + RoomName = other.Value.RoomName; + Volume = other.Value.Volume; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_RoomName); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports.meta deleted file mode 100644 index ebbe80ba..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7f26f9005823d0b44a7df1341792b5ae -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/OnSendPlayerBehaviorReportCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/OnSendPlayerBehaviorReportCompleteCallback.cs index 5791de9e..c607a577 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/OnSendPlayerBehaviorReportCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/OnSendPlayerBehaviorReportCompleteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Reports -{ - /// - /// Function prototype definition for callbacks passed to . - /// - /// A containing the output information and result. - public delegate void OnSendPlayerBehaviorReportCompleteCallback(SendPlayerBehaviorReportCompleteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnSendPlayerBehaviorReportCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Reports +{ + /// + /// Function prototype definition for callbacks passed to . + /// + /// A containing the output information and result. + public delegate void OnSendPlayerBehaviorReportCompleteCallback(ref SendPlayerBehaviorReportCompleteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnSendPlayerBehaviorReportCompleteCallbackInternal(ref SendPlayerBehaviorReportCompleteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/OnSendPlayerBehaviorReportCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/OnSendPlayerBehaviorReportCompleteCallback.cs.meta deleted file mode 100644 index 47b64e15..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/OnSendPlayerBehaviorReportCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 60651801d9710bb41974093c76ab43ad -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/PlayerReportsCategory.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/PlayerReportsCategory.cs index c11e47b1..ef8b243c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/PlayerReportsCategory.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/PlayerReportsCategory.cs @@ -1,44 +1,44 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Reports -{ - /// - /// An enumeration of the different player behavior categories that can be reported. - /// - public enum PlayerReportsCategory : int - { - /// - /// Not used - /// - Invalid = 0, - /// - /// The reported player is cheating - /// - Cheating = 1, - /// - /// The reported player is exploiting the game - /// - Exploiting = 2, - /// - /// The reported player has an offensive profile, name, etc - /// - OffensiveProfile = 3, - /// - /// The reported player is being abusive in chat - /// - VerbalAbuse = 4, - /// - /// The reported player is scamming other players - /// - Scamming = 5, - /// - /// The reported player is spamming chat - /// - Spamming = 6, - /// - /// The player is being reported for something else - /// - Other = 7 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Reports +{ + /// + /// An enumeration of the different player behavior categories that can be reported. + /// + public enum PlayerReportsCategory : int + { + /// + /// Not used + /// + Invalid = 0, + /// + /// The reported player is cheating + /// + Cheating = 1, + /// + /// The reported player is exploiting the game + /// + Exploiting = 2, + /// + /// The reported player has an offensive profile, name, etc + /// + OffensiveProfile = 3, + /// + /// The reported player is being abusive in chat + /// + VerbalAbuse = 4, + /// + /// The reported player is scamming other players + /// + Scamming = 5, + /// + /// The reported player is spamming chat + /// + Spamming = 6, + /// + /// The player is being reported for something else + /// + Other = 7 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/PlayerReportsCategory.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/PlayerReportsCategory.cs.meta deleted file mode 100644 index 16c8bb6e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/PlayerReportsCategory.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9f00ddacacd5b7e40915dcf34556a439 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/ReportsInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/ReportsInterface.cs index 6d5b94b0..78014032 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/ReportsInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/ReportsInterface.cs @@ -1,63 +1,63 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Reports -{ - public sealed partial class ReportsInterface : Handle - { - public ReportsInterface() - { - } - - public ReportsInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// Max length of a report context JSON payload, not including the null terminator. - /// - public const int ReportcontextMaxLength = 4096; - - /// - /// Max length of a report message text, not including the null terminator. - /// - public const int ReportmessageMaxLength = 512; - - /// - /// The most recent version of the API. - /// - public const int SendplayerbehaviorreportApiLatest = 2; - - /// - /// Sends the provided report directly to the Epic Online Services back-end. - /// - /// Structure containing the player report information. - /// Optional client data provided by the user of the SDK. - /// This function is called when the send operation completes. - public void SendPlayerBehaviorReport(SendPlayerBehaviorReportOptions options, object clientData, OnSendPlayerBehaviorReportCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnSendPlayerBehaviorReportCompleteCallbackInternal(OnSendPlayerBehaviorReportCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Reports_SendPlayerBehaviorReport(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnSendPlayerBehaviorReportCompleteCallbackInternal))] - internal static void OnSendPlayerBehaviorReportCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnSendPlayerBehaviorReportCompleteCallback callback; - SendPlayerBehaviorReportCompleteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Reports +{ + public sealed partial class ReportsInterface : Handle + { + public ReportsInterface() + { + } + + public ReportsInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// Max length of a report context JSON payload, not including the null terminator. + /// + public const int ReportcontextMaxLength = 4096; + + /// + /// Max length of a report message text, not including the null terminator. + /// + public const int ReportmessageMaxLength = 512; + + /// + /// The most recent version of the API. + /// + public const int SendplayerbehaviorreportApiLatest = 2; + + /// + /// Sends the provided report directly to the Epic Online Services back-end. + /// + /// Structure containing the player report information. + /// Optional client data provided by the user of the SDK. + /// This function is called when the send operation completes. + public void SendPlayerBehaviorReport(ref SendPlayerBehaviorReportOptions options, object clientData, OnSendPlayerBehaviorReportCompleteCallback completionDelegate) + { + SendPlayerBehaviorReportOptionsInternal optionsInternal = new SendPlayerBehaviorReportOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnSendPlayerBehaviorReportCompleteCallbackInternal(OnSendPlayerBehaviorReportCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Reports_SendPlayerBehaviorReport(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnSendPlayerBehaviorReportCompleteCallbackInternal))] + internal static void OnSendPlayerBehaviorReportCompleteCallbackInternalImplementation(ref SendPlayerBehaviorReportCompleteCallbackInfoInternal data) + { + OnSendPlayerBehaviorReportCompleteCallback callback; + SendPlayerBehaviorReportCompleteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/ReportsInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/ReportsInterface.cs.meta deleted file mode 100644 index b02ef243..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/ReportsInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b5ce7f3683cccb0488c5ee4a8ff9d77a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportCompleteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportCompleteCallbackInfo.cs index fcde539f..135d0211 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportCompleteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportCompleteCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Reports -{ - /// - /// Output parameters for the function. - /// - public class SendPlayerBehaviorReportCompleteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(SendPlayerBehaviorReportCompleteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as SendPlayerBehaviorReportCompleteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SendPlayerBehaviorReportCompleteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Reports +{ + /// + /// Output parameters for the function. + /// + public struct SendPlayerBehaviorReportCompleteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref SendPlayerBehaviorReportCompleteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SendPlayerBehaviorReportCompleteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref SendPlayerBehaviorReportCompleteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref SendPlayerBehaviorReportCompleteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out SendPlayerBehaviorReportCompleteCallbackInfo output) + { + output = new SendPlayerBehaviorReportCompleteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportCompleteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportCompleteCallbackInfo.cs.meta deleted file mode 100644 index 46ca68b7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportCompleteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4923af1ecc797044682083b34786b660 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportOptions.cs index 36b06321..eb99dde9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportOptions.cs @@ -1,120 +1,125 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Reports -{ - /// - /// Input parameters for the function. - /// - public class SendPlayerBehaviorReportOptions - { - /// - /// Product User ID of the reporting player - /// - public ProductUserId ReporterUserId { get; set; } - - /// - /// Product User ID of the reported player. - /// - public ProductUserId ReportedUserId { get; set; } - - /// - /// Category for the player report. - /// - public PlayerReportsCategory Category { get; set; } - - /// - /// Optional plain text string associated with the report as UTF-8 encoded null-terminated string. - /// - /// The length of the message can be at maximum up to bytes - /// and any excess characters will be truncated upon sending the report. - /// - public string Message { get; set; } - - /// - /// Optional JSON string associated with the report as UTF-8 encoded null-terminated string. - /// This is intended as a way to associate arbitrary structured context information with a report. - /// - /// This string needs to be valid JSON, report will fail otherwise. - /// The length of the context can be at maximum up to bytes, not including the null terminator, report will fail otherwise. - /// - public string Context { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SendPlayerBehaviorReportOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_ReporterUserId; - private System.IntPtr m_ReportedUserId; - private PlayerReportsCategory m_Category; - private System.IntPtr m_Message; - private System.IntPtr m_Context; - - public ProductUserId ReporterUserId - { - set - { - Helper.TryMarshalSet(ref m_ReporterUserId, value); - } - } - - public ProductUserId ReportedUserId - { - set - { - Helper.TryMarshalSet(ref m_ReportedUserId, value); - } - } - - public PlayerReportsCategory Category - { - set - { - m_Category = value; - } - } - - public string Message - { - set - { - Helper.TryMarshalSet(ref m_Message, value); - } - } - - public string Context - { - set - { - Helper.TryMarshalSet(ref m_Context, value); - } - } - - public void Set(SendPlayerBehaviorReportOptions other) - { - if (other != null) - { - m_ApiVersion = ReportsInterface.SendplayerbehaviorreportApiLatest; - ReporterUserId = other.ReporterUserId; - ReportedUserId = other.ReportedUserId; - Category = other.Category; - Message = other.Message; - Context = other.Context; - } - } - - public void Set(object other) - { - Set(other as SendPlayerBehaviorReportOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_ReporterUserId); - Helper.TryMarshalDispose(ref m_ReportedUserId); - Helper.TryMarshalDispose(ref m_Message); - Helper.TryMarshalDispose(ref m_Context); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Reports +{ + /// + /// Input parameters for the function. + /// + public struct SendPlayerBehaviorReportOptions + { + /// + /// Product User ID of the reporting player + /// + public ProductUserId ReporterUserId { get; set; } + + /// + /// Product User ID of the reported player. + /// + public ProductUserId ReportedUserId { get; set; } + + /// + /// Category for the player report. + /// + public PlayerReportsCategory Category { get; set; } + + /// + /// Optional plain text string associated with the report as UTF-8 encoded null-terminated string. + /// + /// The length of the message can be at maximum up to bytes + /// and any excess characters will be truncated upon sending the report. + /// + public Utf8String Message { get; set; } + + /// + /// Optional JSON string associated with the report as UTF-8 encoded null-terminated string. + /// This is intended as a way to associate arbitrary structured context information with a report. + /// + /// This string needs to be valid JSON, report will fail otherwise. + /// The length of the context can be at maximum up to bytes, not including the null terminator, report will fail otherwise. + /// + public Utf8String Context { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SendPlayerBehaviorReportOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_ReporterUserId; + private System.IntPtr m_ReportedUserId; + private PlayerReportsCategory m_Category; + private System.IntPtr m_Message; + private System.IntPtr m_Context; + + public ProductUserId ReporterUserId + { + set + { + Helper.Set(value, ref m_ReporterUserId); + } + } + + public ProductUserId ReportedUserId + { + set + { + Helper.Set(value, ref m_ReportedUserId); + } + } + + public PlayerReportsCategory Category + { + set + { + m_Category = value; + } + } + + public Utf8String Message + { + set + { + Helper.Set(value, ref m_Message); + } + } + + public Utf8String Context + { + set + { + Helper.Set(value, ref m_Context); + } + } + + public void Set(ref SendPlayerBehaviorReportOptions other) + { + m_ApiVersion = ReportsInterface.SendplayerbehaviorreportApiLatest; + ReporterUserId = other.ReporterUserId; + ReportedUserId = other.ReportedUserId; + Category = other.Category; + Message = other.Message; + Context = other.Context; + } + + public void Set(ref SendPlayerBehaviorReportOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ReportsInterface.SendplayerbehaviorreportApiLatest; + ReporterUserId = other.Value.ReporterUserId; + ReportedUserId = other.Value.ReportedUserId; + Category = other.Value.Category; + Message = other.Value.Message; + Context = other.Value.Context; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ReporterUserId); + Helper.Dispose(ref m_ReportedUserId); + Helper.Dispose(ref m_Message); + Helper.Dispose(ref m_Context); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportOptions.cs.meta deleted file mode 100644 index 5f3fc3b2..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Reports/SendPlayerBehaviorReportOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8525abbeb4439624d829ba97beaa4b72 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Result.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Result.cs index 4baaef28..253c734e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Result.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Result.cs @@ -1,809 +1,893 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices -{ - public enum Result : int - { - /// - /// Successful result. no further error processing needed - /// - Success = 0, - /// - /// Failed due to no connection - /// - NoConnection = 1, - /// - /// Failed login due to invalid credentials - /// - InvalidCredentials = 2, - /// - /// Failed due to invalid or missing user - /// - InvalidUser = 3, - /// - /// Failed due to invalid or missing authentication token for user (e.g. not logged in) - /// - InvalidAuth = 4, - /// - /// Failed due to invalid access - /// - AccessDenied = 5, - /// - /// If the client does not possess the permission required - /// - MissingPermissions = 6, - /// - /// If the token provided does not represent an account - /// - TokenNotAccount = 7, - /// - /// Throttled due to too many requests - /// - TooManyRequests = 8, - /// - /// Async request was already pending - /// - AlreadyPending = 9, - /// - /// Invalid parameters specified for request - /// - InvalidParameters = 10, - /// - /// Invalid request - /// - InvalidRequest = 11, - /// - /// Failed due to unable to parse or recognize a backend response - /// - UnrecognizedResponse = 12, - /// - /// Incompatible client for backend version - /// - IncompatibleVersion = 13, - /// - /// Not configured correctly for use - /// - NotConfigured = 14, - /// - /// Already configured for use. - /// - AlreadyConfigured = 15, - /// - /// Feature not available on this implementation - /// - NotImplemented = 16, - /// - /// Operation was canceled (likely by user) - /// - Canceled = 17, - /// - /// The requested information was not found - /// - NotFound = 18, - /// - /// An error occurred during an asynchronous operation, and it will be retried. Callbacks receiving this result will be called again in the future. - /// - OperationWillRetry = 19, - /// - /// The request had no effect - /// - NoChange = 20, - /// - /// The request attempted to use multiple or inconsistent API versions - /// - VersionMismatch = 21, - /// - /// A maximum limit was exceeded on the client, different from - /// - LimitExceeded = 22, - /// - /// Feature or client ID performing the operation has been disabled. - /// - Disabled = 23, - /// - /// Duplicate entry not allowed - /// - DuplicateNotAllowed = 24, - /// - /// Required parameters are missing. DEPRECATED: This error is no longer used. - /// - MissingParametersDEPRECATED = 25, - /// - /// Sandbox ID is invalid - /// - InvalidSandboxId = 26, - /// - /// Request timed out - /// - TimedOut = 27, - /// - /// A query returned some but not all of the requested results. - /// - PartialResult = 28, - /// - /// Client is missing the whitelisted role - /// - MissingRole = 29, - /// - /// Client is missing the whitelisted feature - /// - MissingFeature = 30, - /// - /// The sandbox given to the backend is invalid - /// - InvalidSandbox = 31, - /// - /// The deployment given to the backend is invalid - /// - InvalidDeployment = 32, - /// - /// The product ID specified to the backend is invalid - /// - InvalidProduct = 33, - /// - /// The product user ID specified to the backend is invalid - /// - InvalidProductUserID = 34, - /// - /// There was a failure with the backend service - /// - ServiceFailure = 35, - /// - /// Cache directory is not set in platform options. - /// - CacheDirectoryMissing = 36, - /// - /// Cache directory is not accessible. - /// - CacheDirectoryInvalid = 37, - /// - /// The request failed because resource was in an invalid state - /// - InvalidState = 38, - /// - /// Request is in progress - /// - RequestInProgress = 39, - /// - /// Account locked due to login failures - /// - AuthAccountLocked = 1001, - /// - /// Account locked by update operation. - /// - AuthAccountLockedForUpdate = 1002, - /// - /// Refresh token used was invalid - /// - AuthInvalidRefreshToken = 1003, - /// - /// Invalid access token, typically when switching between backend environments - /// - AuthInvalidToken = 1004, - /// - /// Invalid bearer token - /// - AuthAuthenticationFailure = 1005, - /// - /// Invalid platform token - /// - AuthInvalidPlatformToken = 1006, - /// - /// Auth parameters are not associated with this account - /// - AuthWrongAccount = 1007, - /// - /// Auth parameters are not associated with this client - /// - AuthWrongClient = 1008, - /// - /// Full account is required - /// - AuthFullAccountRequired = 1009, - /// - /// Headless account is required - /// - AuthHeadlessAccountRequired = 1010, - /// - /// Password reset is required - /// - AuthPasswordResetRequired = 1011, - /// - /// Password was previously used and cannot be reused - /// - AuthPasswordCannotBeReused = 1012, - /// - /// Authorization code/exchange code has expired - /// - AuthExpired = 1013, - /// - /// Consent has not been given by the user - /// - AuthScopeConsentRequired = 1014, - /// - /// The application has no profile on the backend - /// - AuthApplicationNotFound = 1015, - /// - /// The requested consent wasn't found on the backend - /// - AuthScopeNotFound = 1016, - /// - /// This account has been denied access to login - /// - AuthAccountFeatureRestricted = 1017, - /// - /// Pin grant code initiated - /// - AuthPinGrantCode = 1020, - /// - /// Pin grant code attempt expired - /// - AuthPinGrantExpired = 1021, - /// - /// Pin grant code attempt pending - /// - AuthPinGrantPending = 1022, - /// - /// External auth source did not yield an account - /// - AuthExternalAuthNotLinked = 1030, - /// - /// External auth access revoked - /// - AuthExternalAuthRevoked = 1032, - /// - /// External auth token cannot be interpreted - /// - AuthExternalAuthInvalid = 1033, - /// - /// External auth cannot be linked to his account due to restrictions - /// - AuthExternalAuthRestricted = 1034, - /// - /// External auth cannot be used for login - /// - AuthExternalAuthCannotLogin = 1035, - /// - /// External auth is expired - /// - AuthExternalAuthExpired = 1036, - /// - /// External auth cannot be removed since it's the last possible way to login - /// - AuthExternalAuthIsLastLoginType = 1037, - /// - /// Exchange code not found - /// - AuthExchangeCodeNotFound = 1040, - /// - /// Originating exchange code session has expired - /// - AuthOriginatingExchangeCodeSessionExpired = 1041, - /// - /// The account has been disabled and cannot be used for authentication - /// - AuthPersistentAuthAccountNotActive = 1050, - /// - /// MFA challenge required - /// - AuthMFARequired = 1060, - /// - /// Parental locks are in place - /// - AuthParentalControls = 1070, - /// - /// Korea real ID association required but missing - /// - AuthNoRealId = 1080, - /// - /// An outgoing friend invitation is awaiting acceptance; sending another invite to the same user is erroneous - /// - FriendsInviteAwaitingAcceptance = 2000, - /// - /// There is no friend invitation to accept/reject - /// - FriendsNoInvitation = 2001, - /// - /// Users are already friends, so sending another invite is erroneous - /// - FriendsAlreadyFriends = 2003, - /// - /// Users are not friends, so deleting the friend is erroneous - /// - FriendsNotFriends = 2004, - /// - /// Remote user has too many invites to receive new invites - /// - FriendsTargetUserTooManyInvites = 2005, - /// - /// Local user has too many invites to send new invites - /// - FriendsLocalUserTooManyInvites = 2006, - /// - /// Remote user has too many friends to make a new friendship - /// - FriendsTargetUserFriendLimitExceeded = 2007, - /// - /// Local user has too many friends to make a new friendship - /// - FriendsLocalUserFriendLimitExceeded = 2008, - /// - /// Request data was null or invalid - /// - PresenceDataInvalid = 3000, - /// - /// Request contained too many or too few unique data items, or the request would overflow the maximum amount of data allowed - /// - PresenceDataLengthInvalid = 3001, - /// - /// Request contained data with an invalid key - /// - PresenceDataKeyInvalid = 3002, - /// - /// Request contained data with a key too long or too short - /// - PresenceDataKeyLengthInvalid = 3003, - /// - /// Request contained data with an invalid value - /// - PresenceDataValueInvalid = 3004, - /// - /// Request contained data with a value too long - /// - PresenceDataValueLengthInvalid = 3005, - /// - /// Request contained an invalid rich text string - /// - PresenceRichTextInvalid = 3006, - /// - /// Request contained a rich text string that was too long - /// - PresenceRichTextLengthInvalid = 3007, - /// - /// Request contained an invalid status state - /// - PresenceStatusInvalid = 3008, - /// - /// The entitlement retrieved is stale, requery for updated information - /// - EcomEntitlementStale = 4000, - /// - /// The offer retrieved is stale, requery for updated information - /// - EcomCatalogOfferStale = 4001, - /// - /// The item or associated structure retrieved is stale, requery for updated information - /// - EcomCatalogItemStale = 4002, - /// - /// The one or more offers has an invalid price. This may be caused by the price setup. - /// - EcomCatalogOfferPriceInvalid = 4003, - /// - /// The checkout page failed to load - /// - EcomCheckoutLoadError = 4004, - /// - /// Session is already in progress - /// - SessionsSessionInProgress = 5000, - /// - /// Too many players to register with this session - /// - SessionsTooManyPlayers = 5001, - /// - /// Client has no permissions to access this session - /// - SessionsNoPermission = 5002, - /// - /// Session already exists in the system - /// - SessionsSessionAlreadyExists = 5003, - /// - /// Session lock required for operation - /// - SessionsInvalidLock = 5004, - /// - /// Invalid session reference - /// - SessionsInvalidSession = 5005, - /// - /// Sandbox ID associated with auth didn't match - /// - SessionsSandboxNotAllowed = 5006, - /// - /// Invite failed to send - /// - SessionsInviteFailed = 5007, - /// - /// Invite was not found with the service - /// - SessionsInviteNotFound = 5008, - /// - /// This client may not modify the session - /// - SessionsUpsertNotAllowed = 5009, - /// - /// Backend nodes unavailable to process request - /// - SessionsAggregationFailed = 5010, - /// - /// Individual backend node is as capacity - /// - SessionsHostAtCapacity = 5011, - /// - /// Sandbox on node is at capacity - /// - SessionsSandboxAtCapacity = 5012, - /// - /// An anonymous operation was attempted on a non anonymous session - /// - SessionsSessionNotAnonymous = 5013, - /// - /// Session is currently out of sync with the backend, data is saved locally but needs to sync with backend - /// - SessionsOutOfSync = 5014, - /// - /// User has received too many invites - /// - SessionsTooManyInvites = 5015, - /// - /// Presence session already exists for the client - /// - SessionsPresenceSessionExists = 5016, - /// - /// Deployment on node is at capacity - /// - SessionsDeploymentAtCapacity = 5017, - /// - /// Session operation not allowed - /// - SessionsNotAllowed = 5018, - /// - /// Request filename was invalid - /// - PlayerDataStorageFilenameInvalid = 6000, - /// - /// Request filename was too long - /// - PlayerDataStorageFilenameLengthInvalid = 6001, - /// - /// Request filename contained invalid characters - /// - PlayerDataStorageFilenameInvalidChars = 6002, - /// - /// Request operation would grow file too large - /// - PlayerDataStorageFileSizeTooLarge = 6003, - /// - /// Request file length is not valid - /// - PlayerDataStorageFileSizeInvalid = 6004, - /// - /// Request file handle is not valid - /// - PlayerDataStorageFileHandleInvalid = 6005, - /// - /// Request data is invalid - /// - PlayerDataStorageDataInvalid = 6006, - /// - /// Request data length was invalid - /// - PlayerDataStorageDataLengthInvalid = 6007, - /// - /// Request start index was invalid - /// - PlayerDataStorageStartIndexInvalid = 6008, - /// - /// Request is in progress - /// - PlayerDataStorageRequestInProgress = 6009, - /// - /// User is marked as throttled which means he can't perform some operations because limits are exceeded. - /// - PlayerDataStorageUserThrottled = 6010, - /// - /// Encryption key is not set during SDK init. - /// - PlayerDataStorageEncryptionKeyNotSet = 6011, - /// - /// User data callback returned error (:: or ::) - /// - PlayerDataStorageUserErrorFromDataCallback = 6012, - /// - /// User is trying to read file that has header from newer version of SDK. Game/SDK needs to be updated. - /// - PlayerDataStorageFileHeaderHasNewerVersion = 6013, - /// - /// The file is corrupted. In some cases retry can fix the issue. - /// - PlayerDataStorageFileCorrupted = 6014, - /// - /// EOS Auth service deemed the external token invalid - /// - ConnectExternalTokenValidationFailed = 7000, - /// - /// EOS Auth user already exists - /// - ConnectUserAlreadyExists = 7001, - /// - /// EOS Auth expired - /// - ConnectAuthExpired = 7002, - /// - /// EOS Auth invalid token - /// - ConnectInvalidToken = 7003, - /// - /// EOS Auth doesn't support this token type - /// - ConnectUnsupportedTokenType = 7004, - /// - /// EOS Auth Account link failure - /// - ConnectLinkAccountFailed = 7005, - /// - /// EOS Auth External service for validation was unavailable - /// - ConnectExternalServiceUnavailable = 7006, - /// - /// EOS Auth External Service configuration failure with Dev Portal - /// - ConnectExternalServiceConfigurationFailure = 7007, - /// - /// EOS Auth Account link failure. Tried to link Nintendo Network Service Account without first linking Nintendo Account. DEPRECATED: The requirement has been removed and this error is no longer used. - /// - ConnectLinkAccountFailedMissingNintendoIdAccountDEPRECATED = 7008, - /// - /// The social overlay page failed to load - /// - SocialOverlayLoadError = 8000, - /// - /// Client has no permissions to modify this lobby - /// - LobbyNotOwner = 9000, - /// - /// Lobby lock required for operation - /// - LobbyInvalidLock = 9001, - /// - /// Lobby already exists in the system - /// - LobbyLobbyAlreadyExists = 9002, - /// - /// Lobby is already in progress - /// - LobbySessionInProgress = 9003, - /// - /// Too many players to register with this lobby - /// - LobbyTooManyPlayers = 9004, - /// - /// Client has no permissions to access this lobby - /// - LobbyNoPermission = 9005, - /// - /// Invalid lobby session reference - /// - LobbyInvalidSession = 9006, - /// - /// Sandbox ID associated with auth didn't match - /// - LobbySandboxNotAllowed = 9007, - /// - /// Invite failed to send - /// - LobbyInviteFailed = 9008, - /// - /// Invite was not found with the service - /// - LobbyInviteNotFound = 9009, - /// - /// This client may not modify the lobby - /// - LobbyUpsertNotAllowed = 9010, - /// - /// Backend nodes unavailable to process request - /// - LobbyAggregationFailed = 9011, - /// - /// Individual backend node is as capacity - /// - LobbyHostAtCapacity = 9012, - /// - /// Sandbox on node is at capacity - /// - LobbySandboxAtCapacity = 9013, - /// - /// User has received too many invites - /// - LobbyTooManyInvites = 9014, - /// - /// Deployment on node is at capacity - /// - LobbyDeploymentAtCapacity = 9015, - /// - /// Lobby operation not allowed - /// - LobbyNotAllowed = 9016, - /// - /// While restoring a lost connection lobby ownership changed and only local member data was updated - /// - LobbyMemberUpdateOnly = 9017, - /// - /// Presence lobby already exists for the client - /// - LobbyPresenceLobbyExists = 9018, - /// - /// User callback that receives data from storage returned error. - /// - TitleStorageUserErrorFromDataCallback = 10000, - /// - /// User forgot to set Encryption key during platform init. Title Storage can't work without it. - /// - TitleStorageEncryptionKeyNotSet = 10001, - /// - /// Downloaded file is corrupted. - /// - TitleStorageFileCorrupted = 10002, - /// - /// Downloaded file's format is newer than client SDK version. - /// - TitleStorageFileHeaderHasNewerVersion = 10003, - /// - /// ModSdk process is already running. This error comes from the EOSSDK. - /// - ModsModSdkProcessIsAlreadyRunning = 11000, - /// - /// ModSdk command is empty. Either the ModSdk configuration file is missing or the manifest location is empty. - /// - ModsModSdkCommandIsEmpty = 11001, - /// - /// Creation of the ModSdk process failed. This error comes from the SDK. - /// - ModsModSdkProcessCreationFailed = 11002, - /// - /// A critical error occurred in the external ModSdk process that we were unable to resolve. - /// - ModsCriticalError = 11003, - /// - /// A internal error occurred in the external ModSdk process that we were unable to resolve. - /// - ModsToolInternalError = 11004, - /// - /// A IPC failure occurred in the external ModSdk process. - /// - ModsIPCFailure = 11005, - /// - /// A invalid IPC response received in the external ModSdk process. - /// - ModsInvalidIPCResponse = 11006, - /// - /// A URI Launch failure occurred in the external ModSdk process. - /// - ModsURILaunchFailure = 11007, - /// - /// Attempting to perform an action with a mod that is not installed. This error comes from the external ModSdk process. - /// - ModsModIsNotInstalled = 11008, - /// - /// Attempting to perform an action on a game that the user doesn't own. This error comes from the external ModSdk process. - /// - ModsUserDoesNotOwnTheGame = 11009, - /// - /// Invalid result of the request to get the offer for the mod. This error comes from the external ModSdk process. - /// - ModsOfferRequestByIdInvalidResult = 11010, - /// - /// Could not find the offer for the mod. This error comes from the external ModSdk process. - /// - ModsCouldNotFindOffer = 11011, - /// - /// Request to get the offer for the mod failed. This error comes from the external ModSdk process. - /// - ModsOfferRequestByIdFailure = 11012, - /// - /// Request to purchase the mod failed. This error comes from the external ModSdk process. - /// - ModsPurchaseFailure = 11013, - /// - /// Attempting to perform an action on a game that is not installed or is partially installed. This error comes from the external ModSdk process. - /// - ModsInvalidGameInstallInfo = 11014, - /// - /// Failed to get manifest location. Either the ModSdk configuration file is missing or the manifest location is empty - /// - ModsCannotGetManifestLocation = 11015, - /// - /// Attempting to perform an action with a mod that does not support the current operating system. - /// - ModsUnsupportedOS = 11016, - /// - /// The anti-cheat client protection is not available. Check that the game was started using the correct launcher. - /// - AntiCheatClientProtectionNotAvailable = 12000, - /// - /// The current anti-cheat mode is incorrect for using this API - /// - AntiCheatInvalidMode = 12001, - /// - /// The ProductId provided to the anti-cheat client helper executable does not match what was used to initialize the EOS SDK - /// - AntiCheatClientProductIdMismatch = 12002, - /// - /// The SandboxId provided to the anti-cheat client helper executable does not match what was used to initialize the EOS SDK - /// - AntiCheatClientSandboxIdMismatch = 12003, - /// - /// (ProtectMessage/UnprotectMessage) No session key is available, but it is required to complete this operation - /// - AntiCheatProtectMessageSessionKeyRequired = 12004, - /// - /// (ProtectMessage/UnprotectMessage) Message integrity is invalid - /// - AntiCheatProtectMessageValidationFailed = 12005, - /// - /// (ProtectMessage/UnprotectMessage) Initialization failed - /// - AntiCheatProtectMessageInitializationFailed = 12006, - /// - /// (RegisterPeer) Peer is already registered - /// - AntiCheatPeerAlreadyRegistered = 12007, - /// - /// (UnregisterPeer) Peer does not exist - /// - AntiCheatPeerNotFound = 12008, - /// - /// (ReceiveMessageFromPeer) Invalid call: Peer is not protected - /// - AntiCheatPeerNotProtected = 12009, - /// - /// EOS RTC room cannot accept more participants - /// - TooManyParticipants = 13000, - /// - /// EOS RTC room already exists - /// - RoomAlreadyExists = 13001, - /// - /// The user kicked out from the room - /// - UserKicked = 13002, - /// - /// The user is banned - /// - UserBanned = 13003, - /// - /// EOS RTC room was left successfully - /// - RoomWasLeft = 13004, - /// - /// Connection dropped due to long timeout - /// - ReconnectionTimegateExpired = 13005, - /// - /// The number of available Snapshot IDs have all been exhausted. - /// - ProgressionSnapshotSnapshotIdUnavailable = 14000, - /// - /// The KWS user does not have a parental email associated with the account. The parent account was unlinked or deleted - /// - ParentEmailMissing = 15000, - /// - /// The KWS user is no longer a minor and trying to update the parent email - /// - UserGraduated = 15001, - /// - /// EOS Android VM not stored - /// - AndroidJavaVMNotStored = 17000, - /// - /// An unexpected error that we cannot identify has occurred. - /// - UnexpectedError = 0x7FFFFFFF - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices +{ + public enum Result : int + { + /// + /// Successful result. no further error processing needed + /// + Success = 0, + /// + /// Failed due to no connection + /// + NoConnection = 1, + /// + /// Failed login due to invalid credentials + /// + InvalidCredentials = 2, + /// + /// Failed due to invalid or missing user + /// + InvalidUser = 3, + /// + /// Failed due to invalid or missing authentication token for user (e.g. not logged in) + /// + InvalidAuth = 4, + /// + /// Failed due to invalid access + /// + AccessDenied = 5, + /// + /// If the client does not possess the permission required + /// + MissingPermissions = 6, + /// + /// If the token provided does not represent an account + /// + TokenNotAccount = 7, + /// + /// Throttled due to too many requests + /// + TooManyRequests = 8, + /// + /// Async request was already pending + /// + AlreadyPending = 9, + /// + /// Invalid parameters specified for request + /// + InvalidParameters = 10, + /// + /// Invalid request + /// + InvalidRequest = 11, + /// + /// Failed due to unable to parse or recognize a backend response + /// + UnrecognizedResponse = 12, + /// + /// Incompatible client for backend version + /// + IncompatibleVersion = 13, + /// + /// Not configured correctly for use + /// + NotConfigured = 14, + /// + /// Already configured for use. + /// + AlreadyConfigured = 15, + /// + /// Feature not available on this implementation + /// + NotImplemented = 16, + /// + /// Operation was canceled (likely by user) + /// + Canceled = 17, + /// + /// The requested information was not found + /// + NotFound = 18, + /// + /// An error occurred during an asynchronous operation, and it will be retried. Callbacks receiving this result will be called again in the future. + /// + OperationWillRetry = 19, + /// + /// The request had no effect + /// + NoChange = 20, + /// + /// The request attempted to use multiple or inconsistent API versions + /// + VersionMismatch = 21, + /// + /// A maximum limit was exceeded on the client, different from + /// + LimitExceeded = 22, + /// + /// Feature or client ID performing the operation has been disabled. + /// + Disabled = 23, + /// + /// Duplicate entry not allowed + /// + DuplicateNotAllowed = 24, + /// + /// Required parameters are missing. DEPRECATED: This error is no longer used. + /// + MissingParametersDEPRECATED = 25, + /// + /// Sandbox ID is invalid + /// + InvalidSandboxId = 26, + /// + /// Request timed out + /// + TimedOut = 27, + /// + /// A query returned some but not all of the requested results. + /// + PartialResult = 28, + /// + /// Client is missing the whitelisted role + /// + MissingRole = 29, + /// + /// Client is missing the whitelisted feature + /// + MissingFeature = 30, + /// + /// The sandbox given to the backend is invalid + /// + InvalidSandbox = 31, + /// + /// The deployment given to the backend is invalid + /// + InvalidDeployment = 32, + /// + /// The product ID specified to the backend is invalid + /// + InvalidProduct = 33, + /// + /// The product user ID specified to the backend is invalid + /// + InvalidProductUserID = 34, + /// + /// There was a failure with the backend service + /// + ServiceFailure = 35, + /// + /// Cache directory is not set in platform options. + /// + CacheDirectoryMissing = 36, + /// + /// Cache directory is not accessible. + /// + CacheDirectoryInvalid = 37, + /// + /// The request failed because resource was in an invalid state + /// + InvalidState = 38, + /// + /// Request is in progress + /// + RequestInProgress = 39, + /// + /// Application is suspended + /// + ApplicationSuspended = 40, + /// + /// Network is disconnected + /// + NetworkDisconnected = 41, + /// + /// Account locked due to login failures + /// + AuthAccountLocked = 1001, + /// + /// Account locked by update operation. + /// + AuthAccountLockedForUpdate = 1002, + /// + /// Refresh token used was invalid + /// + AuthInvalidRefreshToken = 1003, + /// + /// Invalid access token, typically when switching between backend environments + /// + AuthInvalidToken = 1004, + /// + /// Invalid bearer token + /// + AuthAuthenticationFailure = 1005, + /// + /// Invalid platform token + /// + AuthInvalidPlatformToken = 1006, + /// + /// Auth parameters are not associated with this account + /// + AuthWrongAccount = 1007, + /// + /// Auth parameters are not associated with this client + /// + AuthWrongClient = 1008, + /// + /// Full account is required + /// + AuthFullAccountRequired = 1009, + /// + /// Headless account is required + /// + AuthHeadlessAccountRequired = 1010, + /// + /// Password reset is required + /// + AuthPasswordResetRequired = 1011, + /// + /// Password was previously used and cannot be reused + /// + AuthPasswordCannotBeReused = 1012, + /// + /// Authorization code/exchange code has expired + /// + AuthExpired = 1013, + /// + /// Consent has not been given by the user + /// + AuthScopeConsentRequired = 1014, + /// + /// The application has no profile on the backend + /// + AuthApplicationNotFound = 1015, + /// + /// The requested consent wasn't found on the backend + /// + AuthScopeNotFound = 1016, + /// + /// This account has been denied access to login + /// + AuthAccountFeatureRestricted = 1017, + /// + /// The overlay failed to load the Account Portal. This can range from general overlay failure, to overlay failed to connect to the web server, to overlay failed to render the web page. + /// + AuthAccountPortalLoadError = 1018, + /// + /// An attempted login has failed due to the user needing to take corrective action on their account. + /// + AuthCorrectiveActionRequired = 1019, + /// + /// Pin grant code initiated + /// + AuthPinGrantCode = 1020, + /// + /// Pin grant code attempt expired + /// + AuthPinGrantExpired = 1021, + /// + /// Pin grant code attempt pending + /// + AuthPinGrantPending = 1022, + /// + /// External auth source did not yield an account + /// + AuthExternalAuthNotLinked = 1030, + /// + /// External auth access revoked + /// + AuthExternalAuthRevoked = 1032, + /// + /// External auth token cannot be interpreted + /// + AuthExternalAuthInvalid = 1033, + /// + /// External auth cannot be linked to his account due to restrictions + /// + AuthExternalAuthRestricted = 1034, + /// + /// External auth cannot be used for login + /// + AuthExternalAuthCannotLogin = 1035, + /// + /// External auth is expired + /// + AuthExternalAuthExpired = 1036, + /// + /// External auth cannot be removed since it's the last possible way to login + /// + AuthExternalAuthIsLastLoginType = 1037, + /// + /// Exchange code not found + /// + AuthExchangeCodeNotFound = 1040, + /// + /// Originating exchange code session has expired + /// + AuthOriginatingExchangeCodeSessionExpired = 1041, + /// + /// The account has been disabled and cannot be used for authentication + /// + AuthAccountNotActive = 1050, + /// + /// MFA challenge required + /// + AuthMFARequired = 1060, + /// + /// Parental locks are in place + /// + AuthParentalControls = 1070, + /// + /// Korea real ID association required but missing + /// + AuthNoRealId = 1080, + /// + /// An outgoing friend invitation is awaiting acceptance; sending another invite to the same user is erroneous + /// + FriendsInviteAwaitingAcceptance = 2000, + /// + /// There is no friend invitation to accept/reject + /// + FriendsNoInvitation = 2001, + /// + /// Users are already friends, so sending another invite is erroneous + /// + FriendsAlreadyFriends = 2003, + /// + /// Users are not friends, so deleting the friend is erroneous + /// + FriendsNotFriends = 2004, + /// + /// Remote user has too many invites to receive new invites + /// + FriendsTargetUserTooManyInvites = 2005, + /// + /// Local user has too many invites to send new invites + /// + FriendsLocalUserTooManyInvites = 2006, + /// + /// Remote user has too many friends to make a new friendship + /// + FriendsTargetUserFriendLimitExceeded = 2007, + /// + /// Local user has too many friends to make a new friendship + /// + FriendsLocalUserFriendLimitExceeded = 2008, + /// + /// Request data was null or invalid + /// + PresenceDataInvalid = 3000, + /// + /// Request contained too many or too few unique data items, or the request would overflow the maximum amount of data allowed + /// + PresenceDataLengthInvalid = 3001, + /// + /// Request contained data with an invalid key + /// + PresenceDataKeyInvalid = 3002, + /// + /// Request contained data with a key too long or too short + /// + PresenceDataKeyLengthInvalid = 3003, + /// + /// Request contained data with an invalid value + /// + PresenceDataValueInvalid = 3004, + /// + /// Request contained data with a value too long + /// + PresenceDataValueLengthInvalid = 3005, + /// + /// Request contained an invalid rich text string + /// + PresenceRichTextInvalid = 3006, + /// + /// Request contained a rich text string that was too long + /// + PresenceRichTextLengthInvalid = 3007, + /// + /// Request contained an invalid status state + /// + PresenceStatusInvalid = 3008, + /// + /// The entitlement retrieved is stale, requery for updated information + /// + EcomEntitlementStale = 4000, + /// + /// The offer retrieved is stale, requery for updated information + /// + EcomCatalogOfferStale = 4001, + /// + /// The item or associated structure retrieved is stale, requery for updated information + /// + EcomCatalogItemStale = 4002, + /// + /// The one or more offers has an invalid price. This may be caused by the price setup. + /// + EcomCatalogOfferPriceInvalid = 4003, + /// + /// The checkout page failed to load + /// + EcomCheckoutLoadError = 4004, + /// + /// Session is already in progress + /// + SessionsSessionInProgress = 5000, + /// + /// Too many players to register with this session + /// + SessionsTooManyPlayers = 5001, + /// + /// Client has no permissions to access this session + /// + SessionsNoPermission = 5002, + /// + /// Session already exists in the system + /// + SessionsSessionAlreadyExists = 5003, + /// + /// Session lock required for operation + /// + SessionsInvalidLock = 5004, + /// + /// Invalid session reference + /// + SessionsInvalidSession = 5005, + /// + /// Sandbox ID associated with auth didn't match + /// + SessionsSandboxNotAllowed = 5006, + /// + /// Invite failed to send + /// + SessionsInviteFailed = 5007, + /// + /// Invite was not found with the service + /// + SessionsInviteNotFound = 5008, + /// + /// This client may not modify the session + /// + SessionsUpsertNotAllowed = 5009, + /// + /// Backend nodes unavailable to process request + /// + SessionsAggregationFailed = 5010, + /// + /// Individual backend node is as capacity + /// + SessionsHostAtCapacity = 5011, + /// + /// Sandbox on node is at capacity + /// + SessionsSandboxAtCapacity = 5012, + /// + /// An anonymous operation was attempted on a non anonymous session + /// + SessionsSessionNotAnonymous = 5013, + /// + /// Session is currently out of sync with the backend, data is saved locally but needs to sync with backend + /// + SessionsOutOfSync = 5014, + /// + /// User has received too many invites + /// + SessionsTooManyInvites = 5015, + /// + /// Presence session already exists for the client + /// + SessionsPresenceSessionExists = 5016, + /// + /// Deployment on node is at capacity + /// + SessionsDeploymentAtCapacity = 5017, + /// + /// Session operation not allowed + /// + SessionsNotAllowed = 5018, + /// + /// Session operation not allowed + /// + SessionsPlayerSanctioned = 5019, + /// + /// Request filename was invalid + /// + PlayerDataStorageFilenameInvalid = 6000, + /// + /// Request filename was too long + /// + PlayerDataStorageFilenameLengthInvalid = 6001, + /// + /// Request filename contained invalid characters + /// + PlayerDataStorageFilenameInvalidChars = 6002, + /// + /// Request operation would grow file too large + /// + PlayerDataStorageFileSizeTooLarge = 6003, + /// + /// Request file length is not valid + /// + PlayerDataStorageFileSizeInvalid = 6004, + /// + /// Request file handle is not valid + /// + PlayerDataStorageFileHandleInvalid = 6005, + /// + /// Request data is invalid + /// + PlayerDataStorageDataInvalid = 6006, + /// + /// Request data length was invalid + /// + PlayerDataStorageDataLengthInvalid = 6007, + /// + /// Request start index was invalid + /// + PlayerDataStorageStartIndexInvalid = 6008, + /// + /// Request is in progress + /// + PlayerDataStorageRequestInProgress = 6009, + /// + /// User is marked as throttled which means he can't perform some operations because limits are exceeded. + /// + PlayerDataStorageUserThrottled = 6010, + /// + /// Encryption key is not set during SDK init. + /// + PlayerDataStorageEncryptionKeyNotSet = 6011, + /// + /// User data callback returned error ( or ) + /// + PlayerDataStorageUserErrorFromDataCallback = 6012, + /// + /// User is trying to read file that has header from newer version of SDK. Game/SDK needs to be updated. + /// + PlayerDataStorageFileHeaderHasNewerVersion = 6013, + /// + /// The file is corrupted. In some cases retry can fix the issue. + /// + PlayerDataStorageFileCorrupted = 6014, + /// + /// EOS Auth service deemed the external token invalid + /// + ConnectExternalTokenValidationFailed = 7000, + /// + /// EOS Auth user already exists + /// + ConnectUserAlreadyExists = 7001, + /// + /// EOS Auth expired + /// + ConnectAuthExpired = 7002, + /// + /// EOS Auth invalid token + /// + ConnectInvalidToken = 7003, + /// + /// EOS Auth doesn't support this token type + /// + ConnectUnsupportedTokenType = 7004, + /// + /// EOS Auth Account link failure + /// + ConnectLinkAccountFailed = 7005, + /// + /// EOS Auth External service for validation was unavailable + /// + ConnectExternalServiceUnavailable = 7006, + /// + /// EOS Auth External Service configuration failure with Dev Portal + /// + ConnectExternalServiceConfigurationFailure = 7007, + /// + /// EOS Auth Account link failure. Tried to link Nintendo Network Service Account without first linking Nintendo Account. DEPRECATED: The requirement has been removed and this error is no longer used. + /// + ConnectLinkAccountFailedMissingNintendoIdAccountDEPRECATED = 7008, + /// + /// The social overlay page failed to load + /// + SocialOverlayLoadError = 8000, + /// + /// Client has no permissions to modify this lobby + /// + LobbyNotOwner = 9000, + /// + /// Lobby lock required for operation + /// + LobbyInvalidLock = 9001, + /// + /// Lobby already exists in the system + /// + LobbyLobbyAlreadyExists = 9002, + /// + /// Lobby is already in progress + /// + LobbySessionInProgress = 9003, + /// + /// Too many players to register with this lobby + /// + LobbyTooManyPlayers = 9004, + /// + /// Client has no permissions to access this lobby + /// + LobbyNoPermission = 9005, + /// + /// Invalid lobby session reference + /// + LobbyInvalidSession = 9006, + /// + /// Sandbox ID associated with auth didn't match + /// + LobbySandboxNotAllowed = 9007, + /// + /// Invite failed to send + /// + LobbyInviteFailed = 9008, + /// + /// Invite was not found with the service + /// + LobbyInviteNotFound = 9009, + /// + /// This client may not modify the lobby + /// + LobbyUpsertNotAllowed = 9010, + /// + /// Backend nodes unavailable to process request + /// + LobbyAggregationFailed = 9011, + /// + /// Individual backend node is as capacity + /// + LobbyHostAtCapacity = 9012, + /// + /// Sandbox on node is at capacity + /// + LobbySandboxAtCapacity = 9013, + /// + /// User has received too many invites + /// + LobbyTooManyInvites = 9014, + /// + /// Deployment on node is at capacity + /// + LobbyDeploymentAtCapacity = 9015, + /// + /// Lobby operation not allowed + /// + LobbyNotAllowed = 9016, + /// + /// While restoring a lost connection lobby ownership changed and only local member data was updated + /// + LobbyMemberUpdateOnly = 9017, + /// + /// Presence lobby already exists for the client + /// + LobbyPresenceLobbyExists = 9018, + /// + /// Operation requires lobby with voice enabled + /// + LobbyVoiceNotEnabled = 9019, + /// + /// User callback that receives data from storage returned error. + /// + TitleStorageUserErrorFromDataCallback = 10000, + /// + /// User forgot to set Encryption key during platform init. Title Storage can't work without it. + /// + TitleStorageEncryptionKeyNotSet = 10001, + /// + /// Downloaded file is corrupted. + /// + TitleStorageFileCorrupted = 10002, + /// + /// Downloaded file's format is newer than client SDK version. + /// + TitleStorageFileHeaderHasNewerVersion = 10003, + /// + /// ModSdk process is already running. This error comes from the EOSSDK. + /// + ModsModSdkProcessIsAlreadyRunning = 11000, + /// + /// ModSdk command is empty. Either the ModSdk configuration file is missing or the manifest location is empty. + /// + ModsModSdkCommandIsEmpty = 11001, + /// + /// Creation of the ModSdk process failed. This error comes from the SDK. + /// + ModsModSdkProcessCreationFailed = 11002, + /// + /// A critical error occurred in the external ModSdk process that we were unable to resolve. + /// + ModsCriticalError = 11003, + /// + /// A internal error occurred in the external ModSdk process that we were unable to resolve. + /// + ModsToolInternalError = 11004, + /// + /// A IPC failure occurred in the external ModSdk process. + /// + ModsIPCFailure = 11005, + /// + /// A invalid IPC response received in the external ModSdk process. + /// + ModsInvalidIPCResponse = 11006, + /// + /// A URI Launch failure occurred in the external ModSdk process. + /// + ModsURILaunchFailure = 11007, + /// + /// Attempting to perform an action with a mod that is not installed. This error comes from the external ModSdk process. + /// + ModsModIsNotInstalled = 11008, + /// + /// Attempting to perform an action on a game that the user doesn't own. This error comes from the external ModSdk process. + /// + ModsUserDoesNotOwnTheGame = 11009, + /// + /// Invalid result of the request to get the offer for the mod. This error comes from the external ModSdk process. + /// + ModsOfferRequestByIdInvalidResult = 11010, + /// + /// Could not find the offer for the mod. This error comes from the external ModSdk process. + /// + ModsCouldNotFindOffer = 11011, + /// + /// Request to get the offer for the mod failed. This error comes from the external ModSdk process. + /// + ModsOfferRequestByIdFailure = 11012, + /// + /// Request to purchase the mod failed. This error comes from the external ModSdk process. + /// + ModsPurchaseFailure = 11013, + /// + /// Attempting to perform an action on a game that is not installed or is partially installed. This error comes from the external ModSdk process. + /// + ModsInvalidGameInstallInfo = 11014, + /// + /// Failed to get manifest location. Either the ModSdk configuration file is missing or the manifest location is empty + /// + ModsCannotGetManifestLocation = 11015, + /// + /// Attempting to perform an action with a mod that does not support the current operating system. + /// + ModsUnsupportedOS = 11016, + /// + /// The anti-cheat client protection is not available. Check that the game was started using the anti-cheat bootstrapper. + /// + AntiCheatClientProtectionNotAvailable = 12000, + /// + /// The current anti-cheat mode is incorrect for using this API + /// + AntiCheatInvalidMode = 12001, + /// + /// The ProductId provided to the anti-cheat client helper executable does not match what was used to initialize the EOS SDK + /// + AntiCheatClientProductIdMismatch = 12002, + /// + /// The SandboxId provided to the anti-cheat client helper executable does not match what was used to initialize the EOS SDK + /// + AntiCheatClientSandboxIdMismatch = 12003, + /// + /// (ProtectMessage/UnprotectMessage) No session key is available, but it is required to complete this operation + /// + AntiCheatProtectMessageSessionKeyRequired = 12004, + /// + /// (ProtectMessage/UnprotectMessage) Message integrity is invalid + /// + AntiCheatProtectMessageValidationFailed = 12005, + /// + /// (ProtectMessage/UnprotectMessage) Initialization failed + /// + AntiCheatProtectMessageInitializationFailed = 12006, + /// + /// (RegisterPeer) Peer is already registered + /// + AntiCheatPeerAlreadyRegistered = 12007, + /// + /// (UnregisterPeer) Peer does not exist + /// + AntiCheatPeerNotFound = 12008, + /// + /// (ReceiveMessageFromPeer) Invalid call: Peer is not protected + /// + AntiCheatPeerNotProtected = 12009, + /// + /// The DeploymentId provided to the anti-cheat client helper executable does not match what was used to initialize the EOS SDK + /// + AntiCheatClientDeploymentIdMismatch = 12010, + /// + /// EOS Connect DeviceID auth method is not supported for anti-cheat + /// + AntiCheatDeviceIdAuthIsNotSupported = 12011, + /// + /// EOS RTC room cannot accept more participants + /// + TooManyParticipants = 13000, + /// + /// EOS RTC room already exists + /// + RoomAlreadyExists = 13001, + /// + /// The user kicked out from the room + /// + UserKicked = 13002, + /// + /// The user is banned + /// + UserBanned = 13003, + /// + /// EOS RTC room was left successfully + /// + RoomWasLeft = 13004, + /// + /// Connection dropped due to long timeout + /// + ReconnectionTimegateExpired = 13005, + /// + /// EOS RTC room was left due to platform release + /// + ShutdownInvoked = 13006, + /// + /// EOS RTC operation failed because the user is in the local user's block list + /// + UserIsInBlocklist = 13007, + /// + /// The number of available Snapshot IDs have all been exhausted. + /// + ProgressionSnapshotSnapshotIdUnavailable = 14000, + /// + /// The KWS user does not have a parental email associated with the account. The parent account was unlinked or deleted + /// + ParentEmailMissing = 15000, + /// + /// The KWS user is no longer a minor and trying to update the parent email + /// + UserGraduated = 15001, + /// + /// EOS Android VM not stored + /// + AndroidJavaVMNotStored = 17000, + /// + /// Patch required before the user can use the privilege + /// + PermissionRequiredPatchAvailable = 18000, + /// + /// System update required before the user can use the privilege + /// + PermissionRequiredSystemUpdate = 18001, + /// + /// Parental control failure usually + /// + PermissionAgeRestrictionFailure = 18002, + /// + /// Premium Account Subscription required but not available + /// + PermissionAccountTypeFailure = 18003, + /// + /// User restricted from chat + /// + PermissionChatRestriction = 18004, + /// + /// User restricted from User Generated Content + /// + PermissionUGCRestriction = 18005, + /// + /// Online play is restricted + /// + PermissionOnlinePlayRestricted = 18006, + /// + /// The application was not launched through the Bootstrapper. Desktop crossplay functionality is unavailable. + /// + DesktopCrossplayApplicationNotBootstrapped = 19000, + /// + /// The redistributable service is not installed. + /// + DesktopCrossplayServiceNotInstalled = 19001, + /// + /// The desktop crossplay service failed to start. + /// + DesktopCrossplayServiceStartFailed = 19002, + /// + /// The desktop crossplay service is no longer running for an unknown reason. + /// + DesktopCrossplayServiceNotRunning = 19003, + /// + /// An unexpected error that we cannot identify has occurred. + /// + UnexpectedError = 0x7FFFFFFF + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Result.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Result.cs.meta deleted file mode 100644 index 6e4b7c1f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Result.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6d93d0f0c9350374c8e0083651aea3ad -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions.meta deleted file mode 100644 index ff3f9f59..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 60959b091d85165428ea7a0a67c53cf6 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/CopyPlayerSanctionByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/CopyPlayerSanctionByIndexOptions.cs index cd726c07..dd6aa030 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/CopyPlayerSanctionByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/CopyPlayerSanctionByIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sanctions -{ - /// - /// Input parameters for the function - /// - public class CopyPlayerSanctionByIndexOptions - { - /// - /// Product User ID of the user whose active sanctions are to be copied - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// Index of the sanction to retrieve from the cache - /// - public uint SanctionIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyPlayerSanctionByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - private uint m_SanctionIndex; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public uint SanctionIndex - { - set - { - m_SanctionIndex = value; - } - } - - public void Set(CopyPlayerSanctionByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = SanctionsInterface.CopyplayersanctionbyindexApiLatest; - TargetUserId = other.TargetUserId; - SanctionIndex = other.SanctionIndex; - } - } - - public void Set(object other) - { - Set(other as CopyPlayerSanctionByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sanctions +{ + /// + /// Input parameters for the function + /// + public struct CopyPlayerSanctionByIndexOptions + { + /// + /// Product User ID of the user whose active sanctions are to be copied + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Index of the sanction to retrieve from the cache + /// + public uint SanctionIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyPlayerSanctionByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private uint m_SanctionIndex; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public uint SanctionIndex + { + set + { + m_SanctionIndex = value; + } + } + + public void Set(ref CopyPlayerSanctionByIndexOptions other) + { + m_ApiVersion = SanctionsInterface.CopyplayersanctionbyindexApiLatest; + TargetUserId = other.TargetUserId; + SanctionIndex = other.SanctionIndex; + } + + public void Set(ref CopyPlayerSanctionByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SanctionsInterface.CopyplayersanctionbyindexApiLatest; + TargetUserId = other.Value.TargetUserId; + SanctionIndex = other.Value.SanctionIndex; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/CopyPlayerSanctionByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/CopyPlayerSanctionByIndexOptions.cs.meta deleted file mode 100644 index 73d23ce4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/CopyPlayerSanctionByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 72f68e4c3ffcd724aab25b4dc310bdbf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/GetPlayerSanctionCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/GetPlayerSanctionCountOptions.cs index 1c0583cc..7841a35e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/GetPlayerSanctionCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/GetPlayerSanctionCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sanctions -{ - /// - /// Input parameters for the function. - /// - public class GetPlayerSanctionCountOptions - { - /// - /// Product User ID of the user whose sanction count should be returned - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetPlayerSanctionCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(GetPlayerSanctionCountOptions other) - { - if (other != null) - { - m_ApiVersion = SanctionsInterface.GetplayersanctioncountApiLatest; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as GetPlayerSanctionCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sanctions +{ + /// + /// Input parameters for the function. + /// + public struct GetPlayerSanctionCountOptions + { + /// + /// Product User ID of the user whose sanction count should be returned + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetPlayerSanctionCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref GetPlayerSanctionCountOptions other) + { + m_ApiVersion = SanctionsInterface.GetplayersanctioncountApiLatest; + TargetUserId = other.TargetUserId; + } + + public void Set(ref GetPlayerSanctionCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SanctionsInterface.GetplayersanctioncountApiLatest; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/GetPlayerSanctionCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/GetPlayerSanctionCountOptions.cs.meta deleted file mode 100644 index fe766eb1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/GetPlayerSanctionCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9cdb4a917113b64449b825bb76105994 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/OnQueryActivePlayerSanctionsCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/OnQueryActivePlayerSanctionsCallback.cs index debd9904..8b7f7e4b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/OnQueryActivePlayerSanctionsCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/OnQueryActivePlayerSanctionsCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sanctions -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryActivePlayerSanctionsCallback(QueryActivePlayerSanctionsCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryActivePlayerSanctionsCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sanctions +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryActivePlayerSanctionsCallback(ref QueryActivePlayerSanctionsCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryActivePlayerSanctionsCallbackInternal(ref QueryActivePlayerSanctionsCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/OnQueryActivePlayerSanctionsCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/OnQueryActivePlayerSanctionsCallback.cs.meta deleted file mode 100644 index 5625867a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/OnQueryActivePlayerSanctionsCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 974e4b4c4754862419167981ebe6df98 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/PlayerSanction.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/PlayerSanction.cs index 1145ce72..091ebf54 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/PlayerSanction.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/PlayerSanction.cs @@ -1,91 +1,138 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sanctions -{ - /// - /// Contains information about a single player sanction. - /// - public class PlayerSanction : ISettable - { - /// - /// The POSIX timestamp when the sanction was placed - /// - public long TimePlaced { get; set; } - - /// - /// The action associated with this sanction - /// - public string Action { get; set; } - - internal void Set(PlayerSanctionInternal? other) - { - if (other != null) - { - TimePlaced = other.Value.TimePlaced; - Action = other.Value.Action; - } - } - - public void Set(object other) - { - Set(other as PlayerSanctionInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PlayerSanctionInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private long m_TimePlaced; - private System.IntPtr m_Action; - - public long TimePlaced - { - get - { - return m_TimePlaced; - } - - set - { - m_TimePlaced = value; - } - } - - public string Action - { - get - { - string value; - Helper.TryMarshalGet(m_Action, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Action, value); - } - } - - public void Set(PlayerSanction other) - { - if (other != null) - { - m_ApiVersion = SanctionsInterface.PlayersanctionApiLatest; - TimePlaced = other.TimePlaced; - Action = other.Action; - } - } - - public void Set(object other) - { - Set(other as PlayerSanction); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Action); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sanctions +{ + /// + /// Contains information about a single player sanction. + /// + public struct PlayerSanction + { + /// + /// The POSIX timestamp when the sanction was placed + /// + public long TimePlaced { get; set; } + + /// + /// The action associated with this sanction + /// + public Utf8String Action { get; set; } + + /// + /// The POSIX timestamp when the sanction will expire. If the sanction is permanent, this will be 0. + /// + public long TimeExpires { get; set; } + + /// + /// A unique identifier for this specific sanction + /// + public Utf8String ReferenceId { get; set; } + + internal void Set(ref PlayerSanctionInternal other) + { + TimePlaced = other.TimePlaced; + Action = other.Action; + TimeExpires = other.TimeExpires; + ReferenceId = other.ReferenceId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PlayerSanctionInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private long m_TimePlaced; + private System.IntPtr m_Action; + private long m_TimeExpires; + private System.IntPtr m_ReferenceId; + + public long TimePlaced + { + get + { + return m_TimePlaced; + } + + set + { + m_TimePlaced = value; + } + } + + public Utf8String Action + { + get + { + Utf8String value; + Helper.Get(m_Action, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Action); + } + } + + public long TimeExpires + { + get + { + return m_TimeExpires; + } + + set + { + m_TimeExpires = value; + } + } + + public Utf8String ReferenceId + { + get + { + Utf8String value; + Helper.Get(m_ReferenceId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ReferenceId); + } + } + + public void Set(ref PlayerSanction other) + { + m_ApiVersion = SanctionsInterface.PlayersanctionApiLatest; + TimePlaced = other.TimePlaced; + Action = other.Action; + TimeExpires = other.TimeExpires; + ReferenceId = other.ReferenceId; + } + + public void Set(ref PlayerSanction? other) + { + if (other.HasValue) + { + m_ApiVersion = SanctionsInterface.PlayersanctionApiLatest; + TimePlaced = other.Value.TimePlaced; + Action = other.Value.Action; + TimeExpires = other.Value.TimeExpires; + ReferenceId = other.Value.ReferenceId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Action); + Helper.Dispose(ref m_ReferenceId); + } + + public void Get(out PlayerSanction output) + { + output = new PlayerSanction(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/PlayerSanction.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/PlayerSanction.cs.meta deleted file mode 100644 index e38fe085..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/PlayerSanction.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 14086e779e1e51e4fbadd258064f3be8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsCallbackInfo.cs index 1372b124..d4e3d7d4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sanctions -{ - /// - /// Output parameters for the function. - /// - public class QueryActivePlayerSanctionsCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// Target Product User ID that was passed to . - /// - public ProductUserId TargetUserId { get; private set; } - - /// - /// The Product User ID of the local user who initiated this request, if applicable. - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryActivePlayerSanctionsCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - TargetUserId = other.Value.TargetUserId; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryActivePlayerSanctionsCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryActivePlayerSanctionsCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_TargetUserId; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId TargetUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sanctions +{ + /// + /// Output parameters for the function. + /// + public struct QueryActivePlayerSanctionsCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// Target Product User ID that was passed to . + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// The Product User ID of the local user who initiated this request, if applicable. + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryActivePlayerSanctionsCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + TargetUserId = other.TargetUserId; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryActivePlayerSanctionsCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryActivePlayerSanctionsCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + TargetUserId = other.TargetUserId; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryActivePlayerSanctionsCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + TargetUserId = other.Value.TargetUserId; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out QueryActivePlayerSanctionsCallbackInfo output) + { + output = new QueryActivePlayerSanctionsCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsCallbackInfo.cs.meta deleted file mode 100644 index a889a78e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ae2ec33046be37745bc0cb9eb4850c73 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsOptions.cs index b16f8581..fd64a521 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sanctions -{ - /// - /// Input parameters for the API. - /// - public class QueryActivePlayerSanctionsOptions - { - /// - /// Product User ID of the user whose active sanctions are to be retrieved. - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// The Product User ID of the local user who initiated this request. Dedicated servers should set this to null. - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryActivePlayerSanctionsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - private System.IntPtr m_LocalUserId; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(QueryActivePlayerSanctionsOptions other) - { - if (other != null) - { - m_ApiVersion = SanctionsInterface.QueryactiveplayersanctionsApiLatest; - TargetUserId = other.TargetUserId; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryActivePlayerSanctionsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sanctions +{ + /// + /// Input parameters for the API. + /// + public struct QueryActivePlayerSanctionsOptions + { + /// + /// Product User ID of the user whose active sanctions are to be retrieved. + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// The Product User ID of the local user who initiated this request. Dedicated servers should set this to null. + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryActivePlayerSanctionsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_LocalUserId; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryActivePlayerSanctionsOptions other) + { + m_ApiVersion = SanctionsInterface.QueryactiveplayersanctionsApiLatest; + TargetUserId = other.TargetUserId; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryActivePlayerSanctionsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SanctionsInterface.QueryactiveplayersanctionsApiLatest; + TargetUserId = other.Value.TargetUserId; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsOptions.cs.meta deleted file mode 100644 index 012a4c15..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/QueryActivePlayerSanctionsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a832c081183678942ad2bf758c1bbbac -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/SanctionsInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/SanctionsInterface.cs index 66274ee5..3058d4f1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/SanctionsInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/SanctionsInterface.cs @@ -1,126 +1,127 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sanctions -{ - public sealed partial class SanctionsInterface : Handle - { - public SanctionsInterface() - { - } - - public SanctionsInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int CopyplayersanctionbyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetplayersanctioncountApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int PlayersanctionApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int QueryactiveplayersanctionsApiLatest = 2; - - /// - /// Copies an active player sanction. - /// You must call QueryActivePlayerSanctions first to retrieve the data from the service backend. - /// On success, must be called on OutSanction to free memory. - /// - /// - /// - /// Structure containing the input parameters - /// The player sanction data for the given index, if it exists and is valid - /// - /// if the information is available and passed out in OutSanction - /// if you pass a null pointer for the out parameter - /// if the player achievement is not found - /// - public Result CopyPlayerSanctionByIndex(CopyPlayerSanctionByIndexOptions options, out PlayerSanction outSanction) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outSanctionAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Sanctions_CopyPlayerSanctionByIndex(InnerHandle, optionsAddress, ref outSanctionAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outSanctionAddress, out outSanction)) - { - Bindings.EOS_Sanctions_PlayerSanction_Release(outSanctionAddress); - } - - return funcResult; - } - - /// - /// Fetch the number of player sanctions that have been retrieved for a given player. - /// You must call QueryActivePlayerSanctions first to retrieve the data from the service backend. - /// - /// - /// - /// Structure containing the input parameters - /// - /// Number of available sanctions for this player. - /// - public uint GetPlayerSanctionCount(GetPlayerSanctionCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Sanctions_GetPlayerSanctionCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Start an asynchronous query to retrieve any active sanctions for a specified user. - /// Call and to retrieve the data. - /// - /// - /// - /// Structure containing the input parameters - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the async operation completes, either successfully or in error - public void QueryActivePlayerSanctions(QueryActivePlayerSanctionsOptions options, object clientData, OnQueryActivePlayerSanctionsCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryActivePlayerSanctionsCallbackInternal(OnQueryActivePlayerSanctionsCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Sanctions_QueryActivePlayerSanctions(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnQueryActivePlayerSanctionsCallbackInternal))] - internal static void OnQueryActivePlayerSanctionsCallbackInternalImplementation(System.IntPtr data) - { - OnQueryActivePlayerSanctionsCallback callback; - QueryActivePlayerSanctionsCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sanctions +{ + public sealed partial class SanctionsInterface : Handle + { + public SanctionsInterface() + { + } + + public SanctionsInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int CopyplayersanctionbyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetplayersanctioncountApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int PlayersanctionApiLatest = 2; + + /// + /// The most recent version of the API. + /// + public const int QueryactiveplayersanctionsApiLatest = 2; + + /// + /// Copies an active player sanction. + /// You must call QueryActivePlayerSanctions first to retrieve the data from the service backend. + /// On success, must be called on OutSanction to free memory. + /// + /// + /// + /// Structure containing the input parameters + /// The player sanction data for the given index, if it exists and is valid + /// + /// if the information is available and passed out in OutSanction + /// if you pass a null pointer for the out parameter + /// if the player achievement is not found + /// + public Result CopyPlayerSanctionByIndex(ref CopyPlayerSanctionByIndexOptions options, out PlayerSanction? outSanction) + { + CopyPlayerSanctionByIndexOptionsInternal optionsInternal = new CopyPlayerSanctionByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outSanctionAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Sanctions_CopyPlayerSanctionByIndex(InnerHandle, ref optionsInternal, ref outSanctionAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outSanctionAddress, out outSanction); + if (outSanction != null) + { + Bindings.EOS_Sanctions_PlayerSanction_Release(outSanctionAddress); + } + + return funcResult; + } + + /// + /// Fetch the number of player sanctions that have been retrieved for a given player. + /// You must call QueryActivePlayerSanctions first to retrieve the data from the service backend. + /// + /// + /// + /// Structure containing the input parameters + /// + /// Number of available sanctions for this player. + /// + public uint GetPlayerSanctionCount(ref GetPlayerSanctionCountOptions options) + { + GetPlayerSanctionCountOptionsInternal optionsInternal = new GetPlayerSanctionCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Sanctions_GetPlayerSanctionCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Start an asynchronous query to retrieve any active sanctions for a specified user. + /// Call and to retrieve the data. + /// + /// + /// + /// Structure containing the input parameters + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the async operation completes, either successfully or in error + public void QueryActivePlayerSanctions(ref QueryActivePlayerSanctionsOptions options, object clientData, OnQueryActivePlayerSanctionsCallback completionDelegate) + { + QueryActivePlayerSanctionsOptionsInternal optionsInternal = new QueryActivePlayerSanctionsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryActivePlayerSanctionsCallbackInternal(OnQueryActivePlayerSanctionsCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Sanctions_QueryActivePlayerSanctions(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnQueryActivePlayerSanctionsCallbackInternal))] + internal static void OnQueryActivePlayerSanctionsCallbackInternalImplementation(ref QueryActivePlayerSanctionsCallbackInfoInternal data) + { + OnQueryActivePlayerSanctionsCallback callback; + QueryActivePlayerSanctionsCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/SanctionsInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/SanctionsInterface.cs.meta deleted file mode 100644 index 70d4f544..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sanctions/SanctionsInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4f7bb11692e48554aa7ebb4b55fe884d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions.meta deleted file mode 100644 index 117d688a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bda5de6c600196240a0351664c53e121 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSession.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSession.cs index f872a734..fdd17528 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSession.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSession.cs @@ -1,122 +1,123 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - public sealed partial class ActiveSession : Handle - { - public ActiveSession() - { - } - - public ActiveSession(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the function. - /// - public const int ActivesessionCopyinfoApiLatest = 1; - - /// - /// The most recent version of the function. - /// - public const int ActivesessionGetregisteredplayerbyindexApiLatest = 1; - - /// - /// The most recent version of the function. - /// - public const int ActivesessionGetregisteredplayercountApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int ActivesessionInfoApiLatest = 1; - - /// - /// is used to immediately retrieve a copy of active session information - /// If the call returns an result, the out parameter, OutActiveSessionInfo, must be passed to to release the memory associated with it. - /// - /// - /// - /// - /// Structure containing the input parameters - /// Out parameter used to receive the structure. - /// - /// if the information is available and passed out in OutActiveSessionInfo - /// if you pass a null pointer for the out parameter - /// if the API version passed in is incorrect - /// - public Result CopyInfo(ActiveSessionCopyInfoOptions options, out ActiveSessionInfo outActiveSessionInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outActiveSessionInfoAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_ActiveSession_CopyInfo(InnerHandle, optionsAddress, ref outActiveSessionInfoAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outActiveSessionInfoAddress, out outActiveSessionInfo)) - { - Bindings.EOS_ActiveSession_Info_Release(outActiveSessionInfoAddress); - } - - return funcResult; - } - - /// - /// is used to immediately retrieve individual players registered with the active session. - /// - /// - /// - /// Structure containing the input parameters - /// - /// the product user ID for the registered player at a given index or null if that index is invalid - /// - public ProductUserId GetRegisteredPlayerByIndex(ActiveSessionGetRegisteredPlayerByIndexOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_ActiveSession_GetRegisteredPlayerByIndex(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - ProductUserId funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Get the number of registered players associated with this active session - /// - /// the Options associated with retrieving the registered player count - /// - /// number of registered players in the active session or 0 if there is an error - /// - public uint GetRegisteredPlayerCount(ActiveSessionGetRegisteredPlayerCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_ActiveSession_GetRegisteredPlayerCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Release the memory associated with an active session. - /// This must be called on data retrieved from - /// - /// - /// - The active session handle to release - public void Release() - { - Bindings.EOS_ActiveSession_Release(InnerHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + public sealed partial class ActiveSession : Handle + { + public ActiveSession() + { + } + + public ActiveSession(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the function. + /// + public const int ActivesessionCopyinfoApiLatest = 1; + + /// + /// The most recent version of the function. + /// + public const int ActivesessionGetregisteredplayerbyindexApiLatest = 1; + + /// + /// The most recent version of the function. + /// + public const int ActivesessionGetregisteredplayercountApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int ActivesessionInfoApiLatest = 1; + + /// + /// is used to immediately retrieve a copy of active session information + /// If the call returns an result, the out parameter, OutActiveSessionInfo, must be passed to to release the memory associated with it. + /// + /// + /// + /// + /// Structure containing the input parameters + /// Out parameter used to receive the structure. + /// + /// if the information is available and passed out in OutActiveSessionInfo + /// if you pass a null pointer for the out parameter + /// if the API version passed in is incorrect + /// + public Result CopyInfo(ref ActiveSessionCopyInfoOptions options, out ActiveSessionInfo? outActiveSessionInfo) + { + ActiveSessionCopyInfoOptionsInternal optionsInternal = new ActiveSessionCopyInfoOptionsInternal(); + optionsInternal.Set(ref options); + + var outActiveSessionInfoAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_ActiveSession_CopyInfo(InnerHandle, ref optionsInternal, ref outActiveSessionInfoAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outActiveSessionInfoAddress, out outActiveSessionInfo); + if (outActiveSessionInfo != null) + { + Bindings.EOS_ActiveSession_Info_Release(outActiveSessionInfoAddress); + } + + return funcResult; + } + + /// + /// is used to immediately retrieve individual players registered with the active session. + /// + /// + /// + /// Structure containing the input parameters + /// + /// the product user ID for the registered player at a given index or null if that index is invalid + /// + public ProductUserId GetRegisteredPlayerByIndex(ref ActiveSessionGetRegisteredPlayerByIndexOptions options) + { + ActiveSessionGetRegisteredPlayerByIndexOptionsInternal optionsInternal = new ActiveSessionGetRegisteredPlayerByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_ActiveSession_GetRegisteredPlayerByIndex(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + ProductUserId funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Get the number of registered players associated with this active session + /// + /// the Options associated with retrieving the registered player count + /// + /// number of registered players in the active session or 0 if there is an error + /// + public uint GetRegisteredPlayerCount(ref ActiveSessionGetRegisteredPlayerCountOptions options) + { + ActiveSessionGetRegisteredPlayerCountOptionsInternal optionsInternal = new ActiveSessionGetRegisteredPlayerCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_ActiveSession_GetRegisteredPlayerCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Release the memory associated with an active session. + /// This must be called on data retrieved from + /// + /// + /// - The active session handle to release + public void Release() + { + Bindings.EOS_ActiveSession_Release(InnerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSession.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSession.cs.meta deleted file mode 100644 index 171753de..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSession.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 091cd43c82704d54aba0236e35e00c0f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionCopyInfoOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionCopyInfoOptions.cs index 70528e83..c0b6ca87 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionCopyInfoOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionCopyInfoOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class ActiveSessionCopyInfoOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ActiveSessionCopyInfoOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(ActiveSessionCopyInfoOptions other) - { - if (other != null) - { - m_ApiVersion = ActiveSession.ActivesessionCopyinfoApiLatest; - } - } - - public void Set(object other) - { - Set(other as ActiveSessionCopyInfoOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct ActiveSessionCopyInfoOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ActiveSessionCopyInfoOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref ActiveSessionCopyInfoOptions other) + { + m_ApiVersion = ActiveSession.ActivesessionCopyinfoApiLatest; + } + + public void Set(ref ActiveSessionCopyInfoOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ActiveSession.ActivesessionCopyinfoApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionCopyInfoOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionCopyInfoOptions.cs.meta deleted file mode 100644 index 745f7816..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionCopyInfoOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 38cda95f00f2d2a49aa89c3b618cf501 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerByIndexOptions.cs index 9ec65253..da56d208 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerByIndexOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class ActiveSessionGetRegisteredPlayerByIndexOptions - { - /// - /// Index of the registered player to retrieve - /// - public uint PlayerIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ActiveSessionGetRegisteredPlayerByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_PlayerIndex; - - public uint PlayerIndex - { - set - { - m_PlayerIndex = value; - } - } - - public void Set(ActiveSessionGetRegisteredPlayerByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = ActiveSession.ActivesessionGetregisteredplayerbyindexApiLatest; - PlayerIndex = other.PlayerIndex; - } - } - - public void Set(object other) - { - Set(other as ActiveSessionGetRegisteredPlayerByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct ActiveSessionGetRegisteredPlayerByIndexOptions + { + /// + /// Index of the registered player to retrieve + /// + public uint PlayerIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ActiveSessionGetRegisteredPlayerByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_PlayerIndex; + + public uint PlayerIndex + { + set + { + m_PlayerIndex = value; + } + } + + public void Set(ref ActiveSessionGetRegisteredPlayerByIndexOptions other) + { + m_ApiVersion = ActiveSession.ActivesessionGetregisteredplayerbyindexApiLatest; + PlayerIndex = other.PlayerIndex; + } + + public void Set(ref ActiveSessionGetRegisteredPlayerByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ActiveSession.ActivesessionGetregisteredplayerbyindexApiLatest; + PlayerIndex = other.Value.PlayerIndex; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerByIndexOptions.cs.meta deleted file mode 100644 index 8d77e651..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e6478b4070409ef42a109c5c3ea05aca -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerCountOptions.cs index 98468a86..e913251d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerCountOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class ActiveSessionGetRegisteredPlayerCountOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ActiveSessionGetRegisteredPlayerCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(ActiveSessionGetRegisteredPlayerCountOptions other) - { - if (other != null) - { - m_ApiVersion = ActiveSession.ActivesessionGetregisteredplayercountApiLatest; - } - } - - public void Set(object other) - { - Set(other as ActiveSessionGetRegisteredPlayerCountOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct ActiveSessionGetRegisteredPlayerCountOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ActiveSessionGetRegisteredPlayerCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref ActiveSessionGetRegisteredPlayerCountOptions other) + { + m_ApiVersion = ActiveSession.ActivesessionGetregisteredplayercountApiLatest; + } + + public void Set(ref ActiveSessionGetRegisteredPlayerCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = ActiveSession.ActivesessionGetregisteredplayercountApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerCountOptions.cs.meta deleted file mode 100644 index 20c8e68b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionGetRegisteredPlayerCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b12295e89bd618748ab58c4b2fa21882 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionInfo.cs index 56a9ed59..474dc1a5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionInfo.cs @@ -1,139 +1,141 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Top level details about an active session - /// - public class ActiveSessionInfo : ISettable - { - /// - /// Name of the session - /// - public string SessionName { get; set; } - - /// - /// The Product User ID of the local user who created or joined the session - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// Current state of the session - /// - public OnlineSessionState State { get; set; } - - /// - /// Session details - /// - public SessionDetailsInfo SessionDetails { get; set; } - - internal void Set(ActiveSessionInfoInternal? other) - { - if (other != null) - { - SessionName = other.Value.SessionName; - LocalUserId = other.Value.LocalUserId; - State = other.Value.State; - SessionDetails = other.Value.SessionDetails; - } - } - - public void Set(object other) - { - Set(other as ActiveSessionInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ActiveSessionInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionName; - private System.IntPtr m_LocalUserId; - private OnlineSessionState m_State; - private System.IntPtr m_SessionDetails; - - public string SessionName - { - get - { - string value; - Helper.TryMarshalGet(m_SessionName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_SessionName, value); - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public OnlineSessionState State - { - get - { - return m_State; - } - - set - { - m_State = value; - } - } - - public SessionDetailsInfo SessionDetails - { - get - { - SessionDetailsInfo value; - Helper.TryMarshalGet(m_SessionDetails, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_SessionDetails, value); - } - } - - public void Set(ActiveSessionInfo other) - { - if (other != null) - { - m_ApiVersion = ActiveSession.ActivesessionCopyinfoApiLatest; - SessionName = other.SessionName; - LocalUserId = other.LocalUserId; - State = other.State; - SessionDetails = other.SessionDetails; - } - } - - public void Set(object other) - { - Set(other as ActiveSessionInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionName); - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_SessionDetails); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Top level details about an active session + /// + public struct ActiveSessionInfo + { + /// + /// Name of the session + /// + public Utf8String SessionName { get; set; } + + /// + /// The Product User ID of the local user who created or joined the session + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Current state of the session + /// + public OnlineSessionState State { get; set; } + + /// + /// Session details + /// + public SessionDetailsInfo? SessionDetails { get; set; } + + internal void Set(ref ActiveSessionInfoInternal other) + { + SessionName = other.SessionName; + LocalUserId = other.LocalUserId; + State = other.State; + SessionDetails = other.SessionDetails; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ActiveSessionInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionName; + private System.IntPtr m_LocalUserId; + private OnlineSessionState m_State; + private System.IntPtr m_SessionDetails; + + public Utf8String SessionName + { + get + { + Utf8String value; + Helper.Get(m_SessionName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public OnlineSessionState State + { + get + { + return m_State; + } + + set + { + m_State = value; + } + } + + public SessionDetailsInfo? SessionDetails + { + get + { + SessionDetailsInfo? value; + Helper.Get(m_SessionDetails, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_SessionDetails); + } + } + + public void Set(ref ActiveSessionInfo other) + { + m_ApiVersion = ActiveSession.ActivesessionCopyinfoApiLatest; + SessionName = other.SessionName; + LocalUserId = other.LocalUserId; + State = other.State; + SessionDetails = other.SessionDetails; + } + + public void Set(ref ActiveSessionInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = ActiveSession.ActivesessionCopyinfoApiLatest; + SessionName = other.Value.SessionName; + LocalUserId = other.Value.LocalUserId; + State = other.Value.State; + SessionDetails = other.Value.SessionDetails; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionName); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_SessionDetails); + } + + public void Get(out ActiveSessionInfo output) + { + output = new ActiveSessionInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionInfo.cs.meta deleted file mode 100644 index 1cf8eaf8..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/ActiveSessionInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 63a001777cbf25b4e94dc307d399b1c8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifyJoinSessionAcceptedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifyJoinSessionAcceptedOptions.cs index a2dcc0d4..43f00f54 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifyJoinSessionAcceptedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifyJoinSessionAcceptedOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class AddNotifyJoinSessionAcceptedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyJoinSessionAcceptedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyJoinSessionAcceptedOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.AddnotifyjoinsessionacceptedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyJoinSessionAcceptedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct AddNotifyJoinSessionAcceptedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyJoinSessionAcceptedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyJoinSessionAcceptedOptions other) + { + m_ApiVersion = SessionsInterface.AddnotifyjoinsessionacceptedApiLatest; + } + + public void Set(ref AddNotifyJoinSessionAcceptedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.AddnotifyjoinsessionacceptedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifyJoinSessionAcceptedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifyJoinSessionAcceptedOptions.cs.meta deleted file mode 100644 index f4a97409..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifyJoinSessionAcceptedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 732db3b390c82784e9faf982a88c4095 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteAcceptedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteAcceptedOptions.cs index 86f32350..f245a2d4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteAcceptedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteAcceptedOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class AddNotifySessionInviteAcceptedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifySessionInviteAcceptedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifySessionInviteAcceptedOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.AddnotifysessioninviteacceptedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifySessionInviteAcceptedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct AddNotifySessionInviteAcceptedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifySessionInviteAcceptedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifySessionInviteAcceptedOptions other) + { + m_ApiVersion = SessionsInterface.AddnotifysessioninviteacceptedApiLatest; + } + + public void Set(ref AddNotifySessionInviteAcceptedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.AddnotifysessioninviteacceptedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteAcceptedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteAcceptedOptions.cs.meta deleted file mode 100644 index 858550d5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteAcceptedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 99ec12c329a16cc4980204a2ee0940f5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteReceivedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteReceivedOptions.cs index dda7592e..efc6d639 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteReceivedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteReceivedOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class AddNotifySessionInviteReceivedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifySessionInviteReceivedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifySessionInviteReceivedOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.AddnotifysessioninvitereceivedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifySessionInviteReceivedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct AddNotifySessionInviteReceivedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifySessionInviteReceivedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifySessionInviteReceivedOptions other) + { + m_ApiVersion = SessionsInterface.AddnotifysessioninvitereceivedApiLatest; + } + + public void Set(ref AddNotifySessionInviteReceivedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.AddnotifysessioninvitereceivedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteReceivedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteReceivedOptions.cs.meta deleted file mode 100644 index ad3dbddc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AddNotifySessionInviteReceivedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4543e030395e1fc4fb8f42d286e66780 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeData.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeData.cs index eecafe60..7d19cd96 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeData.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeData.cs @@ -1,91 +1,91 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Contains information about both session and search parameter attribution - /// - public class AttributeData : ISettable - { - /// - /// Name of the session attribute - /// - public string Key { get; set; } - - public AttributeDataValue Value { get; set; } - - internal void Set(AttributeDataInternal? other) - { - if (other != null) - { - Key = other.Value.Key; - Value = other.Value.Value; - } - } - - public void Set(object other) - { - Set(other as AttributeDataInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AttributeDataInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Key; - private AttributeDataValueInternal m_Value; - - public string Key - { - get - { - string value; - Helper.TryMarshalGet(m_Key, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Key, value); - } - } - - public AttributeDataValue Value - { - get - { - AttributeDataValue value; - Helper.TryMarshalGet(m_Value, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Value, value); - } - } - - public void Set(AttributeData other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.AttributedataApiLatest; - Key = other.Key; - Value = other.Value; - } - } - - public void Set(object other) - { - Set(other as AttributeData); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Key); - Helper.TryMarshalDispose(ref m_Value); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Contains information about both session and search parameter attribution + /// + public struct AttributeData + { + /// + /// Name of the session attribute + /// + public Utf8String Key { get; set; } + + public AttributeDataValue Value { get; set; } + + internal void Set(ref AttributeDataInternal other) + { + Key = other.Key; + Value = other.Value; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AttributeDataInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Key; + private AttributeDataValueInternal m_Value; + + public Utf8String Key + { + get + { + Utf8String value; + Helper.Get(m_Key, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Key); + } + } + + public AttributeDataValue Value + { + get + { + AttributeDataValue value; + Helper.Get(ref m_Value, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_Value); + } + } + + public void Set(ref AttributeData other) + { + m_ApiVersion = SessionsInterface.AttributedataApiLatest; + Key = other.Key; + Value = other.Value; + } + + public void Set(ref AttributeData? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.AttributedataApiLatest; + Key = other.Value.Key; + Value = other.Value.Value; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Key); + Helper.Dispose(ref m_Value); + } + + public void Get(out AttributeData output) + { + output = new AttributeData(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeData.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeData.cs.meta deleted file mode 100644 index edf6e244..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f4d5a0ef4e655cd4ca87bb15a3317878 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeDataValue.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeDataValue.cs index 0ced7ce0..cee3b804 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeDataValue.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeDataValue.cs @@ -1,234 +1,240 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - public class AttributeDataValue : ISettable - { - private long? m_AsInt64; - private double? m_AsDouble; - private bool? m_AsBool; - private string m_AsUtf8; - private AttributeType m_ValueType; - - /// - /// Stored as an 8 byte integer - /// - public long? AsInt64 - { - get - { - long? value; - Helper.TryMarshalGet(m_AsInt64, out value, m_ValueType, AttributeType.Int64); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsInt64, value, ref m_ValueType, AttributeType.Int64); - } - } - - /// - /// Stored as a double precision floating point - /// - public double? AsDouble - { - get - { - double? value; - Helper.TryMarshalGet(m_AsDouble, out value, m_ValueType, AttributeType.Double); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsDouble, value, ref m_ValueType, AttributeType.Double); - } - } - - /// - /// Stored as a boolean - /// - public bool? AsBool - { - get - { - bool? value; - Helper.TryMarshalGet(m_AsBool, out value, m_ValueType, AttributeType.Boolean); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsBool, value, ref m_ValueType, AttributeType.Boolean); - } - } - - /// - /// Stored as a null terminated UTF8 string - /// - public string AsUtf8 - { - get - { - string value; - Helper.TryMarshalGet(m_AsUtf8, out value, m_ValueType, AttributeType.String); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsUtf8, value, ref m_ValueType, AttributeType.String); - } - } - - /// - /// Type of value stored in the union - /// - public AttributeType ValueType - { - get - { - return m_ValueType; - } - - private set - { - m_ValueType = value; - } - } - - public static implicit operator AttributeDataValue(long value) - { - return new AttributeDataValue() { AsInt64 = value }; - } - - public static implicit operator AttributeDataValue(double value) - { - return new AttributeDataValue() { AsDouble = value }; - } - - public static implicit operator AttributeDataValue(bool value) - { - return new AttributeDataValue() { AsBool = value }; - } - - public static implicit operator AttributeDataValue(string value) - { - return new AttributeDataValue() { AsUtf8 = value }; - } - - internal void Set(AttributeDataValueInternal? other) - { - if (other != null) - { - AsInt64 = other.Value.AsInt64; - AsDouble = other.Value.AsDouble; - AsBool = other.Value.AsBool; - AsUtf8 = other.Value.AsUtf8; - } - } - - public void Set(object other) - { - Set(other as AttributeDataValueInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Explicit, Pack = 8)] - internal struct AttributeDataValueInternal : ISettable, System.IDisposable - { - [System.Runtime.InteropServices.FieldOffset(0)] - private long m_AsInt64; - [System.Runtime.InteropServices.FieldOffset(0)] - private double m_AsDouble; - [System.Runtime.InteropServices.FieldOffset(0)] - private int m_AsBool; - [System.Runtime.InteropServices.FieldOffset(0)] - private System.IntPtr m_AsUtf8; - [System.Runtime.InteropServices.FieldOffset(8)] - private AttributeType m_ValueType; - - public long? AsInt64 - { - get - { - long? value; - Helper.TryMarshalGet(m_AsInt64, out value, m_ValueType, AttributeType.Int64); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsInt64, value, ref m_ValueType, AttributeType.Int64, this); - } - } - - public double? AsDouble - { - get - { - double? value; - Helper.TryMarshalGet(m_AsDouble, out value, m_ValueType, AttributeType.Double); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsDouble, value, ref m_ValueType, AttributeType.Double, this); - } - } - - public bool? AsBool - { - get - { - bool? value; - Helper.TryMarshalGet(m_AsBool, out value, m_ValueType, AttributeType.Boolean); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsBool, value, ref m_ValueType, AttributeType.Boolean, this); - } - } - - public string AsUtf8 - { - get - { - string value; - Helper.TryMarshalGet(m_AsUtf8, out value, m_ValueType, AttributeType.String); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AsUtf8, value, ref m_ValueType, AttributeType.String, this); - } - } - - public void Set(AttributeDataValue other) - { - if (other != null) - { - AsInt64 = other.AsInt64; - AsDouble = other.AsDouble; - AsBool = other.AsBool; - AsUtf8 = other.AsUtf8; - } - } - - public void Set(object other) - { - Set(other as AttributeDataValue); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AsUtf8, m_ValueType, AttributeType.String); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + public struct AttributeDataValue + { + private long? m_AsInt64; + private double? m_AsDouble; + private bool? m_AsBool; + private Utf8String m_AsUtf8; + private AttributeType m_ValueType; + + /// + /// Stored as an 8 byte integer + /// + public long? AsInt64 + { + get + { + long? value; + Helper.Get(m_AsInt64, out value, m_ValueType, AttributeType.Int64); + return value; + } + + set + { + Helper.Set(value, ref m_AsInt64, AttributeType.Int64, ref m_ValueType); + } + } + + /// + /// Stored as a precision floating point + /// + public double? AsDouble + { + get + { + double? value; + Helper.Get(m_AsDouble, out value, m_ValueType, AttributeType.Double); + return value; + } + + set + { + Helper.Set(value, ref m_AsDouble, AttributeType.Double, ref m_ValueType); + } + } + + /// + /// Stored as a boolean + /// + public bool? AsBool + { + get + { + bool? value; + Helper.Get(m_AsBool, out value, m_ValueType, AttributeType.Boolean); + return value; + } + + set + { + Helper.Set(value, ref m_AsBool, AttributeType.Boolean, ref m_ValueType); + } + } + + /// + /// Stored as a null terminated UTF8 string + /// + public Utf8String AsUtf8 + { + get + { + Utf8String value; + Helper.Get(m_AsUtf8, out value, m_ValueType, AttributeType.String); + return value; + } + + set + { + Helper.Set(value, ref m_AsUtf8, AttributeType.String, ref m_ValueType); + } + } + + /// + /// Type of value stored in the union + /// + public AttributeType ValueType + { + get + { + return m_ValueType; + } + + private set + { + m_ValueType = value; + } + } + + public static implicit operator AttributeDataValue(long value) + { + return new AttributeDataValue() { AsInt64 = value }; + } + + public static implicit operator AttributeDataValue(double value) + { + return new AttributeDataValue() { AsDouble = value }; + } + + public static implicit operator AttributeDataValue(bool value) + { + return new AttributeDataValue() { AsBool = value }; + } + + public static implicit operator AttributeDataValue(Utf8String value) + { + return new AttributeDataValue() { AsUtf8 = value }; + } + + public static implicit operator AttributeDataValue(string value) + { + return new AttributeDataValue() { AsUtf8 = value }; + } + + internal void Set(ref AttributeDataValueInternal other) + { + AsInt64 = other.AsInt64; + AsDouble = other.AsDouble; + AsBool = other.AsBool; + AsUtf8 = other.AsUtf8; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Explicit, Pack = 8)] + internal struct AttributeDataValueInternal : IGettable, ISettable, System.IDisposable + { + [System.Runtime.InteropServices.FieldOffset(0)] + private long m_AsInt64; + [System.Runtime.InteropServices.FieldOffset(0)] + private double m_AsDouble; + [System.Runtime.InteropServices.FieldOffset(0)] + private int m_AsBool; + [System.Runtime.InteropServices.FieldOffset(0)] + private System.IntPtr m_AsUtf8; + [System.Runtime.InteropServices.FieldOffset(8)] + private AttributeType m_ValueType; + + public long? AsInt64 + { + get + { + long? value; + Helper.Get(m_AsInt64, out value, m_ValueType, AttributeType.Int64); + return value; + } + + set + { + Helper.Set(value, ref m_AsInt64, AttributeType.Int64, ref m_ValueType, this); + } + } + + public double? AsDouble + { + get + { + double? value; + Helper.Get(m_AsDouble, out value, m_ValueType, AttributeType.Double); + return value; + } + + set + { + Helper.Set(value, ref m_AsDouble, AttributeType.Double, ref m_ValueType, this); + } + } + + public bool? AsBool + { + get + { + bool? value; + Helper.Get(m_AsBool, out value, m_ValueType, AttributeType.Boolean); + return value; + } + + set + { + Helper.Set(value, ref m_AsBool, AttributeType.Boolean, ref m_ValueType, this); + } + } + + public Utf8String AsUtf8 + { + get + { + Utf8String value; + Helper.Get(m_AsUtf8, out value, m_ValueType, AttributeType.String); + return value; + } + + set + { + Helper.Set(value, ref m_AsUtf8, AttributeType.String, ref m_ValueType, this); + } + } + + public void Set(ref AttributeDataValue other) + { + AsInt64 = other.AsInt64; + AsDouble = other.AsDouble; + AsBool = other.AsBool; + AsUtf8 = other.AsUtf8; + } + + public void Set(ref AttributeDataValue? other) + { + if (other.HasValue) + { + AsInt64 = other.Value.AsInt64; + AsDouble = other.Value.AsDouble; + AsBool = other.Value.AsBool; + AsUtf8 = other.Value.AsUtf8; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AsUtf8, m_ValueType, AttributeType.String); + } + + public void Get(out AttributeDataValue output) + { + output = new AttributeDataValue(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeDataValue.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeDataValue.cs.meta deleted file mode 100644 index e53ff632..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/AttributeDataValue.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8754777e17b78a94faf3dbd0f94ef387 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopyActiveSessionHandleOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopyActiveSessionHandleOptions.cs index 7e384514..8bb406dc 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopyActiveSessionHandleOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopyActiveSessionHandleOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class CopyActiveSessionHandleOptions - { - /// - /// Name of the session for which to retrieve a session handle - /// - public string SessionName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyActiveSessionHandleOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionName; - - public string SessionName - { - set - { - Helper.TryMarshalSet(ref m_SessionName, value); - } - } - - public void Set(CopyActiveSessionHandleOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.CopyactivesessionhandleApiLatest; - SessionName = other.SessionName; - } - } - - public void Set(object other) - { - Set(other as CopyActiveSessionHandleOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct CopyActiveSessionHandleOptions + { + /// + /// Name of the session for which to retrieve a session handle + /// + public Utf8String SessionName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyActiveSessionHandleOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionName; + + public Utf8String SessionName + { + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public void Set(ref CopyActiveSessionHandleOptions other) + { + m_ApiVersion = SessionsInterface.CopyactivesessionhandleApiLatest; + SessionName = other.SessionName; + } + + public void Set(ref CopyActiveSessionHandleOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.CopyactivesessionhandleApiLatest; + SessionName = other.Value.SessionName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopyActiveSessionHandleOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopyActiveSessionHandleOptions.cs.meta deleted file mode 100644 index 489bda57..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopyActiveSessionHandleOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9339e328b61f8a0418c58c9eb97c3cb1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByInviteIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByInviteIdOptions.cs index db350e02..b1d4d201 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByInviteIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByInviteIdOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class CopySessionHandleByInviteIdOptions - { - /// - /// Invite ID for which to retrieve a session handle - /// - public string InviteId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopySessionHandleByInviteIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_InviteId; - - public string InviteId - { - set - { - Helper.TryMarshalSet(ref m_InviteId, value); - } - } - - public void Set(CopySessionHandleByInviteIdOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.CopysessionhandlebyinviteidApiLatest; - InviteId = other.InviteId; - } - } - - public void Set(object other) - { - Set(other as CopySessionHandleByInviteIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_InviteId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct CopySessionHandleByInviteIdOptions + { + /// + /// Invite ID for which to retrieve a session handle + /// + public Utf8String InviteId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopySessionHandleByInviteIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_InviteId; + + public Utf8String InviteId + { + set + { + Helper.Set(value, ref m_InviteId); + } + } + + public void Set(ref CopySessionHandleByInviteIdOptions other) + { + m_ApiVersion = SessionsInterface.CopysessionhandlebyinviteidApiLatest; + InviteId = other.InviteId; + } + + public void Set(ref CopySessionHandleByInviteIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.CopysessionhandlebyinviteidApiLatest; + InviteId = other.Value.InviteId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_InviteId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByInviteIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByInviteIdOptions.cs.meta deleted file mode 100644 index 3ca97e34..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByInviteIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1e48b72c950d2ce4b9db05dfd27d6236 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByUiEventIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByUiEventIdOptions.cs index eb169258..bd5af23d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByUiEventIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByUiEventIdOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class CopySessionHandleByUiEventIdOptions - { - /// - /// UI Event associated with the session - /// - public ulong UiEventId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopySessionHandleByUiEventIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private ulong m_UiEventId; - - public ulong UiEventId - { - set - { - m_UiEventId = value; - } - } - - public void Set(CopySessionHandleByUiEventIdOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.CopysessionhandlebyuieventidApiLatest; - UiEventId = other.UiEventId; - } - } - - public void Set(object other) - { - Set(other as CopySessionHandleByUiEventIdOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct CopySessionHandleByUiEventIdOptions + { + /// + /// UI Event associated with the session + /// + public ulong UiEventId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopySessionHandleByUiEventIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private ulong m_UiEventId; + + public ulong UiEventId + { + set + { + m_UiEventId = value; + } + } + + public void Set(ref CopySessionHandleByUiEventIdOptions other) + { + m_ApiVersion = SessionsInterface.CopysessionhandlebyuieventidApiLatest; + UiEventId = other.UiEventId; + } + + public void Set(ref CopySessionHandleByUiEventIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.CopysessionhandlebyuieventidApiLatest; + UiEventId = other.Value.UiEventId; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByUiEventIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByUiEventIdOptions.cs.meta deleted file mode 100644 index d1903ec4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleByUiEventIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c9d356b2b03aff644b5caba12f7dd7a3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleForPresenceOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleForPresenceOptions.cs index c53bf85d..58619746 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleForPresenceOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleForPresenceOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class CopySessionHandleForPresenceOptions - { - /// - /// The Product User ID of the local user associated with the session - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopySessionHandleForPresenceOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(CopySessionHandleForPresenceOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.CopysessionhandleforpresenceApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as CopySessionHandleForPresenceOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct CopySessionHandleForPresenceOptions + { + /// + /// The Product User ID of the local user associated with the session + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopySessionHandleForPresenceOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref CopySessionHandleForPresenceOptions other) + { + m_ApiVersion = SessionsInterface.CopysessionhandleforpresenceApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref CopySessionHandleForPresenceOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.CopysessionhandleforpresenceApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleForPresenceOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleForPresenceOptions.cs.meta deleted file mode 100644 index 18dcc660..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CopySessionHandleForPresenceOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: db082a05cd75ecc4ea02eecb0f983662 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionModificationOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionModificationOptions.cs index b9840139..4a2482a2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionModificationOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionModificationOptions.cs @@ -1,140 +1,162 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class CreateSessionModificationOptions - { - /// - /// Name of the session to create - /// - public string SessionName { get; set; } - - /// - /// Bucket ID associated with the session - /// - public string BucketId { get; set; } - - /// - /// Maximum number of players allowed in the session - /// - public uint MaxPlayers { get; set; } - - /// - /// The Product User ID of the local user associated with the session - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// If true, this session will be associated with presence. Only one session at a time can have this flag true. - /// This affects the ability of the Social Overlay to show game related actions to take in the user's social graph. - /// - /// @note The Social Overlay can handle only one of the following three options at a time: - /// using the bPresenceEnabled flags within the Sessions interface - /// using the bPresenceEnabled flags within the Lobby interface - /// using - /// - /// - /// - /// - /// - public bool PresenceEnabled { get; set; } - - /// - /// Optional session id - set to a globally unique value to override the backend assignment - /// If not specified the backend service will assign one to the session. Do not mix and match. - /// This value can be of size [, ] - /// - public string SessionId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CreateSessionModificationOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionName; - private System.IntPtr m_BucketId; - private uint m_MaxPlayers; - private System.IntPtr m_LocalUserId; - private int m_PresenceEnabled; - private System.IntPtr m_SessionId; - - public string SessionName - { - set - { - Helper.TryMarshalSet(ref m_SessionName, value); - } - } - - public string BucketId - { - set - { - Helper.TryMarshalSet(ref m_BucketId, value); - } - } - - public uint MaxPlayers - { - set - { - m_MaxPlayers = value; - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public bool PresenceEnabled - { - set - { - Helper.TryMarshalSet(ref m_PresenceEnabled, value); - } - } - - public string SessionId - { - set - { - Helper.TryMarshalSet(ref m_SessionId, value); - } - } - - public void Set(CreateSessionModificationOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.CreatesessionmodificationApiLatest; - SessionName = other.SessionName; - BucketId = other.BucketId; - MaxPlayers = other.MaxPlayers; - LocalUserId = other.LocalUserId; - PresenceEnabled = other.PresenceEnabled; - SessionId = other.SessionId; - } - } - - public void Set(object other) - { - Set(other as CreateSessionModificationOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionName); - Helper.TryMarshalDispose(ref m_BucketId); - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_SessionId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct CreateSessionModificationOptions + { + /// + /// Name of the session to create + /// + public Utf8String SessionName { get; set; } + + /// + /// Bucket ID associated with the session + /// + public Utf8String BucketId { get; set; } + + /// + /// Maximum number of players allowed in the session + /// + public uint MaxPlayers { get; set; } + + /// + /// The Product User ID of the local user associated with the session + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// If true, this session will be associated with presence. Only one session at a time can have this flag true. + /// This affects the ability of the Social Overlay to show game related actions to take in the user's social graph. + /// The Social Overlay can handle only one of the following three options at a time: + /// using the bPresenceEnabled flags within the Sessions interface + /// using the bPresenceEnabled flags within the Lobby interface + /// using EOS_PresenceModification_SetJoinInfo + /// + /// + /// + /// + /// + public bool PresenceEnabled { get; set; } + + /// + /// Optional session id - set to a globally unique value to override the backend assignment + /// If not specified the backend service will assign one to the session. Do not mix and match. + /// This value can be of size [, ] + /// + public Utf8String SessionId { get; set; } + + /// + /// If true, sanctioned players can neither join nor register with this session and, in the case of join, + /// will return code + /// + public bool SanctionsEnabled { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CreateSessionModificationOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionName; + private System.IntPtr m_BucketId; + private uint m_MaxPlayers; + private System.IntPtr m_LocalUserId; + private int m_PresenceEnabled; + private System.IntPtr m_SessionId; + private int m_SanctionsEnabled; + + public Utf8String SessionName + { + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public Utf8String BucketId + { + set + { + Helper.Set(value, ref m_BucketId); + } + } + + public uint MaxPlayers + { + set + { + m_MaxPlayers = value; + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public bool PresenceEnabled + { + set + { + Helper.Set(value, ref m_PresenceEnabled); + } + } + + public Utf8String SessionId + { + set + { + Helper.Set(value, ref m_SessionId); + } + } + + public bool SanctionsEnabled + { + set + { + Helper.Set(value, ref m_SanctionsEnabled); + } + } + + public void Set(ref CreateSessionModificationOptions other) + { + m_ApiVersion = SessionsInterface.CreatesessionmodificationApiLatest; + SessionName = other.SessionName; + BucketId = other.BucketId; + MaxPlayers = other.MaxPlayers; + LocalUserId = other.LocalUserId; + PresenceEnabled = other.PresenceEnabled; + SessionId = other.SessionId; + SanctionsEnabled = other.SanctionsEnabled; + } + + public void Set(ref CreateSessionModificationOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.CreatesessionmodificationApiLatest; + SessionName = other.Value.SessionName; + BucketId = other.Value.BucketId; + MaxPlayers = other.Value.MaxPlayers; + LocalUserId = other.Value.LocalUserId; + PresenceEnabled = other.Value.PresenceEnabled; + SessionId = other.Value.SessionId; + SanctionsEnabled = other.Value.SanctionsEnabled; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionName); + Helper.Dispose(ref m_BucketId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_SessionId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionModificationOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionModificationOptions.cs.meta deleted file mode 100644 index 2f773d0c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionModificationOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5b9a74e91d0bfe649b1360f21bc9f3e1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionSearchOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionSearchOptions.cs index dca69f8c..957bdd51 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionSearchOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionSearchOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class CreateSessionSearchOptions - { - /// - /// Max number of results to return - /// - public uint MaxSearchResults { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CreateSessionSearchOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_MaxSearchResults; - - public uint MaxSearchResults - { - set - { - m_MaxSearchResults = value; - } - } - - public void Set(CreateSessionSearchOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.CreatesessionsearchApiLatest; - MaxSearchResults = other.MaxSearchResults; - } - } - - public void Set(object other) - { - Set(other as CreateSessionSearchOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct CreateSessionSearchOptions + { + /// + /// Max number of results to return + /// + public uint MaxSearchResults { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CreateSessionSearchOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_MaxSearchResults; + + public uint MaxSearchResults + { + set + { + m_MaxSearchResults = value; + } + } + + public void Set(ref CreateSessionSearchOptions other) + { + m_ApiVersion = SessionsInterface.CreatesessionsearchApiLatest; + MaxSearchResults = other.MaxSearchResults; + } + + public void Set(ref CreateSessionSearchOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.CreatesessionsearchApiLatest; + MaxSearchResults = other.Value.MaxSearchResults; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionSearchOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionSearchOptions.cs.meta deleted file mode 100644 index c732da42..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/CreateSessionSearchOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 30f3d0d82989b5642bfdd73066462e9b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionCallbackInfo.cs index 4daa86c7..5f2698bd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Output parameters for the function. - /// - public class DestroySessionCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(DestroySessionCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as DestroySessionCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DestroySessionCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Output parameters for the function. + /// + public struct DestroySessionCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref DestroySessionCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DestroySessionCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref DestroySessionCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref DestroySessionCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out DestroySessionCallbackInfo output) + { + output = new DestroySessionCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionCallbackInfo.cs.meta deleted file mode 100644 index 1d5b0fbf..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 07db681c1cbf7de42b8c1ce2793d19a5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionOptions.cs index 186165c3..170f87b3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class DestroySessionOptions - { - /// - /// Name of the session to destroy - /// - public string SessionName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DestroySessionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionName; - - public string SessionName - { - set - { - Helper.TryMarshalSet(ref m_SessionName, value); - } - } - - public void Set(DestroySessionOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.DestroysessionApiLatest; - SessionName = other.SessionName; - } - } - - public void Set(object other) - { - Set(other as DestroySessionOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct DestroySessionOptions + { + /// + /// Name of the session to destroy + /// + public Utf8String SessionName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DestroySessionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionName; + + public Utf8String SessionName + { + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public void Set(ref DestroySessionOptions other) + { + m_ApiVersion = SessionsInterface.DestroysessionApiLatest; + SessionName = other.SessionName; + } + + public void Set(ref DestroySessionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.DestroysessionApiLatest; + SessionName = other.Value.SessionName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionOptions.cs.meta deleted file mode 100644 index 8012eb0a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DestroySessionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2b126db6f7286954da9a1ba13214ed48 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DumpSessionStateOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DumpSessionStateOptions.cs index 33b1787c..18ecb912 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DumpSessionStateOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DumpSessionStateOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class DumpSessionStateOptions - { - /// - /// Name of the session - /// - public string SessionName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DumpSessionStateOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionName; - - public string SessionName - { - set - { - Helper.TryMarshalSet(ref m_SessionName, value); - } - } - - public void Set(DumpSessionStateOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.DumpsessionstateApiLatest; - SessionName = other.SessionName; - } - } - - public void Set(object other) - { - Set(other as DumpSessionStateOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct DumpSessionStateOptions + { + /// + /// Name of the session + /// + public Utf8String SessionName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DumpSessionStateOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionName; + + public Utf8String SessionName + { + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public void Set(ref DumpSessionStateOptions other) + { + m_ApiVersion = SessionsInterface.DumpsessionstateApiLatest; + SessionName = other.SessionName; + } + + public void Set(ref DumpSessionStateOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.DumpsessionstateApiLatest; + SessionName = other.Value.SessionName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DumpSessionStateOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DumpSessionStateOptions.cs.meta deleted file mode 100644 index 5d0bae67..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/DumpSessionStateOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ad9db62bee6ffbc4eb59750f61a15038 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionCallbackInfo.cs index c32181a7..a815c13f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionCallbackInfo.cs @@ -1,70 +1,98 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - public class EndSessionCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(EndSessionCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as EndSessionCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct EndSessionCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + public struct EndSessionCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref EndSessionCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct EndSessionCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref EndSessionCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref EndSessionCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out EndSessionCallbackInfo output) + { + output = new EndSessionCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionCallbackInfo.cs.meta deleted file mode 100644 index dd37c325..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7f08a3819bddbec468ad3450a8e63d6a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionOptions.cs index ce7919c8..17aeaa66 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class EndSessionOptions - { - /// - /// Name of the session to set as no long in progress - /// - public string SessionName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct EndSessionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionName; - - public string SessionName - { - set - { - Helper.TryMarshalSet(ref m_SessionName, value); - } - } - - public void Set(EndSessionOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.EndsessionApiLatest; - SessionName = other.SessionName; - } - } - - public void Set(object other) - { - Set(other as EndSessionOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct EndSessionOptions + { + /// + /// Name of the session to set as no long in progress + /// + public Utf8String SessionName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct EndSessionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionName; + + public Utf8String SessionName + { + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public void Set(ref EndSessionOptions other) + { + m_ApiVersion = SessionsInterface.EndsessionApiLatest; + SessionName = other.SessionName; + } + + public void Set(ref EndSessionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.EndsessionApiLatest; + SessionName = other.Value.SessionName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionOptions.cs.meta deleted file mode 100644 index 3a638a78..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/EndSessionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: db652f0accf267c4ebbb12c93e40249b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteCountOptions.cs index 8d686b32..0d5c95af 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class GetInviteCountOptions - { - /// - /// The Product User ID of the local user who has one or more invitations in the cache - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetInviteCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(GetInviteCountOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.GetinvitecountApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as GetInviteCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct GetInviteCountOptions + { + /// + /// The Product User ID of the local user who has one or more invitations in the cache + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetInviteCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref GetInviteCountOptions other) + { + m_ApiVersion = SessionsInterface.GetinvitecountApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref GetInviteCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.GetinvitecountApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteCountOptions.cs.meta deleted file mode 100644 index 3aaa6bbe..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6f4019891e59c1a4cb3c3cab388c866a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteIdByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteIdByIndexOptions.cs index df4b0a3b..65cbbe6a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteIdByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteIdByIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class GetInviteIdByIndexOptions - { - /// - /// The Product User ID of the local user who has an invitation in the cache - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// Index of the invite ID to retrieve - /// - public uint Index { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetInviteIdByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private uint m_Index; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public uint Index - { - set - { - m_Index = value; - } - } - - public void Set(GetInviteIdByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.GetinviteidbyindexApiLatest; - LocalUserId = other.LocalUserId; - Index = other.Index; - } - } - - public void Set(object other) - { - Set(other as GetInviteIdByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct GetInviteIdByIndexOptions + { + /// + /// The Product User ID of the local user who has an invitation in the cache + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Index of the invite ID to retrieve + /// + public uint Index { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetInviteIdByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private uint m_Index; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint Index + { + set + { + m_Index = value; + } + } + + public void Set(ref GetInviteIdByIndexOptions other) + { + m_ApiVersion = SessionsInterface.GetinviteidbyindexApiLatest; + LocalUserId = other.LocalUserId; + Index = other.Index; + } + + public void Set(ref GetInviteIdByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.GetinviteidbyindexApiLatest; + LocalUserId = other.Value.LocalUserId; + Index = other.Value.Index; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteIdByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteIdByIndexOptions.cs.meta deleted file mode 100644 index af9fbf9e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/GetInviteIdByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c0b893a52dae75d47bcfa0f0c3dc3ae0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/IsUserInSessionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/IsUserInSessionOptions.cs index ebf035d6..864dcdf3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/IsUserInSessionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/IsUserInSessionOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class IsUserInSessionOptions - { - /// - /// Active session name to search within - /// - public string SessionName { get; set; } - - /// - /// Product User ID to search for in the session - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct IsUserInSessionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionName; - private System.IntPtr m_TargetUserId; - - public string SessionName - { - set - { - Helper.TryMarshalSet(ref m_SessionName, value); - } - } - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(IsUserInSessionOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.IsuserinsessionApiLatest; - SessionName = other.SessionName; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as IsUserInSessionOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionName); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct IsUserInSessionOptions + { + /// + /// Active session name to search within + /// + public Utf8String SessionName { get; set; } + + /// + /// Product User ID to search for in the session + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct IsUserInSessionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionName; + private System.IntPtr m_TargetUserId; + + public Utf8String SessionName + { + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref IsUserInSessionOptions other) + { + m_ApiVersion = SessionsInterface.IsuserinsessionApiLatest; + SessionName = other.SessionName; + TargetUserId = other.TargetUserId; + } + + public void Set(ref IsUserInSessionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.IsuserinsessionApiLatest; + SessionName = other.Value.SessionName; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionName); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/IsUserInSessionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/IsUserInSessionOptions.cs.meta deleted file mode 100644 index 71ec20d2..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/IsUserInSessionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 65a3c28ab5fcd8847a49aafaf2e507bc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionAcceptedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionAcceptedCallbackInfo.cs index 6ca53757..ef10347b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionAcceptedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionAcceptedCallbackInfo.cs @@ -1,92 +1,128 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Output parameters for the function. - /// - public class JoinSessionAcceptedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID for the user who initialized the game - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The UI Event associated with this Join Game event. - /// This should be used with to get a handle to be used - /// when calling . - /// - public ulong UiEventId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(JoinSessionAcceptedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - UiEventId = other.Value.UiEventId; - } - } - - public void Set(object other) - { - Set(other as JoinSessionAcceptedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct JoinSessionAcceptedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private ulong m_UiEventId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public ulong UiEventId - { - get - { - return m_UiEventId; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Output parameters for the function. + /// + public struct JoinSessionAcceptedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Product User ID for the user who initialized the game + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The UI Event associated with this Join Game event. + /// This should be used with to get a handle to be used + /// when calling . + /// + public ulong UiEventId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref JoinSessionAcceptedCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + UiEventId = other.UiEventId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct JoinSessionAcceptedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private ulong m_UiEventId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ulong UiEventId + { + get + { + return m_UiEventId; + } + + set + { + m_UiEventId = value; + } + } + + public void Set(ref JoinSessionAcceptedCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + UiEventId = other.UiEventId; + } + + public void Set(ref JoinSessionAcceptedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + UiEventId = other.Value.UiEventId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out JoinSessionAcceptedCallbackInfo output) + { + output = new JoinSessionAcceptedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionAcceptedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionAcceptedCallbackInfo.cs.meta deleted file mode 100644 index 678b3805..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionAcceptedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bac0f5b814459b844a03f996238ff462 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionCallbackInfo.cs index e3577ba6..d55d8706 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Output parameters for the function. - /// - public class JoinSessionCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(JoinSessionCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as JoinSessionCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct JoinSessionCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Output parameters for the function. + /// + public struct JoinSessionCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref JoinSessionCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct JoinSessionCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref JoinSessionCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref JoinSessionCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out JoinSessionCallbackInfo output) + { + output = new JoinSessionCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionCallbackInfo.cs.meta deleted file mode 100644 index 5103dbbf..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0066bd579d6b4be4c9efae3075ea896c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionOptions.cs index e863b4c4..96e59136 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionOptions.cs @@ -1,107 +1,110 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class JoinSessionOptions - { - /// - /// Name of the session to create after joining session - /// - public string SessionName { get; set; } - - /// - /// Session handle to join - /// - public SessionDetails SessionHandle { get; set; } - - /// - /// The Product User ID of the local user who is joining the session - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// If true, this session will be associated with presence. Only one session at a time can have this flag true. - /// This affects the ability of the Social Overlay to show game related actions to take in the user's social graph. - /// - /// @note The Social Overlay can handle only one of the following three options at a time: - /// using the bPresenceEnabled flags within the Sessions interface - /// using the bPresenceEnabled flags within the Lobby interface - /// using - /// - /// - /// - /// - /// - public bool PresenceEnabled { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct JoinSessionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionName; - private System.IntPtr m_SessionHandle; - private System.IntPtr m_LocalUserId; - private int m_PresenceEnabled; - - public string SessionName - { - set - { - Helper.TryMarshalSet(ref m_SessionName, value); - } - } - - public SessionDetails SessionHandle - { - set - { - Helper.TryMarshalSet(ref m_SessionHandle, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public bool PresenceEnabled - { - set - { - Helper.TryMarshalSet(ref m_PresenceEnabled, value); - } - } - - public void Set(JoinSessionOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.JoinsessionApiLatest; - SessionName = other.SessionName; - SessionHandle = other.SessionHandle; - LocalUserId = other.LocalUserId; - PresenceEnabled = other.PresenceEnabled; - } - } - - public void Set(object other) - { - Set(other as JoinSessionOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionName); - Helper.TryMarshalDispose(ref m_SessionHandle); - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct JoinSessionOptions + { + /// + /// Name of the session to create after joining session + /// + public Utf8String SessionName { get; set; } + + /// + /// Session handle to join + /// + public SessionDetails SessionHandle { get; set; } + + /// + /// The Product User ID of the local user who is joining the session + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// If true, this session will be associated with presence. Only one session at a time can have this flag true. + /// This affects the ability of the Social Overlay to show game related actions to take in the user's social graph. + /// The Social Overlay can handle only one of the following three options at a time: + /// using the bPresenceEnabled flags within the Sessions interface + /// using the bPresenceEnabled flags within the Lobby interface + /// using EOS_PresenceModification_SetJoinInfo + /// + /// + /// + /// + /// + public bool PresenceEnabled { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct JoinSessionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionName; + private System.IntPtr m_SessionHandle; + private System.IntPtr m_LocalUserId; + private int m_PresenceEnabled; + + public Utf8String SessionName + { + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public SessionDetails SessionHandle + { + set + { + Helper.Set(value, ref m_SessionHandle); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public bool PresenceEnabled + { + set + { + Helper.Set(value, ref m_PresenceEnabled); + } + } + + public void Set(ref JoinSessionOptions other) + { + m_ApiVersion = SessionsInterface.JoinsessionApiLatest; + SessionName = other.SessionName; + SessionHandle = other.SessionHandle; + LocalUserId = other.LocalUserId; + PresenceEnabled = other.PresenceEnabled; + } + + public void Set(ref JoinSessionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.JoinsessionApiLatest; + SessionName = other.Value.SessionName; + SessionHandle = other.Value.SessionHandle; + LocalUserId = other.Value.LocalUserId; + PresenceEnabled = other.Value.PresenceEnabled; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionName); + Helper.Dispose(ref m_SessionHandle); + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionOptions.cs.meta deleted file mode 100644 index 09f8a8f4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/JoinSessionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c9c183ec75529b14696afc47d2339958 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnDestroySessionCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnDestroySessionCallback.cs index fc741efb..9c4cddf2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnDestroySessionCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnDestroySessionCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnDestroySessionCallback(DestroySessionCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnDestroySessionCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnDestroySessionCallback(ref DestroySessionCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnDestroySessionCallbackInternal(ref DestroySessionCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnDestroySessionCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnDestroySessionCallback.cs.meta deleted file mode 100644 index 7433bb30..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnDestroySessionCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 49561c64d938a0e4aab4a543747f2e0e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnEndSessionCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnEndSessionCallback.cs index d6b74758..6830f956 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnEndSessionCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnEndSessionCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnEndSessionCallback(EndSessionCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnEndSessionCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnEndSessionCallback(ref EndSessionCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnEndSessionCallbackInternal(ref EndSessionCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnEndSessionCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnEndSessionCallback.cs.meta deleted file mode 100644 index 2efe52c4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnEndSessionCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 36602468e68eb5a478e6007cca95cde5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionAcceptedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionAcceptedCallback.cs index 19490dc0..8b1a1145 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionAcceptedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionAcceptedCallback.cs @@ -1,19 +1,17 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for notifications that come from - /// - /// - /// - /// - /// A containing the output information and result - /// @note The session for the join game must be joined. - /// - public delegate void OnJoinSessionAcceptedCallback(JoinSessionAcceptedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnJoinSessionAcceptedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for notifications that come from + /// The session for the join game must be joined. + /// + /// + /// + /// A containing the output information and result + public delegate void OnJoinSessionAcceptedCallback(ref JoinSessionAcceptedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnJoinSessionAcceptedCallbackInternal(ref JoinSessionAcceptedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionAcceptedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionAcceptedCallback.cs.meta deleted file mode 100644 index 2bd4065a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionAcceptedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 320fb65b814e4f54385b208e117331e3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionCallback.cs index 9b302397..1c057604 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnJoinSessionCallback(JoinSessionCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnJoinSessionCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnJoinSessionCallback(ref JoinSessionCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnJoinSessionCallbackInternal(ref JoinSessionCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionCallback.cs.meta deleted file mode 100644 index e93494ee..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnJoinSessionCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2b389f45408282a43ad2af5a5e962efc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnQueryInvitesCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnQueryInvitesCallback.cs index 73185948..31b328dd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnQueryInvitesCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnQueryInvitesCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A CallbackInfo containing the output information and result - public delegate void OnQueryInvitesCallback(QueryInvitesCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryInvitesCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A CallbackInfo containing the output information and result + public delegate void OnQueryInvitesCallback(ref QueryInvitesCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryInvitesCallbackInternal(ref QueryInvitesCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnQueryInvitesCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnQueryInvitesCallback.cs.meta deleted file mode 100644 index bccc7945..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnQueryInvitesCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 85114b3ce9f449544aa5ae0adc6521c1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRegisterPlayersCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRegisterPlayersCallback.cs index 0d6600b9..2d6ceab4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRegisterPlayersCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRegisterPlayersCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnRegisterPlayersCallback(RegisterPlayersCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnRegisterPlayersCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnRegisterPlayersCallback(ref RegisterPlayersCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnRegisterPlayersCallbackInternal(ref RegisterPlayersCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRegisterPlayersCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRegisterPlayersCallback.cs.meta deleted file mode 100644 index 24dba609..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRegisterPlayersCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: aa89163bd4556ae4d95f84c75af3e89f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRejectInviteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRejectInviteCallback.cs index af5f5d88..dd4e8ae0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRejectInviteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRejectInviteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnRejectInviteCallback(RejectInviteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnRejectInviteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnRejectInviteCallback(ref RejectInviteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnRejectInviteCallbackInternal(ref RejectInviteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRejectInviteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRejectInviteCallback.cs.meta deleted file mode 100644 index d98fd922..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnRejectInviteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1b180eaa9b63b1545a0839ddcf375b0f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSendInviteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSendInviteCallback.cs index 0b0bbf63..94354fdd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSendInviteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSendInviteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnSendInviteCallback(SendInviteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnSendInviteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnSendInviteCallback(ref SendInviteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnSendInviteCallbackInternal(ref SendInviteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSendInviteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSendInviteCallback.cs.meta deleted file mode 100644 index 80344711..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSendInviteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dbbbffeb5e2844c4bbc21744b59503a4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteAcceptedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteAcceptedCallback.cs index 4e8e89b8..6ac2cae5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteAcceptedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteAcceptedCallback.cs @@ -1,19 +1,17 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for notifications that come from - /// - /// - /// - /// - /// A containing the output information and result - /// @note The session for the invite must be joined. - /// - public delegate void OnSessionInviteAcceptedCallback(SessionInviteAcceptedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnSessionInviteAcceptedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for notifications that come from + /// The session for the invite must be joined. + /// + /// + /// + /// A containing the output information and result + public delegate void OnSessionInviteAcceptedCallback(ref SessionInviteAcceptedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnSessionInviteAcceptedCallbackInternal(ref SessionInviteAcceptedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteAcceptedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteAcceptedCallback.cs.meta deleted file mode 100644 index 12e59a9e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteAcceptedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9cacd9e828d06f640981bdd84417ce9b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteReceivedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteReceivedCallback.cs index 0f5596c5..5cb867da 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteReceivedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteReceivedCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for notifications that come from - /// - /// A containing the output information and result - public delegate void OnSessionInviteReceivedCallback(SessionInviteReceivedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnSessionInviteReceivedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for notifications that come from + /// + /// A containing the output information and result + public delegate void OnSessionInviteReceivedCallback(ref SessionInviteReceivedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnSessionInviteReceivedCallbackInternal(ref SessionInviteReceivedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteReceivedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteReceivedCallback.cs.meta deleted file mode 100644 index ba9375dd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnSessionInviteReceivedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 885a0ebb2b01c4b46989c539563f5994 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnStartSessionCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnStartSessionCallback.cs index 809557be..62e9b871 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnStartSessionCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnStartSessionCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnStartSessionCallback(StartSessionCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnStartSessionCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnStartSessionCallback(ref StartSessionCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnStartSessionCallbackInternal(ref StartSessionCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnStartSessionCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnStartSessionCallback.cs.meta deleted file mode 100644 index 09b4b3a6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnStartSessionCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f0be20d3f70a9f24bbedc2d59b16e809 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUnregisterPlayersCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUnregisterPlayersCallback.cs index 5241a8dd..402cae4f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUnregisterPlayersCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUnregisterPlayersCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnUnregisterPlayersCallback(UnregisterPlayersCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnUnregisterPlayersCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnUnregisterPlayersCallback(ref UnregisterPlayersCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnUnregisterPlayersCallbackInternal(ref UnregisterPlayersCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUnregisterPlayersCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUnregisterPlayersCallback.cs.meta deleted file mode 100644 index fc4a1368..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUnregisterPlayersCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: df12fdd0a9cf5874ba38564187e90ce3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUpdateSessionCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUpdateSessionCallback.cs index 0daca1de..c0eebeaa 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUpdateSessionCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUpdateSessionCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnUpdateSessionCallback(UpdateSessionCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnUpdateSessionCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnUpdateSessionCallback(ref UpdateSessionCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnUpdateSessionCallbackInternal(ref UpdateSessionCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUpdateSessionCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUpdateSessionCallback.cs.meta deleted file mode 100644 index 41d57d3c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnUpdateSessionCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2f14b0e1141b09447a6a647f642387f8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionPermissionLevel.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionPermissionLevel.cs index afaa68ce..52d40a54 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionPermissionLevel.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionPermissionLevel.cs @@ -1,24 +1,24 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Permission level gets more restrictive further down - /// - public enum OnlineSessionPermissionLevel : int - { - /// - /// Anyone can find this session as long as it isn't full - /// - PublicAdvertised = 0, - /// - /// Players who have access to presence can see this session - /// - JoinViaPresence = 1, - /// - /// Only players with invites registered can see this session - /// - InviteOnly = 2 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Permission level gets more restrictive further down + /// + public enum OnlineSessionPermissionLevel : int + { + /// + /// Anyone can find this session as long as it isn't full + /// + PublicAdvertised = 0, + /// + /// Players who have access to presence can see this session + /// + JoinViaPresence = 1, + /// + /// Only players with invites registered can see this session + /// + InviteOnly = 2 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionPermissionLevel.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionPermissionLevel.cs.meta deleted file mode 100644 index dcb99d04..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionPermissionLevel.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9e88f9ee427598d4dab819b7a8656782 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionState.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionState.cs index b36cc216..31f0dc60 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionState.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionState.cs @@ -1,44 +1,44 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// All possible states of an existing named session - /// - public enum OnlineSessionState : int - { - /// - /// An online session has not been created yet - /// - NoSession = 0, - /// - /// An online session is in the process of being created - /// - Creating = 1, - /// - /// Session has been created but the session hasn't started (pre match lobby) - /// - Pending = 2, - /// - /// Session has been asked to start (may take time due to communication with backend) - /// - Starting = 3, - /// - /// The current session has started. Sessions with join in progress disabled are no longer joinable - /// - InProgress = 4, - /// - /// The session is still valid, but the session is no longer being played (post match lobby) - /// - Ending = 5, - /// - /// The session is closed and any stats committed - /// - Ended = 6, - /// - /// The session is being destroyed - /// - Destroying = 7 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// All possible states of an existing named session + /// + public enum OnlineSessionState : int + { + /// + /// An online session has not been created yet + /// + NoSession = 0, + /// + /// An online session is in the process of being created + /// + Creating = 1, + /// + /// Session has been created but the session hasn't started (pre match lobby) + /// + Pending = 2, + /// + /// Session has been asked to start (may take time due to communication with backend) + /// + Starting = 3, + /// + /// The current session has started. Sessions with join in progress disabled are no longer joinable + /// + InProgress = 4, + /// + /// The session is still valid, but the session is no longer being played (post match lobby) + /// + Ending = 5, + /// + /// The session is closed and any stats committed + /// + Ended = 6, + /// + /// The session is being destroyed + /// + Destroying = 7 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionState.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionState.cs.meta deleted file mode 100644 index 84028afd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/OnlineSessionState.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 26d3d2187b31c1c419c11e7cdd07e33d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesCallbackInfo.cs index 953d74db..0fd8aa90 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Output parameters for the function. - /// - public class QueryInvitesCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Product User of the local user who made the request - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryInvitesCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryInvitesCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryInvitesCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Output parameters for the function. + /// + public struct QueryInvitesCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Product User of the local user who made the request + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryInvitesCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryInvitesCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryInvitesCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryInvitesCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out QueryInvitesCallbackInfo output) + { + output = new QueryInvitesCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesCallbackInfo.cs.meta deleted file mode 100644 index 67ff8b41..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8ce50c92072916f4c9ae9d299732ee89 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesOptions.cs index f263c5d5..edf10925 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class QueryInvitesOptions - { - /// - /// The Product User ID to query for invitations - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryInvitesOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(QueryInvitesOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.QueryinvitesApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryInvitesOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct QueryInvitesOptions + { + /// + /// The Product User ID to query for invitations + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryInvitesOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryInvitesOptions other) + { + m_ApiVersion = SessionsInterface.QueryinvitesApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryInvitesOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.QueryinvitesApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesOptions.cs.meta deleted file mode 100644 index 856bc050..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/QueryInvitesOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3aa5a3f5bc54104419d0ff981a3058eb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersCallbackInfo.cs index c9074b49..984c8050 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersCallbackInfo.cs @@ -1,70 +1,150 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - public class RegisterPlayersCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(RegisterPlayersCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as RegisterPlayersCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RegisterPlayersCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + public struct RegisterPlayersCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The players that were successfully registered + /// + public ProductUserId[] RegisteredPlayers { get; set; } + + /// + /// The players that failed to register because they are sanctioned + /// + public ProductUserId[] SanctionedPlayers { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref RegisterPlayersCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + RegisteredPlayers = other.RegisteredPlayers; + SanctionedPlayers = other.SanctionedPlayers; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RegisterPlayersCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_RegisteredPlayers; + private uint m_RegisteredPlayersCount; + private System.IntPtr m_SanctionedPlayers; + private uint m_SanctionedPlayersCount; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId[] RegisteredPlayers + { + get + { + ProductUserId[] value; + Helper.GetHandle(m_RegisteredPlayers, out value, m_RegisteredPlayersCount); + return value; + } + + set + { + Helper.Set(value, ref m_RegisteredPlayers, out m_RegisteredPlayersCount); + } + } + + public ProductUserId[] SanctionedPlayers + { + get + { + ProductUserId[] value; + Helper.GetHandle(m_SanctionedPlayers, out value, m_SanctionedPlayersCount); + return value; + } + + set + { + Helper.Set(value, ref m_SanctionedPlayers, out m_SanctionedPlayersCount); + } + } + + public void Set(ref RegisterPlayersCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + RegisteredPlayers = other.RegisteredPlayers; + SanctionedPlayers = other.SanctionedPlayers; + } + + public void Set(ref RegisterPlayersCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + RegisteredPlayers = other.Value.RegisteredPlayers; + SanctionedPlayers = other.Value.SanctionedPlayers; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_RegisteredPlayers); + Helper.Dispose(ref m_SanctionedPlayers); + } + + public void Get(out RegisterPlayersCallbackInfo output) + { + output = new RegisterPlayersCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersCallbackInfo.cs.meta deleted file mode 100644 index 789897e1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f6e86fd743d6a564aa9ef06984c081ed -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersOptions.cs index d3df4934..e00a148c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersOptions.cs @@ -1,67 +1,69 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class RegisterPlayersOptions - { - /// - /// Name of the session for which to register players - /// - public string SessionName { get; set; } - - /// - /// Array of players to register with the session - /// - public ProductUserId[] PlayersToRegister { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RegisterPlayersOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionName; - private System.IntPtr m_PlayersToRegister; - private uint m_PlayersToRegisterCount; - - public string SessionName - { - set - { - Helper.TryMarshalSet(ref m_SessionName, value); - } - } - - public ProductUserId[] PlayersToRegister - { - set - { - Helper.TryMarshalSet(ref m_PlayersToRegister, value, out m_PlayersToRegisterCount); - } - } - - public void Set(RegisterPlayersOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.RegisterplayersApiLatest; - SessionName = other.SessionName; - PlayersToRegister = other.PlayersToRegister; - } - } - - public void Set(object other) - { - Set(other as RegisterPlayersOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionName); - Helper.TryMarshalDispose(ref m_PlayersToRegister); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct RegisterPlayersOptions + { + /// + /// Name of the session for which to register players + /// + public Utf8String SessionName { get; set; } + + /// + /// Array of players to register with the session + /// + public ProductUserId[] PlayersToRegister { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RegisterPlayersOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionName; + private System.IntPtr m_PlayersToRegister; + private uint m_PlayersToRegisterCount; + + public Utf8String SessionName + { + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public ProductUserId[] PlayersToRegister + { + set + { + Helper.Set(value, ref m_PlayersToRegister, out m_PlayersToRegisterCount); + } + } + + public void Set(ref RegisterPlayersOptions other) + { + m_ApiVersion = SessionsInterface.RegisterplayersApiLatest; + SessionName = other.SessionName; + PlayersToRegister = other.PlayersToRegister; + } + + public void Set(ref RegisterPlayersOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.RegisterplayersApiLatest; + SessionName = other.Value.SessionName; + PlayersToRegister = other.Value.PlayersToRegister; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionName); + Helper.Dispose(ref m_PlayersToRegister); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersOptions.cs.meta deleted file mode 100644 index 804c87e5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RegisterPlayersOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9559204b3c895a24ebbc1a650e2e6eea -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteCallbackInfo.cs index ef346f27..5aeb1d04 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Output parameters for the function. - /// - public class RejectInviteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(RejectInviteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as RejectInviteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RejectInviteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Output parameters for the function. + /// + public struct RejectInviteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref RejectInviteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RejectInviteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref RejectInviteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref RejectInviteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out RejectInviteCallbackInfo output) + { + output = new RejectInviteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteCallbackInfo.cs.meta deleted file mode 100644 index a6bb6190..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a7291dbfe3bb10f40a0a2ab3f29eb8cf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteOptions.cs index 21d580fb..5cc103b4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class RejectInviteOptions - { - /// - /// The Product User ID of the local user rejecting the invitation - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The invite ID to reject - /// - public string InviteId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct RejectInviteOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_InviteId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string InviteId - { - set - { - Helper.TryMarshalSet(ref m_InviteId, value); - } - } - - public void Set(RejectInviteOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.RejectinviteApiLatest; - LocalUserId = other.LocalUserId; - InviteId = other.InviteId; - } - } - - public void Set(object other) - { - Set(other as RejectInviteOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_InviteId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct RejectInviteOptions + { + /// + /// The Product User ID of the local user rejecting the invitation + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The invite ID to reject + /// + public Utf8String InviteId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct RejectInviteOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_InviteId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String InviteId + { + set + { + Helper.Set(value, ref m_InviteId); + } + } + + public void Set(ref RejectInviteOptions other) + { + m_ApiVersion = SessionsInterface.RejectinviteApiLatest; + LocalUserId = other.LocalUserId; + InviteId = other.InviteId; + } + + public void Set(ref RejectInviteOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.RejectinviteApiLatest; + LocalUserId = other.Value.LocalUserId; + InviteId = other.Value.InviteId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_InviteId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteOptions.cs.meta deleted file mode 100644 index 5cae7d44..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/RejectInviteOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 193b8f8341a7c344c8cfe64cbd307dea -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteCallbackInfo.cs index 2f9f37a4..fa0091f5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteCallbackInfo.cs @@ -1,73 +1,101 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Output parameters for the function. - /// - public class SendInviteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(SendInviteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as SendInviteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SendInviteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Output parameters for the function. + /// + public struct SendInviteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref SendInviteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SendInviteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref SendInviteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref SendInviteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out SendInviteCallbackInfo output) + { + output = new SendInviteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteCallbackInfo.cs.meta deleted file mode 100644 index dfacfd34..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f99e0135e62e2304baa8a38309bc5120 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteOptions.cs index 165f7cca..afcca73b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteOptions.cs @@ -1,82 +1,85 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SendInviteOptions - { - /// - /// Name of the session associated with the invite - /// - public string SessionName { get; set; } - - /// - /// The Product User ID of the local user sending the invitation - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The Product User of the remote user receiving the invitation - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SendInviteOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionName; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public string SessionName - { - set - { - Helper.TryMarshalSet(ref m_SessionName, value); - } - } - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(SendInviteOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.SendinviteApiLatest; - SessionName = other.SessionName; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as SendInviteOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionName); - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SendInviteOptions + { + /// + /// Name of the session associated with the invite + /// + public Utf8String SessionName { get; set; } + + /// + /// The Product User ID of the local user sending the invitation + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User of the remote user receiving the invitation + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SendInviteOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionName; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public Utf8String SessionName + { + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref SendInviteOptions other) + { + m_ApiVersion = SessionsInterface.SendinviteApiLatest; + SessionName = other.SessionName; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref SendInviteOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.SendinviteApiLatest; + SessionName = other.Value.SessionName; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionName); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteOptions.cs.meta deleted file mode 100644 index 49a41c2b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SendInviteOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 22dce348d3164224eb7a1e9747e4fe69 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionAttributeAdvertisementType.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionAttributeAdvertisementType.cs index 810aca78..0ca45e9c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionAttributeAdvertisementType.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionAttributeAdvertisementType.cs @@ -1,20 +1,20 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Advertisement properties for a single attribute associated with a session - /// - public enum SessionAttributeAdvertisementType : int - { - /// - /// Don't advertise via the online service - /// - DontAdvertise = 0, - /// - /// Advertise via the online service only - /// - Advertise = 1 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Advertisement properties for a single attribute associated with a session + /// + public enum SessionAttributeAdvertisementType : int + { + /// + /// Don't advertise via the online service + /// + DontAdvertise = 0, + /// + /// Advertise via the online service only + /// + Advertise = 1 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionAttributeAdvertisementType.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionAttributeAdvertisementType.cs.meta deleted file mode 100644 index d4f4ac98..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionAttributeAdvertisementType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4de7e747847d2ee40932588619d8fe25 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetails.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetails.cs index ec7d1e93..76edd23f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetails.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetails.cs @@ -1,179 +1,182 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - public sealed partial class SessionDetails : Handle - { - public SessionDetails() - { - } - - public SessionDetails(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the struct. - /// - public const int SessiondetailsAttributeApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessiondetailsCopyinfoApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessiondetailsCopysessionattributebyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessiondetailsCopysessionattributebykeyApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessiondetailsGetsessionattributecountApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int SessiondetailsInfoApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int SessiondetailsSettingsApiLatest = 2; - - /// - /// is used to immediately retrieve a copy of session information from a given source such as a active session or a search result. - /// If the call returns an result, the out parameter, OutSessionInfo, must be passed to to release the memory associated with it. - /// - /// - /// - /// - /// Structure containing the input parameters - /// Out parameter used to receive the structure. - /// - /// if the information is available and passed out in OutSessionInfo - /// if you pass a null pointer for the out parameter - /// if the API version passed in is incorrect - /// - public Result CopyInfo(SessionDetailsCopyInfoOptions options, out SessionDetailsInfo outSessionInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outSessionInfoAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_SessionDetails_CopyInfo(InnerHandle, optionsAddress, ref outSessionInfoAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outSessionInfoAddress, out outSessionInfo)) - { - Bindings.EOS_SessionDetails_Info_Release(outSessionInfoAddress); - } - - return funcResult; - } - - /// - /// is used to immediately retrieve a copy of session attribution from a given source such as a active session or a search result. - /// If the call returns an result, the out parameter, OutSessionAttribute, must be passed to to release the memory associated with it. - /// - /// - /// - /// - /// Structure containing the input parameters - /// Out parameter used to receive the structure. - /// - /// if the information is available and passed out in OutSessionAttribute - /// if you pass a null pointer for the out parameter - /// if the API version passed in is incorrect - /// - public Result CopySessionAttributeByIndex(SessionDetailsCopySessionAttributeByIndexOptions options, out SessionDetailsAttribute outSessionAttribute) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outSessionAttributeAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_SessionDetails_CopySessionAttributeByIndex(InnerHandle, optionsAddress, ref outSessionAttributeAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outSessionAttributeAddress, out outSessionAttribute)) - { - Bindings.EOS_SessionDetails_Attribute_Release(outSessionAttributeAddress); - } - - return funcResult; - } - - /// - /// is used to immediately retrieve a copy of session attribution from a given source such as a active session or a search result. - /// If the call returns an result, the out parameter, OutSessionAttribute, must be passed to to release the memory associated with it. - /// - /// - /// - /// - /// Structure containing the input parameters - /// Out parameter used to receive the structure. - /// - /// if the information is available and passed out in OutSessionAttribute - /// if you pass a null pointer for the out parameter - /// if the API version passed in is incorrect - /// - public Result CopySessionAttributeByKey(SessionDetailsCopySessionAttributeByKeyOptions options, out SessionDetailsAttribute outSessionAttribute) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outSessionAttributeAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_SessionDetails_CopySessionAttributeByKey(InnerHandle, optionsAddress, ref outSessionAttributeAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outSessionAttributeAddress, out outSessionAttribute)) - { - Bindings.EOS_SessionDetails_Attribute_Release(outSessionAttributeAddress); - } - - return funcResult; - } - - /// - /// Get the number of attributes associated with this session - /// - /// the Options associated with retrieving the attribute count - /// - /// number of attributes on the session or 0 if there is an error - /// - public uint GetSessionAttributeCount(SessionDetailsGetSessionAttributeCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionDetails_GetSessionAttributeCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Release the memory associated with a single session. This must be called on data retrieved from . - /// - /// - /// - The session handle to release - public void Release() - { - Bindings.EOS_SessionDetails_Release(InnerHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + public sealed partial class SessionDetails : Handle + { + public SessionDetails() + { + } + + public SessionDetails(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the struct. + /// + public const int SessiondetailsAttributeApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessiondetailsCopyinfoApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessiondetailsCopysessionattributebyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessiondetailsCopysessionattributebykeyApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessiondetailsGetsessionattributecountApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int SessiondetailsInfoApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int SessiondetailsSettingsApiLatest = 3; + + /// + /// is used to immediately retrieve a copy of session information from a given source such as a active session or a search result. + /// If the call returns an result, the out parameter, OutSessionInfo, must be passed to to release the memory associated with it. + /// + /// + /// + /// + /// Structure containing the input parameters + /// Out parameter used to receive the structure. + /// + /// if the information is available and passed out in OutSessionInfo + /// if you pass a null pointer for the out parameter + /// if the API version passed in is incorrect + /// + public Result CopyInfo(ref SessionDetailsCopyInfoOptions options, out SessionDetailsInfo? outSessionInfo) + { + SessionDetailsCopyInfoOptionsInternal optionsInternal = new SessionDetailsCopyInfoOptionsInternal(); + optionsInternal.Set(ref options); + + var outSessionInfoAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_SessionDetails_CopyInfo(InnerHandle, ref optionsInternal, ref outSessionInfoAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outSessionInfoAddress, out outSessionInfo); + if (outSessionInfo != null) + { + Bindings.EOS_SessionDetails_Info_Release(outSessionInfoAddress); + } + + return funcResult; + } + + /// + /// is used to immediately retrieve a copy of session attribution from a given source such as a active session or a search result. + /// If the call returns an result, the out parameter, OutSessionAttribute, must be passed to to release the memory associated with it. + /// + /// + /// + /// + /// Structure containing the input parameters + /// Out parameter used to receive the structure. + /// + /// if the information is available and passed out in OutSessionAttribute + /// if you pass a null pointer for the out parameter + /// if the API version passed in is incorrect + /// + public Result CopySessionAttributeByIndex(ref SessionDetailsCopySessionAttributeByIndexOptions options, out SessionDetailsAttribute? outSessionAttribute) + { + SessionDetailsCopySessionAttributeByIndexOptionsInternal optionsInternal = new SessionDetailsCopySessionAttributeByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outSessionAttributeAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_SessionDetails_CopySessionAttributeByIndex(InnerHandle, ref optionsInternal, ref outSessionAttributeAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outSessionAttributeAddress, out outSessionAttribute); + if (outSessionAttribute != null) + { + Bindings.EOS_SessionDetails_Attribute_Release(outSessionAttributeAddress); + } + + return funcResult; + } + + /// + /// is used to immediately retrieve a copy of session attribution from a given source such as a active session or a search result. + /// If the call returns an result, the out parameter, OutSessionAttribute, must be passed to to release the memory associated with it. + /// + /// + /// + /// + /// Structure containing the input parameters + /// Out parameter used to receive the structure. + /// + /// if the information is available and passed out in OutSessionAttribute + /// if you pass a null pointer for the out parameter + /// if the API version passed in is incorrect + /// + public Result CopySessionAttributeByKey(ref SessionDetailsCopySessionAttributeByKeyOptions options, out SessionDetailsAttribute? outSessionAttribute) + { + SessionDetailsCopySessionAttributeByKeyOptionsInternal optionsInternal = new SessionDetailsCopySessionAttributeByKeyOptionsInternal(); + optionsInternal.Set(ref options); + + var outSessionAttributeAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_SessionDetails_CopySessionAttributeByKey(InnerHandle, ref optionsInternal, ref outSessionAttributeAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outSessionAttributeAddress, out outSessionAttribute); + if (outSessionAttribute != null) + { + Bindings.EOS_SessionDetails_Attribute_Release(outSessionAttributeAddress); + } + + return funcResult; + } + + /// + /// Get the number of attributes associated with this session + /// + /// the Options associated with retrieving the attribute count + /// + /// number of attributes on the session or 0 if there is an error + /// + public uint GetSessionAttributeCount(ref SessionDetailsGetSessionAttributeCountOptions options) + { + SessionDetailsGetSessionAttributeCountOptionsInternal optionsInternal = new SessionDetailsGetSessionAttributeCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionDetails_GetSessionAttributeCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Release the memory associated with a single session. This must be called on data retrieved from . + /// + /// + /// - The session handle to release + public void Release() + { + Bindings.EOS_SessionDetails_Release(InnerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetails.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetails.cs.meta deleted file mode 100644 index 197c961c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetails.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e5fec18eedf72ef49a87d03ebaaa37d0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsAttribute.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsAttribute.cs index 9093854f..31f4bf05 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsAttribute.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsAttribute.cs @@ -1,91 +1,91 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// An attribution value and its advertisement setting stored with a session. - /// - public class SessionDetailsAttribute : ISettable - { - /// - /// Key/Value pair describing the attribute - /// - public AttributeData Data { get; set; } - - /// - /// Is this attribution advertised with the backend or simply stored locally - /// - public SessionAttributeAdvertisementType AdvertisementType { get; set; } - - internal void Set(SessionDetailsAttributeInternal? other) - { - if (other != null) - { - Data = other.Value.Data; - AdvertisementType = other.Value.AdvertisementType; - } - } - - public void Set(object other) - { - Set(other as SessionDetailsAttributeInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionDetailsAttributeInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Data; - private SessionAttributeAdvertisementType m_AdvertisementType; - - public AttributeData Data - { - get - { - AttributeData value; - Helper.TryMarshalGet(m_Data, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Data, value); - } - } - - public SessionAttributeAdvertisementType AdvertisementType - { - get - { - return m_AdvertisementType; - } - - set - { - m_AdvertisementType = value; - } - } - - public void Set(SessionDetailsAttribute other) - { - if (other != null) - { - m_ApiVersion = SessionDetails.SessiondetailsAttributeApiLatest; - Data = other.Data; - AdvertisementType = other.AdvertisementType; - } - } - - public void Set(object other) - { - Set(other as SessionDetailsAttribute); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Data); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// An attribution value and its advertisement setting stored with a session. + /// + public struct SessionDetailsAttribute + { + /// + /// Key/Value pair describing the attribute + /// + public AttributeData? Data { get; set; } + + /// + /// Is this attribution advertised with the backend or simply stored locally + /// + public SessionAttributeAdvertisementType AdvertisementType { get; set; } + + internal void Set(ref SessionDetailsAttributeInternal other) + { + Data = other.Data; + AdvertisementType = other.AdvertisementType; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionDetailsAttributeInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Data; + private SessionAttributeAdvertisementType m_AdvertisementType; + + public AttributeData? Data + { + get + { + AttributeData? value; + Helper.Get(m_Data, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_Data); + } + } + + public SessionAttributeAdvertisementType AdvertisementType + { + get + { + return m_AdvertisementType; + } + + set + { + m_AdvertisementType = value; + } + } + + public void Set(ref SessionDetailsAttribute other) + { + m_ApiVersion = SessionDetails.SessiondetailsAttributeApiLatest; + Data = other.Data; + AdvertisementType = other.AdvertisementType; + } + + public void Set(ref SessionDetailsAttribute? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionDetails.SessiondetailsAttributeApiLatest; + Data = other.Value.Data; + AdvertisementType = other.Value.AdvertisementType; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Data); + } + + public void Get(out SessionDetailsAttribute output) + { + output = new SessionDetailsAttribute(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsAttribute.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsAttribute.cs.meta deleted file mode 100644 index 995e63f5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsAttribute.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4afeb5234708d124db669335da67ee25 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopyInfoOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopyInfoOptions.cs index 36bf44cf..7ccc50aa 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopyInfoOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopyInfoOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionDetailsCopyInfoOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionDetailsCopyInfoOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(SessionDetailsCopyInfoOptions other) - { - if (other != null) - { - m_ApiVersion = SessionDetails.SessiondetailsCopyinfoApiLatest; - } - } - - public void Set(object other) - { - Set(other as SessionDetailsCopyInfoOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionDetailsCopyInfoOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionDetailsCopyInfoOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref SessionDetailsCopyInfoOptions other) + { + m_ApiVersion = SessionDetails.SessiondetailsCopyinfoApiLatest; + } + + public void Set(ref SessionDetailsCopyInfoOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionDetails.SessiondetailsCopyinfoApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopyInfoOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopyInfoOptions.cs.meta deleted file mode 100644 index f02e1377..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopyInfoOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2b612c4bbc0a6e34f81995158c9a79eb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByIndexOptions.cs index 48ab5028..6e4f5806 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByIndexOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionDetailsCopySessionAttributeByIndexOptions - { - /// - /// The index of the attribute to retrieve - /// - /// - public uint AttrIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionDetailsCopySessionAttributeByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_AttrIndex; - - public uint AttrIndex - { - set - { - m_AttrIndex = value; - } - } - - public void Set(SessionDetailsCopySessionAttributeByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = SessionDetails.SessiondetailsCopysessionattributebyindexApiLatest; - AttrIndex = other.AttrIndex; - } - } - - public void Set(object other) - { - Set(other as SessionDetailsCopySessionAttributeByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionDetailsCopySessionAttributeByIndexOptions + { + /// + /// The index of the attribute to retrieve + /// + /// + public uint AttrIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionDetailsCopySessionAttributeByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_AttrIndex; + + public uint AttrIndex + { + set + { + m_AttrIndex = value; + } + } + + public void Set(ref SessionDetailsCopySessionAttributeByIndexOptions other) + { + m_ApiVersion = SessionDetails.SessiondetailsCopysessionattributebyindexApiLatest; + AttrIndex = other.AttrIndex; + } + + public void Set(ref SessionDetailsCopySessionAttributeByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionDetails.SessiondetailsCopysessionattributebyindexApiLatest; + AttrIndex = other.Value.AttrIndex; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByIndexOptions.cs.meta deleted file mode 100644 index c8136ab9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0713377542639484fa7e4fb937cef102 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByKeyOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByKeyOptions.cs index e65cc997..5815e033 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByKeyOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByKeyOptions.cs @@ -1,51 +1,52 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionDetailsCopySessionAttributeByKeyOptions - { - /// - /// The name of the key to get the session attribution for - /// - /// - public string AttrKey { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionDetailsCopySessionAttributeByKeyOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_AttrKey; - - public string AttrKey - { - set - { - Helper.TryMarshalSet(ref m_AttrKey, value); - } - } - - public void Set(SessionDetailsCopySessionAttributeByKeyOptions other) - { - if (other != null) - { - m_ApiVersion = SessionDetails.SessiondetailsCopysessionattributebykeyApiLatest; - AttrKey = other.AttrKey; - } - } - - public void Set(object other) - { - Set(other as SessionDetailsCopySessionAttributeByKeyOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AttrKey); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionDetailsCopySessionAttributeByKeyOptions + { + /// + /// The name of the key to get the session attribution for + /// + /// + public Utf8String AttrKey { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionDetailsCopySessionAttributeByKeyOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_AttrKey; + + public Utf8String AttrKey + { + set + { + Helper.Set(value, ref m_AttrKey); + } + } + + public void Set(ref SessionDetailsCopySessionAttributeByKeyOptions other) + { + m_ApiVersion = SessionDetails.SessiondetailsCopysessionattributebykeyApiLatest; + AttrKey = other.AttrKey; + } + + public void Set(ref SessionDetailsCopySessionAttributeByKeyOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionDetails.SessiondetailsCopysessionattributebykeyApiLatest; + AttrKey = other.Value.AttrKey; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AttrKey); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByKeyOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByKeyOptions.cs.meta deleted file mode 100644 index 8e23850f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsCopySessionAttributeByKeyOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b1d5da4ea19e1064281fc28679bdee04 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsGetSessionAttributeCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsGetSessionAttributeCountOptions.cs index 2a9f6842..006a8d3b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsGetSessionAttributeCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsGetSessionAttributeCountOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionDetailsGetSessionAttributeCountOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionDetailsGetSessionAttributeCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(SessionDetailsGetSessionAttributeCountOptions other) - { - if (other != null) - { - m_ApiVersion = SessionDetails.SessiondetailsGetsessionattributecountApiLatest; - } - } - - public void Set(object other) - { - Set(other as SessionDetailsGetSessionAttributeCountOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionDetailsGetSessionAttributeCountOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionDetailsGetSessionAttributeCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref SessionDetailsGetSessionAttributeCountOptions other) + { + m_ApiVersion = SessionDetails.SessiondetailsGetsessionattributecountApiLatest; + } + + public void Set(ref SessionDetailsGetSessionAttributeCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionDetails.SessiondetailsGetsessionattributecountApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsGetSessionAttributeCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsGetSessionAttributeCountOptions.cs.meta deleted file mode 100644 index ea09a90b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsGetSessionAttributeCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 783ae008ca5b52642a66907edf07f52f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsInfo.cs index 9bc688f3..2fa3863a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsInfo.cs @@ -1,139 +1,141 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Internal details about a session, found on both active sessions and within search results - /// - public class SessionDetailsInfo : ISettable - { - /// - /// Session ID assigned by the backend service - /// - public string SessionId { get; set; } - - /// - /// IP address of this session as visible by the backend service - /// - public string HostAddress { get; set; } - - /// - /// Number of remaining open spaces on the session (NumPublicConnections - RegisteredPlayers - /// - public uint NumOpenPublicConnections { get; set; } - - /// - /// Reference to the additional settings associated with this session - /// - public SessionDetailsSettings Settings { get; set; } - - internal void Set(SessionDetailsInfoInternal? other) - { - if (other != null) - { - SessionId = other.Value.SessionId; - HostAddress = other.Value.HostAddress; - NumOpenPublicConnections = other.Value.NumOpenPublicConnections; - Settings = other.Value.Settings; - } - } - - public void Set(object other) - { - Set(other as SessionDetailsInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionDetailsInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionId; - private System.IntPtr m_HostAddress; - private uint m_NumOpenPublicConnections; - private System.IntPtr m_Settings; - - public string SessionId - { - get - { - string value; - Helper.TryMarshalGet(m_SessionId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_SessionId, value); - } - } - - public string HostAddress - { - get - { - string value; - Helper.TryMarshalGet(m_HostAddress, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_HostAddress, value); - } - } - - public uint NumOpenPublicConnections - { - get - { - return m_NumOpenPublicConnections; - } - - set - { - m_NumOpenPublicConnections = value; - } - } - - public SessionDetailsSettings Settings - { - get - { - SessionDetailsSettings value; - Helper.TryMarshalGet(m_Settings, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Settings, value); - } - } - - public void Set(SessionDetailsInfo other) - { - if (other != null) - { - m_ApiVersion = SessionDetails.SessiondetailsInfoApiLatest; - SessionId = other.SessionId; - HostAddress = other.HostAddress; - NumOpenPublicConnections = other.NumOpenPublicConnections; - Settings = other.Settings; - } - } - - public void Set(object other) - { - Set(other as SessionDetailsInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionId); - Helper.TryMarshalDispose(ref m_HostAddress); - Helper.TryMarshalDispose(ref m_Settings); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Internal details about a session, found on both active sessions and within search results + /// + public struct SessionDetailsInfo + { + /// + /// Session ID assigned by the backend service + /// + public Utf8String SessionId { get; set; } + + /// + /// IP address of this session as visible by the backend service + /// + public Utf8String HostAddress { get; set; } + + /// + /// Number of remaining open spaces on the session (NumPublicConnections - RegisteredPlayers + /// + public uint NumOpenPublicConnections { get; set; } + + /// + /// Reference to the additional settings associated with this session + /// + public SessionDetailsSettings? Settings { get; set; } + + internal void Set(ref SessionDetailsInfoInternal other) + { + SessionId = other.SessionId; + HostAddress = other.HostAddress; + NumOpenPublicConnections = other.NumOpenPublicConnections; + Settings = other.Settings; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionDetailsInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionId; + private System.IntPtr m_HostAddress; + private uint m_NumOpenPublicConnections; + private System.IntPtr m_Settings; + + public Utf8String SessionId + { + get + { + Utf8String value; + Helper.Get(m_SessionId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_SessionId); + } + } + + public Utf8String HostAddress + { + get + { + Utf8String value; + Helper.Get(m_HostAddress, out value); + return value; + } + + set + { + Helper.Set(value, ref m_HostAddress); + } + } + + public uint NumOpenPublicConnections + { + get + { + return m_NumOpenPublicConnections; + } + + set + { + m_NumOpenPublicConnections = value; + } + } + + public SessionDetailsSettings? Settings + { + get + { + SessionDetailsSettings? value; + Helper.Get(m_Settings, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_Settings); + } + } + + public void Set(ref SessionDetailsInfo other) + { + m_ApiVersion = SessionDetails.SessiondetailsInfoApiLatest; + SessionId = other.SessionId; + HostAddress = other.HostAddress; + NumOpenPublicConnections = other.NumOpenPublicConnections; + Settings = other.Settings; + } + + public void Set(ref SessionDetailsInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionDetails.SessiondetailsInfoApiLatest; + SessionId = other.Value.SessionId; + HostAddress = other.Value.HostAddress; + NumOpenPublicConnections = other.Value.NumOpenPublicConnections; + Settings = other.Value.Settings; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionId); + Helper.Dispose(ref m_HostAddress); + Helper.Dispose(ref m_Settings); + } + + public void Get(out SessionDetailsInfo output) + { + output = new SessionDetailsInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsInfo.cs.meta deleted file mode 100644 index daab0ad1..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c967f44b9c709614e86fdb26ffdbbdd4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsSettings.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsSettings.cs index e0b9652c..d5fe6cf2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsSettings.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsSettings.cs @@ -1,158 +1,185 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Common settings associated with a single session - /// - public class SessionDetailsSettings : ISettable - { - /// - /// The main indexed parameter for this session, can be any string (ie "Region:GameMode") - /// - public string BucketId { get; set; } - - /// - /// Number of total players allowed in the session - /// - public uint NumPublicConnections { get; set; } - - /// - /// Are players allowed to join the session while it is in the "in progress" state - /// - public bool AllowJoinInProgress { get; set; } - - /// - /// Permission level describing allowed access to the session when joining or searching for the session - /// - public OnlineSessionPermissionLevel PermissionLevel { get; set; } - - /// - /// Are players allowed to send invites for the session - /// - public bool InvitesAllowed { get; set; } - - internal void Set(SessionDetailsSettingsInternal? other) - { - if (other != null) - { - BucketId = other.Value.BucketId; - NumPublicConnections = other.Value.NumPublicConnections; - AllowJoinInProgress = other.Value.AllowJoinInProgress; - PermissionLevel = other.Value.PermissionLevel; - InvitesAllowed = other.Value.InvitesAllowed; - } - } - - public void Set(object other) - { - Set(other as SessionDetailsSettingsInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionDetailsSettingsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_BucketId; - private uint m_NumPublicConnections; - private int m_AllowJoinInProgress; - private OnlineSessionPermissionLevel m_PermissionLevel; - private int m_InvitesAllowed; - - public string BucketId - { - get - { - string value; - Helper.TryMarshalGet(m_BucketId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_BucketId, value); - } - } - - public uint NumPublicConnections - { - get - { - return m_NumPublicConnections; - } - - set - { - m_NumPublicConnections = value; - } - } - - public bool AllowJoinInProgress - { - get - { - bool value; - Helper.TryMarshalGet(m_AllowJoinInProgress, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AllowJoinInProgress, value); - } - } - - public OnlineSessionPermissionLevel PermissionLevel - { - get - { - return m_PermissionLevel; - } - - set - { - m_PermissionLevel = value; - } - } - - public bool InvitesAllowed - { - get - { - bool value; - Helper.TryMarshalGet(m_InvitesAllowed, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_InvitesAllowed, value); - } - } - - public void Set(SessionDetailsSettings other) - { - if (other != null) - { - m_ApiVersion = SessionDetails.SessiondetailsSettingsApiLatest; - BucketId = other.BucketId; - NumPublicConnections = other.NumPublicConnections; - AllowJoinInProgress = other.AllowJoinInProgress; - PermissionLevel = other.PermissionLevel; - InvitesAllowed = other.InvitesAllowed; - } - } - - public void Set(object other) - { - Set(other as SessionDetailsSettings); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_BucketId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Common settings associated with a single session + /// + public struct SessionDetailsSettings + { + /// + /// The main indexed parameter for this session, can be any string (i.e. "Region:GameMode") + /// + public Utf8String BucketId { get; set; } + + /// + /// Number of total players allowed in the session + /// + public uint NumPublicConnections { get; set; } + + /// + /// Are players allowed to join the session while it is in the "in progress" state + /// + public bool AllowJoinInProgress { get; set; } + + /// + /// Permission level describing allowed access to the session when joining or searching for the session + /// + public OnlineSessionPermissionLevel PermissionLevel { get; set; } + + /// + /// Are players allowed to send invites for the session + /// + public bool InvitesAllowed { get; set; } + + /// + /// Are sanctioned players allowed to join - sanctioned players will be rejected if set to true + /// + public bool SanctionsEnabled { get; set; } + + internal void Set(ref SessionDetailsSettingsInternal other) + { + BucketId = other.BucketId; + NumPublicConnections = other.NumPublicConnections; + AllowJoinInProgress = other.AllowJoinInProgress; + PermissionLevel = other.PermissionLevel; + InvitesAllowed = other.InvitesAllowed; + SanctionsEnabled = other.SanctionsEnabled; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionDetailsSettingsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_BucketId; + private uint m_NumPublicConnections; + private int m_AllowJoinInProgress; + private OnlineSessionPermissionLevel m_PermissionLevel; + private int m_InvitesAllowed; + private int m_SanctionsEnabled; + + public Utf8String BucketId + { + get + { + Utf8String value; + Helper.Get(m_BucketId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_BucketId); + } + } + + public uint NumPublicConnections + { + get + { + return m_NumPublicConnections; + } + + set + { + m_NumPublicConnections = value; + } + } + + public bool AllowJoinInProgress + { + get + { + bool value; + Helper.Get(m_AllowJoinInProgress, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AllowJoinInProgress); + } + } + + public OnlineSessionPermissionLevel PermissionLevel + { + get + { + return m_PermissionLevel; + } + + set + { + m_PermissionLevel = value; + } + } + + public bool InvitesAllowed + { + get + { + bool value; + Helper.Get(m_InvitesAllowed, out value); + return value; + } + + set + { + Helper.Set(value, ref m_InvitesAllowed); + } + } + + public bool SanctionsEnabled + { + get + { + bool value; + Helper.Get(m_SanctionsEnabled, out value); + return value; + } + + set + { + Helper.Set(value, ref m_SanctionsEnabled); + } + } + + public void Set(ref SessionDetailsSettings other) + { + m_ApiVersion = SessionDetails.SessiondetailsSettingsApiLatest; + BucketId = other.BucketId; + NumPublicConnections = other.NumPublicConnections; + AllowJoinInProgress = other.AllowJoinInProgress; + PermissionLevel = other.PermissionLevel; + InvitesAllowed = other.InvitesAllowed; + SanctionsEnabled = other.SanctionsEnabled; + } + + public void Set(ref SessionDetailsSettings? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionDetails.SessiondetailsSettingsApiLatest; + BucketId = other.Value.BucketId; + NumPublicConnections = other.Value.NumPublicConnections; + AllowJoinInProgress = other.Value.AllowJoinInProgress; + PermissionLevel = other.Value.PermissionLevel; + InvitesAllowed = other.Value.InvitesAllowed; + SanctionsEnabled = other.Value.SanctionsEnabled; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_BucketId); + } + + public void Get(out SessionDetailsSettings output) + { + output = new SessionDetailsSettings(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsSettings.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsSettings.cs.meta deleted file mode 100644 index 4650c98f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionDetailsSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4fbd968e1f136df4dbf11363243aac03 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteAcceptedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteAcceptedCallbackInfo.cs index 83f94634..1611d508 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteAcceptedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteAcceptedCallbackInfo.cs @@ -1,126 +1,179 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Output parameters for the function. - /// - public class SessionInviteAcceptedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// Session ID that should be used for joining - /// - public string SessionId { get; private set; } - - /// - /// The Product User ID of the user who accepted the invitation - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The Product User ID of the user who sent the invitation - /// - public ProductUserId TargetUserId { get; private set; } - - /// - /// Invite ID that was accepted - /// - public string InviteId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(SessionInviteAcceptedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - SessionId = other.Value.SessionId; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - InviteId = other.Value.InviteId; - } - } - - public void Set(object other) - { - Set(other as SessionInviteAcceptedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionInviteAcceptedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_SessionId; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - private System.IntPtr m_InviteId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string SessionId - { - get - { - string value; - Helper.TryMarshalGet(m_SessionId, out value); - return value; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public ProductUserId TargetUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - - public string InviteId - { - get - { - string value; - Helper.TryMarshalGet(m_InviteId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Output parameters for the function. + /// + public struct SessionInviteAcceptedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// Session ID that should be used for joining + /// + public Utf8String SessionId { get; set; } + + /// + /// The Product User ID of the user who accepted the invitation + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the user who sent the invitation + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Invite ID that was accepted + /// + public Utf8String InviteId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref SessionInviteAcceptedCallbackInfoInternal other) + { + ClientData = other.ClientData; + SessionId = other.SessionId; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + InviteId = other.InviteId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionInviteAcceptedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_SessionId; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_InviteId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String SessionId + { + get + { + Utf8String value; + Helper.Get(m_SessionId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_SessionId); + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public Utf8String InviteId + { + get + { + Utf8String value; + Helper.Get(m_InviteId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_InviteId); + } + } + + public void Set(ref SessionInviteAcceptedCallbackInfo other) + { + ClientData = other.ClientData; + SessionId = other.SessionId; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + InviteId = other.InviteId; + } + + public void Set(ref SessionInviteAcceptedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + SessionId = other.Value.SessionId; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + InviteId = other.Value.InviteId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_SessionId); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_InviteId); + } + + public void Get(out SessionInviteAcceptedCallbackInfo output) + { + output = new SessionInviteAcceptedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteAcceptedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteAcceptedCallbackInfo.cs.meta deleted file mode 100644 index 3d593ed0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteAcceptedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 12cea2246d870ed43aa952ff4a592d88 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteReceivedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteReceivedCallbackInfo.cs index 7e5b26e6..91b1a89c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteReceivedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteReceivedCallbackInfo.cs @@ -1,109 +1,154 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Output parameters for the function. - /// - public class SessionInviteReceivedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who received the invite - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The Product User ID of the user who sent the invitation - /// - public ProductUserId TargetUserId { get; private set; } - - /// - /// Invite ID used to retrieve the actual session details - /// - public string InviteId { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(SessionInviteReceivedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - InviteId = other.Value.InviteId; - } - } - - public void Set(object other) - { - Set(other as SessionInviteReceivedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionInviteReceivedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - private System.IntPtr m_InviteId; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public ProductUserId TargetUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - - public string InviteId - { - get - { - string value; - Helper.TryMarshalGet(m_InviteId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Output parameters for the function. + /// + public struct SessionInviteReceivedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who received the invite + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID of the user who sent the invitation + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Invite ID used to retrieve the actual session details + /// + public Utf8String InviteId { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref SessionInviteReceivedCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + InviteId = other.InviteId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionInviteReceivedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_InviteId; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public Utf8String InviteId + { + get + { + Utf8String value; + Helper.Get(m_InviteId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_InviteId); + } + } + + public void Set(ref SessionInviteReceivedCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + InviteId = other.InviteId; + } + + public void Set(ref SessionInviteReceivedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + InviteId = other.Value.InviteId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_InviteId); + } + + public void Get(out SessionInviteReceivedCallbackInfo output) + { + output = new SessionInviteReceivedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteReceivedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteReceivedCallbackInfo.cs.meta deleted file mode 100644 index 797af429..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionInviteReceivedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 452682f57a6137a4d84e26955577128e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModification.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModification.cs index 3c6fb6e4..ff72a67b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModification.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModification.cs @@ -1,264 +1,263 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - public sealed partial class SessionModification : Handle - { - public SessionModification() - { - } - - public SessionModification(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int SessionmodificationAddattributeApiLatest = 1; - - /// - /// Maximum length of the name of the attribute associated with the session - /// - public const int SessionmodificationMaxSessionAttributeLength = 64; - - /// - /// Maximum number of attributes allowed on the session - /// - public const int SessionmodificationMaxSessionAttributes = 64; - - /// - /// Maximum number of characters allowed in the session id override - /// - public const int SessionmodificationMaxSessionidoverrideLength = 64; - - /// - /// Minimum number of characters allowed in the session id override - /// - public const int SessionmodificationMinSessionidoverrideLength = 16; - - /// - /// The most recent version of the API. - /// - public const int SessionmodificationRemoveattributeApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessionmodificationSetbucketidApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessionmodificationSethostaddressApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessionmodificationSetinvitesallowedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessionmodificationSetjoininprogressallowedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessionmodificationSetmaxplayersApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessionmodificationSetpermissionlevelApiLatest = 1; - - /// - /// Associate an attribute with this session - /// An attribute is something that may or may not be advertised with the session. - /// If advertised, it can be queried for in a search, otherwise the data remains local to the client - /// - /// Options to set the attribute and its advertised state - /// - /// if setting this parameter was successful - /// if the attribution is missing information or otherwise invalid - /// if the API version passed in is incorrect - /// - public Result AddAttribute(SessionModificationAddAttributeOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionModification_AddAttribute(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Release the memory associated with session modification. - /// This must be called on data retrieved from or - /// - /// - /// - /// - The session modification handle to release - public void Release() - { - Bindings.EOS_SessionModification_Release(InnerHandle); - } - - /// - /// Remove an attribute from this session - /// - /// Specify the key of the attribute to remove - /// - /// if removing this parameter was successful - /// if the key is null or empty - /// if the API version passed in is incorrect - /// - public Result RemoveAttribute(SessionModificationRemoveAttributeOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionModification_RemoveAttribute(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set the bucket ID associated with this session. - /// Values such as region, game mode, etc can be combined here depending on game need. - /// Setting this is strongly recommended to improve search performance. - /// - /// Options associated with the bucket ID of the session - /// - /// if setting this parameter was successful - /// if the bucket ID is invalid or null - /// if the API version passed in is incorrect - /// - public Result SetBucketId(SessionModificationSetBucketIdOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionModification_SetBucketId(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set the host address associated with this session - /// Setting this is optional, if the value is not set the SDK will fill the value in from the service. - /// It is useful to set if other addressing mechanisms are desired or if LAN addresses are preferred during development - /// - /// @note No validation of this value occurs to allow for flexibility in addressing methods - /// - /// Options associated with the host address of the session - /// - /// if setting this parameter was successful - /// if the host ID is an empty string - /// if the API version passed in is incorrect - /// - public Result SetHostAddress(SessionModificationSetHostAddressOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionModification_SetHostAddress(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Allows enabling or disabling invites for this session. - /// The session will also need to have `bPresenceEnabled` true. - /// - /// Options associated with invites allowed flag for this session. - /// - /// if setting this parameter was successful - /// if the API version passed in is incorrect - /// - public Result SetInvitesAllowed(SessionModificationSetInvitesAllowedOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionModification_SetInvitesAllowed(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set whether or not join in progress is allowed - /// Once a session is started, it will no longer be visible to search queries unless this flag is set or the session returns to the pending or ended state - /// - /// Options associated with setting the join in progress state the session - /// - /// if setting this parameter was successful - /// if the API version passed in is incorrect - /// - public Result SetJoinInProgressAllowed(SessionModificationSetJoinInProgressAllowedOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionModification_SetJoinInProgressAllowed(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set the maximum number of players allowed in this session. - /// When updating the session, it is not possible to reduce this number below the current number of existing players - /// - /// Options associated with max number of players in this session - /// - /// if setting this parameter was successful - /// if the API version passed in is incorrect - /// - public Result SetMaxPlayers(SessionModificationSetMaxPlayersOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionModification_SetMaxPlayers(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set the session permissions associated with this session. - /// The permissions range from "public" to "invite only" and are described by - /// - /// Options associated with the permission level of the session - /// - /// if setting this parameter was successful - /// if the API version passed in is incorrect - /// - public Result SetPermissionLevel(SessionModificationSetPermissionLevelOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionModification_SetPermissionLevel(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + public sealed partial class SessionModification : Handle + { + public SessionModification() + { + } + + public SessionModification(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int SessionmodificationAddattributeApiLatest = 1; + + /// + /// Maximum length of the name of the attribute associated with the session + /// + public const int SessionmodificationMaxSessionAttributeLength = 64; + + /// + /// Maximum number of attributes allowed on the session + /// + public const int SessionmodificationMaxSessionAttributes = 64; + + /// + /// Maximum number of characters allowed in the session id override + /// + public const int SessionmodificationMaxSessionidoverrideLength = 64; + + /// + /// Minimum number of characters allowed in the session id override + /// + public const int SessionmodificationMinSessionidoverrideLength = 16; + + /// + /// The most recent version of the API. + /// + public const int SessionmodificationRemoveattributeApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessionmodificationSetbucketidApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessionmodificationSethostaddressApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessionmodificationSetinvitesallowedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessionmodificationSetjoininprogressallowedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessionmodificationSetmaxplayersApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessionmodificationSetpermissionlevelApiLatest = 1; + + /// + /// Associate an attribute with this session + /// An attribute is something that may or may not be advertised with the session. + /// If advertised, it can be queried for in a search, otherwise the data remains local to the client + /// + /// Options to set the attribute and its advertised state + /// + /// if setting this parameter was successful + /// if the attribution is missing information or otherwise invalid + /// if the API version passed in is incorrect + /// + public Result AddAttribute(ref SessionModificationAddAttributeOptions options) + { + SessionModificationAddAttributeOptionsInternal optionsInternal = new SessionModificationAddAttributeOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionModification_AddAttribute(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Release the memory associated with session modification. + /// This must be called on data retrieved from or + /// + /// + /// + /// - The session modification handle to release + public void Release() + { + Bindings.EOS_SessionModification_Release(InnerHandle); + } + + /// + /// Remove an attribute from this session + /// + /// Specify the key of the attribute to remove + /// + /// if removing this parameter was successful + /// if the key is null or empty + /// if the API version passed in is incorrect + /// + public Result RemoveAttribute(ref SessionModificationRemoveAttributeOptions options) + { + SessionModificationRemoveAttributeOptionsInternal optionsInternal = new SessionModificationRemoveAttributeOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionModification_RemoveAttribute(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set the bucket ID associated with this session. + /// Values such as region, game mode, etc can be combined here depending on game need. + /// Setting this is strongly recommended to improve search performance. + /// + /// Options associated with the bucket ID of the session + /// + /// if setting this parameter was successful + /// if the bucket ID is invalid or null + /// if the API version passed in is incorrect + /// + public Result SetBucketId(ref SessionModificationSetBucketIdOptions options) + { + SessionModificationSetBucketIdOptionsInternal optionsInternal = new SessionModificationSetBucketIdOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionModification_SetBucketId(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set the host address associated with this session + /// Setting this is optional, if the value is not set the SDK will fill the value in from the service. + /// It is useful to set if other addressing mechanisms are desired or if LAN addresses are preferred during development + /// No validation of this value occurs to allow for flexibility in addressing methods + /// + /// Options associated with the host address of the session + /// + /// if setting this parameter was successful + /// if the host ID is an empty string + /// if the API version passed in is incorrect + /// + public Result SetHostAddress(ref SessionModificationSetHostAddressOptions options) + { + SessionModificationSetHostAddressOptionsInternal optionsInternal = new SessionModificationSetHostAddressOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionModification_SetHostAddress(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Allows enabling or disabling invites for this session. + /// The session will also need to have `bPresenceEnabled` true. + /// + /// Options associated with invites allowed flag for this session. + /// + /// if setting this parameter was successful + /// if the API version passed in is incorrect + /// + public Result SetInvitesAllowed(ref SessionModificationSetInvitesAllowedOptions options) + { + SessionModificationSetInvitesAllowedOptionsInternal optionsInternal = new SessionModificationSetInvitesAllowedOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionModification_SetInvitesAllowed(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set whether or not join in progress is allowed + /// Once a session is started, it will no longer be visible to search queries unless this flag is set or the session returns to the pending or ended state + /// + /// Options associated with setting the join in progress state the session + /// + /// if setting this parameter was successful + /// if the API version passed in is incorrect + /// + public Result SetJoinInProgressAllowed(ref SessionModificationSetJoinInProgressAllowedOptions options) + { + SessionModificationSetJoinInProgressAllowedOptionsInternal optionsInternal = new SessionModificationSetJoinInProgressAllowedOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionModification_SetJoinInProgressAllowed(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set the maximum number of players allowed in this session. + /// When updating the session, it is not possible to reduce this number below the current number of existing players + /// + /// Options associated with max number of players in this session + /// + /// if setting this parameter was successful + /// if the API version passed in is incorrect + /// + public Result SetMaxPlayers(ref SessionModificationSetMaxPlayersOptions options) + { + SessionModificationSetMaxPlayersOptionsInternal optionsInternal = new SessionModificationSetMaxPlayersOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionModification_SetMaxPlayers(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set the session permissions associated with this session. + /// The permissions range from "public" to "invite only" and are described by + /// + /// Options associated with the permission level of the session + /// + /// if setting this parameter was successful + /// if the API version passed in is incorrect + /// + public Result SetPermissionLevel(ref SessionModificationSetPermissionLevelOptions options) + { + SessionModificationSetPermissionLevelOptionsInternal optionsInternal = new SessionModificationSetPermissionLevelOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionModification_SetPermissionLevel(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModification.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModification.cs.meta deleted file mode 100644 index c7356eaa..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModification.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ce500c9bd739ce34cb1b6875fd90ffe0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationAddAttributeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationAddAttributeOptions.cs index dd7478bb..fa58f95b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationAddAttributeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationAddAttributeOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionModificationAddAttributeOptions - { - /// - /// Key/Value pair describing the attribute to add to the session - /// - public AttributeData SessionAttribute { get; set; } - - /// - /// Is this attribution advertised with the backend or simply stored locally - /// - public SessionAttributeAdvertisementType AdvertisementType { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionModificationAddAttributeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionAttribute; - private SessionAttributeAdvertisementType m_AdvertisementType; - - public AttributeData SessionAttribute - { - set - { - Helper.TryMarshalSet(ref m_SessionAttribute, value); - } - } - - public SessionAttributeAdvertisementType AdvertisementType - { - set - { - m_AdvertisementType = value; - } - } - - public void Set(SessionModificationAddAttributeOptions other) - { - if (other != null) - { - m_ApiVersion = SessionModification.SessionmodificationAddattributeApiLatest; - SessionAttribute = other.SessionAttribute; - AdvertisementType = other.AdvertisementType; - } - } - - public void Set(object other) - { - Set(other as SessionModificationAddAttributeOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionAttribute); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionModificationAddAttributeOptions + { + /// + /// Key/Value pair describing the attribute to add to the session + /// + public AttributeData? SessionAttribute { get; set; } + + /// + /// Is this attribution advertised with the backend or simply stored locally + /// + public SessionAttributeAdvertisementType AdvertisementType { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionModificationAddAttributeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionAttribute; + private SessionAttributeAdvertisementType m_AdvertisementType; + + public AttributeData? SessionAttribute + { + set + { + Helper.Set(ref value, ref m_SessionAttribute); + } + } + + public SessionAttributeAdvertisementType AdvertisementType + { + set + { + m_AdvertisementType = value; + } + } + + public void Set(ref SessionModificationAddAttributeOptions other) + { + m_ApiVersion = SessionModification.SessionmodificationAddattributeApiLatest; + SessionAttribute = other.SessionAttribute; + AdvertisementType = other.AdvertisementType; + } + + public void Set(ref SessionModificationAddAttributeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionModification.SessionmodificationAddattributeApiLatest; + SessionAttribute = other.Value.SessionAttribute; + AdvertisementType = other.Value.AdvertisementType; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionAttribute); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationAddAttributeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationAddAttributeOptions.cs.meta deleted file mode 100644 index 15a470ed..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationAddAttributeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5a05fa6275bd61b45bf7776d7d68e652 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationRemoveAttributeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationRemoveAttributeOptions.cs index aae7a430..2ca684c3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationRemoveAttributeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationRemoveAttributeOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionModificationRemoveAttributeOptions - { - /// - /// Session attribute to remove from the session - /// - public string Key { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionModificationRemoveAttributeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Key; - - public string Key - { - set - { - Helper.TryMarshalSet(ref m_Key, value); - } - } - - public void Set(SessionModificationRemoveAttributeOptions other) - { - if (other != null) - { - m_ApiVersion = SessionModification.SessionmodificationRemoveattributeApiLatest; - Key = other.Key; - } - } - - public void Set(object other) - { - Set(other as SessionModificationRemoveAttributeOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Key); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionModificationRemoveAttributeOptions + { + /// + /// Session attribute to remove from the session + /// + public Utf8String Key { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionModificationRemoveAttributeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Key; + + public Utf8String Key + { + set + { + Helper.Set(value, ref m_Key); + } + } + + public void Set(ref SessionModificationRemoveAttributeOptions other) + { + m_ApiVersion = SessionModification.SessionmodificationRemoveattributeApiLatest; + Key = other.Key; + } + + public void Set(ref SessionModificationRemoveAttributeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionModification.SessionmodificationRemoveattributeApiLatest; + Key = other.Value.Key; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Key); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationRemoveAttributeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationRemoveAttributeOptions.cs.meta deleted file mode 100644 index 9ace119b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationRemoveAttributeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6979adcff3ebcfa4fb2dcaf2d5334511 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetBucketIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetBucketIdOptions.cs index 4beb5bbb..6c0b74c2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetBucketIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetBucketIdOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionModificationSetBucketIdOptions - { - /// - /// The new bucket id associated with the session - /// - public string BucketId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionModificationSetBucketIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_BucketId; - - public string BucketId - { - set - { - Helper.TryMarshalSet(ref m_BucketId, value); - } - } - - public void Set(SessionModificationSetBucketIdOptions other) - { - if (other != null) - { - m_ApiVersion = SessionModification.SessionmodificationSetbucketidApiLatest; - BucketId = other.BucketId; - } - } - - public void Set(object other) - { - Set(other as SessionModificationSetBucketIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_BucketId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionModificationSetBucketIdOptions + { + /// + /// The new bucket id associated with the session + /// + public Utf8String BucketId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionModificationSetBucketIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_BucketId; + + public Utf8String BucketId + { + set + { + Helper.Set(value, ref m_BucketId); + } + } + + public void Set(ref SessionModificationSetBucketIdOptions other) + { + m_ApiVersion = SessionModification.SessionmodificationSetbucketidApiLatest; + BucketId = other.BucketId; + } + + public void Set(ref SessionModificationSetBucketIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionModification.SessionmodificationSetbucketidApiLatest; + BucketId = other.Value.BucketId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_BucketId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetBucketIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetBucketIdOptions.cs.meta deleted file mode 100644 index 9ece2345..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetBucketIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3910a4b70cb33d44ab31c4a67768a070 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetHostAddressOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetHostAddressOptions.cs index 62a839e0..1684638c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetHostAddressOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetHostAddressOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionModificationSetHostAddressOptions - { - /// - /// A string representing the host address for the session, its meaning is up to the application - /// - public string HostAddress { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionModificationSetHostAddressOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_HostAddress; - - public string HostAddress - { - set - { - Helper.TryMarshalSet(ref m_HostAddress, value); - } - } - - public void Set(SessionModificationSetHostAddressOptions other) - { - if (other != null) - { - m_ApiVersion = SessionModification.SessionmodificationSethostaddressApiLatest; - HostAddress = other.HostAddress; - } - } - - public void Set(object other) - { - Set(other as SessionModificationSetHostAddressOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_HostAddress); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionModificationSetHostAddressOptions + { + /// + /// A string representing the host address for the session, its meaning is up to the application + /// + public Utf8String HostAddress { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionModificationSetHostAddressOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_HostAddress; + + public Utf8String HostAddress + { + set + { + Helper.Set(value, ref m_HostAddress); + } + } + + public void Set(ref SessionModificationSetHostAddressOptions other) + { + m_ApiVersion = SessionModification.SessionmodificationSethostaddressApiLatest; + HostAddress = other.HostAddress; + } + + public void Set(ref SessionModificationSetHostAddressOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionModification.SessionmodificationSethostaddressApiLatest; + HostAddress = other.Value.HostAddress; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_HostAddress); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetHostAddressOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetHostAddressOptions.cs.meta deleted file mode 100644 index 269298a3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetHostAddressOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d889d7b57cc19114c81467b1ffd02b42 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetInvitesAllowedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetInvitesAllowedOptions.cs index 30e628b7..9324ea67 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetInvitesAllowedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetInvitesAllowedOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionModificationSetInvitesAllowedOptions - { - /// - /// If true then invites can currently be sent for the associated session - /// - public bool InvitesAllowed { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionModificationSetInvitesAllowedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private int m_InvitesAllowed; - - public bool InvitesAllowed - { - set - { - Helper.TryMarshalSet(ref m_InvitesAllowed, value); - } - } - - public void Set(SessionModificationSetInvitesAllowedOptions other) - { - if (other != null) - { - m_ApiVersion = SessionModification.SessionmodificationSetinvitesallowedApiLatest; - InvitesAllowed = other.InvitesAllowed; - } - } - - public void Set(object other) - { - Set(other as SessionModificationSetInvitesAllowedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionModificationSetInvitesAllowedOptions + { + /// + /// If true then invites can currently be sent for the associated session + /// + public bool InvitesAllowed { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionModificationSetInvitesAllowedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private int m_InvitesAllowed; + + public bool InvitesAllowed + { + set + { + Helper.Set(value, ref m_InvitesAllowed); + } + } + + public void Set(ref SessionModificationSetInvitesAllowedOptions other) + { + m_ApiVersion = SessionModification.SessionmodificationSetinvitesallowedApiLatest; + InvitesAllowed = other.InvitesAllowed; + } + + public void Set(ref SessionModificationSetInvitesAllowedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionModification.SessionmodificationSetinvitesallowedApiLatest; + InvitesAllowed = other.Value.InvitesAllowed; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetInvitesAllowedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetInvitesAllowedOptions.cs.meta deleted file mode 100644 index 554542c4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetInvitesAllowedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f8819bd65528cf443899f27aeec3f127 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetJoinInProgressAllowedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetJoinInProgressAllowedOptions.cs index 5201671d..d7f9803e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetJoinInProgressAllowedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetJoinInProgressAllowedOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionModificationSetJoinInProgressAllowedOptions - { - /// - /// Does the session allow join in progress - /// - public bool AllowJoinInProgress { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionModificationSetJoinInProgressAllowedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private int m_AllowJoinInProgress; - - public bool AllowJoinInProgress - { - set - { - Helper.TryMarshalSet(ref m_AllowJoinInProgress, value); - } - } - - public void Set(SessionModificationSetJoinInProgressAllowedOptions other) - { - if (other != null) - { - m_ApiVersion = SessionModification.SessionmodificationSetjoininprogressallowedApiLatest; - AllowJoinInProgress = other.AllowJoinInProgress; - } - } - - public void Set(object other) - { - Set(other as SessionModificationSetJoinInProgressAllowedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionModificationSetJoinInProgressAllowedOptions + { + /// + /// Does the session allow join in progress + /// + public bool AllowJoinInProgress { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionModificationSetJoinInProgressAllowedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private int m_AllowJoinInProgress; + + public bool AllowJoinInProgress + { + set + { + Helper.Set(value, ref m_AllowJoinInProgress); + } + } + + public void Set(ref SessionModificationSetJoinInProgressAllowedOptions other) + { + m_ApiVersion = SessionModification.SessionmodificationSetjoininprogressallowedApiLatest; + AllowJoinInProgress = other.AllowJoinInProgress; + } + + public void Set(ref SessionModificationSetJoinInProgressAllowedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionModification.SessionmodificationSetjoininprogressallowedApiLatest; + AllowJoinInProgress = other.Value.AllowJoinInProgress; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetJoinInProgressAllowedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetJoinInProgressAllowedOptions.cs.meta deleted file mode 100644 index 2fd6ca50..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetJoinInProgressAllowedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 879c7194fc05d2e4d9a4f788e9839eaf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetMaxPlayersOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetMaxPlayersOptions.cs index 099a0e7c..01bd1607 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetMaxPlayersOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetMaxPlayersOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionModificationSetMaxPlayersOptions - { - /// - /// Max number of players to allow in the session - /// - public uint MaxPlayers { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionModificationSetMaxPlayersOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_MaxPlayers; - - public uint MaxPlayers - { - set - { - m_MaxPlayers = value; - } - } - - public void Set(SessionModificationSetMaxPlayersOptions other) - { - if (other != null) - { - m_ApiVersion = SessionModification.SessionmodificationSetmaxplayersApiLatest; - MaxPlayers = other.MaxPlayers; - } - } - - public void Set(object other) - { - Set(other as SessionModificationSetMaxPlayersOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionModificationSetMaxPlayersOptions + { + /// + /// Max number of players to allow in the session + /// + public uint MaxPlayers { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionModificationSetMaxPlayersOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_MaxPlayers; + + public uint MaxPlayers + { + set + { + m_MaxPlayers = value; + } + } + + public void Set(ref SessionModificationSetMaxPlayersOptions other) + { + m_ApiVersion = SessionModification.SessionmodificationSetmaxplayersApiLatest; + MaxPlayers = other.MaxPlayers; + } + + public void Set(ref SessionModificationSetMaxPlayersOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionModification.SessionmodificationSetmaxplayersApiLatest; + MaxPlayers = other.Value.MaxPlayers; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetMaxPlayersOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetMaxPlayersOptions.cs.meta deleted file mode 100644 index ec664cc3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetMaxPlayersOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b72a2891e33fba341b5cdf6d008d1e14 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetPermissionLevelOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetPermissionLevelOptions.cs index 365b1f0a..0ba59ca6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetPermissionLevelOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetPermissionLevelOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionModificationSetPermissionLevelOptions - { - /// - /// Permission level to set on the sesion - /// - public OnlineSessionPermissionLevel PermissionLevel { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionModificationSetPermissionLevelOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private OnlineSessionPermissionLevel m_PermissionLevel; - - public OnlineSessionPermissionLevel PermissionLevel - { - set - { - m_PermissionLevel = value; - } - } - - public void Set(SessionModificationSetPermissionLevelOptions other) - { - if (other != null) - { - m_ApiVersion = SessionModification.SessionmodificationSetpermissionlevelApiLatest; - PermissionLevel = other.PermissionLevel; - } - } - - public void Set(object other) - { - Set(other as SessionModificationSetPermissionLevelOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionModificationSetPermissionLevelOptions + { + /// + /// Permission level to set on the session + /// + public OnlineSessionPermissionLevel PermissionLevel { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionModificationSetPermissionLevelOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private OnlineSessionPermissionLevel m_PermissionLevel; + + public OnlineSessionPermissionLevel PermissionLevel + { + set + { + m_PermissionLevel = value; + } + } + + public void Set(ref SessionModificationSetPermissionLevelOptions other) + { + m_ApiVersion = SessionModification.SessionmodificationSetpermissionlevelApiLatest; + PermissionLevel = other.PermissionLevel; + } + + public void Set(ref SessionModificationSetPermissionLevelOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionModification.SessionmodificationSetpermissionlevelApiLatest; + PermissionLevel = other.Value.PermissionLevel; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetPermissionLevelOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetPermissionLevelOptions.cs.meta deleted file mode 100644 index f4074e76..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionModificationSetPermissionLevelOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 649c75ba1e2611e448d3b34ec33624c1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearch.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearch.cs index 6f4ca2c6..cfa132de 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearch.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearch.cs @@ -1,262 +1,261 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - public sealed partial class SessionSearch : Handle - { - public SessionSearch() - { - } - - public SessionSearch(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int SessionsearchCopysearchresultbyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessionsearchFindApiLatest = 2; - - /// - /// The most recent version of the API. - /// - public const int SessionsearchGetsearchresultcountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessionsearchRemoveparameterApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessionsearchSetmaxsearchresultsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessionsearchSetparameterApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessionsearchSetsessionidApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SessionsearchSettargetuseridApiLatest = 1; - - /// - /// is used to immediately retrieve a handle to the session information from a given search result. - /// If the call returns an result, the out parameter, OutSessionHandle, must be passed to to release the memory associated with it. - /// - /// - /// - /// Structure containing the input parameters - /// out parameter used to receive the session handle - /// - /// if the information is available and passed out in OutSessionHandle - /// if you pass an invalid index or a null pointer for the out parameter - /// if the API version passed in is incorrect - /// - public Result CopySearchResultByIndex(SessionSearchCopySearchResultByIndexOptions options, out SessionDetails outSessionHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outSessionHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_SessionSearch_CopySearchResultByIndex(InnerHandle, optionsAddress, ref outSessionHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outSessionHandleAddress, out outSessionHandle); - - return funcResult; - } - - /// - /// Find sessions matching the search criteria setup via this session search handle. - /// When the operation completes, this handle will have the search results that can be parsed - /// - /// Structure containing information about the search criteria to use - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the search operation completes, either successfully or in error - /// - /// if the find operation completes successfully - /// if searching for an individual session by sessionid or targetuserid returns no results - /// if any of the options are incorrect - /// - public void Find(SessionSearchFindOptions options, object clientData, SessionSearchOnFindCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new SessionSearchOnFindCallbackInternal(OnFindCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_SessionSearch_Find(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Get the number of search results found by the search parameters in this search - /// - /// Options associated with the search count - /// - /// return the number of search results found by the query or 0 if search is not complete - /// - public uint GetSearchResultCount(SessionSearchGetSearchResultCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionSearch_GetSearchResultCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Release the memory associated with a session search. This must be called on data retrieved from . - /// - /// - /// - The session search handle to release - public void Release() - { - Bindings.EOS_SessionSearch_Release(InnerHandle); - } - - /// - /// Remove a parameter from the array of search criteria. - /// - /// @params Options a search parameter key name to remove - /// - /// - /// if removing this search parameter was successful - /// if the search key is invalid or null - /// if the parameter was not a part of the search criteria - /// if the API version passed in is incorrect - /// - public Result RemoveParameter(SessionSearchRemoveParameterOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionSearch_RemoveParameter(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set the maximum number of search results to return in the query, can't be more than - /// - /// maximum number of search results to return in the query - /// - /// if setting the max results was successful - /// if the number of results requested is invalid - /// if the API version passed in is incorrect - /// - public Result SetMaxResults(SessionSearchSetMaxResultsOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionSearch_SetMaxResults(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Add a parameter to an array of search criteria combined via an implicit AND operator. Setting SessionId or TargetUserId will result in failing - /// - /// - /// - /// a search parameter and its comparison op - /// - /// if setting this search parameter was successful - /// if the search criteria is invalid or null - /// if the API version passed in is incorrect - /// - public Result SetParameter(SessionSearchSetParameterOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionSearch_SetParameter(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set a session ID to find and will return at most one search result. Setting TargetUserId or SearchParameters will result in failing - /// - /// A specific session ID for which to search - /// - /// if setting this session ID was successful - /// if the session ID is invalid or null - /// if the API version passed in is incorrect - /// - public Result SetSessionId(SessionSearchSetSessionIdOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionSearch_SetSessionId(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Set a target user ID to find and will return at most one search result. Setting SessionId or SearchParameters will result in failing - /// @note a search result will only be found if this user is in a public session - /// - /// a specific target user ID to find - /// - /// if setting this target user ID was successful - /// if the target user ID is invalid or null - /// if the API version passed in is incorrect - /// - public Result SetTargetUserId(SessionSearchSetTargetUserIdOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_SessionSearch_SetTargetUserId(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - [MonoPInvokeCallback(typeof(SessionSearchOnFindCallbackInternal))] - internal static void OnFindCallbackInternalImplementation(System.IntPtr data) - { - SessionSearchOnFindCallback callback; - SessionSearchFindCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + public sealed partial class SessionSearch : Handle + { + public SessionSearch() + { + } + + public SessionSearch(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int SessionsearchCopysearchresultbyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessionsearchFindApiLatest = 2; + + /// + /// The most recent version of the API. + /// + public const int SessionsearchGetsearchresultcountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessionsearchRemoveparameterApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessionsearchSetmaxsearchresultsApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessionsearchSetparameterApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessionsearchSetsessionidApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SessionsearchSettargetuseridApiLatest = 1; + + /// + /// is used to immediately retrieve a handle to the session information from a given search result. + /// If the call returns an result, the out parameter, OutSessionHandle, must be passed to to release the memory associated with it. + /// + /// + /// + /// Structure containing the input parameters + /// out parameter used to receive the session handle + /// + /// if the information is available and passed out in OutSessionHandle + /// if you pass an invalid index or a null pointer for the out parameter + /// if the API version passed in is incorrect + /// + public Result CopySearchResultByIndex(ref SessionSearchCopySearchResultByIndexOptions options, out SessionDetails outSessionHandle) + { + SessionSearchCopySearchResultByIndexOptionsInternal optionsInternal = new SessionSearchCopySearchResultByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outSessionHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_SessionSearch_CopySearchResultByIndex(InnerHandle, ref optionsInternal, ref outSessionHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outSessionHandleAddress, out outSessionHandle); + + return funcResult; + } + + /// + /// Find sessions matching the search criteria setup via this session search handle. + /// When the operation completes, this handle will have the search results that can be parsed + /// + /// Structure containing information about the search criteria to use + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the search operation completes, either successfully or in error + /// + /// if the find operation completes successfully + /// if searching for an individual session by sessionid or targetuserid returns no results + /// if any of the options are incorrect + /// + public void Find(ref SessionSearchFindOptions options, object clientData, SessionSearchOnFindCallback completionDelegate) + { + SessionSearchFindOptionsInternal optionsInternal = new SessionSearchFindOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new SessionSearchOnFindCallbackInternal(OnFindCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_SessionSearch_Find(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Get the number of search results found by the search parameters in this search + /// + /// Options associated with the search count + /// + /// return the number of search results found by the query or 0 if search is not complete + /// + public uint GetSearchResultCount(ref SessionSearchGetSearchResultCountOptions options) + { + SessionSearchGetSearchResultCountOptionsInternal optionsInternal = new SessionSearchGetSearchResultCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionSearch_GetSearchResultCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Release the memory associated with a session search. This must be called on data retrieved from . + /// + /// + /// - The session search handle to release + public void Release() + { + Bindings.EOS_SessionSearch_Release(InnerHandle); + } + + /// + /// Remove a parameter from the array of search criteria. + /// + /// a search parameter key name to remove + /// + /// if removing this search parameter was successful + /// if the search key is invalid or null + /// if the parameter was not a part of the search criteria + /// if the API version passed in is incorrect + /// + public Result RemoveParameter(ref SessionSearchRemoveParameterOptions options) + { + SessionSearchRemoveParameterOptionsInternal optionsInternal = new SessionSearchRemoveParameterOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionSearch_RemoveParameter(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set the maximum number of search results to return in the query, can't be more than + /// + /// maximum number of search results to return in the query + /// + /// if setting the max results was successful + /// if the number of results requested is invalid + /// if the API version passed in is incorrect + /// + public Result SetMaxResults(ref SessionSearchSetMaxResultsOptions options) + { + SessionSearchSetMaxResultsOptionsInternal optionsInternal = new SessionSearchSetMaxResultsOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionSearch_SetMaxResults(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Add a parameter to an array of search criteria combined via an implicit AND operator. Setting SessionId or TargetUserId will result in failing + /// + /// + /// + /// a search parameter and its comparison op + /// + /// if setting this search parameter was successful + /// if the search criteria is invalid or null + /// if the API version passed in is incorrect + /// + public Result SetParameter(ref SessionSearchSetParameterOptions options) + { + SessionSearchSetParameterOptionsInternal optionsInternal = new SessionSearchSetParameterOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionSearch_SetParameter(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set a session ID to find and will return at most one search result. Setting TargetUserId or SearchParameters will result in failing + /// + /// A specific session ID for which to search + /// + /// if setting this session ID was successful + /// if the session ID is invalid or null + /// if the API version passed in is incorrect + /// + public Result SetSessionId(ref SessionSearchSetSessionIdOptions options) + { + SessionSearchSetSessionIdOptionsInternal optionsInternal = new SessionSearchSetSessionIdOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionSearch_SetSessionId(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Set a target user ID to find and will return at most one search result. Setting SessionId or SearchParameters will result in failing + /// a search result will only be found if this user is in a public session + /// + /// a specific target user ID to find + /// + /// if setting this target user ID was successful + /// if the target user ID is invalid or null + /// if the API version passed in is incorrect + /// + public Result SetTargetUserId(ref SessionSearchSetTargetUserIdOptions options) + { + SessionSearchSetTargetUserIdOptionsInternal optionsInternal = new SessionSearchSetTargetUserIdOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_SessionSearch_SetTargetUserId(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + [MonoPInvokeCallback(typeof(SessionSearchOnFindCallbackInternal))] + internal static void OnFindCallbackInternalImplementation(ref SessionSearchFindCallbackInfoInternal data) + { + SessionSearchOnFindCallback callback; + SessionSearchFindCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearch.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearch.cs.meta deleted file mode 100644 index cbcebb6d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearch.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bded3d0795c75f24d8f21cc637539a50 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchCopySearchResultByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchCopySearchResultByIndexOptions.cs index 530a51d6..d0822a8d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchCopySearchResultByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchCopySearchResultByIndexOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionSearchCopySearchResultByIndexOptions - { - /// - /// The index of the session to retrieve within the completed search query - /// - /// - public uint SessionIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionSearchCopySearchResultByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_SessionIndex; - - public uint SessionIndex - { - set - { - m_SessionIndex = value; - } - } - - public void Set(SessionSearchCopySearchResultByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = SessionSearch.SessionsearchCopysearchresultbyindexApiLatest; - SessionIndex = other.SessionIndex; - } - } - - public void Set(object other) - { - Set(other as SessionSearchCopySearchResultByIndexOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionSearchCopySearchResultByIndexOptions + { + /// + /// The index of the session to retrieve within the completed search query + /// + /// + public uint SessionIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionSearchCopySearchResultByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_SessionIndex; + + public uint SessionIndex + { + set + { + m_SessionIndex = value; + } + } + + public void Set(ref SessionSearchCopySearchResultByIndexOptions other) + { + m_ApiVersion = SessionSearch.SessionsearchCopysearchresultbyindexApiLatest; + SessionIndex = other.SessionIndex; + } + + public void Set(ref SessionSearchCopySearchResultByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionSearch.SessionsearchCopysearchresultbyindexApiLatest; + SessionIndex = other.Value.SessionIndex; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchCopySearchResultByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchCopySearchResultByIndexOptions.cs.meta deleted file mode 100644 index a7ad6f35..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchCopySearchResultByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0f91a771d6e13d94ba9c897a0b12f0e2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindCallbackInfo.cs index 0a088547..96f4713c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindCallbackInfo.cs @@ -1,70 +1,98 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - public class SessionSearchFindCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(SessionSearchFindCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as SessionSearchFindCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionSearchFindCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + public struct SessionSearchFindCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref SessionSearchFindCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionSearchFindCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref SessionSearchFindCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref SessionSearchFindCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out SessionSearchFindCallbackInfo output) + { + output = new SessionSearchFindCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindCallbackInfo.cs.meta deleted file mode 100644 index 2c0bda72..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ff5dacfe11085f54eb439103cac00826 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindOptions.cs index f3988dc4..9d1108cc 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionSearchFindOptions - { - /// - /// The Product User ID of the local user who is searching - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionSearchFindOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(SessionSearchFindOptions other) - { - if (other != null) - { - m_ApiVersion = SessionSearch.SessionsearchFindApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as SessionSearchFindOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionSearchFindOptions + { + /// + /// The Product User ID of the local user who is searching + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionSearchFindOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref SessionSearchFindOptions other) + { + m_ApiVersion = SessionSearch.SessionsearchFindApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref SessionSearchFindOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionSearch.SessionsearchFindApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindOptions.cs.meta deleted file mode 100644 index b7dcfdc7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchFindOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a62020add18f73f4095ec9e8f9fed860 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchGetSearchResultCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchGetSearchResultCountOptions.cs index d68c011f..7d154664 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchGetSearchResultCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchGetSearchResultCountOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionSearchGetSearchResultCountOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionSearchGetSearchResultCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(SessionSearchGetSearchResultCountOptions other) - { - if (other != null) - { - m_ApiVersion = SessionSearch.SessionsearchGetsearchresultcountApiLatest; - } - } - - public void Set(object other) - { - Set(other as SessionSearchGetSearchResultCountOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionSearchGetSearchResultCountOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionSearchGetSearchResultCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref SessionSearchGetSearchResultCountOptions other) + { + m_ApiVersion = SessionSearch.SessionsearchGetsearchresultcountApiLatest; + } + + public void Set(ref SessionSearchGetSearchResultCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionSearch.SessionsearchGetsearchresultcountApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchGetSearchResultCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchGetSearchResultCountOptions.cs.meta deleted file mode 100644 index 26c27d5c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchGetSearchResultCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5a4771d5bb9a80d4eac3dba63db4c02b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchOnFindCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchOnFindCallback.cs index 39f2541c..f4ae9b97 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchOnFindCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchOnFindCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void SessionSearchOnFindCallback(SessionSearchFindCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void SessionSearchOnFindCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void SessionSearchOnFindCallback(ref SessionSearchFindCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void SessionSearchOnFindCallbackInternal(ref SessionSearchFindCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchOnFindCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchOnFindCallback.cs.meta deleted file mode 100644 index 3af3a9fe..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchOnFindCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4cb85e8d3feed734f8ace4daccaa7de3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchRemoveParameterOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchRemoveParameterOptions.cs index e0d956ac..49aa1070 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchRemoveParameterOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchRemoveParameterOptions.cs @@ -1,67 +1,69 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - /// Removal requires both the key and its comparator in order to remove as the same key can be used in more than one operation - /// - public class SessionSearchRemoveParameterOptions - { - /// - /// Search parameter key to remove from the search - /// - public string Key { get; set; } - - /// - /// Search comparison operation associated with the key to remove - /// - public ComparisonOp ComparisonOp { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionSearchRemoveParameterOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Key; - private ComparisonOp m_ComparisonOp; - - public string Key - { - set - { - Helper.TryMarshalSet(ref m_Key, value); - } - } - - public ComparisonOp ComparisonOp - { - set - { - m_ComparisonOp = value; - } - } - - public void Set(SessionSearchRemoveParameterOptions other) - { - if (other != null) - { - m_ApiVersion = SessionSearch.SessionsearchRemoveparameterApiLatest; - Key = other.Key; - ComparisonOp = other.ComparisonOp; - } - } - - public void Set(object other) - { - Set(other as SessionSearchRemoveParameterOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Key); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + /// Removal requires both the key and its comparator in order to remove as the same key can be used in more than one operation + /// + public struct SessionSearchRemoveParameterOptions + { + /// + /// Search parameter key to remove from the search + /// + public Utf8String Key { get; set; } + + /// + /// Search comparison operation associated with the key to remove + /// + public ComparisonOp ComparisonOp { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionSearchRemoveParameterOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Key; + private ComparisonOp m_ComparisonOp; + + public Utf8String Key + { + set + { + Helper.Set(value, ref m_Key); + } + } + + public ComparisonOp ComparisonOp + { + set + { + m_ComparisonOp = value; + } + } + + public void Set(ref SessionSearchRemoveParameterOptions other) + { + m_ApiVersion = SessionSearch.SessionsearchRemoveparameterApiLatest; + Key = other.Key; + ComparisonOp = other.ComparisonOp; + } + + public void Set(ref SessionSearchRemoveParameterOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionSearch.SessionsearchRemoveparameterApiLatest; + Key = other.Value.Key; + ComparisonOp = other.Value.ComparisonOp; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Key); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchRemoveParameterOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchRemoveParameterOptions.cs.meta deleted file mode 100644 index 2ad3f471..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchRemoveParameterOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ca8acd6340430b14298797fc1342d988 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetMaxResultsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetMaxResultsOptions.cs index fa0a6e4c..73ca8c6c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetMaxResultsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetMaxResultsOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionSearchSetMaxResultsOptions - { - /// - /// Maximum number of search results returned with this query, may not exceed - /// - public uint MaxSearchResults { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionSearchSetMaxResultsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_MaxSearchResults; - - public uint MaxSearchResults - { - set - { - m_MaxSearchResults = value; - } - } - - public void Set(SessionSearchSetMaxResultsOptions other) - { - if (other != null) - { - m_ApiVersion = SessionSearch.SessionsearchSetmaxsearchresultsApiLatest; - MaxSearchResults = other.MaxSearchResults; - } - } - - public void Set(object other) - { - Set(other as SessionSearchSetMaxResultsOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionSearchSetMaxResultsOptions + { + /// + /// Maximum number of search results returned with this query, may not exceed + /// + public uint MaxSearchResults { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionSearchSetMaxResultsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_MaxSearchResults; + + public uint MaxSearchResults + { + set + { + m_MaxSearchResults = value; + } + } + + public void Set(ref SessionSearchSetMaxResultsOptions other) + { + m_ApiVersion = SessionSearch.SessionsearchSetmaxsearchresultsApiLatest; + MaxSearchResults = other.MaxSearchResults; + } + + public void Set(ref SessionSearchSetMaxResultsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionSearch.SessionsearchSetmaxsearchresultsApiLatest; + MaxSearchResults = other.Value.MaxSearchResults; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetMaxResultsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetMaxResultsOptions.cs.meta deleted file mode 100644 index 1b842c8e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetMaxResultsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 604b5f13a42b9ff4f9e3f7b61da45bb2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetParameterOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetParameterOptions.cs index a46db868..5faba4e4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetParameterOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetParameterOptions.cs @@ -1,69 +1,71 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - /// A search key may be set more than once to make multiple comparisons - /// The two comparisons are AND'd together - /// (ie, Key GREATER_THAN 5, Key NOT_EQUALS 10) - /// - public class SessionSearchSetParameterOptions - { - /// - /// Search parameter describing a key and a value to compare - /// - public AttributeData Parameter { get; set; } - - /// - /// The type of comparison to make against the search parameter - /// - public ComparisonOp ComparisonOp { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionSearchSetParameterOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Parameter; - private ComparisonOp m_ComparisonOp; - - public AttributeData Parameter - { - set - { - Helper.TryMarshalSet(ref m_Parameter, value); - } - } - - public ComparisonOp ComparisonOp - { - set - { - m_ComparisonOp = value; - } - } - - public void Set(SessionSearchSetParameterOptions other) - { - if (other != null) - { - m_ApiVersion = SessionSearch.SessionsearchSetparameterApiLatest; - Parameter = other.Parameter; - ComparisonOp = other.ComparisonOp; - } - } - - public void Set(object other) - { - Set(other as SessionSearchSetParameterOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Parameter); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + /// A search key may be set more than once to make multiple comparisons + /// The two comparisons are AND'd together + /// (ie, Key GREATER_THAN 5, Key NOT_EQUALS 10) + /// + public struct SessionSearchSetParameterOptions + { + /// + /// Search parameter describing a key and a value to compare + /// + public AttributeData? Parameter { get; set; } + + /// + /// The type of comparison to make against the search parameter + /// + public ComparisonOp ComparisonOp { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionSearchSetParameterOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Parameter; + private ComparisonOp m_ComparisonOp; + + public AttributeData? Parameter + { + set + { + Helper.Set(ref value, ref m_Parameter); + } + } + + public ComparisonOp ComparisonOp + { + set + { + m_ComparisonOp = value; + } + } + + public void Set(ref SessionSearchSetParameterOptions other) + { + m_ApiVersion = SessionSearch.SessionsearchSetparameterApiLatest; + Parameter = other.Parameter; + ComparisonOp = other.ComparisonOp; + } + + public void Set(ref SessionSearchSetParameterOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionSearch.SessionsearchSetparameterApiLatest; + Parameter = other.Value.Parameter; + ComparisonOp = other.Value.ComparisonOp; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Parameter); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetParameterOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetParameterOptions.cs.meta deleted file mode 100644 index a775f966..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetParameterOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 560dcb8daf273e94bafe047e0f364325 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetSessionIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetSessionIdOptions.cs index 1b06f124..822c491e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetSessionIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetSessionIdOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionSearchSetSessionIdOptions - { - /// - /// Search sessions for a specific session ID, returning at most one session - /// - public string SessionId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionSearchSetSessionIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionId; - - public string SessionId - { - set - { - Helper.TryMarshalSet(ref m_SessionId, value); - } - } - - public void Set(SessionSearchSetSessionIdOptions other) - { - if (other != null) - { - m_ApiVersion = SessionSearch.SessionsearchSetsessionidApiLatest; - SessionId = other.SessionId; - } - } - - public void Set(object other) - { - Set(other as SessionSearchSetSessionIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionSearchSetSessionIdOptions + { + /// + /// Search sessions for a specific session ID, returning at most one session + /// + public Utf8String SessionId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionSearchSetSessionIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionId; + + public Utf8String SessionId + { + set + { + Helper.Set(value, ref m_SessionId); + } + } + + public void Set(ref SessionSearchSetSessionIdOptions other) + { + m_ApiVersion = SessionSearch.SessionsearchSetsessionidApiLatest; + SessionId = other.SessionId; + } + + public void Set(ref SessionSearchSetSessionIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionSearch.SessionsearchSetsessionidApiLatest; + SessionId = other.Value.SessionId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetSessionIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetSessionIdOptions.cs.meta deleted file mode 100644 index da9181bf..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetSessionIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5952fd7ec367e3a4baf6e5150464db69 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetTargetUserIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetTargetUserIdOptions.cs index 9b648a02..5f507b5e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetTargetUserIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetTargetUserIdOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class SessionSearchSetTargetUserIdOptions - { - /// - /// The Product User ID to find; return any sessions where the user matching this ID is currently registered - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SessionSearchSetTargetUserIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(SessionSearchSetTargetUserIdOptions other) - { - if (other != null) - { - m_ApiVersion = SessionSearch.SessionsearchSettargetuseridApiLatest; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as SessionSearchSetTargetUserIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct SessionSearchSetTargetUserIdOptions + { + /// + /// The Product User ID to find; return any sessions where the user matching this ID is currently registered + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SessionSearchSetTargetUserIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref SessionSearchSetTargetUserIdOptions other) + { + m_ApiVersion = SessionSearch.SessionsearchSettargetuseridApiLatest; + TargetUserId = other.TargetUserId; + } + + public void Set(ref SessionSearchSetTargetUserIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionSearch.SessionsearchSettargetuseridApiLatest; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetTargetUserIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetTargetUserIdOptions.cs.meta deleted file mode 100644 index cc5ccabe..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionSearchSetTargetUserIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2b6ff4c92395e1140a4fca78a3439084 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionsInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionsInterface.cs index e8fcdb44..3070dccc 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionsInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionsInterface.cs @@ -1,1008 +1,1010 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - public sealed partial class SessionsInterface : Handle - { - public SessionsInterface() - { - } - - public SessionsInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int AddnotifyjoinsessionacceptedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifysessioninviteacceptedApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifysessioninvitereceivedApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int AttributedataApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyactivesessionhandleApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopysessionhandlebyinviteidApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopysessionhandlebyuieventidApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopysessionhandleforpresenceApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CreatesessionmodificationApiLatest = 3; - - /// - /// The most recent version of the API. - /// - public const int CreatesessionsearchApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int DestroysessionApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int DumpsessionstateApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int EndsessionApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetinvitecountApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetinviteidbyindexApiLatest = 1; - - /// - /// Max length of an invite ID - /// - public const int InviteidMaxLength = 64; - - /// - /// The most recent version of the API. - /// - public const int IsuserinsessionApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int JoinsessionApiLatest = 2; - - /// - /// Maximum number of search results allowed with a given query - /// - public const int MaxSearchResults = 200; - - /// - /// Maximum number of players allowed in a single session - /// - public const int Maxregisteredplayers = 1000; - - /// - /// The most recent version of the API. - /// - public const int QueryinvitesApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int RegisterplayersApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int RejectinviteApiLatest = 1; - - /// - /// Search for a matching bucket ID (value is string) - /// - public const string SearchBucketId = "bucket"; - - /// - /// Search for empty servers only (value is true/false) - /// - public const string SearchEmptyServersOnly = "emptyonly"; - - /// - /// Search for a match with min free space (value is int) - /// - public const string SearchMinslotsavailable = "minslotsavailable"; - - /// - /// Search for non empty servers only (value is true/false) - /// - public const string SearchNonemptyServersOnly = "nonemptyonly"; - - /// - /// The most recent version of the API. - /// - public const int SendinviteApiLatest = 1; - - /// - /// DEPRECATED! Use instead. - /// - public const int SessionattributeApiLatest = SessionDetails.SessiondetailsAttributeApiLatest; - - /// - /// DEPRECATED! Use instead. - /// - public const int SessionattributedataApiLatest = AttributedataApiLatest; - - /// - /// The most recent version of the API. - /// - public const int StartsessionApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int UnregisterplayersApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int UpdatesessionApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int UpdatesessionmodificationApiLatest = 1; - - /// - /// Register to receive notifications when a user accepts a session join game via the social overlay. - /// @note must call RemoveNotifyJoinSessionAccepted to remove the notification - /// - /// Structure containing information about the request. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// A callback that is fired when a a notification is received. - /// - /// handle representing the registered callback - /// - public ulong AddNotifyJoinSessionAccepted(AddNotifyJoinSessionAcceptedOptions options, object clientData, OnJoinSessionAcceptedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnJoinSessionAcceptedCallbackInternal(OnJoinSessionAcceptedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_Sessions_AddNotifyJoinSessionAccepted(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive notifications when a user accepts a session invite via the social overlay. - /// @note must call RemoveNotifySessionInviteAccepted to remove the notification - /// - /// Structure containing information about the request. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// A callback that is fired when a a notification is received. - /// - /// handle representing the registered callback - /// - public ulong AddNotifySessionInviteAccepted(AddNotifySessionInviteAcceptedOptions options, object clientData, OnSessionInviteAcceptedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnSessionInviteAcceptedCallbackInternal(OnSessionInviteAcceptedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_Sessions_AddNotifySessionInviteAccepted(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Register to receive session invites. - /// @note must call RemoveNotifySessionInviteReceived to remove the notification - /// - /// Structure containing information about the session invite notification - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when a session invite for a user has been received - /// - /// handle representing the registered callback - /// - public ulong AddNotifySessionInviteReceived(AddNotifySessionInviteReceivedOptions options, object clientData, OnSessionInviteReceivedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnSessionInviteReceivedCallbackInternal(OnSessionInviteReceivedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_Sessions_AddNotifySessionInviteReceived(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Create a handle to an existing active session. - /// - /// Structure containing information about the active session to retrieve - /// The new active session handle or null if there was an error - /// - /// if the session handle was created successfully - /// if any of the options are incorrect - /// if the API version passed in is incorrect - /// if the active session doesn't exist - /// - public Result CopyActiveSessionHandle(CopyActiveSessionHandleOptions options, out ActiveSession outSessionHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outSessionHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Sessions_CopyActiveSessionHandle(InnerHandle, optionsAddress, ref outSessionHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outSessionHandleAddress, out outSessionHandle); - - return funcResult; - } - - /// - /// is used to immediately retrieve a handle to the session information from after notification of an invite - /// If the call returns an result, the out parameter, OutSessionHandle, must be passed to to release the memory associated with it. - /// - /// - /// - /// Structure containing the input parameters - /// out parameter used to receive the session handle - /// - /// if the information is available and passed out in OutSessionHandle - /// if you pass an invalid invite ID or a null pointer for the out parameter - /// if the API version passed in is incorrect - /// if the invite ID cannot be found - /// - public Result CopySessionHandleByInviteId(CopySessionHandleByInviteIdOptions options, out SessionDetails outSessionHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outSessionHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Sessions_CopySessionHandleByInviteId(InnerHandle, optionsAddress, ref outSessionHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outSessionHandleAddress, out outSessionHandle); - - return funcResult; - } - - /// - /// is used to immediately retrieve a handle to the session information from after notification of a join game event. - /// If the call returns an result, the out parameter, OutSessionHandle, must be passed to to release the memory associated with it. - /// - /// - /// - /// Structure containing the input parameters - /// out parameter used to receive the session handle - /// - /// if the information is available and passed out in OutSessionHandle - /// if you pass an invalid invite ID or a null pointer for the out parameter - /// if the API version passed in is incorrect - /// if the invite ID cannot be found - /// - public Result CopySessionHandleByUiEventId(CopySessionHandleByUiEventIdOptions options, out SessionDetails outSessionHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outSessionHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Sessions_CopySessionHandleByUiEventId(InnerHandle, optionsAddress, ref outSessionHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outSessionHandleAddress, out outSessionHandle); - - return funcResult; - } - - /// - /// is used to immediately retrieve a handle to the session information which was marked with bPresenceEnabled on create or join. - /// If the call returns an result, the out parameter, OutSessionHandle, must be passed to to release the memory associated with it. - /// - /// - /// - /// Structure containing the input parameters - /// out parameter used to receive the session handle - /// - /// if the information is available and passed out in OutSessionHandle - /// if you pass an invalid invite ID or a null pointer for the out parameter - /// if the API version passed in is incorrect - /// if there is no session with bPresenceEnabled - /// - public Result CopySessionHandleForPresence(CopySessionHandleForPresenceOptions options, out SessionDetails outSessionHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outSessionHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Sessions_CopySessionHandleForPresence(InnerHandle, optionsAddress, ref outSessionHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outSessionHandleAddress, out outSessionHandle); - - return funcResult; - } - - /// - /// Creates a session modification handle (). The session modification handle is used to build a new session and can be applied with - /// The must be released by calling once it no longer needed. - /// - /// - /// - /// - /// Required fields for the creation of a session such as a name, bucketid, and max players - /// Pointer to a Session Modification Handle only set if successful - /// - /// if we successfully created the Session Modification Handle pointed at in OutSessionModificationHandle, or an error result if the input data was invalid - /// - public Result CreateSessionModification(CreateSessionModificationOptions options, out SessionModification outSessionModificationHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outSessionModificationHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Sessions_CreateSessionModification(InnerHandle, optionsAddress, ref outSessionModificationHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outSessionModificationHandleAddress, out outSessionModificationHandle); - - return funcResult; - } - - /// - /// Create a session search handle. This handle may be modified to include various search parameters. - /// Searching is possible in three methods, all mutually exclusive - /// - set the session ID to find a specific session - /// - set the target user ID to find a specific user - /// - set session parameters to find an array of sessions that match the search criteria - /// - /// Structure containing required parameters such as the maximum number of search results - /// The new search handle or null if there was an error creating the search handle - /// - /// if the search creation completes successfully - /// if any of the options are incorrect - /// - public Result CreateSessionSearch(CreateSessionSearchOptions options, out SessionSearch outSessionSearchHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outSessionSearchHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Sessions_CreateSessionSearch(InnerHandle, optionsAddress, ref outSessionSearchHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outSessionSearchHandleAddress, out outSessionSearchHandle); - - return funcResult; - } - - /// - /// Destroy a session given a session name - /// - /// Structure containing information about the session to be destroyed - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the destroy operation completes, either successfully or in error - /// - /// if the destroy completes successfully - /// if any of the options are incorrect - /// if the session is already marked for destroy - /// if a session to be destroyed does not exist - /// - public void DestroySession(DestroySessionOptions options, object clientData, OnDestroySessionCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnDestroySessionCallbackInternal(OnDestroySessionCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Sessions_DestroySession(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Dump the contents of active sessions that exist locally to the log output, purely for debug purposes - /// - /// Options related to dumping session state such as the session name - /// - /// if the output operation completes successfully - /// if the session specified does not exist - /// if any of the options are incorrect - /// - public Result DumpSessionState(DumpSessionStateOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Sessions_DumpSessionState(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Mark a session as ended, making it available to find if "join in progress" was disabled. The session may be started again if desired - /// - /// Structure containing information about the session to be ended - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the end operation completes, either successfully or in error - /// - /// if the end completes successfully - /// if any of the options are incorrect - /// if the session is out of sync and will be updated on the next connection with the backend - /// if a session to be ended does not exist - /// - public void EndSession(EndSessionOptions options, object clientData, OnEndSessionCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnEndSessionCallbackInternal(OnEndSessionCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Sessions_EndSession(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Get the number of known invites for a given user - /// - /// the Options associated with retrieving the current invite count - /// - /// number of known invites for a given user or 0 if there is an error - /// - public uint GetInviteCount(GetInviteCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Sessions_GetInviteCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Retrieve an invite ID from a list of active invites for a given user - /// - /// - /// - /// Structure containing the input parameters - /// - /// if the input is valid and an invite ID was returned - /// if any of the options are incorrect - /// if the invite doesn't exist - /// - public Result GetInviteIdByIndex(GetInviteIdByIndexOptions options, out string outBuffer) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - System.IntPtr outBufferAddress = System.IntPtr.Zero; - int inOutBufferLength = InviteidMaxLength + 1; - Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _); - - var funcResult = Bindings.EOS_Sessions_GetInviteIdByIndex(InnerHandle, optionsAddress, outBufferAddress, ref inOutBufferLength); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outBufferAddress, out outBuffer); - Helper.TryMarshalDispose(ref outBufferAddress); - - return funcResult; - } - - /// - /// returns whether or not a given user can be found in a specified session - /// - /// Structure containing the input parameters - /// - /// if the user is found in the specified session - /// if the user is not found in the specified session - /// if you pass an invalid invite ID or a null pointer for the out parameter - /// if the API version passed in is incorrect - /// if an invalid target user is specified - /// if the session specified is invalid - /// - public Result IsUserInSession(IsUserInSessionOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Sessions_IsUserInSession(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Join a session, creating a local session under a given session name. Backend will validate various conditions to make sure it is possible to join the session. - /// - /// Structure containing information about the session to be joined - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the join operation completes, either successfully or in error - /// - /// if the join completes successfully - /// if any of the options are incorrect - /// if the session is already exists or is in the process of being joined - /// - public void JoinSession(JoinSessionOptions options, object clientData, OnJoinSessionCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnJoinSessionCallbackInternal(OnJoinSessionCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Sessions_JoinSession(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Retrieve all existing invites for a single user - /// - /// Structure containing information about the invites to query - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the query invites operation completes, either successfully or in error - public void QueryInvites(QueryInvitesOptions options, object clientData, OnQueryInvitesCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryInvitesCallbackInternal(OnQueryInvitesCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Sessions_QueryInvites(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Register a group of players with the session, allowing them to invite others or otherwise indicate they are part of the session for determining a full session - /// - /// Structure containing information about the session and players to be registered - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the registration operation completes, either successfully or in error - /// - /// if the register completes successfully - /// if the players to register registered previously - /// if any of the options are incorrect - /// if the session is out of sync and will be updated on the next connection with the backend - /// if a session to register players does not exist - /// - public void RegisterPlayers(RegisterPlayersOptions options, object clientData, OnRegisterPlayersCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnRegisterPlayersCallbackInternal(OnRegisterPlayersCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Sessions_RegisterPlayers(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Reject an invite from another player. - /// - /// Structure containing information about the invite to reject - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the reject invite operation completes, either successfully or in error - /// - /// if the invite rejection completes successfully - /// if any of the options are incorrect - /// if the invite does not exist - /// - public void RejectInvite(RejectInviteOptions options, object clientData, OnRejectInviteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnRejectInviteCallbackInternal(OnRejectInviteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Sessions_RejectInvite(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Unregister from receiving notifications when a user accepts a session join game via the social overlay. - /// - /// Handle representing the registered callback - public void RemoveNotifyJoinSessionAccepted(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Sessions_RemoveNotifyJoinSessionAccepted(InnerHandle, inId); - } - - /// - /// Unregister from receiving notifications when a user accepts a session invite via the social overlay. - /// - /// Handle representing the registered callback - public void RemoveNotifySessionInviteAccepted(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Sessions_RemoveNotifySessionInviteAccepted(InnerHandle, inId); - } - - /// - /// Unregister from receiving session invites. - /// - /// Handle representing the registered callback - public void RemoveNotifySessionInviteReceived(ulong inId) - { - Helper.TryRemoveCallbackByNotificationId(inId); - - Bindings.EOS_Sessions_RemoveNotifySessionInviteReceived(InnerHandle, inId); - } - - /// - /// Send an invite to another player. User must have created the session or be registered in the session or else the call will fail - /// - /// Structure containing information about the session and player to invite - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the send invite operation completes, either successfully or in error - /// - /// if the send invite completes successfully - /// if any of the options are incorrect - /// if the session to send the invite from does not exist - /// - public void SendInvite(SendInviteOptions options, object clientData, OnSendInviteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnSendInviteCallbackInternal(OnSendInviteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Sessions_SendInvite(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Mark a session as started, making it unable to find if session properties indicate "join in progress" is not available - /// - /// Structure containing information about the session to be started - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the start operation completes, either successfully or in error - /// - /// if the start completes successfully - /// if any of the options are incorrect - /// if the session is out of sync and will be updated on the next connection with the backend - /// if a session to be started does not exist - /// - public void StartSession(StartSessionOptions options, object clientData, OnStartSessionCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnStartSessionCallbackInternal(OnStartSessionCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Sessions_StartSession(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Unregister a group of players with the session, freeing up space for others to join - /// - /// Structure containing information about the session and players to be unregistered - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the unregistration operation completes, either successfully or in error - /// - /// if the unregister completes successfully - /// if the players to unregister were not found - /// if any of the options are incorrect - /// if the session is out of sync and will be updated on the next connection with the backend - /// if a session to be unregister players does not exist - /// - public void UnregisterPlayers(UnregisterPlayersOptions options, object clientData, OnUnregisterPlayersCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnUnregisterPlayersCallbackInternal(OnUnregisterPlayersCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Sessions_UnregisterPlayers(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Update a session given a session modification handle created by or - /// - /// Structure containing information about the session to be updated - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// A callback that is fired when the update operation completes, either successfully or in error - /// - /// if the update completes successfully - /// if any of the options are incorrect - /// if the session is out of sync and will be updated on the next connection with the backend - /// if a session to be updated does not exist - /// - public void UpdateSession(UpdateSessionOptions options, object clientData, OnUpdateSessionCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnUpdateSessionCallbackInternal(OnUpdateSessionCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Sessions_UpdateSession(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Creates a session modification handle (). The session modification handle is used to modify an existing session and can be applied with . - /// The must be released by calling once it is no longer needed. - /// - /// - /// - /// - /// Required fields such as session name - /// Pointer to a Session Modification Handle only set if successful - /// - /// if we successfully created the Session Modification Handle pointed at in OutSessionModificationHandle, or an error result if the input data was invalid - /// - public Result UpdateSessionModification(UpdateSessionModificationOptions options, out SessionModification outSessionModificationHandle) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outSessionModificationHandleAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Sessions_UpdateSessionModification(InnerHandle, optionsAddress, ref outSessionModificationHandleAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryMarshalGet(outSessionModificationHandleAddress, out outSessionModificationHandle); - - return funcResult; - } - - [MonoPInvokeCallback(typeof(OnDestroySessionCallbackInternal))] - internal static void OnDestroySessionCallbackInternalImplementation(System.IntPtr data) - { - OnDestroySessionCallback callback; - DestroySessionCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnEndSessionCallbackInternal))] - internal static void OnEndSessionCallbackInternalImplementation(System.IntPtr data) - { - OnEndSessionCallback callback; - EndSessionCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnJoinSessionAcceptedCallbackInternal))] - internal static void OnJoinSessionAcceptedCallbackInternalImplementation(System.IntPtr data) - { - OnJoinSessionAcceptedCallback callback; - JoinSessionAcceptedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnJoinSessionCallbackInternal))] - internal static void OnJoinSessionCallbackInternalImplementation(System.IntPtr data) - { - OnJoinSessionCallback callback; - JoinSessionCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryInvitesCallbackInternal))] - internal static void OnQueryInvitesCallbackInternalImplementation(System.IntPtr data) - { - OnQueryInvitesCallback callback; - QueryInvitesCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnRegisterPlayersCallbackInternal))] - internal static void OnRegisterPlayersCallbackInternalImplementation(System.IntPtr data) - { - OnRegisterPlayersCallback callback; - RegisterPlayersCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnRejectInviteCallbackInternal))] - internal static void OnRejectInviteCallbackInternalImplementation(System.IntPtr data) - { - OnRejectInviteCallback callback; - RejectInviteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnSendInviteCallbackInternal))] - internal static void OnSendInviteCallbackInternalImplementation(System.IntPtr data) - { - OnSendInviteCallback callback; - SendInviteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnSessionInviteAcceptedCallbackInternal))] - internal static void OnSessionInviteAcceptedCallbackInternalImplementation(System.IntPtr data) - { - OnSessionInviteAcceptedCallback callback; - SessionInviteAcceptedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnSessionInviteReceivedCallbackInternal))] - internal static void OnSessionInviteReceivedCallbackInternalImplementation(System.IntPtr data) - { - OnSessionInviteReceivedCallback callback; - SessionInviteReceivedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnStartSessionCallbackInternal))] - internal static void OnStartSessionCallbackInternalImplementation(System.IntPtr data) - { - OnStartSessionCallback callback; - StartSessionCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnUnregisterPlayersCallbackInternal))] - internal static void OnUnregisterPlayersCallbackInternalImplementation(System.IntPtr data) - { - OnUnregisterPlayersCallback callback; - UnregisterPlayersCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnUpdateSessionCallbackInternal))] - internal static void OnUpdateSessionCallbackInternalImplementation(System.IntPtr data) - { - OnUpdateSessionCallback callback; - UpdateSessionCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + public sealed partial class SessionsInterface : Handle + { + public SessionsInterface() + { + } + + public SessionsInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int AddnotifyjoinsessionacceptedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifysessioninviteacceptedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifysessioninvitereceivedApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int AttributedataApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyactivesessionhandleApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopysessionhandlebyinviteidApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopysessionhandlebyuieventidApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopysessionhandleforpresenceApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CreatesessionmodificationApiLatest = 4; + + /// + /// The most recent version of the API. + /// + public const int CreatesessionsearchApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int DestroysessionApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int DumpsessionstateApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int EndsessionApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetinvitecountApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetinviteidbyindexApiLatest = 1; + + /// + /// Max length of an invite ID + /// + public const int InviteidMaxLength = 64; + + /// + /// The most recent version of the API. + /// + public const int IsuserinsessionApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int JoinsessionApiLatest = 2; + + /// + /// Maximum number of search results allowed with a given query + /// + public const int MaxSearchResults = 200; + + /// + /// Maximum number of players allowed in a single session + /// + public const int Maxregisteredplayers = 1000; + + /// + /// The most recent version of the API. + /// + public const int QueryinvitesApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int RegisterplayersApiLatest = 3; + + /// + /// The most recent version of the API. + /// + public const int RejectinviteApiLatest = 1; + + /// + /// Search for a matching bucket ID (value is string) + /// + public static readonly Utf8String SearchBucketId = "bucket"; + + /// + /// Search for empty servers only (value is true/false) + /// + public static readonly Utf8String SearchEmptyServersOnly = "emptyonly"; + + /// + /// Search for a match with min free space (value is int) + /// + public static readonly Utf8String SearchMinslotsavailable = "minslotsavailable"; + + /// + /// Search for non empty servers only (value is true/false) + /// + public static readonly Utf8String SearchNonemptyServersOnly = "nonemptyonly"; + + /// + /// The most recent version of the API. + /// + public const int SendinviteApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int SessionattributeApiLatest = SessionDetails.SessiondetailsAttributeApiLatest; + + /// + /// DEPRECATED! Use instead. + /// + public const int SessionattributedataApiLatest = AttributedataApiLatest; + + /// + /// The most recent version of the API. + /// + public const int StartsessionApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UnregisterplayersApiLatest = 2; + + /// + /// The most recent version of the API. + /// + public const int UpdatesessionApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int UpdatesessionmodificationApiLatest = 1; + + /// + /// Register to receive notifications when a user accepts a session join game via the social overlay. + /// must call RemoveNotifyJoinSessionAccepted to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a a notification is received. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyJoinSessionAccepted(ref AddNotifyJoinSessionAcceptedOptions options, object clientData, OnJoinSessionAcceptedCallback notificationFn) + { + AddNotifyJoinSessionAcceptedOptionsInternal optionsInternal = new AddNotifyJoinSessionAcceptedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnJoinSessionAcceptedCallbackInternal(OnJoinSessionAcceptedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Sessions_AddNotifyJoinSessionAccepted(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive notifications when a user accepts a session invite via the social overlay. + /// must call RemoveNotifySessionInviteAccepted to remove the notification + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when a a notification is received. + /// + /// handle representing the registered callback + /// + public ulong AddNotifySessionInviteAccepted(ref AddNotifySessionInviteAcceptedOptions options, object clientData, OnSessionInviteAcceptedCallback notificationFn) + { + AddNotifySessionInviteAcceptedOptionsInternal optionsInternal = new AddNotifySessionInviteAcceptedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnSessionInviteAcceptedCallbackInternal(OnSessionInviteAcceptedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Sessions_AddNotifySessionInviteAccepted(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Register to receive session invites. + /// must call RemoveNotifySessionInviteReceived to remove the notification + /// + /// Structure containing information about the session invite notification + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when a session invite for a user has been received + /// + /// handle representing the registered callback + /// + public ulong AddNotifySessionInviteReceived(ref AddNotifySessionInviteReceivedOptions options, object clientData, OnSessionInviteReceivedCallback notificationFn) + { + AddNotifySessionInviteReceivedOptionsInternal optionsInternal = new AddNotifySessionInviteReceivedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnSessionInviteReceivedCallbackInternal(OnSessionInviteReceivedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_Sessions_AddNotifySessionInviteReceived(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Create a handle to an existing active session. + /// + /// Structure containing information about the active session to retrieve + /// The new active session handle or null if there was an error + /// + /// if the session handle was created successfully + /// if any of the options are incorrect + /// if the API version passed in is incorrect + /// if the active session doesn't exist + /// + public Result CopyActiveSessionHandle(ref CopyActiveSessionHandleOptions options, out ActiveSession outSessionHandle) + { + CopyActiveSessionHandleOptionsInternal optionsInternal = new CopyActiveSessionHandleOptionsInternal(); + optionsInternal.Set(ref options); + + var outSessionHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Sessions_CopyActiveSessionHandle(InnerHandle, ref optionsInternal, ref outSessionHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outSessionHandleAddress, out outSessionHandle); + + return funcResult; + } + + /// + /// is used to immediately retrieve a handle to the session information from after notification of an invite + /// If the call returns an result, the out parameter, OutSessionHandle, must be passed to to release the memory associated with it. + /// + /// + /// + /// Structure containing the input parameters + /// out parameter used to receive the session handle + /// + /// if the information is available and passed out in OutSessionHandle + /// if you pass an invalid invite ID or a null pointer for the out parameter + /// if the API version passed in is incorrect + /// if the invite ID cannot be found + /// + public Result CopySessionHandleByInviteId(ref CopySessionHandleByInviteIdOptions options, out SessionDetails outSessionHandle) + { + CopySessionHandleByInviteIdOptionsInternal optionsInternal = new CopySessionHandleByInviteIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outSessionHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Sessions_CopySessionHandleByInviteId(InnerHandle, ref optionsInternal, ref outSessionHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outSessionHandleAddress, out outSessionHandle); + + return funcResult; + } + + /// + /// is used to immediately retrieve a handle to the session information from after notification of a join game event. + /// If the call returns an result, the out parameter, OutSessionHandle, must be passed to to release the memory associated with it. + /// + /// + /// + /// Structure containing the input parameters + /// out parameter used to receive the session handle + /// + /// if the information is available and passed out in OutSessionHandle + /// if you pass an invalid invite ID or a null pointer for the out parameter + /// if the API version passed in is incorrect + /// if the invite ID cannot be found + /// + public Result CopySessionHandleByUiEventId(ref CopySessionHandleByUiEventIdOptions options, out SessionDetails outSessionHandle) + { + CopySessionHandleByUiEventIdOptionsInternal optionsInternal = new CopySessionHandleByUiEventIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outSessionHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Sessions_CopySessionHandleByUiEventId(InnerHandle, ref optionsInternal, ref outSessionHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outSessionHandleAddress, out outSessionHandle); + + return funcResult; + } + + /// + /// is used to immediately retrieve a handle to the session information which was marked with bPresenceEnabled on create or join. + /// If the call returns an result, the out parameter, OutSessionHandle, must be passed to to release the memory associated with it. + /// + /// + /// + /// Structure containing the input parameters + /// out parameter used to receive the session handle + /// + /// if the information is available and passed out in OutSessionHandle + /// if you pass an invalid invite ID or a null pointer for the out parameter + /// if the API version passed in is incorrect + /// if there is no session with bPresenceEnabled + /// + public Result CopySessionHandleForPresence(ref CopySessionHandleForPresenceOptions options, out SessionDetails outSessionHandle) + { + CopySessionHandleForPresenceOptionsInternal optionsInternal = new CopySessionHandleForPresenceOptionsInternal(); + optionsInternal.Set(ref options); + + var outSessionHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Sessions_CopySessionHandleForPresence(InnerHandle, ref optionsInternal, ref outSessionHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outSessionHandleAddress, out outSessionHandle); + + return funcResult; + } + + /// + /// Creates a session modification handle (). The session modification handle is used to build a new session and can be applied with + /// The must be released by calling once it no longer needed. + /// + /// + /// + /// + /// Required fields for the creation of a session such as a name, bucketid, and max players + /// Pointer to a Session Modification Handle only set if successful + /// + /// if we successfully created the Session Modification Handle pointed at in OutSessionModificationHandle, or an error result if the input data was invalid + /// + public Result CreateSessionModification(ref CreateSessionModificationOptions options, out SessionModification outSessionModificationHandle) + { + CreateSessionModificationOptionsInternal optionsInternal = new CreateSessionModificationOptionsInternal(); + optionsInternal.Set(ref options); + + var outSessionModificationHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Sessions_CreateSessionModification(InnerHandle, ref optionsInternal, ref outSessionModificationHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outSessionModificationHandleAddress, out outSessionModificationHandle); + + return funcResult; + } + + /// + /// Create a session search handle. This handle may be modified to include various search parameters. + /// Searching is possible in three methods, all mutually exclusive + /// - set the session ID to find a specific session + /// - set the target user ID to find a specific user + /// - set session parameters to find an array of sessions that match the search criteria + /// + /// Structure containing required parameters such as the maximum number of search results + /// The new search handle or null if there was an error creating the search handle + /// + /// if the search creation completes successfully + /// if any of the options are incorrect + /// + public Result CreateSessionSearch(ref CreateSessionSearchOptions options, out SessionSearch outSessionSearchHandle) + { + CreateSessionSearchOptionsInternal optionsInternal = new CreateSessionSearchOptionsInternal(); + optionsInternal.Set(ref options); + + var outSessionSearchHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Sessions_CreateSessionSearch(InnerHandle, ref optionsInternal, ref outSessionSearchHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outSessionSearchHandleAddress, out outSessionSearchHandle); + + return funcResult; + } + + /// + /// Destroy a session given a session name + /// + /// Structure containing information about the session to be destroyed + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the destroy operation completes, either successfully or in error + /// + /// if the destroy completes successfully + /// if any of the options are incorrect + /// if the session is already marked for destroy + /// if a session to be destroyed does not exist + /// + public void DestroySession(ref DestroySessionOptions options, object clientData, OnDestroySessionCallback completionDelegate) + { + DestroySessionOptionsInternal optionsInternal = new DestroySessionOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnDestroySessionCallbackInternal(OnDestroySessionCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Sessions_DestroySession(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Dump the contents of active sessions that exist locally to the log output, purely for debug purposes + /// + /// Options related to dumping session state such as the session name + /// + /// if the output operation completes successfully + /// if the session specified does not exist + /// if any of the options are incorrect + /// + public Result DumpSessionState(ref DumpSessionStateOptions options) + { + DumpSessionStateOptionsInternal optionsInternal = new DumpSessionStateOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Sessions_DumpSessionState(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Mark a session as ended, making it available to find if "join in progress" was disabled. The session may be started again if desired + /// + /// Structure containing information about the session to be ended + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the end operation completes, either successfully or in error + /// + /// if the end completes successfully + /// if any of the options are incorrect + /// if the session is out of sync and will be updated on the next connection with the backend + /// if a session to be ended does not exist + /// + public void EndSession(ref EndSessionOptions options, object clientData, OnEndSessionCallback completionDelegate) + { + EndSessionOptionsInternal optionsInternal = new EndSessionOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnEndSessionCallbackInternal(OnEndSessionCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Sessions_EndSession(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Get the number of known invites for a given user + /// + /// the Options associated with retrieving the current invite count + /// + /// number of known invites for a given user or 0 if there is an error + /// + public uint GetInviteCount(ref GetInviteCountOptions options) + { + GetInviteCountOptionsInternal optionsInternal = new GetInviteCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Sessions_GetInviteCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Retrieve an invite ID from a list of active invites for a given user + /// + /// + /// + /// Structure containing the input parameters + /// + /// if the input is valid and an invite ID was returned + /// if any of the options are incorrect + /// if the invite doesn't exist + /// + public Result GetInviteIdByIndex(ref GetInviteIdByIndexOptions options, out Utf8String outBuffer) + { + GetInviteIdByIndexOptionsInternal optionsInternal = new GetInviteIdByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + int inOutBufferLength = InviteidMaxLength + 1; + System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength); + + var funcResult = Bindings.EOS_Sessions_GetInviteIdByIndex(InnerHandle, ref optionsInternal, outBufferAddress, ref inOutBufferLength); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outBufferAddress, out outBuffer); + Helper.Dispose(ref outBufferAddress); + + return funcResult; + } + + /// + /// returns whether or not a given user can be found in a specified session + /// + /// Structure containing the input parameters + /// + /// if the user is found in the specified session + /// if the user is not found in the specified session + /// if you pass an invalid invite ID or a null pointer for the out parameter + /// if the API version passed in is incorrect + /// if an invalid target user is specified + /// if the session specified is invalid + /// + public Result IsUserInSession(ref IsUserInSessionOptions options) + { + IsUserInSessionOptionsInternal optionsInternal = new IsUserInSessionOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Sessions_IsUserInSession(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Join a session, creating a local session under a given session name. Backend will validate various conditions to make sure it is possible to join the session. + /// + /// Structure containing information about the session to be joined + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the join operation completes, either successfully or in error + /// + /// if the join completes successfully + /// if any of the options are incorrect + /// if the session is already exists or is in the process of being joined + /// + public void JoinSession(ref JoinSessionOptions options, object clientData, OnJoinSessionCallback completionDelegate) + { + JoinSessionOptionsInternal optionsInternal = new JoinSessionOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnJoinSessionCallbackInternal(OnJoinSessionCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Sessions_JoinSession(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Retrieve all existing invites for a single user + /// + /// Structure containing information about the invites to query + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the query invites operation completes, either successfully or in error + public void QueryInvites(ref QueryInvitesOptions options, object clientData, OnQueryInvitesCallback completionDelegate) + { + QueryInvitesOptionsInternal optionsInternal = new QueryInvitesOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryInvitesCallbackInternal(OnQueryInvitesCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Sessions_QueryInvites(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Register a group of players with the session, allowing them to invite others or otherwise indicate they are part of the session for determining a full session + /// + /// Structure containing information about the session and players to be registered + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the registration operation completes, either successfully or in error + /// + /// if the register completes successfully + /// if the players to register registered previously + /// if any of the options are incorrect + /// if the session is out of sync and will be updated on the next connection with the backend + /// if a session to register players does not exist + /// if registering the requested players would drive the total number of registered players beyond (API Version <= 2) + /// if registering the requested players would drive the total number of registered players beyond (API Version > 2) + /// + public void RegisterPlayers(ref RegisterPlayersOptions options, object clientData, OnRegisterPlayersCallback completionDelegate) + { + RegisterPlayersOptionsInternal optionsInternal = new RegisterPlayersOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnRegisterPlayersCallbackInternal(OnRegisterPlayersCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Sessions_RegisterPlayers(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Reject an invite from another player. + /// + /// Structure containing information about the invite to reject + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the reject invite operation completes, either successfully or in error + /// + /// if the invite rejection completes successfully + /// if any of the options are incorrect + /// if the invite does not exist + /// + public void RejectInvite(ref RejectInviteOptions options, object clientData, OnRejectInviteCallback completionDelegate) + { + RejectInviteOptionsInternal optionsInternal = new RejectInviteOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnRejectInviteCallbackInternal(OnRejectInviteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Sessions_RejectInvite(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Unregister from receiving notifications when a user accepts a session join game via the social overlay. + /// + /// Handle representing the registered callback + public void RemoveNotifyJoinSessionAccepted(ulong inId) + { + Bindings.EOS_Sessions_RemoveNotifyJoinSessionAccepted(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister from receiving notifications when a user accepts a session invite via the social overlay. + /// + /// Handle representing the registered callback + public void RemoveNotifySessionInviteAccepted(ulong inId) + { + Bindings.EOS_Sessions_RemoveNotifySessionInviteAccepted(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Unregister from receiving session invites. + /// + /// Handle representing the registered callback + public void RemoveNotifySessionInviteReceived(ulong inId) + { + Bindings.EOS_Sessions_RemoveNotifySessionInviteReceived(InnerHandle, inId); + + Helper.RemoveCallbackByNotificationId(inId); + } + + /// + /// Send an invite to another player. User must have created the session or be registered in the session or else the call will fail + /// + /// Structure containing information about the session and player to invite + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the send invite operation completes, either successfully or in error + /// + /// if the send invite completes successfully + /// if any of the options are incorrect + /// if the session to send the invite from does not exist + /// + public void SendInvite(ref SendInviteOptions options, object clientData, OnSendInviteCallback completionDelegate) + { + SendInviteOptionsInternal optionsInternal = new SendInviteOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnSendInviteCallbackInternal(OnSendInviteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Sessions_SendInvite(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Mark a session as started, making it unable to find if session properties indicate "join in progress" is not available + /// + /// Structure containing information about the session to be started + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the start operation completes, either successfully or in error + /// + /// if the start completes successfully + /// if any of the options are incorrect + /// if the session is out of sync and will be updated on the next connection with the backend + /// if a session to be started does not exist + /// + public void StartSession(ref StartSessionOptions options, object clientData, OnStartSessionCallback completionDelegate) + { + StartSessionOptionsInternal optionsInternal = new StartSessionOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnStartSessionCallbackInternal(OnStartSessionCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Sessions_StartSession(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Unregister a group of players with the session, freeing up space for others to join + /// + /// Structure containing information about the session and players to be unregistered + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the unregistration operation completes, either successfully or in error + /// + /// if the unregister completes successfully + /// if the players to unregister were not found + /// if any of the options are incorrect + /// if the session is out of sync and will be updated on the next connection with the backend + /// if a session to be unregister players does not exist + /// + public void UnregisterPlayers(ref UnregisterPlayersOptions options, object clientData, OnUnregisterPlayersCallback completionDelegate) + { + UnregisterPlayersOptionsInternal optionsInternal = new UnregisterPlayersOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnUnregisterPlayersCallbackInternal(OnUnregisterPlayersCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Sessions_UnregisterPlayers(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Update a session given a session modification handle created by or + /// + /// Structure containing information about the session to be updated + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// A callback that is fired when the update operation completes, either successfully or in error + /// + /// if the update completes successfully + /// if any of the options are incorrect + /// if the session is out of sync and will be updated on the next connection with the backend + /// if a session to be updated does not exist + /// if a new session cannot be created because doing so would exceed the maximum allowed concurrent session count + /// + public void UpdateSession(ref UpdateSessionOptions options, object clientData, OnUpdateSessionCallback completionDelegate) + { + UpdateSessionOptionsInternal optionsInternal = new UpdateSessionOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnUpdateSessionCallbackInternal(OnUpdateSessionCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Sessions_UpdateSession(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Creates a session modification handle (). The session modification handle is used to modify an existing session and can be applied with . + /// The must be released by calling once it is no longer needed. + /// + /// + /// + /// + /// Required fields such as session name + /// Pointer to a Session Modification Handle only set if successful + /// + /// if we successfully created the Session Modification Handle pointed at in OutSessionModificationHandle, or an error result if the input data was invalid + /// + public Result UpdateSessionModification(ref UpdateSessionModificationOptions options, out SessionModification outSessionModificationHandle) + { + UpdateSessionModificationOptionsInternal optionsInternal = new UpdateSessionModificationOptionsInternal(); + optionsInternal.Set(ref options); + + var outSessionModificationHandleAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Sessions_UpdateSessionModification(InnerHandle, ref optionsInternal, ref outSessionModificationHandleAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outSessionModificationHandleAddress, out outSessionModificationHandle); + + return funcResult; + } + + [MonoPInvokeCallback(typeof(OnDestroySessionCallbackInternal))] + internal static void OnDestroySessionCallbackInternalImplementation(ref DestroySessionCallbackInfoInternal data) + { + OnDestroySessionCallback callback; + DestroySessionCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnEndSessionCallbackInternal))] + internal static void OnEndSessionCallbackInternalImplementation(ref EndSessionCallbackInfoInternal data) + { + OnEndSessionCallback callback; + EndSessionCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnJoinSessionAcceptedCallbackInternal))] + internal static void OnJoinSessionAcceptedCallbackInternalImplementation(ref JoinSessionAcceptedCallbackInfoInternal data) + { + OnJoinSessionAcceptedCallback callback; + JoinSessionAcceptedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnJoinSessionCallbackInternal))] + internal static void OnJoinSessionCallbackInternalImplementation(ref JoinSessionCallbackInfoInternal data) + { + OnJoinSessionCallback callback; + JoinSessionCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryInvitesCallbackInternal))] + internal static void OnQueryInvitesCallbackInternalImplementation(ref QueryInvitesCallbackInfoInternal data) + { + OnQueryInvitesCallback callback; + QueryInvitesCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnRegisterPlayersCallbackInternal))] + internal static void OnRegisterPlayersCallbackInternalImplementation(ref RegisterPlayersCallbackInfoInternal data) + { + OnRegisterPlayersCallback callback; + RegisterPlayersCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnRejectInviteCallbackInternal))] + internal static void OnRejectInviteCallbackInternalImplementation(ref RejectInviteCallbackInfoInternal data) + { + OnRejectInviteCallback callback; + RejectInviteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnSendInviteCallbackInternal))] + internal static void OnSendInviteCallbackInternalImplementation(ref SendInviteCallbackInfoInternal data) + { + OnSendInviteCallback callback; + SendInviteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnSessionInviteAcceptedCallbackInternal))] + internal static void OnSessionInviteAcceptedCallbackInternalImplementation(ref SessionInviteAcceptedCallbackInfoInternal data) + { + OnSessionInviteAcceptedCallback callback; + SessionInviteAcceptedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnSessionInviteReceivedCallbackInternal))] + internal static void OnSessionInviteReceivedCallbackInternalImplementation(ref SessionInviteReceivedCallbackInfoInternal data) + { + OnSessionInviteReceivedCallback callback; + SessionInviteReceivedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnStartSessionCallbackInternal))] + internal static void OnStartSessionCallbackInternalImplementation(ref StartSessionCallbackInfoInternal data) + { + OnStartSessionCallback callback; + StartSessionCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnUnregisterPlayersCallbackInternal))] + internal static void OnUnregisterPlayersCallbackInternalImplementation(ref UnregisterPlayersCallbackInfoInternal data) + { + OnUnregisterPlayersCallback callback; + UnregisterPlayersCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnUpdateSessionCallbackInternal))] + internal static void OnUpdateSessionCallbackInternalImplementation(ref UpdateSessionCallbackInfoInternal data) + { + OnUpdateSessionCallback callback; + UpdateSessionCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionsInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionsInterface.cs.meta deleted file mode 100644 index 0bde4746..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/SessionsInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 66c9b0f707dddd34dbe000d69628afe6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionCallbackInfo.cs index e149e5ba..2ae38446 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionCallbackInfo.cs @@ -1,70 +1,98 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - public class StartSessionCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(StartSessionCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as StartSessionCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct StartSessionCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + public struct StartSessionCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref StartSessionCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct StartSessionCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public void Set(ref StartSessionCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + } + + public void Set(ref StartSessionCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out StartSessionCallbackInfo output) + { + output = new StartSessionCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionCallbackInfo.cs.meta deleted file mode 100644 index 1805b407..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: af48efc831b518147933a229cc2d4b12 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionOptions.cs index b3061303..3c8df669 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class StartSessionOptions - { - /// - /// Name of the session to set in progress - /// - public string SessionName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct StartSessionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionName; - - public string SessionName - { - set - { - Helper.TryMarshalSet(ref m_SessionName, value); - } - } - - public void Set(StartSessionOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.StartsessionApiLatest; - SessionName = other.SessionName; - } - } - - public void Set(object other) - { - Set(other as StartSessionOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct StartSessionOptions + { + /// + /// Name of the session to set in progress + /// + public Utf8String SessionName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct StartSessionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionName; + + public Utf8String SessionName + { + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public void Set(ref StartSessionOptions other) + { + m_ApiVersion = SessionsInterface.StartsessionApiLatest; + SessionName = other.SessionName; + } + + public void Set(ref StartSessionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.StartsessionApiLatest; + SessionName = other.Value.SessionName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionOptions.cs.meta deleted file mode 100644 index 3fc646de..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/StartSessionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c690f3b63cbc26345a8c15df7c9fb45e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersCallbackInfo.cs index d7a98843..b4a3b612 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersCallbackInfo.cs @@ -1,70 +1,124 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - public class UnregisterPlayersCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(UnregisterPlayersCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - } - } - - public void Set(object other) - { - Set(other as UnregisterPlayersCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UnregisterPlayersCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + public struct UnregisterPlayersCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The players that successfully unregistered + /// + public ProductUserId[] UnregisteredPlayers { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref UnregisterPlayersCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + UnregisteredPlayers = other.UnregisteredPlayers; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UnregisterPlayersCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_UnregisteredPlayers; + private uint m_UnregisteredPlayersCount; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId[] UnregisteredPlayers + { + get + { + ProductUserId[] value; + Helper.GetHandle(m_UnregisteredPlayers, out value, m_UnregisteredPlayersCount); + return value; + } + + set + { + Helper.Set(value, ref m_UnregisteredPlayers, out m_UnregisteredPlayersCount); + } + } + + public void Set(ref UnregisterPlayersCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + UnregisteredPlayers = other.UnregisteredPlayers; + } + + public void Set(ref UnregisterPlayersCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + UnregisteredPlayers = other.Value.UnregisteredPlayers; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_UnregisteredPlayers); + } + + public void Get(out UnregisterPlayersCallbackInfo output) + { + output = new UnregisterPlayersCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersCallbackInfo.cs.meta deleted file mode 100644 index 715f4627..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 322f1ee121f403c4a86e143897278c61 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersOptions.cs index 533f138d..bd6c1863 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersOptions.cs @@ -1,67 +1,69 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class UnregisterPlayersOptions - { - /// - /// Name of the session for which to unregister players - /// - public string SessionName { get; set; } - - /// - /// Array of players to unregister from the session - /// - public ProductUserId[] PlayersToUnregister { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UnregisterPlayersOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionName; - private System.IntPtr m_PlayersToUnregister; - private uint m_PlayersToUnregisterCount; - - public string SessionName - { - set - { - Helper.TryMarshalSet(ref m_SessionName, value); - } - } - - public ProductUserId[] PlayersToUnregister - { - set - { - Helper.TryMarshalSet(ref m_PlayersToUnregister, value, out m_PlayersToUnregisterCount); - } - } - - public void Set(UnregisterPlayersOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.UnregisterplayersApiLatest; - SessionName = other.SessionName; - PlayersToUnregister = other.PlayersToUnregister; - } - } - - public void Set(object other) - { - Set(other as UnregisterPlayersOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionName); - Helper.TryMarshalDispose(ref m_PlayersToUnregister); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct UnregisterPlayersOptions + { + /// + /// Name of the session for which to unregister players + /// + public Utf8String SessionName { get; set; } + + /// + /// Array of players to unregister from the session + /// + public ProductUserId[] PlayersToUnregister { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UnregisterPlayersOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionName; + private System.IntPtr m_PlayersToUnregister; + private uint m_PlayersToUnregisterCount; + + public Utf8String SessionName + { + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public ProductUserId[] PlayersToUnregister + { + set + { + Helper.Set(value, ref m_PlayersToUnregister, out m_PlayersToUnregisterCount); + } + } + + public void Set(ref UnregisterPlayersOptions other) + { + m_ApiVersion = SessionsInterface.UnregisterplayersApiLatest; + SessionName = other.SessionName; + PlayersToUnregister = other.PlayersToUnregister; + } + + public void Set(ref UnregisterPlayersOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.UnregisterplayersApiLatest; + SessionName = other.Value.SessionName; + PlayersToUnregister = other.Value.PlayersToUnregister; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionName); + Helper.Dispose(ref m_PlayersToUnregister); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersOptions.cs.meta deleted file mode 100644 index 78009b99..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UnregisterPlayersOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5bb0031cc3d0db847be82d40da4204f5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionCallbackInfo.cs index 6e52ab3a..5e705378 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Output parameters for the function. - /// - public class UpdateSessionCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// Name of the session that was created/modified - /// - public string SessionName { get; private set; } - - /// - /// ID of the session that was created/modified - /// - public string SessionId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(UpdateSessionCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - SessionName = other.Value.SessionName; - SessionId = other.Value.SessionId; - } - } - - public void Set(object other) - { - Set(other as UpdateSessionCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateSessionCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_SessionName; - private System.IntPtr m_SessionId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public string SessionName - { - get - { - string value; - Helper.TryMarshalGet(m_SessionName, out value); - return value; - } - } - - public string SessionId - { - get - { - string value; - Helper.TryMarshalGet(m_SessionId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Output parameters for the function. + /// + public struct UpdateSessionCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// Name of the session that was created/modified + /// + public Utf8String SessionName { get; set; } + + /// + /// ID of the session that was created/modified + /// + public Utf8String SessionId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref UpdateSessionCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + SessionName = other.SessionName; + SessionId = other.SessionId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateSessionCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_SessionName; + private System.IntPtr m_SessionId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public Utf8String SessionName + { + get + { + Utf8String value; + Helper.Get(m_SessionName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public Utf8String SessionId + { + get + { + Utf8String value; + Helper.Get(m_SessionId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_SessionId); + } + } + + public void Set(ref UpdateSessionCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + SessionName = other.SessionName; + SessionId = other.SessionId; + } + + public void Set(ref UpdateSessionCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + SessionName = other.Value.SessionName; + SessionId = other.Value.SessionId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_SessionName); + Helper.Dispose(ref m_SessionId); + } + + public void Get(out UpdateSessionCallbackInfo output) + { + output = new UpdateSessionCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionCallbackInfo.cs.meta deleted file mode 100644 index 466ea4bd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f12d93ced4245ce48b2e2267a3215c33 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionModificationOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionModificationOptions.cs index e4ecb9c1..bc57468e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionModificationOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionModificationOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - /// - /// Input parameters for the function. - /// - public class UpdateSessionModificationOptions - { - /// - /// Name of the session to update - /// - public string SessionName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateSessionModificationOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionName; - - public string SessionName - { - set - { - Helper.TryMarshalSet(ref m_SessionName, value); - } - } - - public void Set(UpdateSessionModificationOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.UpdatesessionmodificationApiLatest; - SessionName = other.SessionName; - } - } - - public void Set(object other) - { - Set(other as UpdateSessionModificationOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + /// + /// Input parameters for the function. + /// + public struct UpdateSessionModificationOptions + { + /// + /// Name of the session to update + /// + public Utf8String SessionName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateSessionModificationOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionName; + + public Utf8String SessionName + { + set + { + Helper.Set(value, ref m_SessionName); + } + } + + public void Set(ref UpdateSessionModificationOptions other) + { + m_ApiVersion = SessionsInterface.UpdatesessionmodificationApiLatest; + SessionName = other.SessionName; + } + + public void Set(ref UpdateSessionModificationOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.UpdatesessionmodificationApiLatest; + SessionName = other.Value.SessionName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionModificationOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionModificationOptions.cs.meta deleted file mode 100644 index eb919bb7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionModificationOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d39b4dec6160e824bad600c574eaa7f7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionOptions.cs index 2317aafb..6d3afee9 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionOptions.cs @@ -1,47 +1,48 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Sessions -{ - public class UpdateSessionOptions - { - /// - /// Builder handle - /// - public SessionModification SessionModificationHandle { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UpdateSessionOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_SessionModificationHandle; - - public SessionModification SessionModificationHandle - { - set - { - Helper.TryMarshalSet(ref m_SessionModificationHandle, value); - } - } - - public void Set(UpdateSessionOptions other) - { - if (other != null) - { - m_ApiVersion = SessionsInterface.UpdatesessionApiLatest; - SessionModificationHandle = other.SessionModificationHandle; - } - } - - public void Set(object other) - { - Set(other as UpdateSessionOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_SessionModificationHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Sessions +{ + public struct UpdateSessionOptions + { + /// + /// Builder handle + /// + public SessionModification SessionModificationHandle { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UpdateSessionOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_SessionModificationHandle; + + public SessionModification SessionModificationHandle + { + set + { + Helper.Set(value, ref m_SessionModificationHandle); + } + } + + public void Set(ref UpdateSessionOptions other) + { + m_ApiVersion = SessionsInterface.UpdatesessionApiLatest; + SessionModificationHandle = other.SessionModificationHandle; + } + + public void Set(ref UpdateSessionOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = SessionsInterface.UpdatesessionApiLatest; + SessionModificationHandle = other.Value.SessionModificationHandle; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_SessionModificationHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionOptions.cs.meta deleted file mode 100644 index 52356719..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Sessions/UpdateSessionOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3bffca3eca0dc2c46977e24795905423 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats.meta deleted file mode 100644 index 6cedeec7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: aec309d5b6941014cb5641260679e5e0 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByIndexOptions.cs index 6aa0c125..8c64318b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Stats -{ - /// - /// Input parameters for the function. - /// - public class CopyStatByIndexOptions - { - /// - /// The Product User ID of the user who owns the stat - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// Index of the stat to retrieve from the cache - /// - public uint StatIndex { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyStatByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - private uint m_StatIndex; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public uint StatIndex - { - set - { - m_StatIndex = value; - } - } - - public void Set(CopyStatByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = StatsInterface.CopystatbyindexApiLatest; - TargetUserId = other.TargetUserId; - StatIndex = other.StatIndex; - } - } - - public void Set(object other) - { - Set(other as CopyStatByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Stats +{ + /// + /// Input parameters for the function. + /// + public struct CopyStatByIndexOptions + { + /// + /// The Product User ID of the user who owns the stat + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Index of the stat to retrieve from the cache + /// + public uint StatIndex { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyStatByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private uint m_StatIndex; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public uint StatIndex + { + set + { + m_StatIndex = value; + } + } + + public void Set(ref CopyStatByIndexOptions other) + { + m_ApiVersion = StatsInterface.CopystatbyindexApiLatest; + TargetUserId = other.TargetUserId; + StatIndex = other.StatIndex; + } + + public void Set(ref CopyStatByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = StatsInterface.CopystatbyindexApiLatest; + TargetUserId = other.Value.TargetUserId; + StatIndex = other.Value.StatIndex; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByIndexOptions.cs.meta deleted file mode 100644 index d5c8db01..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 721856fe80acbf041acc3a9da2aaef0e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByNameOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByNameOptions.cs index 1c2359c2..b08292ef 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByNameOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByNameOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Stats -{ - /// - /// Input parameters for the function. - /// - public class CopyStatByNameOptions - { - /// - /// The Product User ID of the user who owns the stat - /// - public ProductUserId TargetUserId { get; set; } - - /// - /// Name of the stat to retrieve from the cache - /// - public string Name { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyStatByNameOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - private System.IntPtr m_Name; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public string Name - { - set - { - Helper.TryMarshalSet(ref m_Name, value); - } - } - - public void Set(CopyStatByNameOptions other) - { - if (other != null) - { - m_ApiVersion = StatsInterface.CopystatbynameApiLatest; - TargetUserId = other.TargetUserId; - Name = other.Name; - } - } - - public void Set(object other) - { - Set(other as CopyStatByNameOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - Helper.TryMarshalDispose(ref m_Name); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Stats +{ + /// + /// Input parameters for the function. + /// + public struct CopyStatByNameOptions + { + /// + /// The Product User ID of the user who owns the stat + /// + public ProductUserId TargetUserId { get; set; } + + /// + /// Name of the stat to retrieve from the cache + /// + public Utf8String Name { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyStatByNameOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_Name; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public Utf8String Name + { + set + { + Helper.Set(value, ref m_Name); + } + } + + public void Set(ref CopyStatByNameOptions other) + { + m_ApiVersion = StatsInterface.CopystatbynameApiLatest; + TargetUserId = other.TargetUserId; + Name = other.Name; + } + + public void Set(ref CopyStatByNameOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = StatsInterface.CopystatbynameApiLatest; + TargetUserId = other.Value.TargetUserId; + Name = other.Value.Name; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_Name); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByNameOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByNameOptions.cs.meta deleted file mode 100644 index 9c1ac0e4..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/CopyStatByNameOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ab2bb23049142c748b50fee29c6f4f71 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/GetStatCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/GetStatCountOptions.cs index 3153cca9..cdefa2d1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/GetStatCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/GetStatCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Stats -{ - /// - /// Input parameters for the function. - /// - public class GetStatCountOptions - { - /// - /// The Product User ID for the user whose stats are being counted - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetStatCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_TargetUserId; - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(GetStatCountOptions other) - { - if (other != null) - { - m_ApiVersion = StatsInterface.GetstatscountApiLatest; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as GetStatCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Stats +{ + /// + /// Input parameters for the function. + /// + public struct GetStatCountOptions + { + /// + /// The Product User ID for the user whose stats are being counted + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetStatCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_TargetUserId; + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref GetStatCountOptions other) + { + m_ApiVersion = StatsInterface.GetstatscountApiLatest; + TargetUserId = other.TargetUserId; + } + + public void Set(ref GetStatCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = StatsInterface.GetstatscountApiLatest; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/GetStatCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/GetStatCountOptions.cs.meta deleted file mode 100644 index 6375a91f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/GetStatCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5ef52415eb0c06c4f88ad9232f0cbc22 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestData.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestData.cs index acf0fa62..a90b5fce 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestData.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestData.cs @@ -1,91 +1,91 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Stats -{ - /// - /// Contains information about a single stat to ingest. - /// - public class IngestData : ISettable - { - /// - /// The name of the stat to ingest. - /// - public string StatName { get; set; } - - /// - /// The amount to ingest the stat. - /// - public int IngestAmount { get; set; } - - internal void Set(IngestDataInternal? other) - { - if (other != null) - { - StatName = other.Value.StatName; - IngestAmount = other.Value.IngestAmount; - } - } - - public void Set(object other) - { - Set(other as IngestDataInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct IngestDataInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_StatName; - private int m_IngestAmount; - - public string StatName - { - get - { - string value; - Helper.TryMarshalGet(m_StatName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_StatName, value); - } - } - - public int IngestAmount - { - get - { - return m_IngestAmount; - } - - set - { - m_IngestAmount = value; - } - } - - public void Set(IngestData other) - { - if (other != null) - { - m_ApiVersion = StatsInterface.IngestdataApiLatest; - StatName = other.StatName; - IngestAmount = other.IngestAmount; - } - } - - public void Set(object other) - { - Set(other as IngestData); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_StatName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Stats +{ + /// + /// Contains information about a single stat to ingest. + /// + public struct IngestData + { + /// + /// The name of the stat to ingest. + /// + public Utf8String StatName { get; set; } + + /// + /// The amount to ingest the stat. + /// + public int IngestAmount { get; set; } + + internal void Set(ref IngestDataInternal other) + { + StatName = other.StatName; + IngestAmount = other.IngestAmount; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct IngestDataInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_StatName; + private int m_IngestAmount; + + public Utf8String StatName + { + get + { + Utf8String value; + Helper.Get(m_StatName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_StatName); + } + } + + public int IngestAmount + { + get + { + return m_IngestAmount; + } + + set + { + m_IngestAmount = value; + } + } + + public void Set(ref IngestData other) + { + m_ApiVersion = StatsInterface.IngestdataApiLatest; + StatName = other.StatName; + IngestAmount = other.IngestAmount; + } + + public void Set(ref IngestData? other) + { + if (other.HasValue) + { + m_ApiVersion = StatsInterface.IngestdataApiLatest; + StatName = other.Value.StatName; + IngestAmount = other.Value.IngestAmount; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_StatName); + } + + public void Get(out IngestData output) + { + output = new IngestData(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestData.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestData.cs.meta deleted file mode 100644 index 373b43b9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a6d6fd2a5b000234ab06cb9730a9fb02 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatCompleteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatCompleteCallbackInfo.cs index fbf32e52..31fa9281 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatCompleteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatCompleteCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Stats -{ - /// - /// Data containing the result information for an ingest stat request. - /// - public class IngestStatCompleteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, other codes indicate an error. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into . - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID for the user requesting the ingest - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The Product User ID for the user whose stat is being ingested - /// - public ProductUserId TargetUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(IngestStatCompleteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as IngestStatCompleteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct IngestStatCompleteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public ProductUserId TargetUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Stats +{ + /// + /// Data containing the result information for an ingest stat request. + /// + public struct IngestStatCompleteCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful request, other codes indicate an error. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into . + /// + public object ClientData { get; set; } + + /// + /// The Product User ID for the user requesting the ingest + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID for the user whose stat is being ingested + /// + public ProductUserId TargetUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref IngestStatCompleteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct IngestStatCompleteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref IngestStatCompleteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref IngestStatCompleteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out IngestStatCompleteCallbackInfo output) + { + output = new IngestStatCompleteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatCompleteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatCompleteCallbackInfo.cs.meta deleted file mode 100644 index f40480af..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatCompleteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: db880cfdf6063fe41be8249f8ddbacd5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatOptions.cs index 008c56b6..3891e4b3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatOptions.cs @@ -1,83 +1,86 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Stats -{ - /// - /// Input parameters for the function. - /// - public class IngestStatOptions - { - /// - /// The Product User ID of the local user requesting the ingest. Set to null for dedicated server. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// Stats to ingest. - /// - public IngestData[] Stats { get; set; } - - /// - /// The Product User ID for the user whose stat is being ingested. - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct IngestStatOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Stats; - private uint m_StatsCount; - private System.IntPtr m_TargetUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public IngestData[] Stats - { - set - { - Helper.TryMarshalSet(ref m_Stats, value, out m_StatsCount); - } - } - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(IngestStatOptions other) - { - if (other != null) - { - m_ApiVersion = StatsInterface.IngeststatApiLatest; - LocalUserId = other.LocalUserId; - Stats = other.Stats; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as IngestStatOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_Stats); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Stats +{ + /// + /// Input parameters for the function. + /// + public struct IngestStatOptions + { + /// + /// The Product User ID of the local user requesting the ingest. Set to null for dedicated server. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// Stats to ingest. + /// + public IngestData[] Stats { get; set; } + + /// + /// The Product User ID for the user whose stat is being ingested. + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct IngestStatOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Stats; + private uint m_StatsCount; + private System.IntPtr m_TargetUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public IngestData[] Stats + { + set + { + Helper.Set(ref value, ref m_Stats, out m_StatsCount); + } + } + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref IngestStatOptions other) + { + m_ApiVersion = StatsInterface.IngeststatApiLatest; + LocalUserId = other.LocalUserId; + Stats = other.Stats; + TargetUserId = other.TargetUserId; + } + + public void Set(ref IngestStatOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = StatsInterface.IngeststatApiLatest; + LocalUserId = other.Value.LocalUserId; + Stats = other.Value.Stats; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Stats); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatOptions.cs.meta deleted file mode 100644 index 7214329c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/IngestStatOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d6d1f21c6741b5b4fa472632c070301c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnIngestStatCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnIngestStatCompleteCallback.cs index 3caf4ad4..df0da2a7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnIngestStatCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnIngestStatCompleteCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Stats -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnIngestStatCompleteCallback(IngestStatCompleteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnIngestStatCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Stats +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnIngestStatCompleteCallback(ref IngestStatCompleteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnIngestStatCompleteCallbackInternal(ref IngestStatCompleteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnIngestStatCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnIngestStatCompleteCallback.cs.meta deleted file mode 100644 index f4211aee..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnIngestStatCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c238babc0dc42a440b2d363ff144b119 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallback.cs index 7512624b..59ef8b80 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallback.cs @@ -1,15 +1,15 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Stats -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// - /// A containing the output information and result - public delegate void OnQueryStatsCompleteCallback(OnQueryStatsCompleteCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryStatsCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Stats +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// + /// A containing the output information and result + public delegate void OnQueryStatsCompleteCallback(ref OnQueryStatsCompleteCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryStatsCompleteCallbackInternal(ref OnQueryStatsCompleteCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallback.cs.meta deleted file mode 100644 index 38708d2c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 226a0157f42c5994d92682a62e8fea75 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallbackInfo.cs index 367606ad..cf731a15 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Stats -{ - /// - /// Data containing the result information for querying a player's stats request. - /// - public class OnQueryStatsCompleteCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Product User ID of the user who initiated this request - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The Product User ID whose stats which were retrieved - /// - public ProductUserId TargetUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(OnQueryStatsCompleteCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as OnQueryStatsCompleteCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnQueryStatsCompleteCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public ProductUserId TargetUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Stats +{ + /// + /// Data containing the result information for querying a player's stats request. + /// + public struct OnQueryStatsCompleteCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Product User ID of the user who initiated this request + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The Product User ID whose stats which were retrieved + /// + public ProductUserId TargetUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref OnQueryStatsCompleteCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnQueryStatsCompleteCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public ProductUserId TargetUserId + { + get + { + ProductUserId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref OnQueryStatsCompleteCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref OnQueryStatsCompleteCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out OnQueryStatsCompleteCallbackInfo output) + { + output = new OnQueryStatsCompleteCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallbackInfo.cs.meta deleted file mode 100644 index 09aa3efa..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/OnQueryStatsCompleteCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5844fb70912d3034796791649bc190fc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/QueryStatsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/QueryStatsOptions.cs index 90d40d0e..26bfa076 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/QueryStatsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/QueryStatsOptions.cs @@ -1,113 +1,118 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Stats -{ - /// - /// Input parameters for the function. - /// - public class QueryStatsOptions - { - /// - /// The Product User ID of the local user requesting the stats. Set to null for dedicated server. - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// If not then this is the POSIX timestamp for start time (Optional). - /// - public System.DateTimeOffset? StartTime { get; set; } - - /// - /// If not then this is the POSIX timestamp for end time (Optional). - /// - public System.DateTimeOffset? EndTime { get; set; } - - /// - /// An array of stat names to query for (Optional). - /// - public string[] StatNames { get; set; } - - /// - /// The Product User ID for the user whose stats are being retrieved - /// - public ProductUserId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryStatsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private long m_StartTime; - private long m_EndTime; - private System.IntPtr m_StatNames; - private uint m_StatNamesCount; - private System.IntPtr m_TargetUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public System.DateTimeOffset? StartTime - { - set - { - Helper.TryMarshalSet(ref m_StartTime, value); - } - } - - public System.DateTimeOffset? EndTime - { - set - { - Helper.TryMarshalSet(ref m_EndTime, value); - } - } - - public string[] StatNames - { - set - { - Helper.TryMarshalSet(ref m_StatNames, value, out m_StatNamesCount, true); - } - } - - public ProductUserId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(QueryStatsOptions other) - { - if (other != null) - { - m_ApiVersion = StatsInterface.QuerystatsApiLatest; - LocalUserId = other.LocalUserId; - StartTime = other.StartTime; - EndTime = other.EndTime; - StatNames = other.StatNames; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as QueryStatsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_StatNames); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Stats +{ + /// + /// Input parameters for the function. + /// + public struct QueryStatsOptions + { + /// + /// The Product User ID of the local user requesting the stats. Set to null for dedicated server. + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// If not then this is the POSIX timestamp for start time (Optional). + /// + public System.DateTimeOffset? StartTime { get; set; } + + /// + /// If not then this is the POSIX timestamp for end time (Optional). + /// + public System.DateTimeOffset? EndTime { get; set; } + + /// + /// An array of stat names to query for (Optional). + /// + public Utf8String[] StatNames { get; set; } + + /// + /// The Product User ID for the user whose stats are being retrieved + /// + public ProductUserId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryStatsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private long m_StartTime; + private long m_EndTime; + private System.IntPtr m_StatNames; + private uint m_StatNamesCount; + private System.IntPtr m_TargetUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public System.DateTimeOffset? StartTime + { + set + { + Helper.Set(value, ref m_StartTime); + } + } + + public System.DateTimeOffset? EndTime + { + set + { + Helper.Set(value, ref m_EndTime); + } + } + + public Utf8String[] StatNames + { + set + { + Helper.Set(value, ref m_StatNames, true, out m_StatNamesCount); + } + } + + public ProductUserId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref QueryStatsOptions other) + { + m_ApiVersion = StatsInterface.QuerystatsApiLatest; + LocalUserId = other.LocalUserId; + StartTime = other.StartTime; + EndTime = other.EndTime; + StatNames = other.StatNames; + TargetUserId = other.TargetUserId; + } + + public void Set(ref QueryStatsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = StatsInterface.QuerystatsApiLatest; + LocalUserId = other.Value.LocalUserId; + StartTime = other.Value.StartTime; + EndTime = other.Value.EndTime; + StatNames = other.Value.StatNames; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_StatNames); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/QueryStatsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/QueryStatsOptions.cs.meta deleted file mode 100644 index 8f343d5c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/QueryStatsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 266e4a048a1040d4f87c925e7eb1795b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/Stat.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/Stat.cs index 6f8e3c1a..6c42c89a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/Stat.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/Stat.cs @@ -1,137 +1,139 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Stats -{ - /// - /// Contains information about a single player stat. - /// - public class Stat : ISettable - { - /// - /// Name of the stat. - /// - public string Name { get; set; } - - /// - /// If not then this is the POSIX timestamp for start time. - /// - public System.DateTimeOffset? StartTime { get; set; } - - /// - /// If not then this is the POSIX timestamp for end time. - /// - public System.DateTimeOffset? EndTime { get; set; } - - /// - /// Current value for the stat. - /// - public int Value { get; set; } - - internal void Set(StatInternal? other) - { - if (other != null) - { - Name = other.Value.Name; - StartTime = other.Value.StartTime; - EndTime = other.Value.EndTime; - Value = other.Value.Value; - } - } - - public void Set(object other) - { - Set(other as StatInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct StatInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Name; - private long m_StartTime; - private long m_EndTime; - private int m_Value; - - public string Name - { - get - { - string value; - Helper.TryMarshalGet(m_Name, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Name, value); - } - } - - public System.DateTimeOffset? StartTime - { - get - { - System.DateTimeOffset? value; - Helper.TryMarshalGet(m_StartTime, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_StartTime, value); - } - } - - public System.DateTimeOffset? EndTime - { - get - { - System.DateTimeOffset? value; - Helper.TryMarshalGet(m_EndTime, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_EndTime, value); - } - } - - public int Value - { - get - { - return m_Value; - } - - set - { - m_Value = value; - } - } - - public void Set(Stat other) - { - if (other != null) - { - m_ApiVersion = StatsInterface.StatApiLatest; - Name = other.Name; - StartTime = other.StartTime; - EndTime = other.EndTime; - Value = other.Value; - } - } - - public void Set(object other) - { - Set(other as Stat); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Name); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Stats +{ + /// + /// Contains information about a single player stat. + /// + public struct Stat + { + /// + /// Name of the stat. + /// + public Utf8String Name { get; set; } + + /// + /// If not then this is the POSIX timestamp for start time. + /// + public System.DateTimeOffset? StartTime { get; set; } + + /// + /// If not then this is the POSIX timestamp for end time. + /// + public System.DateTimeOffset? EndTime { get; set; } + + /// + /// Current value for the stat. + /// + public int Value { get; set; } + + internal void Set(ref StatInternal other) + { + Name = other.Name; + StartTime = other.StartTime; + EndTime = other.EndTime; + Value = other.Value; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct StatInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Name; + private long m_StartTime; + private long m_EndTime; + private int m_Value; + + public Utf8String Name + { + get + { + Utf8String value; + Helper.Get(m_Name, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Name); + } + } + + public System.DateTimeOffset? StartTime + { + get + { + System.DateTimeOffset? value; + Helper.Get(m_StartTime, out value); + return value; + } + + set + { + Helper.Set(value, ref m_StartTime); + } + } + + public System.DateTimeOffset? EndTime + { + get + { + System.DateTimeOffset? value; + Helper.Get(m_EndTime, out value); + return value; + } + + set + { + Helper.Set(value, ref m_EndTime); + } + } + + public int Value + { + get + { + return m_Value; + } + + set + { + m_Value = value; + } + } + + public void Set(ref Stat other) + { + m_ApiVersion = StatsInterface.StatApiLatest; + Name = other.Name; + StartTime = other.StartTime; + EndTime = other.EndTime; + Value = other.Value; + } + + public void Set(ref Stat? other) + { + if (other.HasValue) + { + m_ApiVersion = StatsInterface.StatApiLatest; + Name = other.Value.Name; + StartTime = other.Value.StartTime; + EndTime = other.Value.EndTime; + Value = other.Value.Value; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Name); + } + + public void Get(out Stat output) + { + output = new Stat(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/Stat.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/Stat.cs.meta deleted file mode 100644 index 35cdebd9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/Stat.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 11ee1921aba8ed1499f18f643f95faef -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/StatsInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/StatsInterface.cs index a9f871d8..c72b5d6d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/StatsInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/StatsInterface.cs @@ -1,227 +1,229 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Stats -{ - public sealed partial class StatsInterface : Handle - { - public StatsInterface() - { - } - - public StatsInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the struct. - /// - public const int CopystatbyindexApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int CopystatbynameApiLatest = 1; - - /// - /// DEPRECATED! Use instead. - /// - public const int GetstatcountApiLatest = GetstatscountApiLatest; - - /// - /// The most recent version of the API. - /// - public const int GetstatscountApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int IngestdataApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int IngeststatApiLatest = 3; - - /// - /// Maximum number of stats that can be ingested in a single operation. - /// - public const int MaxIngestStats = 3000; - - /// - /// Maximum number of stats that can be queried in a single operation. - /// - public const int MaxQueryStats = 1000; - - /// - /// The most recent version of the struct. - /// - public const int QuerystatsApiLatest = 3; - - /// - /// The most recent version of the struct. - /// - public const int StatApiLatest = 1; - - /// - /// Timestamp value representing an undefined StartTime or EndTime for - /// - public const int TimeUndefined = -1; - - /// - /// Fetches a stat from a given index. Use when finished with the data. - /// - /// - /// Structure containing the Epic Online Services Account ID and index being accessed - /// The stat data for the given index, if it exists and is valid - /// - /// if the information is available and passed out in OutStat - /// if you pass a null pointer for the out parameter - /// if the stat is not found - /// - public Result CopyStatByIndex(CopyStatByIndexOptions options, out Stat outStat) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outStatAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Stats_CopyStatByIndex(InnerHandle, optionsAddress, ref outStatAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outStatAddress, out outStat)) - { - Bindings.EOS_Stats_Stat_Release(outStatAddress); - } - - return funcResult; - } - - /// - /// Fetches a stat from cached stats by name. Use when finished with the data. - /// - /// - /// Structure containing the Epic Online Services Account ID and name being accessed - /// The stat data for the given name, if it exists and is valid - /// - /// if the information is available and passed out in OutStat - /// if you pass a null pointer for the out parameter - /// if the stat is not found - /// - public Result CopyStatByName(CopyStatByNameOptions options, out Stat outStat) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outStatAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_Stats_CopyStatByName(InnerHandle, optionsAddress, ref outStatAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outStatAddress, out outStat)) - { - Bindings.EOS_Stats_Stat_Release(outStatAddress); - } - - return funcResult; - } - - /// - /// Fetch the number of stats that are cached locally. - /// - /// - /// The Options associated with retrieving the stat count - /// - /// Number of stats or 0 if there is an error - /// - public uint GetStatsCount(GetStatCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Stats_GetStatsCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Ingest a stat by the amount specified in Options. - /// When the operation is complete and the delegate is triggered the stat will be uploaded to the backend to be processed. - /// The stat may not be updated immediately and an achievement using the stat may take a while to be unlocked once the stat has been uploaded. - /// - /// Structure containing information about the stat we're ingesting. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// This function is called when the ingest stat operation completes. - /// - /// if the operation completes successfully - /// if any of the options are incorrect - /// if target user ID is missing or incorrect - /// - public void IngestStat(IngestStatOptions options, object clientData, OnIngestStatCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnIngestStatCompleteCallbackInternal(OnIngestStatCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Stats_IngestStat(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Query for a list of stats for a specific player. - /// - /// Structure containing information about the player whose stats we're retrieving. - /// Arbitrary data that is passed back to you in the CompletionDelegate - /// This function is called when the query player stats operation completes. - /// - /// if the operation completes successfully - /// if any of the options are incorrect - /// if target user ID is missing or incorrect - /// - public void QueryStats(QueryStatsOptions options, object clientData, OnQueryStatsCompleteCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryStatsCompleteCallbackInternal(OnQueryStatsCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_Stats_QueryStats(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnIngestStatCompleteCallbackInternal))] - internal static void OnIngestStatCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnIngestStatCompleteCallback callback; - IngestStatCompleteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryStatsCompleteCallbackInternal))] - internal static void OnQueryStatsCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnQueryStatsCompleteCallback callback; - OnQueryStatsCompleteCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Stats +{ + public sealed partial class StatsInterface : Handle + { + public StatsInterface() + { + } + + public StatsInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the struct. + /// + public const int CopystatbyindexApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int CopystatbynameApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int GetstatcountApiLatest = GetstatscountApiLatest; + + /// + /// The most recent version of the API. + /// + public const int GetstatscountApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int IngestdataApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int IngeststatApiLatest = 3; + + /// + /// Maximum number of stats that can be ingested in a single operation. + /// + public const int MaxIngestStats = 3000; + + /// + /// Maximum number of stats that can be queried in a single operation. + /// + public const int MaxQueryStats = 1000; + + /// + /// The most recent version of the struct. + /// + public const int QuerystatsApiLatest = 3; + + /// + /// The most recent version of the struct. + /// + public const int StatApiLatest = 1; + + /// + /// Timestamp value representing an undefined StartTime or EndTime for + /// + public const int TimeUndefined = -1; + + /// + /// Fetches a stat from a given index. Use when finished with the data. + /// + /// + /// Structure containing the Product User ID and index being accessed + /// The stat data for the given index, if it exists and is valid + /// + /// if the information is available and passed out in OutStat + /// if you pass a null pointer for the out parameter + /// if the stat is not found + /// + public Result CopyStatByIndex(ref CopyStatByIndexOptions options, out Stat? outStat) + { + CopyStatByIndexOptionsInternal optionsInternal = new CopyStatByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outStatAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Stats_CopyStatByIndex(InnerHandle, ref optionsInternal, ref outStatAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outStatAddress, out outStat); + if (outStat != null) + { + Bindings.EOS_Stats_Stat_Release(outStatAddress); + } + + return funcResult; + } + + /// + /// Fetches a stat from cached stats by name. Use when finished with the data. + /// + /// + /// Structure containing the Product User ID and name being accessed + /// The stat data for the given name, if it exists and is valid + /// + /// if the information is available and passed out in OutStat + /// if you pass a null pointer for the out parameter + /// if the stat is not found + /// + public Result CopyStatByName(ref CopyStatByNameOptions options, out Stat? outStat) + { + CopyStatByNameOptionsInternal optionsInternal = new CopyStatByNameOptionsInternal(); + optionsInternal.Set(ref options); + + var outStatAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_Stats_CopyStatByName(InnerHandle, ref optionsInternal, ref outStatAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outStatAddress, out outStat); + if (outStat != null) + { + Bindings.EOS_Stats_Stat_Release(outStatAddress); + } + + return funcResult; + } + + /// + /// Fetch the number of stats that are cached locally. + /// + /// + /// The Options associated with retrieving the stat count + /// + /// Number of stats or 0 if there is an error + /// + public uint GetStatsCount(ref GetStatCountOptions options) + { + GetStatCountOptionsInternal optionsInternal = new GetStatCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_Stats_GetStatsCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Ingest a stat by the amount specified in Options. + /// When the operation is complete and the delegate is triggered the stat will be uploaded to the backend to be processed. + /// The stat may not be updated immediately and an achievement using the stat may take a while to be unlocked once the stat has been uploaded. + /// + /// Structure containing information about the stat we're ingesting. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// This function is called when the ingest stat operation completes. + /// + /// if the operation completes successfully + /// if any of the options are incorrect + /// if target user ID is missing or incorrect + /// + public void IngestStat(ref IngestStatOptions options, object clientData, OnIngestStatCompleteCallback completionDelegate) + { + IngestStatOptionsInternal optionsInternal = new IngestStatOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnIngestStatCompleteCallbackInternal(OnIngestStatCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Stats_IngestStat(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Query for a list of stats for a specific player. + /// + /// Structure containing information about the player whose stats we're retrieving. + /// Arbitrary data that is passed back to you in the CompletionDelegate + /// This function is called when the query player stats operation completes. + /// + /// if the operation completes successfully + /// if any of the options are incorrect + /// if target user ID is missing or incorrect + /// + public void QueryStats(ref QueryStatsOptions options, object clientData, OnQueryStatsCompleteCallback completionDelegate) + { + QueryStatsOptionsInternal optionsInternal = new QueryStatsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryStatsCompleteCallbackInternal(OnQueryStatsCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_Stats_QueryStats(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnIngestStatCompleteCallbackInternal))] + internal static void OnIngestStatCompleteCallbackInternalImplementation(ref IngestStatCompleteCallbackInfoInternal data) + { + OnIngestStatCompleteCallback callback; + IngestStatCompleteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryStatsCompleteCallbackInternal))] + internal static void OnQueryStatsCompleteCallbackInternalImplementation(ref OnQueryStatsCompleteCallbackInfoInternal data) + { + OnQueryStatsCompleteCallback callback; + OnQueryStatsCompleteCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/StatsInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/StatsInterface.cs.meta deleted file mode 100644 index 2ce3b3b0..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Stats/StatsInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2ab2e28a1a9760849af1bc826c310729 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage.meta deleted file mode 100644 index 4ba8c6f7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7ab5a5261639bcb45ab6f3245725e0a5 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataAtIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataAtIndexOptions.cs index 14ac4855..b03296c3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataAtIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataAtIndexOptions.cs @@ -1,65 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Input data for the CopyFileMetadataAtIndex function - /// - public class CopyFileMetadataAtIndexOptions - { - /// - /// Product User ID of the local user who is requesting file metadata (optional) - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The index to get data for - /// - public uint Index { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyFileMetadataAtIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private uint m_Index; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public uint Index - { - set - { - m_Index = value; - } - } - - public void Set(CopyFileMetadataAtIndexOptions other) - { - if (other != null) - { - m_ApiVersion = TitleStorageInterface.CopyfilemetadataatindexoptionsApiLatest; - LocalUserId = other.LocalUserId; - Index = other.Index; - } - } - - public void Set(object other) - { - Set(other as CopyFileMetadataAtIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Input data for the CopyFileMetadataAtIndex function + /// + public struct CopyFileMetadataAtIndexOptions + { + /// + /// Product User ID of the local user who is requesting file metadata (optional) + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The index to get data for + /// + public uint Index { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyFileMetadataAtIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private uint m_Index; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint Index + { + set + { + m_Index = value; + } + } + + public void Set(ref CopyFileMetadataAtIndexOptions other) + { + m_ApiVersion = TitleStorageInterface.CopyfilemetadataatindexApiLatest; + LocalUserId = other.LocalUserId; + Index = other.Index; + } + + public void Set(ref CopyFileMetadataAtIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = TitleStorageInterface.CopyfilemetadataatindexApiLatest; + LocalUserId = other.Value.LocalUserId; + Index = other.Value.Index; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataAtIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataAtIndexOptions.cs.meta deleted file mode 100644 index 31339c33..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataAtIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 61d7b9bc4245dfd4cb1e2b19ab55bacb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataByFilenameOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataByFilenameOptions.cs index 632826f2..fbdd0446 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataByFilenameOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataByFilenameOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Input data for the CopyFileMetadataByFilename function - /// - public class CopyFileMetadataByFilenameOptions - { - /// - /// Product User ID of the local user who is requesting file metadata (optional) - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The file's name to get data for - /// - public string Filename { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyFileMetadataByFilenameOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string Filename - { - set - { - Helper.TryMarshalSet(ref m_Filename, value); - } - } - - public void Set(CopyFileMetadataByFilenameOptions other) - { - if (other != null) - { - m_ApiVersion = TitleStorageInterface.CopyfilemetadatabyfilenameoptionsApiLatest; - LocalUserId = other.LocalUserId; - Filename = other.Filename; - } - } - - public void Set(object other) - { - Set(other as CopyFileMetadataByFilenameOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_Filename); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Input data for the CopyFileMetadataByFilename function + /// + public struct CopyFileMetadataByFilenameOptions + { + /// + /// Product User ID of the local user who is requesting file metadata (optional) + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The file's name to get data for + /// + public Utf8String Filename { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyFileMetadataByFilenameOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + set + { + Helper.Set(value, ref m_Filename); + } + } + + public void Set(ref CopyFileMetadataByFilenameOptions other) + { + m_ApiVersion = TitleStorageInterface.CopyfilemetadatabyfilenameApiLatest; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + } + + public void Set(ref CopyFileMetadataByFilenameOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = TitleStorageInterface.CopyfilemetadatabyfilenameApiLatest; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataByFilenameOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataByFilenameOptions.cs.meta deleted file mode 100644 index 88df7805..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/CopyFileMetadataByFilenameOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4e4ebc05fb60fe64f8ada28dd5394daa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheCallbackInfo.cs index fc0e3c6f..46be13b7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Structure containing the result of a delete cache operation - /// - public class DeleteCacheCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into the delete cache request - /// - public object ClientData { get; private set; } - - /// - /// Product User ID of the local user who initiated this request (optional, will only be present in case it was provided during operation start) - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(DeleteCacheCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as DeleteCacheCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DeleteCacheCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Structure containing the result of a delete cache operation + /// + public struct DeleteCacheCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful request, other codes indicate an error + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into the delete cache request + /// + public object ClientData { get; set; } + + /// + /// Product User ID of the local user who initiated this request (optional, will only be present in case it was provided during operation start) + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref DeleteCacheCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DeleteCacheCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref DeleteCacheCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref DeleteCacheCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out DeleteCacheCallbackInfo output) + { + output = new DeleteCacheCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheCallbackInfo.cs.meta deleted file mode 100644 index 826d056e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 058906f01eedc7746a95f7c302b8ce08 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheOptions.cs index 9c48d672..4cf00de8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Input data for the function - /// - public class DeleteCacheOptions - { - /// - /// Product User ID of the local user who is deleting his cache (optional) - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct DeleteCacheOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(DeleteCacheOptions other) - { - if (other != null) - { - m_ApiVersion = TitleStorageInterface.DeletecacheoptionsApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as DeleteCacheOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Input data for the function + /// + public struct DeleteCacheOptions + { + /// + /// Product User ID of the local user who is deleting his cache (optional) + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct DeleteCacheOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref DeleteCacheOptions other) + { + m_ApiVersion = TitleStorageInterface.DeletecacheApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref DeleteCacheOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = TitleStorageInterface.DeletecacheApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheOptions.cs.meta deleted file mode 100644 index bb966ef2..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/DeleteCacheOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f320bfe7268f4d144b1ac7adbb692bc5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileMetadata.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileMetadata.cs index 53159fbe..7416edea 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileMetadata.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileMetadata.cs @@ -1,136 +1,138 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Metadata information for a specific file - /// - public class FileMetadata : ISettable - { - /// - /// The total size of the file in bytes (Includes file header in addition to file contents). - /// - public uint FileSizeBytes { get; set; } - - /// - /// The MD5 Hash of the entire file (including additional file header), in hex digits - /// - public string MD5Hash { get; set; } - - /// - /// The file's name - /// - public string Filename { get; set; } - - /// - /// The size of data (payload) in file in unencrypted (original) form. - /// - public uint UnencryptedDataSizeBytes { get; set; } - - internal void Set(FileMetadataInternal? other) - { - if (other != null) - { - FileSizeBytes = other.Value.FileSizeBytes; - MD5Hash = other.Value.MD5Hash; - Filename = other.Value.Filename; - UnencryptedDataSizeBytes = other.Value.UnencryptedDataSizeBytes; - } - } - - public void Set(object other) - { - Set(other as FileMetadataInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct FileMetadataInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private uint m_FileSizeBytes; - private System.IntPtr m_MD5Hash; - private System.IntPtr m_Filename; - private uint m_UnencryptedDataSizeBytes; - - public uint FileSizeBytes - { - get - { - return m_FileSizeBytes; - } - - set - { - m_FileSizeBytes = value; - } - } - - public string MD5Hash - { - get - { - string value; - Helper.TryMarshalGet(m_MD5Hash, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_MD5Hash, value); - } - } - - public string Filename - { - get - { - string value; - Helper.TryMarshalGet(m_Filename, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Filename, value); - } - } - - public uint UnencryptedDataSizeBytes - { - get - { - return m_UnencryptedDataSizeBytes; - } - - set - { - m_UnencryptedDataSizeBytes = value; - } - } - - public void Set(FileMetadata other) - { - if (other != null) - { - m_ApiVersion = TitleStorageInterface.FilemetadataApiLatest; - FileSizeBytes = other.FileSizeBytes; - MD5Hash = other.MD5Hash; - Filename = other.Filename; - UnencryptedDataSizeBytes = other.UnencryptedDataSizeBytes; - } - } - - public void Set(object other) - { - Set(other as FileMetadata); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_MD5Hash); - Helper.TryMarshalDispose(ref m_Filename); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Metadata information for a specific file + /// + public struct FileMetadata + { + /// + /// The total size of the file in bytes (Includes file header in addition to file contents). + /// + public uint FileSizeBytes { get; set; } + + /// + /// The MD5 Hash of the entire file (including additional file header), in hex digits + /// + public Utf8String MD5Hash { get; set; } + + /// + /// The file's name + /// + public Utf8String Filename { get; set; } + + /// + /// The size of data (payload) in file in unencrypted (original) form. + /// + public uint UnencryptedDataSizeBytes { get; set; } + + internal void Set(ref FileMetadataInternal other) + { + FileSizeBytes = other.FileSizeBytes; + MD5Hash = other.MD5Hash; + Filename = other.Filename; + UnencryptedDataSizeBytes = other.UnencryptedDataSizeBytes; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct FileMetadataInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private uint m_FileSizeBytes; + private System.IntPtr m_MD5Hash; + private System.IntPtr m_Filename; + private uint m_UnencryptedDataSizeBytes; + + public uint FileSizeBytes + { + get + { + return m_FileSizeBytes; + } + + set + { + m_FileSizeBytes = value; + } + } + + public Utf8String MD5Hash + { + get + { + Utf8String value; + Helper.Get(m_MD5Hash, out value); + return value; + } + + set + { + Helper.Set(value, ref m_MD5Hash); + } + } + + public Utf8String Filename + { + get + { + Utf8String value; + Helper.Get(m_Filename, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Filename); + } + } + + public uint UnencryptedDataSizeBytes + { + get + { + return m_UnencryptedDataSizeBytes; + } + + set + { + m_UnencryptedDataSizeBytes = value; + } + } + + public void Set(ref FileMetadata other) + { + m_ApiVersion = TitleStorageInterface.FilemetadataApiLatest; + FileSizeBytes = other.FileSizeBytes; + MD5Hash = other.MD5Hash; + Filename = other.Filename; + UnencryptedDataSizeBytes = other.UnencryptedDataSizeBytes; + } + + public void Set(ref FileMetadata? other) + { + if (other.HasValue) + { + m_ApiVersion = TitleStorageInterface.FilemetadataApiLatest; + FileSizeBytes = other.Value.FileSizeBytes; + MD5Hash = other.Value.MD5Hash; + Filename = other.Value.Filename; + UnencryptedDataSizeBytes = other.Value.UnencryptedDataSizeBytes; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_MD5Hash); + Helper.Dispose(ref m_Filename); + } + + public void Get(out FileMetadata output) + { + output = new FileMetadata(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileMetadata.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileMetadata.cs.meta deleted file mode 100644 index 8fc817d6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileMetadata.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9828cfccae94a81469fa8fbf486028eb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileTransferProgressCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileTransferProgressCallbackInfo.cs index 0451ff71..db5935c2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileTransferProgressCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileTransferProgressCallbackInfo.cs @@ -1,122 +1,173 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Structure containing the information about a file transfer in progress (or one that has completed) - /// - public class FileTransferProgressCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into the file request - /// - public object ClientData { get; private set; } - - /// - /// Product User ID of the local user who initiated this request (optional, will only be present in case it was provided during operation start) - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The file name of the file being transferred - /// - public string Filename { get; private set; } - - /// - /// Amount of bytes transferred so far in this request, out of TotalFileSizeBytes - /// - public uint BytesTransferred { get; private set; } - - /// - /// The total size of the file being transferred (Includes file header in addition to file contents, can be slightly more than expected) - /// - public uint TotalFileSizeBytes { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(FileTransferProgressCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - Filename = other.Value.Filename; - BytesTransferred = other.Value.BytesTransferred; - TotalFileSizeBytes = other.Value.TotalFileSizeBytes; - } - } - - public void Set(object other) - { - Set(other as FileTransferProgressCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct FileTransferProgressCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - private uint m_BytesTransferred; - private uint m_TotalFileSizeBytes; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string Filename - { - get - { - string value; - Helper.TryMarshalGet(m_Filename, out value); - return value; - } - } - - public uint BytesTransferred - { - get - { - return m_BytesTransferred; - } - } - - public uint TotalFileSizeBytes - { - get - { - return m_TotalFileSizeBytes; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Structure containing the information about a file transfer in progress (or one that has completed) + /// + public struct FileTransferProgressCallbackInfo : ICallbackInfo + { + /// + /// Client-specified data passed into the file request + /// + public object ClientData { get; set; } + + /// + /// Product User ID of the local user who initiated this request (optional, will only be present in case it was provided during operation start) + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The file name of the file being transferred + /// + public Utf8String Filename { get; set; } + + /// + /// Amount of bytes transferred so far in this request, out of TotalFileSizeBytes + /// + public uint BytesTransferred { get; set; } + + /// + /// The total size of the file being transferred (Includes file header in addition to file contents, can be slightly more than expected) + /// + public uint TotalFileSizeBytes { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref FileTransferProgressCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + BytesTransferred = other.BytesTransferred; + TotalFileSizeBytes = other.TotalFileSizeBytes; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct FileTransferProgressCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + private uint m_BytesTransferred; + private uint m_TotalFileSizeBytes; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + get + { + Utf8String value; + Helper.Get(m_Filename, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Filename); + } + } + + public uint BytesTransferred + { + get + { + return m_BytesTransferred; + } + + set + { + m_BytesTransferred = value; + } + } + + public uint TotalFileSizeBytes + { + get + { + return m_TotalFileSizeBytes; + } + + set + { + m_TotalFileSizeBytes = value; + } + } + + public void Set(ref FileTransferProgressCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + BytesTransferred = other.BytesTransferred; + TotalFileSizeBytes = other.TotalFileSizeBytes; + } + + public void Set(ref FileTransferProgressCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + BytesTransferred = other.Value.BytesTransferred; + TotalFileSizeBytes = other.Value.TotalFileSizeBytes; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + } + + public void Get(out FileTransferProgressCallbackInfo output) + { + output = new FileTransferProgressCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileTransferProgressCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileTransferProgressCallbackInfo.cs.meta deleted file mode 100644 index ad61fca6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/FileTransferProgressCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d935e779a21c8fc4895c6b30f49c4b93 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/GetFileMetadataCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/GetFileMetadataCountOptions.cs index fcb9450a..f3c6fe0d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/GetFileMetadataCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/GetFileMetadataCountOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Input data for the function - /// - public class GetFileMetadataCountOptions - { - /// - /// Product User ID of the local user who is requesting file metadata (optional) - /// - public ProductUserId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetFileMetadataCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(GetFileMetadataCountOptions other) - { - if (other != null) - { - m_ApiVersion = TitleStorageInterface.GetfilemetadatacountoptionsApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as GetFileMetadataCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Input data for the function + /// + public struct GetFileMetadataCountOptions + { + /// + /// Product User ID of the local user who is requesting file metadata (optional) + /// + public ProductUserId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetFileMetadataCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref GetFileMetadataCountOptions other) + { + m_ApiVersion = TitleStorageInterface.GetfilemetadatacountApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref GetFileMetadataCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = TitleStorageInterface.GetfilemetadatacountApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/GetFileMetadataCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/GetFileMetadataCountOptions.cs.meta deleted file mode 100644 index ede5414d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/GetFileMetadataCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8478a9aba55215e4b82a6b4caa32b7af -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnDeleteCacheCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnDeleteCacheCompleteCallback.cs index ab02f06d..8c2c19d7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnDeleteCacheCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnDeleteCacheCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Callback for when completes - /// - public delegate void OnDeleteCacheCompleteCallback(DeleteCacheCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnDeleteCacheCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Callback for when completes + /// + public delegate void OnDeleteCacheCompleteCallback(ref DeleteCacheCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnDeleteCacheCompleteCallbackInternal(ref DeleteCacheCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnDeleteCacheCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnDeleteCacheCompleteCallback.cs.meta deleted file mode 100644 index 397ae139..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnDeleteCacheCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a78820ef8c651d141928dd6aaa87e808 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnFileTransferProgressCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnFileTransferProgressCallback.cs index ca0e84d2..c0ef2a19 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnFileTransferProgressCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnFileTransferProgressCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Callback for when there is a progress update for a file transfer in progress - /// - public delegate void OnFileTransferProgressCallback(FileTransferProgressCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnFileTransferProgressCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Callback for when there is a progress update for a file transfer in progress + /// + public delegate void OnFileTransferProgressCallback(ref FileTransferProgressCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnFileTransferProgressCallbackInternal(ref FileTransferProgressCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnFileTransferProgressCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnFileTransferProgressCallback.cs.meta deleted file mode 100644 index d4ca2a7a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnFileTransferProgressCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 17451e272113cc247a4ee704718685c3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileCompleteCallback.cs index ece261bc..1b20f593 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Callback for when completes - /// - public delegate void OnQueryFileCompleteCallback(QueryFileCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryFileCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Callback for when completes + /// + public delegate void OnQueryFileCompleteCallback(ref QueryFileCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryFileCompleteCallbackInternal(ref QueryFileCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileCompleteCallback.cs.meta deleted file mode 100644 index 654c23c3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7296d25048f6d5a4eb32c88e49e883e0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileListCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileListCompleteCallback.cs index e2a033b2..88a71e01 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileListCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileListCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Callback for when completes - /// - public delegate void OnQueryFileListCompleteCallback(QueryFileListCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryFileListCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Callback for when completes + /// + public delegate void OnQueryFileListCompleteCallback(ref QueryFileListCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryFileListCompleteCallbackInternal(ref QueryFileListCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileListCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileListCompleteCallback.cs.meta deleted file mode 100644 index a21f9f6a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnQueryFileListCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7488ce7ed7339ca4a9f4f51365e50129 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileCompleteCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileCompleteCallback.cs index 5554c755..ef12c0f0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileCompleteCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileCompleteCallback.cs @@ -1,13 +1,13 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Callback for when completes - /// - public delegate void OnReadFileCompleteCallback(ReadFileCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnReadFileCompleteCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Callback for when completes + /// + public delegate void OnReadFileCompleteCallback(ref ReadFileCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnReadFileCompleteCallbackInternal(ref ReadFileCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileCompleteCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileCompleteCallback.cs.meta deleted file mode 100644 index baeaf4eb..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileCompleteCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9652014c41f49224e90c5aa5fc18bbde -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileDataCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileDataCallback.cs index 15736b8b..5a8a5cdd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileDataCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileDataCallback.cs @@ -1,17 +1,17 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Callback for when we have data ready to be read from the requested file. It is undefined how often this will be called during a single tick. - /// - /// Struct containing a chunk of data to read, as well as some metadata for the file being read - /// - /// The result of the read operation. If this value is not , this callback will not be called again for the same request - /// - public delegate ReadResult OnReadFileDataCallback(ReadFileDataCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate ReadResult OnReadFileDataCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Callback for when we have data ready to be read from the requested file. It is undefined how often this will be called during a single tick. + /// + /// Struct containing a chunk of data to read, as well as some metadata for the file being read + /// + /// The result of the read operation. If this value is not , this callback will not be called again for the same request + /// + public delegate ReadResult OnReadFileDataCallback(ref ReadFileDataCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate ReadResult OnReadFileDataCallbackInternal(ref ReadFileDataCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileDataCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileDataCallback.cs.meta deleted file mode 100644 index 9fa63b02..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/OnReadFileDataCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6c3dd83e8dda4c142b276677b3478cac -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileCallbackInfo.cs index 2c55d528..90b4a719 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Structure containing information about a query file request - /// - public class QueryFileCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into the file query request - /// - public object ClientData { get; private set; } - - /// - /// Product User ID of the local user who initiated this request (optional, will only be present in case it was provided during operation start) - /// - public ProductUserId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryFileCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as QueryFileCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryFileCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Structure containing information about a query file request + /// + public struct QueryFileCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful request, other codes indicate an error + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into the file query request + /// + public object ClientData { get; set; } + + /// + /// Product User ID of the local user who initiated this request (optional, will only be present in case it was provided during operation start) + /// + public ProductUserId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryFileCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryFileCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref QueryFileCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref QueryFileCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out QueryFileCallbackInfo output) + { + output = new QueryFileCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileCallbackInfo.cs.meta deleted file mode 100644 index dd098acc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 187d1ccb725fac54986058c2cc7f29b1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListCallbackInfo.cs index 4851e0ad..be53e62b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListCallbackInfo.cs @@ -1,105 +1,148 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Structure containing information about a query file list request - /// - public class QueryFileListCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into the file query request - /// - public object ClientData { get; private set; } - - /// - /// Product User ID of the local user who initiated this request (optional, will only be present in case it was provided during operation start) - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// A count of files that were found, if successful - /// - public uint FileCount { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryFileListCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - FileCount = other.Value.FileCount; - } - } - - public void Set(object other) - { - Set(other as QueryFileListCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryFileListCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private uint m_FileCount; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public uint FileCount - { - get - { - return m_FileCount; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Structure containing information about a query file list request + /// + public struct QueryFileListCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful request, other codes indicate an error + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into the file query request + /// + public object ClientData { get; set; } + + /// + /// Product User ID of the local user who initiated this request (optional, will only be present in case it was provided during operation start) + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// A count of files that were found, if successful + /// + public uint FileCount { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryFileListCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + FileCount = other.FileCount; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryFileListCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private uint m_FileCount; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public uint FileCount + { + get + { + return m_FileCount; + } + + set + { + m_FileCount = value; + } + } + + public void Set(ref QueryFileListCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + FileCount = other.FileCount; + } + + public void Set(ref QueryFileListCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + FileCount = other.Value.FileCount; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out QueryFileListCallbackInfo output) + { + output = new QueryFileListCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListCallbackInfo.cs.meta deleted file mode 100644 index d9f7eddf..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: de3d9134b9a7c024b986accf8c8e0b5e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListOptions.cs index 1f9ddef3..a924d16e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListOptions.cs @@ -1,67 +1,69 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Input data for the function - /// - public class QueryFileListOptions - { - /// - /// Product User ID of the local user who requested file metadata (optional) - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// List of tags to use for lookup. - /// - public string[] ListOfTags { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryFileListOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ListOfTags; - private uint m_ListOfTagsCount; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string[] ListOfTags - { - set - { - Helper.TryMarshalSet(ref m_ListOfTags, value, out m_ListOfTagsCount); - } - } - - public void Set(QueryFileListOptions other) - { - if (other != null) - { - m_ApiVersion = TitleStorageInterface.QueryfilelistoptionsApiLatest; - LocalUserId = other.LocalUserId; - ListOfTags = other.ListOfTags; - } - } - - public void Set(object other) - { - Set(other as QueryFileListOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_ListOfTags); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Input data for the function + /// + public struct QueryFileListOptions + { + /// + /// Product User ID of the local user who requested file metadata (optional) + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// List of tags to use for lookup. + /// + public Utf8String[] ListOfTags { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryFileListOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ListOfTags; + private uint m_ListOfTagsCount; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String[] ListOfTags + { + set + { + Helper.Set(value, ref m_ListOfTags, out m_ListOfTagsCount); + } + } + + public void Set(ref QueryFileListOptions other) + { + m_ApiVersion = TitleStorageInterface.QueryfilelistApiLatest; + LocalUserId = other.LocalUserId; + ListOfTags = other.ListOfTags; + } + + public void Set(ref QueryFileListOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = TitleStorageInterface.QueryfilelistApiLatest; + LocalUserId = other.Value.LocalUserId; + ListOfTags = other.Value.ListOfTags; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ListOfTags); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListOptions.cs.meta deleted file mode 100644 index 69fc0d94..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileListOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e00ef06cfe5be3246997050af58f5b7b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileOptions.cs index 20b02c8a..06b6496f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Input data for the function - /// - public class QueryFileOptions - { - /// - /// Product User ID of the local user requesting file metadata (optional) - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The requested file's name - /// - public string Filename { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryFileOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string Filename - { - set - { - Helper.TryMarshalSet(ref m_Filename, value); - } - } - - public void Set(QueryFileOptions other) - { - if (other != null) - { - m_ApiVersion = TitleStorageInterface.QueryfileoptionsApiLatest; - LocalUserId = other.LocalUserId; - Filename = other.Filename; - } - } - - public void Set(object other) - { - Set(other as QueryFileOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_Filename); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Input data for the function + /// + public struct QueryFileOptions + { + /// + /// Product User ID of the local user requesting file metadata (optional) + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The requested file's name + /// + public Utf8String Filename { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryFileOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + set + { + Helper.Set(value, ref m_Filename); + } + } + + public void Set(ref QueryFileOptions other) + { + m_ApiVersion = TitleStorageInterface.QueryfileApiLatest; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + } + + public void Set(ref QueryFileOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = TitleStorageInterface.QueryfileApiLatest; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileOptions.cs.meta deleted file mode 100644 index 14935465..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/QueryFileOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 37cbd1c8a5d7f434fb5a27f17b121189 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileCallbackInfo.cs index ad5d26ab..b8e81b8d 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Structure containing the result of a read file request - /// - public class ReadFileCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Result code for the operation. is returned for a successful request, other codes indicate an error - /// - public Result ResultCode { get; private set; } - - /// - /// Client-specified data passed into the file read request - /// - public object ClientData { get; private set; } - - /// - /// Product User ID of the local user who initiated this request (optional, will only be present in case it was provided during operation start) - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The filename of the file that has been finished reading - /// - public string Filename { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(ReadFileCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - Filename = other.Value.Filename; - } - } - - public void Set(object other) - { - Set(other as ReadFileCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ReadFileCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string Filename - { - get - { - string value; - Helper.TryMarshalGet(m_Filename, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Structure containing the result of a read file request + /// + public struct ReadFileCallbackInfo : ICallbackInfo + { + /// + /// Result code for the operation. is returned for a successful request, other codes indicate an error + /// + public Result ResultCode { get; set; } + + /// + /// Client-specified data passed into the file read request + /// + public object ClientData { get; set; } + + /// + /// Product User ID of the local user who initiated this request (optional, will only be present in case it was provided during operation start) + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The filename of the file that has been finished reading + /// + public Utf8String Filename { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref ReadFileCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ReadFileCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + get + { + Utf8String value; + Helper.Get(m_Filename, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Filename); + } + } + + public void Set(ref ReadFileCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + } + + public void Set(ref ReadFileCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + } + + public void Get(out ReadFileCallbackInfo output) + { + output = new ReadFileCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileCallbackInfo.cs.meta deleted file mode 100644 index ba13ba4d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ac888ebf3d4546a40a07eb3fa6705878 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileDataCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileDataCallbackInfo.cs index 8de59aa5..94d83a63 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileDataCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileDataCallbackInfo.cs @@ -1,142 +1,201 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Structure containing data for a chunk of a file being read - /// - public class ReadFileDataCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Client-specified data passed into the file request - /// - public object ClientData { get; private set; } - - /// - /// Product User ID of the local user who initiated this request (optional, will only be present in case it was provided during operation start) - /// - public ProductUserId LocalUserId { get; private set; } - - /// - /// The file name being read - /// - public string Filename { get; private set; } - - /// - /// The total file size of the file being read - /// - public uint TotalFileSizeBytes { get; private set; } - - /// - /// Is this chunk the last chunk of data? - /// - public bool IsLastChunk { get; private set; } - - /// - /// Pointer to the start of data to be read - /// - public byte[] DataChunk { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(ReadFileDataCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - Filename = other.Value.Filename; - TotalFileSizeBytes = other.Value.TotalFileSizeBytes; - IsLastChunk = other.Value.IsLastChunk; - DataChunk = other.Value.DataChunk; - } - } - - public void Set(object other) - { - Set(other as ReadFileDataCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ReadFileDataCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - private uint m_TotalFileSizeBytes; - private int m_IsLastChunk; - private uint m_DataChunkLengthBytes; - private System.IntPtr m_DataChunk; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public ProductUserId LocalUserId - { - get - { - ProductUserId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string Filename - { - get - { - string value; - Helper.TryMarshalGet(m_Filename, out value); - return value; - } - } - - public uint TotalFileSizeBytes - { - get - { - return m_TotalFileSizeBytes; - } - } - - public bool IsLastChunk - { - get - { - bool value; - Helper.TryMarshalGet(m_IsLastChunk, out value); - return value; - } - } - - public byte[] DataChunk - { - get - { - byte[] value; - Helper.TryMarshalGet(m_DataChunk, out value, m_DataChunkLengthBytes); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Structure containing data for a chunk of a file being read + /// + public struct ReadFileDataCallbackInfo : ICallbackInfo + { + /// + /// Client-specified data passed into the file request + /// + public object ClientData { get; set; } + + /// + /// Product User ID of the local user who initiated this request (optional, will only be present in case it was provided during operation start) + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The file name being read + /// + public Utf8String Filename { get; set; } + + /// + /// The total file size of the file being read + /// + public uint TotalFileSizeBytes { get; set; } + + /// + /// Is this chunk the last chunk of data? + /// + public bool IsLastChunk { get; set; } + + /// + /// Pointer to the start of data to be read + /// + public System.ArraySegment DataChunk { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref ReadFileDataCallbackInfoInternal other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + TotalFileSizeBytes = other.TotalFileSizeBytes; + IsLastChunk = other.IsLastChunk; + DataChunk = other.DataChunk; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ReadFileDataCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + private uint m_TotalFileSizeBytes; + private int m_IsLastChunk; + private uint m_DataChunkLengthBytes; + private System.IntPtr m_DataChunk; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public ProductUserId LocalUserId + { + get + { + ProductUserId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + get + { + Utf8String value; + Helper.Get(m_Filename, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Filename); + } + } + + public uint TotalFileSizeBytes + { + get + { + return m_TotalFileSizeBytes; + } + + set + { + m_TotalFileSizeBytes = value; + } + } + + public bool IsLastChunk + { + get + { + bool value; + Helper.Get(m_IsLastChunk, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IsLastChunk); + } + } + + public System.ArraySegment DataChunk + { + get + { + System.ArraySegment value; + Helper.Get(m_DataChunk, out value, m_DataChunkLengthBytes); + return value; + } + + set + { + Helper.Set(value, ref m_DataChunk, out m_DataChunkLengthBytes); + } + } + + public void Set(ref ReadFileDataCallbackInfo other) + { + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + TotalFileSizeBytes = other.TotalFileSizeBytes; + IsLastChunk = other.IsLastChunk; + DataChunk = other.DataChunk; + } + + public void Set(ref ReadFileDataCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + TotalFileSizeBytes = other.Value.TotalFileSizeBytes; + IsLastChunk = other.Value.IsLastChunk; + DataChunk = other.Value.DataChunk; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + Helper.Dispose(ref m_DataChunk); + } + + public void Get(out ReadFileDataCallbackInfo output) + { + output = new ReadFileDataCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileDataCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileDataCallbackInfo.cs.meta deleted file mode 100644 index 28ff2ea6..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileDataCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f05e4003be2ccb849adcd79c5562a4d9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileOptions.cs index 4782e791..0f31ce9c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileOptions.cs @@ -1,125 +1,130 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Input data for the function - /// - public class ReadFileOptions - { - /// - /// Product User ID of the local user who is reading the requested file (optional) - /// - public ProductUserId LocalUserId { get; set; } - - /// - /// The file name to read; this file must already exist - /// - public string Filename { get; set; } - - /// - /// The maximum amount of data in bytes should be available to read in a single call - /// - public uint ReadChunkLengthBytes { get; set; } - - /// - /// Callback function to handle copying read data - /// - public OnReadFileDataCallback ReadFileDataCallback { get; set; } - - /// - /// Optional callback function to be informed of download progress, if the file is not already locally cached. If set, this will be called at least once before completion if the request is successfully started - /// - public OnFileTransferProgressCallback FileTransferProgressCallback { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ReadFileOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_Filename; - private uint m_ReadChunkLengthBytes; - private System.IntPtr m_ReadFileDataCallback; - private System.IntPtr m_FileTransferProgressCallback; - - public ProductUserId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string Filename - { - set - { - Helper.TryMarshalSet(ref m_Filename, value); - } - } - - public uint ReadChunkLengthBytes - { - set - { - m_ReadChunkLengthBytes = value; - } - } - - private static OnReadFileDataCallbackInternal s_ReadFileDataCallback; - public static OnReadFileDataCallbackInternal ReadFileDataCallback - { - get - { - if (s_ReadFileDataCallback == null) - { - s_ReadFileDataCallback = new OnReadFileDataCallbackInternal(TitleStorageInterface.OnReadFileDataCallbackInternalImplementation); - } - - return s_ReadFileDataCallback; - } - } - - private static OnFileTransferProgressCallbackInternal s_FileTransferProgressCallback; - public static OnFileTransferProgressCallbackInternal FileTransferProgressCallback - { - get - { - if (s_FileTransferProgressCallback == null) - { - s_FileTransferProgressCallback = new OnFileTransferProgressCallbackInternal(TitleStorageInterface.OnFileTransferProgressCallbackInternalImplementation); - } - - return s_FileTransferProgressCallback; - } - } - - public void Set(ReadFileOptions other) - { - if (other != null) - { - m_ApiVersion = TitleStorageInterface.ReadfileoptionsApiLatest; - LocalUserId = other.LocalUserId; - Filename = other.Filename; - ReadChunkLengthBytes = other.ReadChunkLengthBytes; - m_ReadFileDataCallback = other.ReadFileDataCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(ReadFileDataCallback) : System.IntPtr.Zero; - m_FileTransferProgressCallback = other.FileTransferProgressCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(FileTransferProgressCallback) : System.IntPtr.Zero; - } - } - - public void Set(object other) - { - Set(other as ReadFileOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_Filename); - Helper.TryMarshalDispose(ref m_ReadFileDataCallback); - Helper.TryMarshalDispose(ref m_FileTransferProgressCallback); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Input data for the function + /// + public struct ReadFileOptions + { + /// + /// Product User ID of the local user who is reading the requested file (optional) + /// + public ProductUserId LocalUserId { get; set; } + + /// + /// The file name to read; this file must already exist + /// + public Utf8String Filename { get; set; } + + /// + /// The maximum amount of data in bytes should be available to read in a single call + /// + public uint ReadChunkLengthBytes { get; set; } + + /// + /// Callback function to handle copying read data + /// + public OnReadFileDataCallback ReadFileDataCallback { get; set; } + + /// + /// Optional callback function to be informed of download progress, if the file is not already locally cached. If set, this will be called at least once before completion if the request is successfully started + /// + public OnFileTransferProgressCallback FileTransferProgressCallback { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ReadFileOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_Filename; + private uint m_ReadChunkLengthBytes; + private System.IntPtr m_ReadFileDataCallback; + private System.IntPtr m_FileTransferProgressCallback; + + public ProductUserId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String Filename + { + set + { + Helper.Set(value, ref m_Filename); + } + } + + public uint ReadChunkLengthBytes + { + set + { + m_ReadChunkLengthBytes = value; + } + } + + private static OnReadFileDataCallbackInternal s_ReadFileDataCallback; + public static OnReadFileDataCallbackInternal ReadFileDataCallback + { + get + { + if (s_ReadFileDataCallback == null) + { + s_ReadFileDataCallback = new OnReadFileDataCallbackInternal(TitleStorageInterface.OnReadFileDataCallbackInternalImplementation); + } + + return s_ReadFileDataCallback; + } + } + + private static OnFileTransferProgressCallbackInternal s_FileTransferProgressCallback; + public static OnFileTransferProgressCallbackInternal FileTransferProgressCallback + { + get + { + if (s_FileTransferProgressCallback == null) + { + s_FileTransferProgressCallback = new OnFileTransferProgressCallbackInternal(TitleStorageInterface.OnFileTransferProgressCallbackInternalImplementation); + } + + return s_FileTransferProgressCallback; + } + } + + public void Set(ref ReadFileOptions other) + { + m_ApiVersion = TitleStorageInterface.ReadfileApiLatest; + LocalUserId = other.LocalUserId; + Filename = other.Filename; + ReadChunkLengthBytes = other.ReadChunkLengthBytes; + m_ReadFileDataCallback = other.ReadFileDataCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(ReadFileDataCallback) : System.IntPtr.Zero; + m_FileTransferProgressCallback = other.FileTransferProgressCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(FileTransferProgressCallback) : System.IntPtr.Zero; + } + + public void Set(ref ReadFileOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = TitleStorageInterface.ReadfileApiLatest; + LocalUserId = other.Value.LocalUserId; + Filename = other.Value.Filename; + ReadChunkLengthBytes = other.Value.ReadChunkLengthBytes; + m_ReadFileDataCallback = other.Value.ReadFileDataCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(ReadFileDataCallback) : System.IntPtr.Zero; + m_FileTransferProgressCallback = other.Value.FileTransferProgressCallback != null ? System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(FileTransferProgressCallback) : System.IntPtr.Zero; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_Filename); + Helper.Dispose(ref m_ReadFileDataCallback); + Helper.Dispose(ref m_FileTransferProgressCallback); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileOptions.cs.meta deleted file mode 100644 index 255abbbf..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadFileOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2b718bc68a749184aae40e9a1cb17f67 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadResult.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadResult.cs index 8db445a9..a7275ab4 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadResult.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadResult.cs @@ -1,24 +1,24 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - /// - /// Return results for callbacks - /// - public enum ReadResult : int - { - /// - /// Signifies the data was read successfully, and we should continue to the next chunk if possible - /// - RrContinuereading = 1, - /// - /// Signifies there was a failure reading the data, and the request should end - /// - RrFailrequest = 2, - /// - /// Signifies the request should be cancelled, but not due to an error - /// - RrCancelrequest = 3 - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + /// + /// Return results for callbacks + /// + public enum ReadResult : int + { + /// + /// Signifies the data was read successfully, and we should continue to the next chunk if possible + /// + RrContinuereading = 1, + /// + /// Signifies there was a failure reading the data, and the request should end + /// + RrFailrequest = 2, + /// + /// Signifies the request should be canceled, but not due to an error + /// + RrCancelrequest = 3 + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadResult.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadResult.cs.meta deleted file mode 100644 index c30a58de..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/ReadResult.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7691ab63e5de4f54a9295cabf75e66de -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageFileTransferRequest.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageFileTransferRequest.cs index 2cc40c6b..ce52ef84 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageFileTransferRequest.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageFileTransferRequest.cs @@ -1,74 +1,73 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - public sealed partial class TitleStorageFileTransferRequest : Handle - { - public TitleStorageFileTransferRequest() - { - } - - public TitleStorageFileTransferRequest(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// Attempt to cancel this file request in progress. This is a best-effort command and is not guaranteed to be successful if the request has completed before this function is called. - /// - /// - /// if cancel is successful, if request had already completed (can't be canceled), if it's already been canceled before (this is a final state for canceled request and won't change over time). - /// - public Result CancelRequest() - { - var funcResult = Bindings.EOS_TitleStorageFileTransferRequest_CancelRequest(InnerHandle); - - return funcResult; - } - - /// - /// Get the current state of a file request. - /// - /// - /// if complete and successful, if the request is still in progress, or another state for failure. - /// - public Result GetFileRequestState() - { - var funcResult = Bindings.EOS_TitleStorageFileTransferRequest_GetFileRequestState(InnerHandle); - - return funcResult; - } - - /// - /// Get the file name of the file this request is for. OutStringLength will always be set to the string length of the file name if it is not NULL. - /// - /// - /// The maximum number of bytes that can be written to OutStringBuffer - /// The buffer to write the NULL-terminated utf8 file name into, if successful - /// How long the file name is (not including null terminator) - /// - /// if the file name was successfully written to OutFilenameBuffer, a failure result otherwise - /// - public Result GetFilename(out string outStringBuffer) - { - System.IntPtr outStringBufferAddress = System.IntPtr.Zero; - int outStringLength = TitleStorageInterface.FilenameMaxLengthBytes; - Helper.TryMarshalAllocate(ref outStringBufferAddress, outStringLength, out _); - - var funcResult = Bindings.EOS_TitleStorageFileTransferRequest_GetFilename(InnerHandle, (uint)outStringLength, outStringBufferAddress, ref outStringLength); - - Helper.TryMarshalGet(outStringBufferAddress, out outStringBuffer); - Helper.TryMarshalDispose(ref outStringBufferAddress); - - return funcResult; - } - - /// - /// Free the memory used by a cloud-storage file request handle. This will not cancel a request in progress. - /// - public void Release() - { - Bindings.EOS_TitleStorageFileTransferRequest_Release(InnerHandle); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + public sealed partial class TitleStorageFileTransferRequest : Handle + { + public TitleStorageFileTransferRequest() + { + } + + public TitleStorageFileTransferRequest(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// Attempt to cancel this file request in progress. This is a best-effort command and is not guaranteed to be successful if the request has completed before this function is called. + /// + /// + /// if cancel is successful, if request had already completed (can't be canceled), if it's already been canceled before (this is a final state for canceled request and won't change over time). + /// + public Result CancelRequest() + { + var funcResult = Bindings.EOS_TitleStorageFileTransferRequest_CancelRequest(InnerHandle); + + return funcResult; + } + + /// + /// Get the current state of a file request. + /// + /// + /// if complete and successful, if the request is still in progress, or another state for failure. + /// + public Result GetFileRequestState() + { + var funcResult = Bindings.EOS_TitleStorageFileTransferRequest_GetFileRequestState(InnerHandle); + + return funcResult; + } + + /// + /// Get the file name of the file this request is for. OutStringLength will always be set to the string length of the file name if it is not . + /// + /// + /// The maximum number of bytes that can be written to OutStringBuffer + /// The buffer to write the -terminated utf8 file name into, if successful + /// How long the file name is (not including null terminator) + /// + /// if the file name was successfully written to OutFilenameBuffer, a failure result otherwise + /// + public Result GetFilename(out Utf8String outStringBuffer) + { + int outStringLength = TitleStorageInterface.FilenameMaxLengthBytes; + System.IntPtr outStringBufferAddress = Helper.AddAllocation(outStringLength); + + var funcResult = Bindings.EOS_TitleStorageFileTransferRequest_GetFilename(InnerHandle, (uint)outStringLength, outStringBufferAddress, ref outStringLength); + + Helper.Get(outStringBufferAddress, out outStringBuffer); + Helper.Dispose(ref outStringBufferAddress); + + return funcResult; + } + + /// + /// Free the memory used by a cloud-storage file request handle. This will not cancel a request in progress. + /// + public void Release() + { + Bindings.EOS_TitleStorageFileTransferRequest_Release(InnerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageFileTransferRequest.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageFileTransferRequest.cs.meta deleted file mode 100644 index 9c4bca85..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageFileTransferRequest.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0a9ae907228d2d443b4db0f84e50537a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageInterface.cs index 63e80b47..d7989443 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageInterface.cs @@ -1,319 +1,356 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.TitleStorage -{ - public sealed partial class TitleStorageInterface : Handle - { - public TitleStorageInterface() - { - } - - public TitleStorageInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the API. - /// - public const int CopyfilemetadataatindexoptionsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyfilemetadatabyfilenameoptionsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int DeletecacheoptionsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int FilemetadataApiLatest = 2; - - /// - /// Maximum File Name Length in bytes - /// - public const int FilenameMaxLengthBytes = 64; - - /// - /// The most recent version of the API. - /// - public const int GetfilemetadatacountoptionsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int QueryfilelistoptionsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int QueryfileoptionsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int ReadfileoptionsApiLatest = 1; - - /// - /// Get the cached copy of a file's metadata by index. The metadata will be for the last retrieved version. The returned pointer must be released by the user when no longer needed. - /// - /// - /// - /// Object containing properties related to which user is requesting metadata, and at what index - /// A copy of the FileMetadata structure will be set if successful. This data must be released by calling . - /// - /// if the requested metadata is currently cached, otherwise an error result explaining what went wrong. - /// - public Result CopyFileMetadataAtIndex(CopyFileMetadataAtIndexOptions options, out FileMetadata outMetadata) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outMetadataAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_TitleStorage_CopyFileMetadataAtIndex(InnerHandle, optionsAddress, ref outMetadataAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outMetadataAddress, out outMetadata)) - { - Bindings.EOS_TitleStorage_FileMetadata_Release(outMetadataAddress); - } - - return funcResult; - } - - /// - /// Create a cached copy of a file's metadata by filename. The metadata will be for the last retrieved or successfully saved version, and will not include any changes that have not - /// completed writing. The returned pointer must be released by the user when no longer needed. - /// - /// Object containing properties related to which user is requesting metadata, and for which filename - /// A copy of the FileMetadata structure will be set if successful. This data must be released by calling . - /// - /// if the metadata is currently cached, otherwise an error result explaining what went wrong - /// - public Result CopyFileMetadataByFilename(CopyFileMetadataByFilenameOptions options, out FileMetadata outMetadata) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outMetadataAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_TitleStorage_CopyFileMetadataByFilename(InnerHandle, optionsAddress, ref outMetadataAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outMetadataAddress, out outMetadata)) - { - Bindings.EOS_TitleStorage_FileMetadata_Release(outMetadataAddress); - } - - return funcResult; - } - - /// - /// Clear previously cached file data. This operation will be done asynchronously. All cached files except those corresponding to the transfers in progress will be removed. - /// Warning: Use this with care. Cache system generally tries to clear old and unused cached files from time to time. Unnecessarily clearing cache can degrade performance as SDK will have to re-download data. - /// - /// Object containing properties related to which user is deleting cache - /// Optional pointer to help clients track this request, that is returned in associated callbacks - /// This function is called when the delete cache operation completes - /// - /// if the operation was started correctly, otherwise an error result explaining what went wrong - /// - public Result DeleteCache(DeleteCacheOptions options, object clientData, OnDeleteCacheCompleteCallback completionCallback) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionCallbackInternal = new OnDeleteCacheCompleteCallbackInternal(OnDeleteCacheCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionCallback, completionCallbackInternal); - - var funcResult = Bindings.EOS_TitleStorage_DeleteCache(InnerHandle, optionsAddress, clientDataAddress, completionCallbackInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Get the count of files we have previously queried information for and files we have previously read from / written to. - /// - /// - /// Object containing properties related to which user is requesting the metadata count - /// - /// If successful, the count of metadata currently cached. Returns 0 on failure. - /// - public uint GetFileMetadataCount(GetFileMetadataCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_TitleStorage_GetFileMetadataCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Query a specific file's metadata, such as file names, size, and a MD5 hash of the data. This is not required before a file may be opened. Once a file has - /// been queried, its metadata will be available by the and functions. - /// - /// - /// - /// - /// Object containing properties related to which user is querying files, and what file is being queried - /// Optional pointer to help clients track this request, that is returned in the completion callback - /// This function is called when the query operation completes - public void QueryFile(QueryFileOptions options, object clientData, OnQueryFileCompleteCallback completionCallback) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionCallbackInternal = new OnQueryFileCompleteCallbackInternal(OnQueryFileCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionCallback, completionCallbackInternal); - - Bindings.EOS_TitleStorage_QueryFile(InnerHandle, optionsAddress, clientDataAddress, completionCallbackInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Query the file metadata, such as file names, size, and a MD5 hash of the data, for all files available for current user based on their settings (such as game role) and tags provided. - /// This is not required before a file can be downloaded by name. - /// - /// Object containing properties related to which user is querying files and the list of tags - /// Optional pointer to help clients track this request, that is returned in the completion callback - /// This function is called when the query operation completes - public void QueryFileList(QueryFileListOptions options, object clientData, OnQueryFileListCompleteCallback completionCallback) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionCallbackInternal = new OnQueryFileListCompleteCallbackInternal(OnQueryFileListCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionCallback, completionCallbackInternal); - - Bindings.EOS_TitleStorage_QueryFileList(InnerHandle, optionsAddress, clientDataAddress, completionCallbackInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Retrieve the contents of a specific file, potentially downloading the contents if we do not have a local copy, from the cloud. This request will occur asynchronously, potentially over - /// multiple frames. All callbacks for this function will come from the same thread that the SDK is ticked from. If specified, the FileTransferProgressCallback will always be called at - /// least once if the request is started successfully. - /// - /// - /// Object containing properties related to which user is opening the file, what the file's name is, and related mechanisms for copying the data - /// Optional pointer to help clients track this request, that is returned in associated callbacks - /// This function is called when the read operation completes - /// - /// A valid Title Storage File Request handle if successful, or NULL otherwise. Data contained in the completion callback will have more detailed information about issues with the request in failure cases. This handle must be released when it is no longer needed - /// - public TitleStorageFileTransferRequest ReadFile(ReadFileOptions options, object clientData, OnReadFileCompleteCallback completionCallback) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionCallbackInternal = new OnReadFileCompleteCallbackInternal(OnReadFileCompleteCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionCallback, completionCallbackInternal, options.ReadFileDataCallback, ReadFileOptionsInternal.ReadFileDataCallback, options.FileTransferProgressCallback, ReadFileOptionsInternal.FileTransferProgressCallback); - - var funcResult = Bindings.EOS_TitleStorage_ReadFile(InnerHandle, optionsAddress, clientDataAddress, completionCallbackInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - TitleStorageFileTransferRequest funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - [MonoPInvokeCallback(typeof(OnDeleteCacheCompleteCallbackInternal))] - internal static void OnDeleteCacheCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnDeleteCacheCompleteCallback callback; - DeleteCacheCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnFileTransferProgressCallbackInternal))] - internal static void OnFileTransferProgressCallbackInternalImplementation(System.IntPtr data) - { - OnFileTransferProgressCallback callback; - FileTransferProgressCallbackInfo callbackInfo; - if (Helper.TryGetStructCallback(data, out callback, out callbackInfo)) - { - FileTransferProgressCallbackInfo dataObj; - Helper.TryMarshalGet(data, out dataObj); - - callback(dataObj); - } - } - - [MonoPInvokeCallback(typeof(OnQueryFileCompleteCallbackInternal))] - internal static void OnQueryFileCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnQueryFileCompleteCallback callback; - QueryFileCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryFileListCompleteCallbackInternal))] - internal static void OnQueryFileListCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnQueryFileListCompleteCallback callback; - QueryFileListCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnReadFileCompleteCallbackInternal))] - internal static void OnReadFileCompleteCallbackInternalImplementation(System.IntPtr data) - { - OnReadFileCompleteCallback callback; - ReadFileCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnReadFileDataCallbackInternal))] - internal static ReadResult OnReadFileDataCallbackInternalImplementation(System.IntPtr data) - { - OnReadFileDataCallback callback; - ReadFileDataCallbackInfo callbackInfo; - if (Helper.TryGetStructCallback(data, out callback, out callbackInfo)) - { - ReadFileDataCallbackInfo dataObj; - Helper.TryMarshalGet(data, out dataObj); - - var funcResult = callback(dataObj); - - return funcResult; - } - - return Helper.GetDefault(); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.TitleStorage +{ + public sealed partial class TitleStorageInterface : Handle + { + public TitleStorageInterface() + { + } + + public TitleStorageInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the API. + /// + public const int CopyfilemetadataatindexApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int CopyfilemetadataatindexoptionsApiLatest = CopyfilemetadataatindexApiLatest; + + /// + /// The most recent version of the API. + /// + public const int CopyfilemetadatabyfilenameApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int CopyfilemetadatabyfilenameoptionsApiLatest = CopyfilemetadatabyfilenameApiLatest; + + /// + /// The most recent version of the API. + /// + public const int DeletecacheApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int DeletecacheoptionsApiLatest = DeletecacheApiLatest; + + /// + /// The most recent version of the API. + /// + public const int FilemetadataApiLatest = 2; + + /// + /// Maximum File Name Length in bytes + /// + public const int FilenameMaxLengthBytes = 64; + + /// + /// The most recent version of the API. + /// + public const int GetfilemetadatacountApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int GetfilemetadatacountoptionsApiLatest = GetfilemetadatacountApiLatest; + + /// + /// The most recent version of the API. + /// + public const int QueryfileApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int QueryfilelistApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int QueryfilelistoptionsApiLatest = QueryfilelistApiLatest; + + /// + /// DEPRECATED! Use instead. + /// + public const int QueryfileoptionsApiLatest = QueryfileApiLatest; + + /// + /// The most recent version of the API. + /// + public const int ReadfileApiLatest = 1; + + /// + /// DEPRECATED! Use instead. + /// + public const int ReadfileoptionsApiLatest = ReadfileApiLatest; + + /// + /// Get the cached copy of a file's metadata by index. The metadata will be for the last retrieved version. The returned pointer must be released by the user when no longer needed. + /// + /// + /// + /// Object containing properties related to which user is requesting metadata, and at what index + /// A copy of the FileMetadata structure will be set if successful. This data must be released by calling . + /// + /// if the requested metadata is currently cached, otherwise an error result explaining what went wrong. + /// + public Result CopyFileMetadataAtIndex(ref CopyFileMetadataAtIndexOptions options, out FileMetadata? outMetadata) + { + CopyFileMetadataAtIndexOptionsInternal optionsInternal = new CopyFileMetadataAtIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outMetadataAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_TitleStorage_CopyFileMetadataAtIndex(InnerHandle, ref optionsInternal, ref outMetadataAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outMetadataAddress, out outMetadata); + if (outMetadata != null) + { + Bindings.EOS_TitleStorage_FileMetadata_Release(outMetadataAddress); + } + + return funcResult; + } + + /// + /// Create a cached copy of a file's metadata by filename. The metadata will be for the last retrieved or successfully saved version, and will not include any changes that have not + /// completed writing. The returned pointer must be released by the user when no longer needed. + /// + /// Object containing properties related to which user is requesting metadata, and for which filename + /// A copy of the FileMetadata structure will be set if successful. This data must be released by calling . + /// + /// if the metadata is currently cached, otherwise an error result explaining what went wrong + /// + public Result CopyFileMetadataByFilename(ref CopyFileMetadataByFilenameOptions options, out FileMetadata? outMetadata) + { + CopyFileMetadataByFilenameOptionsInternal optionsInternal = new CopyFileMetadataByFilenameOptionsInternal(); + optionsInternal.Set(ref options); + + var outMetadataAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_TitleStorage_CopyFileMetadataByFilename(InnerHandle, ref optionsInternal, ref outMetadataAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outMetadataAddress, out outMetadata); + if (outMetadata != null) + { + Bindings.EOS_TitleStorage_FileMetadata_Release(outMetadataAddress); + } + + return funcResult; + } + + /// + /// Clear previously cached file data. This operation will be done asynchronously. All cached files except those corresponding to the transfers in progress will be removed. + /// Warning: Use this with care. Cache system generally tries to clear old and unused cached files from time to time. Unnecessarily clearing cache can degrade performance as SDK will have to re-download data. + /// + /// Object containing properties related to which user is deleting cache + /// Optional pointer to help clients track this request, that is returned in associated callbacks + /// This function is called when the delete cache operation completes + /// + /// if the operation was started correctly, otherwise an error result explaining what went wrong + /// + public Result DeleteCache(ref DeleteCacheOptions options, object clientData, OnDeleteCacheCompleteCallback completionCallback) + { + DeleteCacheOptionsInternal optionsInternal = new DeleteCacheOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionCallbackInternal = new OnDeleteCacheCompleteCallbackInternal(OnDeleteCacheCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionCallback, completionCallbackInternal); + + var funcResult = Bindings.EOS_TitleStorage_DeleteCache(InnerHandle, ref optionsInternal, clientDataAddress, completionCallbackInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Get the count of files we have previously queried information for and files we have previously read from / written to. + /// + /// + /// Object containing properties related to which user is requesting the metadata count + /// + /// If successful, the count of metadata currently cached. Returns 0 on failure. + /// + public uint GetFileMetadataCount(ref GetFileMetadataCountOptions options) + { + GetFileMetadataCountOptionsInternal optionsInternal = new GetFileMetadataCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_TitleStorage_GetFileMetadataCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Query a specific file's metadata, such as file names, size, and a MD5 hash of the data. This is not required before a file may be opened. Once a file has + /// been queried, its metadata will be available by the and functions. + /// + /// + /// + /// + /// Object containing properties related to which user is querying files, and what file is being queried + /// Optional pointer to help clients track this request, that is returned in the completion callback + /// This function is called when the query operation completes + public void QueryFile(ref QueryFileOptions options, object clientData, OnQueryFileCompleteCallback completionCallback) + { + QueryFileOptionsInternal optionsInternal = new QueryFileOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionCallbackInternal = new OnQueryFileCompleteCallbackInternal(OnQueryFileCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionCallback, completionCallbackInternal); + + Bindings.EOS_TitleStorage_QueryFile(InnerHandle, ref optionsInternal, clientDataAddress, completionCallbackInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Query the file metadata, such as file names, size, and a MD5 hash of the data, for all files available for current user based on their settings (such as game role) and tags provided. + /// This is not required before a file can be downloaded by name. + /// + /// Object containing properties related to which user is querying files and the list of tags + /// Optional pointer to help clients track this request, that is returned in the completion callback + /// This function is called when the query operation completes + public void QueryFileList(ref QueryFileListOptions options, object clientData, OnQueryFileListCompleteCallback completionCallback) + { + QueryFileListOptionsInternal optionsInternal = new QueryFileListOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionCallbackInternal = new OnQueryFileListCompleteCallbackInternal(OnQueryFileListCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionCallback, completionCallbackInternal); + + Bindings.EOS_TitleStorage_QueryFileList(InnerHandle, ref optionsInternal, clientDataAddress, completionCallbackInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Retrieve the contents of a specific file, potentially downloading the contents if we do not have a local copy, from the cloud. This request will occur asynchronously, potentially over + /// multiple frames. All callbacks for this function will come from the same thread that the SDK is ticked from. If specified, the FileTransferProgressCallback will always be called at + /// least once if the request is started successfully. + /// + /// + /// Object containing properties related to which user is opening the file, what the file's name is, and related mechanisms for copying the data + /// Optional pointer to help clients track this request, that is returned in associated callbacks + /// This function is called when the read operation completes + /// + /// A valid Title Storage File Request handle if successful, or otherwise. Data contained in the completion callback will have more detailed information about issues with the request in failure cases. This handle must be released when it is no longer needed + /// + public TitleStorageFileTransferRequest ReadFile(ref ReadFileOptions options, object clientData, OnReadFileCompleteCallback completionCallback) + { + ReadFileOptionsInternal optionsInternal = new ReadFileOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionCallbackInternal = new OnReadFileCompleteCallbackInternal(OnReadFileCompleteCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionCallback, completionCallbackInternal, options.ReadFileDataCallback, ReadFileOptionsInternal.ReadFileDataCallback, options.FileTransferProgressCallback, ReadFileOptionsInternal.FileTransferProgressCallback); + + var funcResult = Bindings.EOS_TitleStorage_ReadFile(InnerHandle, ref optionsInternal, clientDataAddress, completionCallbackInternal); + + Helper.Dispose(ref optionsInternal); + + TitleStorageFileTransferRequest funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + [MonoPInvokeCallback(typeof(OnDeleteCacheCompleteCallbackInternal))] + internal static void OnDeleteCacheCompleteCallbackInternalImplementation(ref DeleteCacheCallbackInfoInternal data) + { + OnDeleteCacheCompleteCallback callback; + DeleteCacheCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnFileTransferProgressCallbackInternal))] + internal static void OnFileTransferProgressCallbackInternalImplementation(ref FileTransferProgressCallbackInfoInternal data) + { + OnFileTransferProgressCallback callback; + FileTransferProgressCallbackInfo callbackInfo; + if (Helper.TryGetStructCallback(ref data, out callback, out callbackInfo)) + { + FileTransferProgressCallbackInfo dataObj; + Helper.Get(ref data, out dataObj); + + callback(ref dataObj); + } + } + + [MonoPInvokeCallback(typeof(OnQueryFileCompleteCallbackInternal))] + internal static void OnQueryFileCompleteCallbackInternalImplementation(ref QueryFileCallbackInfoInternal data) + { + OnQueryFileCompleteCallback callback; + QueryFileCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryFileListCompleteCallbackInternal))] + internal static void OnQueryFileListCompleteCallbackInternalImplementation(ref QueryFileListCallbackInfoInternal data) + { + OnQueryFileListCompleteCallback callback; + QueryFileListCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnReadFileCompleteCallbackInternal))] + internal static void OnReadFileCompleteCallbackInternalImplementation(ref ReadFileCallbackInfoInternal data) + { + OnReadFileCompleteCallback callback; + ReadFileCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnReadFileDataCallbackInternal))] + internal static ReadResult OnReadFileDataCallbackInternalImplementation(ref ReadFileDataCallbackInfoInternal data) + { + OnReadFileDataCallback callback; + ReadFileDataCallbackInfo callbackInfo; + if (Helper.TryGetStructCallback(ref data, out callback, out callbackInfo)) + { + ReadFileDataCallbackInfo dataObj; + Helper.Get(ref data, out dataObj); + + var funcResult = callback(ref dataObj); + + return funcResult; + } + + return Helper.GetDefault(); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageInterface.cs.meta deleted file mode 100644 index a416155a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/TitleStorage/TitleStorageInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bb6f8af2c92cf864ca00a0cb851f75ef -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI.meta deleted file mode 100644 index f3ea2194..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 02835b4b8f876864487e5b76d2d27ec1 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AcknowledgeEventIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AcknowledgeEventIdOptions.cs index 1793c064..d2de0356 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AcknowledgeEventIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AcknowledgeEventIdOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Input parameters for the . - /// - public class AcknowledgeEventIdOptions - { - /// - /// The ID being acknowledged. - /// - public ulong UiEventId { get; set; } - - /// - /// The result to use for the acknowledgment. - /// When acknowledging this should be the - /// result code from the JoinSession call. - /// - public Result Result { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AcknowledgeEventIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private ulong m_UiEventId; - private Result m_Result; - - public ulong UiEventId - { - set - { - m_UiEventId = value; - } - } - - public Result Result - { - set - { - m_Result = value; - } - } - - public void Set(AcknowledgeEventIdOptions other) - { - if (other != null) - { - m_ApiVersion = UIInterface.AcknowledgeeventidApiLatest; - UiEventId = other.UiEventId; - Result = other.Result; - } - } - - public void Set(object other) - { - Set(other as AcknowledgeEventIdOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Input parameters for the . + /// + public struct AcknowledgeEventIdOptions + { + /// + /// The ID being acknowledged. + /// + public ulong UiEventId { get; set; } + + /// + /// The result to use for the acknowledgment. + /// When acknowledging this should be the + /// result code from the JoinSession call. + /// + public Result Result { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AcknowledgeEventIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private ulong m_UiEventId; + private Result m_Result; + + public ulong UiEventId + { + set + { + m_UiEventId = value; + } + } + + public Result Result + { + set + { + m_Result = value; + } + } + + public void Set(ref AcknowledgeEventIdOptions other) + { + m_ApiVersion = UIInterface.AcknowledgeeventidApiLatest; + UiEventId = other.UiEventId; + Result = other.Result; + } + + public void Set(ref AcknowledgeEventIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.AcknowledgeeventidApiLatest; + UiEventId = other.Value.UiEventId; + Result = other.Value.Result; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AcknowledgeEventIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AcknowledgeEventIdOptions.cs.meta deleted file mode 100644 index be5b6983..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AcknowledgeEventIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 72b7daf0d535452469859db6df9f5b35 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AddNotifyDisplaySettingsUpdatedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AddNotifyDisplaySettingsUpdatedOptions.cs index a1cf6dbe..dec1ee7f 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AddNotifyDisplaySettingsUpdatedOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AddNotifyDisplaySettingsUpdatedOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Input parameters for the function. - /// - public class AddNotifyDisplaySettingsUpdatedOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct AddNotifyDisplaySettingsUpdatedOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(AddNotifyDisplaySettingsUpdatedOptions other) - { - if (other != null) - { - m_ApiVersion = UIInterface.AddnotifydisplaysettingsupdatedApiLatest; - } - } - - public void Set(object other) - { - Set(other as AddNotifyDisplaySettingsUpdatedOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Input parameters for the function. + /// + public struct AddNotifyDisplaySettingsUpdatedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct AddNotifyDisplaySettingsUpdatedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref AddNotifyDisplaySettingsUpdatedOptions other) + { + m_ApiVersion = UIInterface.AddnotifydisplaysettingsupdatedApiLatest; + } + + public void Set(ref AddNotifyDisplaySettingsUpdatedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.AddnotifydisplaysettingsupdatedApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AddNotifyDisplaySettingsUpdatedOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AddNotifyDisplaySettingsUpdatedOptions.cs.meta deleted file mode 100644 index 4d2394dc..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/AddNotifyDisplaySettingsUpdatedOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bc813bd0fc184bf49b72f5cd0e57ab14 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetFriendsExclusiveInputOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetFriendsExclusiveInputOptions.cs new file mode 100644 index 00000000..5dd6e307 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetFriendsExclusiveInputOptions.cs @@ -0,0 +1,51 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Input parameters for the function. + /// + public struct GetFriendsExclusiveInputOptions + { + /// + /// The Epic Account ID of the user whose overlay is being checked. + /// + public EpicAccountId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetFriendsExclusiveInputOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref GetFriendsExclusiveInputOptions other) + { + m_ApiVersion = UIInterface.GetfriendsexclusiveinputApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref GetFriendsExclusiveInputOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.GetfriendsexclusiveinputApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetFriendsVisibleOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetFriendsVisibleOptions.cs index 3526abc0..994a5b58 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetFriendsVisibleOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetFriendsVisibleOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Input parameters for the function. - /// - public class GetFriendsVisibleOptions - { - /// - /// The Epic Online Services Account ID of the user whose overlay is being updated. - /// - public EpicAccountId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetFriendsVisibleOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(GetFriendsVisibleOptions other) - { - if (other != null) - { - m_ApiVersion = UIInterface.GetfriendsvisibleApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as GetFriendsVisibleOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Input parameters for the function. + /// + public struct GetFriendsVisibleOptions + { + /// + /// The Epic Account ID of the user whose overlay is being checked. + /// + public EpicAccountId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetFriendsVisibleOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref GetFriendsVisibleOptions other) + { + m_ApiVersion = UIInterface.GetfriendsvisibleApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref GetFriendsVisibleOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.GetfriendsvisibleApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetFriendsVisibleOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetFriendsVisibleOptions.cs.meta deleted file mode 100644 index 4763ceb2..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetFriendsVisibleOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 21c56aaef4619a9488eb855b798e79d2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetToggleFriendsKeyOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetToggleFriendsKeyOptions.cs index b4e52d8c..83f60cd1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetToggleFriendsKeyOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetToggleFriendsKeyOptions.cs @@ -1,35 +1,35 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Input parameters for the function. - /// - public class GetToggleFriendsKeyOptions - { - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetToggleFriendsKeyOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - - public void Set(GetToggleFriendsKeyOptions other) - { - if (other != null) - { - m_ApiVersion = UIInterface.GettogglefriendskeyApiLatest; - } - } - - public void Set(object other) - { - Set(other as GetToggleFriendsKeyOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Input parameters for the function. + /// + public struct GetToggleFriendsKeyOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetToggleFriendsKeyOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref GetToggleFriendsKeyOptions other) + { + m_ApiVersion = UIInterface.GettogglefriendskeyApiLatest; + } + + public void Set(ref GetToggleFriendsKeyOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.GettogglefriendskeyApiLatest; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetToggleFriendsKeyOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetToggleFriendsKeyOptions.cs.meta deleted file mode 100644 index 33cc2c7e..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/GetToggleFriendsKeyOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4760bcac4c849ef42ae2f55e6a129603 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsCallbackInfo.cs index 89df8841..9228ea48 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Output parameters for the function. - /// - public class HideFriendsCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the user whose friend list is being shown. - /// - public EpicAccountId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(HideFriendsCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as HideFriendsCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct HideFriendsCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Output parameters for the function. + /// + public struct HideFriendsCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the user whose friend list is being shown. + /// + public EpicAccountId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref HideFriendsCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct HideFriendsCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref HideFriendsCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref HideFriendsCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out HideFriendsCallbackInfo output) + { + output = new HideFriendsCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsCallbackInfo.cs.meta deleted file mode 100644 index e20ef626..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 23b7d26165ae6b9428c85125bcecb5ca -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsOptions.cs index 181636de..0f19638e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Input parameters for the function. - /// - public class HideFriendsOptions - { - /// - /// The Epic Online Services Account ID of the user whose friend list is being shown. - /// - public EpicAccountId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct HideFriendsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(HideFriendsOptions other) - { - if (other != null) - { - m_ApiVersion = UIInterface.HidefriendsApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as HideFriendsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Input parameters for the function. + /// + public struct HideFriendsOptions + { + /// + /// The Epic Account ID of the user whose friend list is being shown. + /// + public EpicAccountId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct HideFriendsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref HideFriendsOptions other) + { + m_ApiVersion = UIInterface.HidefriendsApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref HideFriendsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.HidefriendsApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsOptions.cs.meta deleted file mode 100644 index e4a6f959..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/HideFriendsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6822bbf1a733d1e41acdd3e3e49e33f5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/IsSocialOverlayPausedOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/IsSocialOverlayPausedOptions.cs new file mode 100644 index 00000000..9c7ef520 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/IsSocialOverlayPausedOptions.cs @@ -0,0 +1,35 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Input parameters for the function. + /// + public struct IsSocialOverlayPausedOptions + { + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct IsSocialOverlayPausedOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + + public void Set(ref IsSocialOverlayPausedOptions other) + { + m_ApiVersion = UIInterface.IssocialoverlaypausedApiLatest; + } + + public void Set(ref IsSocialOverlayPausedOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.IssocialoverlaypausedApiLatest; + } + } + + public void Dispose() + { + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/KeyCombination.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/KeyCombination.cs index 79d77e12..23768d0b 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/KeyCombination.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/KeyCombination.cs @@ -1,173 +1,173 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Enum flags for storing a key combination. The low 16 bits are the key type, and modifiers are - /// stored in the next significant bits - /// - [System.Flags] - public enum KeyCombination : int - { - /// - /// Number of bits to shift the modifiers into the integer. - /// - ModifierShift = 16, - /// - /// A mask to isolate the single key. - /// - KeyTypeMask = (1 << ModifierShift) - 1, - /// - /// A mask to isolate the modifier keys. - /// - ModifierMask = ~KeyTypeMask, - /// - /// The Shift key - /// - Shift = (1 << ModifierShift), - /// - /// The Control key - /// - Control = (2 << ModifierShift), - /// - /// The Alt key - /// - Alt = (4 << ModifierShift), - /// - /// The Windows key on a Windows keyboard or the Command key on a Mac keyboard - /// - Meta = (8 << ModifierShift), - ValidModifierMask = (Shift | Control | Alt | Meta), - None = 0, - Space, - Backspace, - Tab, - Escape, - PageUp, - PageDown, - End, - Home, - Insert, - Delete, - Left, - Up, - Right, - Down, - Key0, - Key1, - Key2, - Key3, - Key4, - Key5, - Key6, - Key7, - Key8, - Key9, - KeyA, - KeyB, - KeyC, - KeyD, - KeyE, - KeyF, - KeyG, - KeyH, - KeyI, - KeyJ, - KeyK, - KeyL, - KeyM, - KeyN, - KeyO, - KeyP, - KeyQ, - KeyR, - KeyS, - KeyT, - KeyU, - KeyV, - KeyW, - KeyX, - KeyY, - KeyZ, - Numpad0, - Numpad1, - Numpad2, - Numpad3, - Numpad4, - Numpad5, - Numpad6, - Numpad7, - Numpad8, - Numpad9, - NumpadAsterisk, - NumpadPlus, - NumpadMinus, - NumpadPeriod, - NumpadDivide, - F1, - F2, - F3, - F4, - F5, - F6, - F7, - F8, - F9, - F10, - F11, - F12, - F13, - F14, - F15, - F16, - F17, - F18, - F19, - F20, - F21, - F22, - F23, - F24, - OemPlus, - OemComma, - OemMinus, - OemPeriod, - /// - /// ';' for US layout, others vary - /// - Oem1, - /// - /// '/' for US layout, others vary - /// - Oem2, - /// - /// '~' for US layout, others vary - /// - Oem3, - /// - /// '[' for US layout, others vary - /// - Oem4, - /// - /// '\' for US layout, others vary - /// - Oem5, - /// - /// ']' for US layout, others vary - /// - Oem6, - /// - /// '"' for US layout, others vary - /// - Oem7, - /// - /// varies on all layouts - /// - Oem8, - /// - /// Maximum key enumeration value. - /// - MaxKeyType - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Enum flags for storing a key combination. The low 16 bits are the key type, and modifiers are + /// stored in the next significant bits + /// + [System.Flags] + public enum KeyCombination : int + { + /// + /// Number of bits to shift the modifiers into the integer. + /// + ModifierShift = 16, + /// + /// A mask to isolate the single key. + /// + KeyTypeMask = (1 << ModifierShift) - 1, + /// + /// A mask to isolate the modifier keys. + /// + ModifierMask = ~KeyTypeMask, + /// + /// The Shift key + /// + Shift = (1 << ModifierShift), + /// + /// The Control key + /// + Control = (2 << ModifierShift), + /// + /// The Alt key + /// + Alt = (4 << ModifierShift), + /// + /// The Windows key on a Windows keyboard or the Command key on a Mac keyboard + /// + Meta = (8 << ModifierShift), + ValidModifierMask = (Shift | Control | Alt | Meta), + None = 0, + Space, + Backspace, + Tab, + Escape, + PageUp, + PageDown, + End, + Home, + Insert, + Delete, + Left, + Up, + Right, + Down, + Key0, + Key1, + Key2, + Key3, + Key4, + Key5, + Key6, + Key7, + Key8, + Key9, + KeyA, + KeyB, + KeyC, + KeyD, + KeyE, + KeyF, + KeyG, + KeyH, + KeyI, + KeyJ, + KeyK, + KeyL, + KeyM, + KeyN, + KeyO, + KeyP, + KeyQ, + KeyR, + KeyS, + KeyT, + KeyU, + KeyV, + KeyW, + KeyX, + KeyY, + KeyZ, + Numpad0, + Numpad1, + Numpad2, + Numpad3, + Numpad4, + Numpad5, + Numpad6, + Numpad7, + Numpad8, + Numpad9, + NumpadAsterisk, + NumpadPlus, + NumpadMinus, + NumpadPeriod, + NumpadDivide, + F1, + F2, + F3, + F4, + F5, + F6, + F7, + F8, + F9, + F10, + F11, + F12, + F13, + F14, + F15, + F16, + F17, + F18, + F19, + F20, + F21, + F22, + F23, + F24, + OemPlus, + OemComma, + OemMinus, + OemPeriod, + /// + /// ';' for US layout, others vary + /// + Oem1, + /// + /// '/' for US layout, others vary + /// + Oem2, + /// + /// '~' for US layout, others vary + /// + Oem3, + /// + /// '[' for US layout, others vary + /// + Oem4, + /// + /// '\' for US layout, others vary + /// + Oem5, + /// + /// ']' for US layout, others vary + /// + Oem6, + /// + /// '"' for US layout, others vary + /// + Oem7, + /// + /// varies on all layouts + /// + Oem8, + /// + /// Maximum key enumeration value. + /// + MaxKeyType + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/KeyCombination.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/KeyCombination.cs.meta deleted file mode 100644 index b733255f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/KeyCombination.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 75722fb1f30f6184b827c468f863ebb3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/NotificationLocation.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/NotificationLocation.cs index 752f84b2..9b4ad3cf 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/NotificationLocation.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/NotificationLocation.cs @@ -1,18 +1,18 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Notification locations to be used to set the preference - /// for pop-up. - /// - /// - public enum NotificationLocation : int - { - TopLeft, - TopRight, - BottomLeft, - BottomRight - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Notification locations to be used to set the preference + /// for pop-up. + /// + /// + public enum NotificationLocation : int + { + TopLeft, + TopRight, + BottomLeft, + BottomRight + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/NotificationLocation.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/NotificationLocation.cs.meta deleted file mode 100644 index f78d62fa..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/NotificationLocation.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f40c6e41384a01a44ad972b9addf3b5f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallback.cs index 94d1beff..b2f90ffe 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the current display state. - public delegate void OnDisplaySettingsUpdatedCallback(OnDisplaySettingsUpdatedCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnDisplaySettingsUpdatedCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the current display state. + public delegate void OnDisplaySettingsUpdatedCallback(ref OnDisplaySettingsUpdatedCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnDisplaySettingsUpdatedCallbackInternal(ref OnDisplaySettingsUpdatedCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallback.cs.meta deleted file mode 100644 index 6e8a1123..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 288e27e81e86d4e4c8a5e394f1eaa34a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallbackInfo.cs index 773e6bf5..9b9bb378 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallbackInfo.cs @@ -1,90 +1,125 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - public class OnDisplaySettingsUpdatedCallbackInfo : ICallbackInfo, ISettable - { - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// True when any portion of the overlay is visible. - /// - public bool IsVisible { get; private set; } - - /// - /// True when the overlay has switched to exclusive input mode. - /// While in exclusive input mode, no keyboard or mouse input will be sent to the game. - /// - public bool IsExclusiveInput { get; private set; } - - public Result? GetResultCode() - { - return null; - } - - internal void Set(OnDisplaySettingsUpdatedCallbackInfoInternal? other) - { - if (other != null) - { - ClientData = other.Value.ClientData; - IsVisible = other.Value.IsVisible; - IsExclusiveInput = other.Value.IsExclusiveInput; - } - } - - public void Set(object other) - { - Set(other as OnDisplaySettingsUpdatedCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct OnDisplaySettingsUpdatedCallbackInfoInternal : ICallbackInfoInternal - { - private System.IntPtr m_ClientData; - private int m_IsVisible; - private int m_IsExclusiveInput; - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public bool IsVisible - { - get - { - bool value; - Helper.TryMarshalGet(m_IsVisible, out value); - return value; - } - } - - public bool IsExclusiveInput - { - get - { - bool value; - Helper.TryMarshalGet(m_IsExclusiveInput, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + public struct OnDisplaySettingsUpdatedCallbackInfo : ICallbackInfo + { + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// True when any portion of the overlay is visible. + /// + public bool IsVisible { get; set; } + + /// + /// True when the overlay has switched to exclusive input mode. + /// While in exclusive input mode, no keyboard or mouse input will be sent to the game. + /// + public bool IsExclusiveInput { get; set; } + + public Result? GetResultCode() + { + return null; + } + + internal void Set(ref OnDisplaySettingsUpdatedCallbackInfoInternal other) + { + ClientData = other.ClientData; + IsVisible = other.IsVisible; + IsExclusiveInput = other.IsExclusiveInput; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnDisplaySettingsUpdatedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private System.IntPtr m_ClientData; + private int m_IsVisible; + private int m_IsExclusiveInput; + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public bool IsVisible + { + get + { + bool value; + Helper.Get(m_IsVisible, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IsVisible); + } + } + + public bool IsExclusiveInput + { + get + { + bool value; + Helper.Get(m_IsExclusiveInput, out value); + return value; + } + + set + { + Helper.Set(value, ref m_IsExclusiveInput); + } + } + + public void Set(ref OnDisplaySettingsUpdatedCallbackInfo other) + { + ClientData = other.ClientData; + IsVisible = other.IsVisible; + IsExclusiveInput = other.IsExclusiveInput; + } + + public void Set(ref OnDisplaySettingsUpdatedCallbackInfo? other) + { + if (other.HasValue) + { + ClientData = other.Value.ClientData; + IsVisible = other.Value.IsVisible; + IsExclusiveInput = other.Value.IsExclusiveInput; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + } + + public void Get(out OnDisplaySettingsUpdatedCallbackInfo output) + { + output = new OnDisplaySettingsUpdatedCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallbackInfo.cs.meta deleted file mode 100644 index 209cf6c5..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnDisplaySettingsUpdatedCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a0abd767448655b4e8c7fb81e0629c11 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnHideFriendsCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnHideFriendsCallback.cs index 8d38de85..6e650837 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnHideFriendsCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnHideFriendsCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnHideFriendsCallback(HideFriendsCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnHideFriendsCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnHideFriendsCallback(ref HideFriendsCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnHideFriendsCallbackInternal(ref HideFriendsCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnHideFriendsCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnHideFriendsCallback.cs.meta deleted file mode 100644 index 0428db7b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnHideFriendsCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6ecf3b419adf2354795155b4f619cc1e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowBlockPlayerCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowBlockPlayerCallback.cs new file mode 100644 index 00000000..b34534cb --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowBlockPlayerCallback.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnShowBlockPlayerCallback(ref OnShowBlockPlayerCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnShowBlockPlayerCallbackInternal(ref OnShowBlockPlayerCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowBlockPlayerCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowBlockPlayerCallbackInfo.cs new file mode 100644 index 00000000..28f4927f --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowBlockPlayerCallbackInfo.cs @@ -0,0 +1,151 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Output parameters for the function. + /// + public struct OnShowBlockPlayerCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Online Services Account ID of the user who requested the block. + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Online Services Account ID of the user who was to be blocked. + /// + public EpicAccountId TargetUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref OnShowBlockPlayerCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnShowBlockPlayerCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + get + { + EpicAccountId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref OnShowBlockPlayerCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref OnShowBlockPlayerCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out OnShowBlockPlayerCallbackInfo output) + { + output = new OnShowBlockPlayerCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowFriendsCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowFriendsCallback.cs index a309ea43..a37ae8ca 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowFriendsCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowFriendsCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnShowFriendsCallback(ShowFriendsCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnShowFriendsCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnShowFriendsCallback(ref ShowFriendsCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnShowFriendsCallbackInternal(ref ShowFriendsCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowFriendsCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowFriendsCallback.cs.meta deleted file mode 100644 index 48195e51..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowFriendsCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6e5cc54f9c913a44c85c7a5b572d5c7a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowReportPlayerCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowReportPlayerCallback.cs new file mode 100644 index 00000000..14cd6d8a --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowReportPlayerCallback.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnShowReportPlayerCallback(ref OnShowReportPlayerCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnShowReportPlayerCallbackInternal(ref OnShowReportPlayerCallbackInfoInternal data); +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowReportPlayerCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowReportPlayerCallbackInfo.cs new file mode 100644 index 00000000..2ca0b2f1 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/OnShowReportPlayerCallbackInfo.cs @@ -0,0 +1,151 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Output parameters for the function. + /// + public struct OnShowReportPlayerCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Online Services Account ID of the user who requested the Report. + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Online Services Account ID of the user who was to be Reported. + /// + public EpicAccountId TargetUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref OnShowReportPlayerCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct OnShowReportPlayerCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + get + { + EpicAccountId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref OnShowReportPlayerCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref OnShowReportPlayerCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out OnShowReportPlayerCallbackInfo output) + { + output = new OnShowReportPlayerCallbackInfo(); + output.Set(ref this); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/PauseSocialOverlayOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/PauseSocialOverlayOptions.cs new file mode 100644 index 00000000..c68bec2b --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/PauseSocialOverlayOptions.cs @@ -0,0 +1,50 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Input parameters for the function. + /// + public struct PauseSocialOverlayOptions + { + /// + /// The desired bIsPaused state of the overlay. + /// + public bool IsPaused { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PauseSocialOverlayOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private int m_IsPaused; + + public bool IsPaused + { + set + { + Helper.Set(value, ref m_IsPaused); + } + } + + public void Set(ref PauseSocialOverlayOptions other) + { + m_ApiVersion = UIInterface.PausesocialoverlayApiLatest; + IsPaused = other.IsPaused; + } + + public void Set(ref PauseSocialOverlayOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.PausesocialoverlayApiLatest; + IsPaused = other.Value.IsPaused; + } + } + + public void Dispose() + { + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/PrePresentOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/PrePresentOptions.cs index d6e633cf..debd947e 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/PrePresentOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/PrePresentOptions.cs @@ -1,50 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Parameters for the function. - /// - public class PrePresentOptions - { - /// - /// Platform specific data. - /// - public System.IntPtr PlatformSpecificData { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct PrePresentOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_PlatformSpecificData; - - public System.IntPtr PlatformSpecificData - { - set - { - m_PlatformSpecificData = value; - } - } - - public void Set(PrePresentOptions other) - { - if (other != null) - { - m_ApiVersion = UIInterface.PrepresentApiLatest; - PlatformSpecificData = other.PlatformSpecificData; - } - } - - public void Set(object other) - { - Set(other as PrePresentOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_PlatformSpecificData); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Parameters for the EOS_UI_PrePresent function. + /// + public struct PrePresentOptions + { + /// + /// Platform specific data. + /// + public System.IntPtr PlatformSpecificData { get; set; } + + internal void Set(ref PrePresentOptionsInternal other) + { + PlatformSpecificData = other.PlatformSpecificData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct PrePresentOptionsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_PlatformSpecificData; + + public System.IntPtr PlatformSpecificData + { + get + { + return m_PlatformSpecificData; + } + + set + { + m_PlatformSpecificData = value; + } + } + + public void Set(ref PrePresentOptions other) + { + m_ApiVersion = UIInterface.PrepresentApiLatest; + PlatformSpecificData = other.PlatformSpecificData; + } + + public void Set(ref PrePresentOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.PrepresentApiLatest; + PlatformSpecificData = other.Value.PlatformSpecificData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_PlatformSpecificData); + } + + public void Get(out PrePresentOptions output) + { + output = new PrePresentOptions(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/PrePresentOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/PrePresentOptions.cs.meta deleted file mode 100644 index 639ee6cb..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/PrePresentOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 35268386f6391d54db20c5f5f3bc8d2a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ReportKeyEventOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ReportKeyEventOptions.cs index de364b2e..1e4d4f96 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ReportKeyEventOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ReportKeyEventOptions.cs @@ -1,50 +1,67 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Input parameters for the function. - /// - public class ReportKeyEventOptions - { - /// - /// The input data pushed to the SDK. - /// - public System.IntPtr PlatformSpecificInputData { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ReportKeyEventOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_PlatformSpecificInputData; - - public System.IntPtr PlatformSpecificInputData - { - set - { - m_PlatformSpecificInputData = value; - } - } - - public void Set(ReportKeyEventOptions other) - { - if (other != null) - { - m_ApiVersion = UIInterface.ReportkeyeventApiLatest; - PlatformSpecificInputData = other.PlatformSpecificInputData; - } - } - - public void Set(object other) - { - Set(other as ReportKeyEventOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_PlatformSpecificInputData); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Input parameters for the EOS_UI_ReportKeyEvent function. + /// + public struct ReportKeyEventOptions + { + /// + /// The input data pushed to the SDK. + /// + public System.IntPtr PlatformSpecificInputData { get; set; } + + internal void Set(ref ReportKeyEventOptionsInternal other) + { + PlatformSpecificInputData = other.PlatformSpecificInputData; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ReportKeyEventOptionsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_PlatformSpecificInputData; + + public System.IntPtr PlatformSpecificInputData + { + get + { + return m_PlatformSpecificInputData; + } + + set + { + m_PlatformSpecificInputData = value; + } + } + + public void Set(ref ReportKeyEventOptions other) + { + m_ApiVersion = UIInterface.ReportkeyeventApiLatest; + PlatformSpecificInputData = other.PlatformSpecificInputData; + } + + public void Set(ref ReportKeyEventOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.ReportkeyeventApiLatest; + PlatformSpecificInputData = other.Value.PlatformSpecificInputData; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_PlatformSpecificInputData); + } + + public void Get(out ReportKeyEventOptions output) + { + output = new ReportKeyEventOptions(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ReportKeyEventOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ReportKeyEventOptions.cs.meta deleted file mode 100644 index d868da97..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ReportKeyEventOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 584f029b2910190409ec230b2faff262 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetDisplayPreferenceOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetDisplayPreferenceOptions.cs index a0f555ea..f68cc0df 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetDisplayPreferenceOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetDisplayPreferenceOptions.cs @@ -1,49 +1,50 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Input parameters for the function. - /// - public class SetDisplayPreferenceOptions - { - /// - /// Preference for notification pop-up locations. - /// - public NotificationLocation NotificationLocation { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetDisplayPreferenceOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private NotificationLocation m_NotificationLocation; - - public NotificationLocation NotificationLocation - { - set - { - m_NotificationLocation = value; - } - } - - public void Set(SetDisplayPreferenceOptions other) - { - if (other != null) - { - m_ApiVersion = UIInterface.SetdisplaypreferenceApiLatest; - NotificationLocation = other.NotificationLocation; - } - } - - public void Set(object other) - { - Set(other as SetDisplayPreferenceOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Input parameters for the function. + /// + public struct SetDisplayPreferenceOptions + { + /// + /// Preference for notification pop-up locations. + /// + public NotificationLocation NotificationLocation { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetDisplayPreferenceOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private NotificationLocation m_NotificationLocation; + + public NotificationLocation NotificationLocation + { + set + { + m_NotificationLocation = value; + } + } + + public void Set(ref SetDisplayPreferenceOptions other) + { + m_ApiVersion = UIInterface.SetdisplaypreferenceApiLatest; + NotificationLocation = other.NotificationLocation; + } + + public void Set(ref SetDisplayPreferenceOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.SetdisplaypreferenceApiLatest; + NotificationLocation = other.Value.NotificationLocation; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetDisplayPreferenceOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetDisplayPreferenceOptions.cs.meta deleted file mode 100644 index 4a6a5a86..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetDisplayPreferenceOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 52a173c9acb7e2a44ac504f82cb8e732 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetToggleFriendsKeyOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetToggleFriendsKeyOptions.cs index 16f1fded..7c3b1cb5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetToggleFriendsKeyOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetToggleFriendsKeyOptions.cs @@ -1,51 +1,52 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Input parameters for the function. - /// - public class SetToggleFriendsKeyOptions - { - /// - /// The new key combination which will be used to toggle the friends overlay. - /// The combination can be any set of modifiers and one key. - /// A value of will cause the key to revert to the default. - /// - public KeyCombination KeyCombination { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct SetToggleFriendsKeyOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private KeyCombination m_KeyCombination; - - public KeyCombination KeyCombination - { - set - { - m_KeyCombination = value; - } - } - - public void Set(SetToggleFriendsKeyOptions other) - { - if (other != null) - { - m_ApiVersion = UIInterface.SettogglefriendskeyApiLatest; - KeyCombination = other.KeyCombination; - } - } - - public void Set(object other) - { - Set(other as SetToggleFriendsKeyOptions); - } - - public void Dispose() - { - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Input parameters for the function. + /// + public struct SetToggleFriendsKeyOptions + { + /// + /// The new key combination which will be used to toggle the friends overlay. + /// The combination can be any set of modifiers and one key. + /// A value of will cause the key to revert to the default. + /// + public KeyCombination KeyCombination { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct SetToggleFriendsKeyOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private KeyCombination m_KeyCombination; + + public KeyCombination KeyCombination + { + set + { + m_KeyCombination = value; + } + } + + public void Set(ref SetToggleFriendsKeyOptions other) + { + m_ApiVersion = UIInterface.SettogglefriendskeyApiLatest; + KeyCombination = other.KeyCombination; + } + + public void Set(ref SetToggleFriendsKeyOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.SettogglefriendskeyApiLatest; + KeyCombination = other.Value.KeyCombination; + } + } + + public void Dispose() + { + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetToggleFriendsKeyOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetToggleFriendsKeyOptions.cs.meta deleted file mode 100644 index 47c96052..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/SetToggleFriendsKeyOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ee60a7a3e9328c041ac9dd6f98e387bd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowBlockPlayerOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowBlockPlayerOptions.cs new file mode 100644 index 00000000..cfb618f5 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowBlockPlayerOptions.cs @@ -0,0 +1,68 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Parameters for the function. + /// + public struct ShowBlockPlayerOptions + { + /// + /// The Epic Online Services Account ID of the user who is requesting the Block. + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Online Services Account ID of the user whose is being Blocked. + /// + public EpicAccountId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ShowBlockPlayerOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref ShowBlockPlayerOptions other) + { + m_ApiVersion = UIInterface.ShowblockplayerApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref ShowBlockPlayerOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.ShowblockplayerApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsCallbackInfo.cs index 60e0dd63..8edd8ed6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsCallbackInfo.cs @@ -1,90 +1,126 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Output parameters for the function. - /// - public class ShowFriendsCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the user whose friend list is being shown. - /// - public EpicAccountId LocalUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(ShowFriendsCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as ShowFriendsCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ShowFriendsCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Output parameters for the function. + /// + public struct ShowFriendsCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the user whose friend list is being shown. + /// + public EpicAccountId LocalUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref ShowFriendsCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ShowFriendsCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref ShowFriendsCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + } + + public void Set(ref ShowFriendsCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + } + + public void Get(out ShowFriendsCallbackInfo output) + { + output = new ShowFriendsCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsCallbackInfo.cs.meta deleted file mode 100644 index 45178e6f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 81d52d222b2ff5440b5178c04ec7beb1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsOptions.cs index 9840d465..57882781 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsOptions.cs @@ -1,50 +1,51 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - /// - /// Input parameters for the function. - /// - public class ShowFriendsOptions - { - /// - /// The Epic Online Services Account ID of the user whose friend list is being shown. - /// - public EpicAccountId LocalUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ShowFriendsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public void Set(ShowFriendsOptions other) - { - if (other != null) - { - m_ApiVersion = UIInterface.ShowfriendsApiLatest; - LocalUserId = other.LocalUserId; - } - } - - public void Set(object other) - { - Set(other as ShowFriendsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Input parameters for the function. + /// + public struct ShowFriendsOptions + { + /// + /// The Epic Account ID of the user whose friend list is being shown. + /// + public EpicAccountId LocalUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ShowFriendsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public void Set(ref ShowFriendsOptions other) + { + m_ApiVersion = UIInterface.ShowfriendsApiLatest; + LocalUserId = other.LocalUserId; + } + + public void Set(ref ShowFriendsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.ShowfriendsApiLatest; + LocalUserId = other.Value.LocalUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsOptions.cs.meta deleted file mode 100644 index a36ca710..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowFriendsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 312846881aa89c542a59931ea75f7c15 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowReportPlayerOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowReportPlayerOptions.cs new file mode 100644 index 00000000..cddca04a --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/ShowReportPlayerOptions.cs @@ -0,0 +1,68 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + /// + /// Parameters for the function. + /// + public struct ShowReportPlayerOptions + { + /// + /// The Epic Online Services Account ID of the user who is requesting the Report. + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Online Services Account ID of the user whose is being Reported. + /// + public EpicAccountId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ShowReportPlayerOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref ShowReportPlayerOptions other) + { + m_ApiVersion = UIInterface.ShowreportplayerApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref ShowReportPlayerOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UIInterface.ShowreportplayerApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/UIInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/UIInterface.cs index 33e05ada..35f32c63 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/UIInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/UIInterface.cs @@ -1,346 +1,506 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UI -{ - public sealed partial class UIInterface : Handle - { - public UIInterface() - { - } - - public UIInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// DEPRECATED! Use instead. - /// - public const int AcknowledgecorrelationidApiLatest = AcknowledgeeventidApiLatest; - - /// - /// The most recent version of the API. - /// - public const int AcknowledgeeventidApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int AddnotifydisplaysettingsupdatedApiLatest = 1; - - /// - /// ID representing a specific UI event. - /// - public const int EventidInvalid = 0; - - /// - /// The most recent version of the API. - /// - public const int GetfriendsvisibleApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GettogglefriendskeyApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int HidefriendsApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int PrepresentApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int ReportkeyeventApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SetdisplaypreferenceApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int SettogglefriendskeyApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int ShowfriendsApiLatest = 1; - - /// - /// Lets the SDK know that the given UI event ID has been acknowledged and should be released. - /// - /// - /// - /// An is returned to indicate success or an error. - /// is returned if the UI event ID has been acknowledged. - /// is returned if the UI event ID does not exist. - /// - public Result AcknowledgeEventId(AcknowledgeEventIdOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_UI_AcknowledgeEventId(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Register to receive notifications when the overlay display settings are updated. - /// Newly registered handlers will always be called the next tick with the current state. - /// @note must call RemoveNotifyDisplaySettingsUpdated to remove the notification. - /// - /// Structure containing information about the request. - /// Arbitrary data that is passed back to you in the NotificationFn. - /// A callback that is fired when the overlay display settings are updated. - /// - /// handle representing the registered callback - /// - public ulong AddNotifyDisplaySettingsUpdated(AddNotifyDisplaySettingsUpdatedOptions options, object clientData, OnDisplaySettingsUpdatedCallback notificationFn) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var notificationFnInternal = new OnDisplaySettingsUpdatedCallbackInternal(OnDisplaySettingsUpdatedCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); - - var funcResult = Bindings.EOS_UI_AddNotifyDisplaySettingsUpdated(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - - Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); - - return funcResult; - } - - /// - /// Gets the friends overlay visibility. - /// - /// Structure containing the Epic Online Services Account ID of the friends Social Overlay owner. - /// - /// true If the overlay is visible. - /// - public bool GetFriendsVisible(GetFriendsVisibleOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_UI_GetFriendsVisible(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - bool funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Returns the current notification location display preference. - /// - /// - /// The current notification location display preference. - /// - public NotificationLocation GetNotificationLocationPreference() - { - var funcResult = Bindings.EOS_UI_GetNotificationLocationPreference(InnerHandle); - - return funcResult; - } - - /// - /// Returns the current Toggle Friends Key. This key can be used by the user to toggle the friends - /// overlay when available. The default value represents `Shift + F3` as `((int32_t) | (int32_t))`. - /// - /// Structure containing any options that are needed to retrieve the key. - /// - /// A valid key combination which represent a single key with zero or more modifier keys. - /// will be returned if any error occurs. - /// - public KeyCombination GetToggleFriendsKey(GetToggleFriendsKeyOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_UI_GetToggleFriendsKey(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Hides the active Social Overlay. - /// - /// Structure containing the Epic Online Services Account ID of the browser to close. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// A callback that is fired when the request to hide the friends list has been processed, or on an error. - /// - /// If the Social Overlay has been notified about the request. - /// If any of the options are incorrect. - /// If the Social Overlay is not properly configured. - /// If the Social Overlay is already hidden. - /// - public void HideFriends(HideFriendsOptions options, object clientData, OnHideFriendsCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnHideFriendsCallbackInternal(OnHideFriendsCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_UI_HideFriends(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// Determine if a key combination is valid. A key combinations must have a single key and at least one modifier. - /// The single key must be one of the following: F1 through F12, Space, Backspace, Escape, or Tab. - /// The modifier key must be one or more of the following: Shift, Control, or Alt. - /// - /// The key to test. - /// - /// true if the provided key combination is valid. - /// - public bool IsValidKeyCombination(KeyCombination keyCombination) - { - var funcResult = Bindings.EOS_UI_IsValidKeyCombination(InnerHandle, keyCombination); - - bool funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - - /// - /// Unregister from receiving notifications when the overlay display settings are updated. - /// - /// Handle representing the registered callback - public void RemoveNotifyDisplaySettingsUpdated(ulong id) - { - Helper.TryRemoveCallbackByNotificationId(id); - - Bindings.EOS_UI_RemoveNotifyDisplaySettingsUpdated(InnerHandle, id); - } - - /// - /// Define any preferences for any display settings. - /// - /// Structure containing any options that are needed to set - /// - /// If the overlay has been notified about the request. - /// If any of the options are incorrect. - /// If the overlay is not properly configured. - /// If the preferences did not change. - /// - public Result SetDisplayPreference(SetDisplayPreferenceOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_UI_SetDisplayPreference(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Updates the current Toggle Friends Key. This key can be used by the user to toggle the friends - /// overlay when available. The default value represents `Shift + F3` as `((int32_t) | (int32_t))`. - /// The provided key should satisfy . The value is specially handled - /// by resetting the key binding to the system default. - /// - /// - /// Structure containing the key combination to use. - /// - /// If the overlay has been notified about the request. - /// If any of the options are incorrect. - /// If the overlay is not properly configured. - /// If the key combination did not change. - /// - public Result SetToggleFriendsKey(SetToggleFriendsKeyOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_UI_SetToggleFriendsKey(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// Opens the Social Overlay with a request to show the friends list. - /// - /// Structure containing the Epic Online Services Account ID of the friends list to show. - /// Arbitrary data that is passed back to you in the CompletionDelegate. - /// A callback that is fired when the request to show the friends list has been sent to the Social Overlay, or on an error. - /// - /// If the Social Overlay has been notified about the request. - /// If any of the options are incorrect. - /// If the Social Overlay is not properly configured. - /// If the Social Overlay is already visible. - /// - public void ShowFriends(ShowFriendsOptions options, object clientData, OnShowFriendsCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnShowFriendsCallbackInternal(OnShowFriendsCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_UI_ShowFriends(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnDisplaySettingsUpdatedCallbackInternal))] - internal static void OnDisplaySettingsUpdatedCallbackInternalImplementation(System.IntPtr data) - { - OnDisplaySettingsUpdatedCallback callback; - OnDisplaySettingsUpdatedCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnHideFriendsCallbackInternal))] - internal static void OnHideFriendsCallbackInternalImplementation(System.IntPtr data) - { - OnHideFriendsCallback callback; - HideFriendsCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnShowFriendsCallbackInternal))] - internal static void OnShowFriendsCallbackInternalImplementation(System.IntPtr data) - { - OnShowFriendsCallback callback; - ShowFriendsCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UI +{ + public sealed partial class UIInterface : Handle + { + public UIInterface() + { + } + + public UIInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// DEPRECATED! Use instead. + /// + public const int AcknowledgecorrelationidApiLatest = AcknowledgeeventidApiLatest; + + /// + /// The most recent version of the API. + /// + public const int AcknowledgeeventidApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int AddnotifydisplaysettingsupdatedApiLatest = 1; + + /// + /// ID representing a specific UI event. + /// + public const int EventidInvalid = 0; + + /// + /// The most recent version of the API. + /// + public const int GetfriendsexclusiveinputApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GetfriendsvisibleApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int GettogglefriendskeyApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int HidefriendsApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int IssocialoverlaypausedApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int PausesocialoverlayApiLatest = 1; + + /// + /// The most recent version of the EOS_UI_PrePresent API. + /// + public const int PrepresentApiLatest = 1; + + /// + /// The most recent version of the EOS_UI_ReportKeyEvent API. + /// + public const int ReportkeyeventApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SetdisplaypreferenceApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int SettogglefriendskeyApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int ShowblockplayerApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int ShowfriendsApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int ShowreportplayerApiLatest = 1; + + /// + /// Lets the SDK know that the given UI event ID has been acknowledged and should be released. + /// + /// + /// + /// An is returned to indicate success or an error. + /// is returned if the UI event ID has been acknowledged. + /// is returned if the UI event ID does not exist. + /// + public Result AcknowledgeEventId(ref AcknowledgeEventIdOptions options) + { + AcknowledgeEventIdOptionsInternal optionsInternal = new AcknowledgeEventIdOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_UI_AcknowledgeEventId(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Register to receive notifications when the overlay display settings are updated. + /// Newly registered handlers will always be called the next tick with the current state. + /// must call RemoveNotifyDisplaySettingsUpdated to remove the notification. + /// + /// Structure containing information about the request. + /// Arbitrary data that is passed back to you in the NotificationFn. + /// A callback that is fired when the overlay display settings are updated. + /// + /// handle representing the registered callback + /// + public ulong AddNotifyDisplaySettingsUpdated(ref AddNotifyDisplaySettingsUpdatedOptions options, object clientData, OnDisplaySettingsUpdatedCallback notificationFn) + { + AddNotifyDisplaySettingsUpdatedOptionsInternal optionsInternal = new AddNotifyDisplaySettingsUpdatedOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var notificationFnInternal = new OnDisplaySettingsUpdatedCallbackInternal(OnDisplaySettingsUpdatedCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, notificationFn, notificationFnInternal); + + var funcResult = Bindings.EOS_UI_AddNotifyDisplaySettingsUpdated(InnerHandle, ref optionsInternal, clientDataAddress, notificationFnInternal); + + Helper.Dispose(ref optionsInternal); + + Helper.AssignNotificationIdToCallback(clientDataAddress, funcResult); + + return funcResult; + } + + /// + /// Gets the friends overlay exclusive input state. + /// + /// Structure containing the Epic Account ID of the friends Social Overlay owner. + /// + /// If the overlay has exclusive input. + /// + public bool GetFriendsExclusiveInput(ref GetFriendsExclusiveInputOptions options) + { + GetFriendsExclusiveInputOptionsInternal optionsInternal = new GetFriendsExclusiveInputOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_UI_GetFriendsExclusiveInput(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + bool funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Gets the friends overlay visibility. + /// + /// Structure containing the Epic Account ID of the friends Social Overlay owner. + /// + /// If the overlay is visible. + /// + public bool GetFriendsVisible(ref GetFriendsVisibleOptions options) + { + GetFriendsVisibleOptionsInternal optionsInternal = new GetFriendsVisibleOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_UI_GetFriendsVisible(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + bool funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Returns the current notification location display preference. + /// + /// + /// The current notification location display preference. + /// + public NotificationLocation GetNotificationLocationPreference() + { + var funcResult = Bindings.EOS_UI_GetNotificationLocationPreference(InnerHandle); + + return funcResult; + } + + /// + /// Returns the current Toggle Friends Key. This key can be used by the user to toggle the friends + /// overlay when available. The default value represents `Shift + F3` as `(() | ())`. + /// + /// Structure containing any options that are needed to retrieve the key. + /// + /// A valid key combination which represent a single key with zero or more modifier keys. + /// will be returned if any error occurs. + /// + public KeyCombination GetToggleFriendsKey(ref GetToggleFriendsKeyOptions options) + { + GetToggleFriendsKeyOptionsInternal optionsInternal = new GetToggleFriendsKeyOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_UI_GetToggleFriendsKey(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Hides the active Social Overlay. + /// + /// Structure containing the Epic Account ID of the browser to close. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when the request to hide the friends list has been processed, or on an error. + /// + /// If the Social Overlay has been notified about the request. + /// if the API version passed in is incorrect. + /// If any of the options are incorrect. + /// If the Social Overlay is not properly configured. + /// If the Social Overlay is already hidden. + /// + public void HideFriends(ref HideFriendsOptions options, object clientData, OnHideFriendsCallback completionDelegate) + { + HideFriendsOptionsInternal optionsInternal = new HideFriendsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnHideFriendsCallbackInternal(OnHideFriendsCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_UI_HideFriends(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Gets the bIsPaused state of the overlay as set by any previous calls to (). + /// + /// + /// + /// If the overlay is paused. + /// + public bool IsSocialOverlayPaused(ref IsSocialOverlayPausedOptions options) + { + IsSocialOverlayPausedOptionsInternal optionsInternal = new IsSocialOverlayPausedOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_UI_IsSocialOverlayPaused(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + bool funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Determine if a key combination is valid. A key combinations must have a single key and at least one modifier. + /// The single key must be one of the following: F1 through F12, Space, Backspace, Escape, or Tab. + /// The modifier key must be one or more of the following: Shift, Control, or Alt. + /// + /// The key to test. + /// + /// if the provided key combination is valid. + /// + public bool IsValidKeyCombination(KeyCombination keyCombination) + { + var funcResult = Bindings.EOS_UI_IsValidKeyCombination(InnerHandle, keyCombination); + + bool funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + + /// + /// Sets the bIsPaused state of the overlay. + /// While true then all notifications will be delayed until after the bIsPaused is false again. + /// While true then the key and button events will not toggle the overlay. + /// If the Overlay was visible before being paused then it will be hidden. + /// If it is known that the Overlay should now be visible after being paused then it will be shown. + /// + /// + /// If the overlay has been notified about the request. + /// if the API version passed in is incorrect. + /// If any of the options are incorrect. + /// If the overlay is not properly configured. + /// + public Result PauseSocialOverlay(ref PauseSocialOverlayOptions options) + { + PauseSocialOverlayOptionsInternal optionsInternal = new PauseSocialOverlayOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_UI_PauseSocialOverlay(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Unregister from receiving notifications when the overlay display settings are updated. + /// + /// Handle representing the registered callback + public void RemoveNotifyDisplaySettingsUpdated(ulong id) + { + Bindings.EOS_UI_RemoveNotifyDisplaySettingsUpdated(InnerHandle, id); + + Helper.RemoveCallbackByNotificationId(id); + } + + /// + /// Define any preferences for any display settings. + /// + /// Structure containing any options that are needed to set + /// + /// If the overlay has been notified about the request. + /// if the API version passed in is incorrect. + /// If any of the options are incorrect. + /// If the overlay is not properly configured. + /// If the preferences did not change. + /// + public Result SetDisplayPreference(ref SetDisplayPreferenceOptions options) + { + SetDisplayPreferenceOptionsInternal optionsInternal = new SetDisplayPreferenceOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_UI_SetDisplayPreference(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Updates the current Toggle Friends Key. This key can be used by the user to toggle the friends + /// overlay when available. The default value represents `Shift + F3` as `(() | ())`. + /// The provided key should satisfy . The value is specially handled + /// by resetting the key binding to the system default. + /// + /// + /// Structure containing the key combination to use. + /// + /// If the overlay has been notified about the request. + /// if the API version passed in is incorrect. + /// If any of the options are incorrect. + /// If the overlay is not properly configured. + /// If the key combination did not change. + /// + public Result SetToggleFriendsKey(ref SetToggleFriendsKeyOptions options) + { + SetToggleFriendsKeyOptionsInternal optionsInternal = new SetToggleFriendsKeyOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_UI_SetToggleFriendsKey(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// Requests that the Social Overlay open and display the "Block User" flow for the specified user. + /// + /// Arbitrary data that is passed back to you in the NotificationFn. + /// A callback that is fired when the user exits the Block UI. + public void ShowBlockPlayer(ref ShowBlockPlayerOptions options, object clientData, OnShowBlockPlayerCallback completionDelegate) + { + ShowBlockPlayerOptionsInternal optionsInternal = new ShowBlockPlayerOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnShowBlockPlayerCallbackInternal(OnShowBlockPlayerCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_UI_ShowBlockPlayer(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Opens the Social Overlay with a request to show the friends list. + /// + /// Structure containing the Epic Account ID of the friends list to show. + /// Arbitrary data that is passed back to you in the CompletionDelegate. + /// A callback that is fired when the request to show the friends list has been sent to the Social Overlay, or on an error. + /// + /// If the Social Overlay has been notified about the request. + /// if the API version passed in is incorrect. + /// If any of the options are incorrect. + /// If the Social Overlay is not properly configured. + /// If the Social Overlay is already visible. + /// If the application is suspended. + /// If the network is disconnected. + /// + public void ShowFriends(ref ShowFriendsOptions options, object clientData, OnShowFriendsCallback completionDelegate) + { + ShowFriendsOptionsInternal optionsInternal = new ShowFriendsOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnShowFriendsCallbackInternal(OnShowFriendsCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_UI_ShowFriends(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// Requests that the Social Overlay open and display the "Report User" flow for the specified user. + /// + /// Arbitrary data that is passed back to you in the NotificationFn. + /// A callback that is fired when the user exits the Report UI. + public void ShowReportPlayer(ref ShowReportPlayerOptions options, object clientData, OnShowReportPlayerCallback completionDelegate) + { + ShowReportPlayerOptionsInternal optionsInternal = new ShowReportPlayerOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnShowReportPlayerCallbackInternal(OnShowReportPlayerCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_UI_ShowReportPlayer(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnDisplaySettingsUpdatedCallbackInternal))] + internal static void OnDisplaySettingsUpdatedCallbackInternalImplementation(ref OnDisplaySettingsUpdatedCallbackInfoInternal data) + { + OnDisplaySettingsUpdatedCallback callback; + OnDisplaySettingsUpdatedCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnHideFriendsCallbackInternal))] + internal static void OnHideFriendsCallbackInternalImplementation(ref HideFriendsCallbackInfoInternal data) + { + OnHideFriendsCallback callback; + HideFriendsCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnShowBlockPlayerCallbackInternal))] + internal static void OnShowBlockPlayerCallbackInternalImplementation(ref OnShowBlockPlayerCallbackInfoInternal data) + { + OnShowBlockPlayerCallback callback; + OnShowBlockPlayerCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnShowFriendsCallbackInternal))] + internal static void OnShowFriendsCallbackInternalImplementation(ref ShowFriendsCallbackInfoInternal data) + { + OnShowFriendsCallback callback; + ShowFriendsCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnShowReportPlayerCallbackInternal))] + internal static void OnShowReportPlayerCallbackInternalImplementation(ref OnShowReportPlayerCallbackInfoInternal data) + { + OnShowReportPlayerCallback callback; + OnShowReportPlayerCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/UIInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/UIInterface.cs.meta deleted file mode 100644 index f69218c7..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UI/UIInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 35ad2059fa078c14fa3326e3f4645329 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo.meta deleted file mode 100644 index 1d887ef2..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 70e3a76cb24225741ba6eea7bf7492bd -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountIdOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountIdOptions.cs index 84d158bf..48bdf205 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountIdOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountIdOptions.cs @@ -1,82 +1,85 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Input parameters for the function. - /// - public class CopyExternalUserInfoByAccountIdOptions - { - /// - /// The Epic Online Services Account ID of the local player requesting the information - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID of the player whose information is being retrieved - /// - public EpicAccountId TargetUserId { get; set; } - - /// - /// The external account ID associated with the (external) user info to retrieve from the cache; cannot be null - /// - public string AccountId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyExternalUserInfoByAccountIdOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - private System.IntPtr m_AccountId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public string AccountId - { - set - { - Helper.TryMarshalSet(ref m_AccountId, value); - } - } - - public void Set(CopyExternalUserInfoByAccountIdOptions other) - { - if (other != null) - { - m_ApiVersion = UserInfoInterface.CopyexternaluserinfobyaccountidApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - AccountId = other.AccountId; - } - } - - public void Set(object other) - { - Set(other as CopyExternalUserInfoByAccountIdOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - Helper.TryMarshalDispose(ref m_AccountId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Input parameters for the function. + /// + public struct CopyExternalUserInfoByAccountIdOptions + { + /// + /// The Epic Account ID of the local player requesting the information + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the player whose information is being retrieved + /// + public EpicAccountId TargetUserId { get; set; } + + /// + /// The external account ID associated with the (external) user info to retrieve from the cache; cannot be null + /// + public Utf8String AccountId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyExternalUserInfoByAccountIdOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_AccountId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public Utf8String AccountId + { + set + { + Helper.Set(value, ref m_AccountId); + } + } + + public void Set(ref CopyExternalUserInfoByAccountIdOptions other) + { + m_ApiVersion = UserInfoInterface.CopyexternaluserinfobyaccountidApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + AccountId = other.AccountId; + } + + public void Set(ref CopyExternalUserInfoByAccountIdOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UserInfoInterface.CopyexternaluserinfobyaccountidApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + AccountId = other.Value.AccountId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_AccountId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountIdOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountIdOptions.cs.meta deleted file mode 100644 index 6613ca3c..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountIdOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ec339dfbd2a68a14983d658a4a8ae372 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountTypeOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountTypeOptions.cs index 3302f609..e24d2520 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountTypeOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountTypeOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Input parameters for the function. - /// - public class CopyExternalUserInfoByAccountTypeOptions - { - /// - /// The Epic Online Services Account ID of the local player requesting the information - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID of the player whose information is being retrieved - /// - public EpicAccountId TargetUserId { get; set; } - - /// - /// Account type of the external user info to retrieve from the cache - /// - public ExternalAccountType AccountType { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyExternalUserInfoByAccountTypeOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - private ExternalAccountType m_AccountType; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public ExternalAccountType AccountType - { - set - { - m_AccountType = value; - } - } - - public void Set(CopyExternalUserInfoByAccountTypeOptions other) - { - if (other != null) - { - m_ApiVersion = UserInfoInterface.CopyexternaluserinfobyaccounttypeApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - AccountType = other.AccountType; - } - } - - public void Set(object other) - { - Set(other as CopyExternalUserInfoByAccountTypeOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Input parameters for the function. + /// + public struct CopyExternalUserInfoByAccountTypeOptions + { + /// + /// The Epic Account ID of the local player requesting the information + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the player whose information is being retrieved + /// + public EpicAccountId TargetUserId { get; set; } + + /// + /// Account type of the external user info to retrieve from the cache + /// + public ExternalAccountType AccountType { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyExternalUserInfoByAccountTypeOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + private ExternalAccountType m_AccountType; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public ExternalAccountType AccountType + { + set + { + m_AccountType = value; + } + } + + public void Set(ref CopyExternalUserInfoByAccountTypeOptions other) + { + m_ApiVersion = UserInfoInterface.CopyexternaluserinfobyaccounttypeApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + AccountType = other.AccountType; + } + + public void Set(ref CopyExternalUserInfoByAccountTypeOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UserInfoInterface.CopyexternaluserinfobyaccounttypeApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + AccountType = other.Value.AccountType; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountTypeOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountTypeOptions.cs.meta deleted file mode 100644 index cb4a574f..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByAccountTypeOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2caf6737a2543234a90c44045738fc0a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByIndexOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByIndexOptions.cs index 3f872e4f..3720af0a 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByIndexOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByIndexOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Input parameters for the function. - /// - public class CopyExternalUserInfoByIndexOptions - { - /// - /// The Epic Online Services Account ID of the local player requesting the information - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID of the player whose information is being retrieved - /// - public EpicAccountId TargetUserId { get; set; } - - /// - /// Index of the external user info to retrieve from the cache - /// - public uint Index { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyExternalUserInfoByIndexOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - private uint m_Index; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public uint Index - { - set - { - m_Index = value; - } - } - - public void Set(CopyExternalUserInfoByIndexOptions other) - { - if (other != null) - { - m_ApiVersion = UserInfoInterface.CopyexternaluserinfobyindexApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - Index = other.Index; - } - } - - public void Set(object other) - { - Set(other as CopyExternalUserInfoByIndexOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Input parameters for the function. + /// + public struct CopyExternalUserInfoByIndexOptions + { + /// + /// The Epic Account ID of the local player requesting the information + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the player whose information is being retrieved + /// + public EpicAccountId TargetUserId { get; set; } + + /// + /// Index of the external user info to retrieve from the cache + /// + public uint Index { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyExternalUserInfoByIndexOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + private uint m_Index; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public uint Index + { + set + { + m_Index = value; + } + } + + public void Set(ref CopyExternalUserInfoByIndexOptions other) + { + m_ApiVersion = UserInfoInterface.CopyexternaluserinfobyindexApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + Index = other.Index; + } + + public void Set(ref CopyExternalUserInfoByIndexOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UserInfoInterface.CopyexternaluserinfobyindexApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + Index = other.Value.Index; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByIndexOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByIndexOptions.cs.meta deleted file mode 100644 index fd1d44ac..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyExternalUserInfoByIndexOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5da31470bf11a1e4487b9e8837699ce8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyUserInfoOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyUserInfoOptions.cs index 6f1c0fff..f48e44ce 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyUserInfoOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyUserInfoOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Input parameters for the function. - /// - public class CopyUserInfoOptions - { - /// - /// The Epic Online Services Account ID of the local player requesting the information - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID of the player whose information is being retrieved - /// - public EpicAccountId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct CopyUserInfoOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(CopyUserInfoOptions other) - { - if (other != null) - { - m_ApiVersion = UserInfoInterface.CopyuserinfoApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as CopyUserInfoOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Input parameters for the function. + /// + public struct CopyUserInfoOptions + { + /// + /// The Epic Account ID of the local player requesting the information + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the player whose information is being retrieved + /// + public EpicAccountId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct CopyUserInfoOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref CopyUserInfoOptions other) + { + m_ApiVersion = UserInfoInterface.CopyuserinfoApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref CopyUserInfoOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UserInfoInterface.CopyuserinfoApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyUserInfoOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyUserInfoOptions.cs.meta deleted file mode 100644 index 95acbc6d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/CopyUserInfoOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 93ab766234ba81241ac289e791a91df1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/ExternalUserInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/ExternalUserInfo.cs index c2c182e1..feeee3a2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/ExternalUserInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/ExternalUserInfo.cs @@ -1,115 +1,141 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Contains information about a single external user info. - /// - public class ExternalUserInfo : ISettable - { - /// - /// The type of the external account - /// - public ExternalAccountType AccountType { get; set; } - - /// - /// The ID of the external account. Can be null - /// - public string AccountId { get; set; } - - /// - /// The display name of the external account. Can be null - /// - public string DisplayName { get; set; } - - internal void Set(ExternalUserInfoInternal? other) - { - if (other != null) - { - AccountType = other.Value.AccountType; - AccountId = other.Value.AccountId; - DisplayName = other.Value.DisplayName; - } - } - - public void Set(object other) - { - Set(other as ExternalUserInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct ExternalUserInfoInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private ExternalAccountType m_AccountType; - private System.IntPtr m_AccountId; - private System.IntPtr m_DisplayName; - - public ExternalAccountType AccountType - { - get - { - return m_AccountType; - } - - set - { - m_AccountType = value; - } - } - - public string AccountId - { - get - { - string value; - Helper.TryMarshalGet(m_AccountId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_AccountId, value); - } - } - - public string DisplayName - { - get - { - string value; - Helper.TryMarshalGet(m_DisplayName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DisplayName, value); - } - } - - public void Set(ExternalUserInfo other) - { - if (other != null) - { - m_ApiVersion = UserInfoInterface.ExternaluserinfoApiLatest; - AccountType = other.AccountType; - AccountId = other.AccountId; - DisplayName = other.DisplayName; - } - } - - public void Set(object other) - { - Set(other as ExternalUserInfo); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_AccountId); - Helper.TryMarshalDispose(ref m_DisplayName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Contains information about a single external user info. + /// + public struct ExternalUserInfo + { + /// + /// The type of the external account + /// + public ExternalAccountType AccountType { get; set; } + + /// + /// The ID of the external account. Can be null + /// + public Utf8String AccountId { get; set; } + + /// + /// The display name of the external account (un-sanitized). Can be null + /// + public Utf8String DisplayName { get; set; } + + /// + /// The display name of the external account (sanitized). Can be null + /// + public Utf8String DisplayNameSanitized { get; set; } + + internal void Set(ref ExternalUserInfoInternal other) + { + AccountType = other.AccountType; + AccountId = other.AccountId; + DisplayName = other.DisplayName; + DisplayNameSanitized = other.DisplayNameSanitized; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct ExternalUserInfoInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private ExternalAccountType m_AccountType; + private System.IntPtr m_AccountId; + private System.IntPtr m_DisplayName; + private System.IntPtr m_DisplayNameSanitized; + + public ExternalAccountType AccountType + { + get + { + return m_AccountType; + } + + set + { + m_AccountType = value; + } + } + + public Utf8String AccountId + { + get + { + Utf8String value; + Helper.Get(m_AccountId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_AccountId); + } + } + + public Utf8String DisplayName + { + get + { + Utf8String value; + Helper.Get(m_DisplayName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DisplayName); + } + } + + public Utf8String DisplayNameSanitized + { + get + { + Utf8String value; + Helper.Get(m_DisplayNameSanitized, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DisplayNameSanitized); + } + } + + public void Set(ref ExternalUserInfo other) + { + m_ApiVersion = UserInfoInterface.ExternaluserinfoApiLatest; + AccountType = other.AccountType; + AccountId = other.AccountId; + DisplayName = other.DisplayName; + DisplayNameSanitized = other.DisplayNameSanitized; + } + + public void Set(ref ExternalUserInfo? other) + { + if (other.HasValue) + { + m_ApiVersion = UserInfoInterface.ExternaluserinfoApiLatest; + AccountType = other.Value.AccountType; + AccountId = other.Value.AccountId; + DisplayName = other.Value.DisplayName; + DisplayNameSanitized = other.Value.DisplayNameSanitized; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_AccountId); + Helper.Dispose(ref m_DisplayName); + Helper.Dispose(ref m_DisplayNameSanitized); + } + + public void Get(out ExternalUserInfo output) + { + output = new ExternalUserInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/ExternalUserInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/ExternalUserInfo.cs.meta deleted file mode 100644 index 8dfd1d20..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/ExternalUserInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: af59d1d3483c5d2459c0cc2c00c6d4b4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/GetExternalUserInfoCountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/GetExternalUserInfoCountOptions.cs index b89f6432..dde87dc6 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/GetExternalUserInfoCountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/GetExternalUserInfoCountOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Input parameters for the function. - /// - public class GetExternalUserInfoCountOptions - { - /// - /// The Epic Online Services Account ID of the local player requesting the information - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID of the player whose information is being retrieved - /// - public EpicAccountId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct GetExternalUserInfoCountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(GetExternalUserInfoCountOptions other) - { - if (other != null) - { - m_ApiVersion = UserInfoInterface.GetexternaluserinfocountApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as GetExternalUserInfoCountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Input parameters for the function. + /// + public struct GetExternalUserInfoCountOptions + { + /// + /// The Epic Account ID of the local player requesting the information + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the player whose information is being retrieved + /// + public EpicAccountId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct GetExternalUserInfoCountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref GetExternalUserInfoCountOptions other) + { + m_ApiVersion = UserInfoInterface.GetexternaluserinfocountApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref GetExternalUserInfoCountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UserInfoInterface.GetexternaluserinfocountApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/GetExternalUserInfoCountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/GetExternalUserInfoCountOptions.cs.meta deleted file mode 100644 index 982cec33..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/GetExternalUserInfoCountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8d5e672b814d6f84292b359108183120 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByDisplayNameCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByDisplayNameCallback.cs index c690c940..986e02da 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByDisplayNameCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByDisplayNameCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryUserInfoByDisplayNameCallback(QueryUserInfoByDisplayNameCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryUserInfoByDisplayNameCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryUserInfoByDisplayNameCallback(ref QueryUserInfoByDisplayNameCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryUserInfoByDisplayNameCallbackInternal(ref QueryUserInfoByDisplayNameCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByDisplayNameCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByDisplayNameCallback.cs.meta deleted file mode 100644 index 24025eb3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByDisplayNameCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 09578a01dd0ddb54199a8d012aa0ef96 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByExternalAccountCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByExternalAccountCallback.cs index 8dc32081..5d895e4c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByExternalAccountCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByExternalAccountCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryUserInfoByExternalAccountCallback(QueryUserInfoByExternalAccountCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryUserInfoByExternalAccountCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryUserInfoByExternalAccountCallback(ref QueryUserInfoByExternalAccountCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryUserInfoByExternalAccountCallbackInternal(ref QueryUserInfoByExternalAccountCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByExternalAccountCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByExternalAccountCallback.cs.meta deleted file mode 100644 index dac4a81a..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoByExternalAccountCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 93f6cee9511ab004b8f6761fb0141081 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoCallback.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoCallback.cs index 327fc9f9..38b696c1 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoCallback.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoCallback.cs @@ -1,14 +1,14 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Function prototype definition for callbacks passed to - /// - /// A containing the output information and result - public delegate void OnQueryUserInfoCallback(QueryUserInfoCallbackInfo data); - - [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] - internal delegate void OnQueryUserInfoCallbackInternal(System.IntPtr data); +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Function prototype definition for callbacks passed to + /// + /// A containing the output information and result + public delegate void OnQueryUserInfoCallback(ref QueryUserInfoCallbackInfo data); + + [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate void OnQueryUserInfoCallbackInternal(ref QueryUserInfoCallbackInfoInternal data); } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoCallback.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoCallback.cs.meta deleted file mode 100644 index 3efe41cd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/OnQueryUserInfoCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cb10976bdb3bd0a428a7358f62d3748b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameCallbackInfo.cs index 68e3b1a2..651a3641 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameCallbackInfo.cs @@ -1,124 +1,176 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Output parameters for the Function. - /// - public class QueryUserInfoByDisplayNameCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local player requesting the information - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// The Epic Online Services Account ID of the player whose information is being retrieved - /// - public EpicAccountId TargetUserId { get; private set; } - - /// - /// Display name of the player being queried. This memory is only valid during the scope of the callback. - /// - public string DisplayName { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryUserInfoByDisplayNameCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - DisplayName = other.Value.DisplayName; - } - } - - public void Set(object other) - { - Set(other as QueryUserInfoByDisplayNameCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryUserInfoByDisplayNameCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - private System.IntPtr m_DisplayName; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public EpicAccountId TargetUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - - public string DisplayName - { - get - { - string value; - Helper.TryMarshalGet(m_DisplayName, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Output parameters for the Function. + /// + public struct QueryUserInfoByDisplayNameCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local player requesting the information + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the player whose information is being retrieved + /// + public EpicAccountId TargetUserId { get; set; } + + /// + /// Display name (un-sanitized) of the player being queried. This memory is only valid during the scope of the callback. + /// + public Utf8String DisplayName { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryUserInfoByDisplayNameCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + DisplayName = other.DisplayName; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryUserInfoByDisplayNameCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + private System.IntPtr m_DisplayName; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + get + { + EpicAccountId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public Utf8String DisplayName + { + get + { + Utf8String value; + Helper.Get(m_DisplayName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DisplayName); + } + } + + public void Set(ref QueryUserInfoByDisplayNameCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + DisplayName = other.DisplayName; + } + + public void Set(ref QueryUserInfoByDisplayNameCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + DisplayName = other.Value.DisplayName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + Helper.Dispose(ref m_DisplayName); + } + + public void Get(out QueryUserInfoByDisplayNameCallbackInfo output) + { + output = new QueryUserInfoByDisplayNameCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameCallbackInfo.cs.meta deleted file mode 100644 index 75222598..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d620049d7264f8449b6bbc1af3515585 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameOptions.cs index 817bd4a2..65f4a3a5 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Input parameters for the function. - /// - public class QueryUserInfoByDisplayNameOptions - { - /// - /// The Epic Online Services Account ID of the local player requesting the information - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// Display name of the player being queried - /// - public string DisplayName { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryUserInfoByDisplayNameOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_DisplayName; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string DisplayName - { - set - { - Helper.TryMarshalSet(ref m_DisplayName, value); - } - } - - public void Set(QueryUserInfoByDisplayNameOptions other) - { - if (other != null) - { - m_ApiVersion = UserInfoInterface.QueryuserinfobydisplaynameApiLatest; - LocalUserId = other.LocalUserId; - DisplayName = other.DisplayName; - } - } - - public void Set(object other) - { - Set(other as QueryUserInfoByDisplayNameOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_DisplayName); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Input parameters for the function. + /// + public struct QueryUserInfoByDisplayNameOptions + { + /// + /// The Epic Account ID of the local player requesting the information + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// Raw display name (un-sanitized) of the player being queried + /// + public Utf8String DisplayName { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryUserInfoByDisplayNameOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_DisplayName; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String DisplayName + { + set + { + Helper.Set(value, ref m_DisplayName); + } + } + + public void Set(ref QueryUserInfoByDisplayNameOptions other) + { + m_ApiVersion = UserInfoInterface.QueryuserinfobydisplaynameApiLatest; + LocalUserId = other.LocalUserId; + DisplayName = other.DisplayName; + } + + public void Set(ref QueryUserInfoByDisplayNameOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UserInfoInterface.QueryuserinfobydisplaynameApiLatest; + LocalUserId = other.Value.LocalUserId; + DisplayName = other.Value.DisplayName; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_DisplayName); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameOptions.cs.meta deleted file mode 100644 index b2ecda09..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByDisplayNameOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fd1c475494739004c931549b9b7e1a08 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountCallbackInfo.cs index 31f5dd68..6a2dab0c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountCallbackInfo.cs @@ -1,139 +1,198 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Output parameters for the Function. - /// - public class QueryUserInfoByExternalAccountCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local player who requested the information - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// External account id of the user whose information has been retrieved - /// - public string ExternalAccountId { get; private set; } - - /// - /// Account type of the external account id - /// - public ExternalAccountType AccountType { get; private set; } - - /// - /// Account ID of the player whose information has been retrieved - /// - public EpicAccountId TargetUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryUserInfoByExternalAccountCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - ExternalAccountId = other.Value.ExternalAccountId; - AccountType = other.Value.AccountType; - TargetUserId = other.Value.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as QueryUserInfoByExternalAccountCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryUserInfoByExternalAccountCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ExternalAccountId; - private ExternalAccountType m_AccountType; - private System.IntPtr m_TargetUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public string ExternalAccountId - { - get - { - string value; - Helper.TryMarshalGet(m_ExternalAccountId, out value); - return value; - } - } - - public ExternalAccountType AccountType - { - get - { - return m_AccountType; - } - } - - public EpicAccountId TargetUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Output parameters for the Function. + /// + public struct QueryUserInfoByExternalAccountCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local player who requested the information + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// External account id of the user whose information has been retrieved + /// + public Utf8String ExternalAccountId { get; set; } + + /// + /// Account type of the external account id + /// + public ExternalAccountType AccountType { get; set; } + + /// + /// Account ID of the player whose information has been retrieved + /// + public EpicAccountId TargetUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryUserInfoByExternalAccountCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + ExternalAccountId = other.ExternalAccountId; + AccountType = other.AccountType; + TargetUserId = other.TargetUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryUserInfoByExternalAccountCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ExternalAccountId; + private ExternalAccountType m_AccountType; + private System.IntPtr m_TargetUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String ExternalAccountId + { + get + { + Utf8String value; + Helper.Get(m_ExternalAccountId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ExternalAccountId); + } + } + + public ExternalAccountType AccountType + { + get + { + return m_AccountType; + } + + set + { + m_AccountType = value; + } + } + + public EpicAccountId TargetUserId + { + get + { + EpicAccountId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref QueryUserInfoByExternalAccountCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + ExternalAccountId = other.ExternalAccountId; + AccountType = other.AccountType; + TargetUserId = other.TargetUserId; + } + + public void Set(ref QueryUserInfoByExternalAccountCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + ExternalAccountId = other.Value.ExternalAccountId; + AccountType = other.Value.AccountType; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ExternalAccountId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out QueryUserInfoByExternalAccountCallbackInfo output) + { + output = new QueryUserInfoByExternalAccountCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountCallbackInfo.cs.meta deleted file mode 100644 index efdaea01..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1b399119953401b40b33631f8282d275 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountOptions.cs index fe418a69..1d2c2cea 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountOptions.cs @@ -1,81 +1,84 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Input parameters for the function. - /// - public class QueryUserInfoByExternalAccountOptions - { - /// - /// The Epic Online Services Account ID of the local player requesting the information - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// External account ID of the user whose information is being retrieved - /// - public string ExternalAccountId { get; set; } - - /// - /// Account type of the external user info to query - /// - public ExternalAccountType AccountType { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryUserInfoByExternalAccountOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_ExternalAccountId; - private ExternalAccountType m_AccountType; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public string ExternalAccountId - { - set - { - Helper.TryMarshalSet(ref m_ExternalAccountId, value); - } - } - - public ExternalAccountType AccountType - { - set - { - m_AccountType = value; - } - } - - public void Set(QueryUserInfoByExternalAccountOptions other) - { - if (other != null) - { - m_ApiVersion = UserInfoInterface.QueryuserinfobyexternalaccountApiLatest; - LocalUserId = other.LocalUserId; - ExternalAccountId = other.ExternalAccountId; - AccountType = other.AccountType; - } - } - - public void Set(object other) - { - Set(other as QueryUserInfoByExternalAccountOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_ExternalAccountId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Input parameters for the function. + /// + public struct QueryUserInfoByExternalAccountOptions + { + /// + /// The Epic Account ID of the local player requesting the information + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// External account ID of the user whose information is being retrieved + /// + public Utf8String ExternalAccountId { get; set; } + + /// + /// Account type of the external user info to query + /// + public ExternalAccountType AccountType { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryUserInfoByExternalAccountOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_ExternalAccountId; + private ExternalAccountType m_AccountType; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public Utf8String ExternalAccountId + { + set + { + Helper.Set(value, ref m_ExternalAccountId); + } + } + + public ExternalAccountType AccountType + { + set + { + m_AccountType = value; + } + } + + public void Set(ref QueryUserInfoByExternalAccountOptions other) + { + m_ApiVersion = UserInfoInterface.QueryuserinfobyexternalaccountApiLatest; + LocalUserId = other.LocalUserId; + ExternalAccountId = other.ExternalAccountId; + AccountType = other.AccountType; + } + + public void Set(ref QueryUserInfoByExternalAccountOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UserInfoInterface.QueryuserinfobyexternalaccountApiLatest; + LocalUserId = other.Value.LocalUserId; + ExternalAccountId = other.Value.ExternalAccountId; + AccountType = other.Value.AccountType; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_ExternalAccountId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountOptions.cs.meta deleted file mode 100644 index ba2205dd..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoByExternalAccountOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 50ab84cb2ccd2c84cb33d0c119954e03 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoCallbackInfo.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoCallbackInfo.cs index 97d8383d..b35a31f2 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoCallbackInfo.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoCallbackInfo.cs @@ -1,107 +1,151 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Output parameters for the Function. - /// - public class QueryUserInfoCallbackInfo : ICallbackInfo, ISettable - { - /// - /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. - /// - public Result ResultCode { get; private set; } - - /// - /// Context that was passed into - /// - public object ClientData { get; private set; } - - /// - /// The Epic Online Services Account ID of the local player requesting the information - /// - public EpicAccountId LocalUserId { get; private set; } - - /// - /// The Epic Online Services Account ID of the player whose information is being retrieved - /// - public EpicAccountId TargetUserId { get; private set; } - - public Result? GetResultCode() - { - return ResultCode; - } - - internal void Set(QueryUserInfoCallbackInfoInternal? other) - { - if (other != null) - { - ResultCode = other.Value.ResultCode; - ClientData = other.Value.ClientData; - LocalUserId = other.Value.LocalUserId; - TargetUserId = other.Value.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as QueryUserInfoCallbackInfoInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryUserInfoCallbackInfoInternal : ICallbackInfoInternal - { - private Result m_ResultCode; - private System.IntPtr m_ClientData; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public Result ResultCode - { - get - { - return m_ResultCode; - } - } - - public object ClientData - { - get - { - object value; - Helper.TryMarshalGet(m_ClientData, out value); - return value; - } - } - - public System.IntPtr ClientDataAddress - { - get - { - return m_ClientData; - } - } - - public EpicAccountId LocalUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_LocalUserId, out value); - return value; - } - } - - public EpicAccountId TargetUserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_TargetUserId, out value); - return value; - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Output parameters for the Function. + /// + public struct QueryUserInfoCallbackInfo : ICallbackInfo + { + /// + /// The code for the operation. indicates that the operation succeeded; other codes indicate errors. + /// + public Result ResultCode { get; set; } + + /// + /// Context that was passed into + /// + public object ClientData { get; set; } + + /// + /// The Epic Account ID of the local player requesting the information + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the player whose information is being retrieved + /// + public EpicAccountId TargetUserId { get; set; } + + public Result? GetResultCode() + { + return ResultCode; + } + + internal void Set(ref QueryUserInfoCallbackInfoInternal other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryUserInfoCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable + { + private Result m_ResultCode; + private System.IntPtr m_ClientData; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public Result ResultCode + { + get + { + return m_ResultCode; + } + + set + { + m_ResultCode = value; + } + } + + public object ClientData + { + get + { + object value; + Helper.Get(m_ClientData, out value); + return value; + } + + set + { + Helper.Set(value, ref m_ClientData); + } + } + + public System.IntPtr ClientDataAddress + { + get + { + return m_ClientData; + } + } + + public EpicAccountId LocalUserId + { + get + { + EpicAccountId value; + Helper.Get(m_LocalUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + get + { + EpicAccountId value; + Helper.Get(m_TargetUserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref QueryUserInfoCallbackInfo other) + { + ResultCode = other.ResultCode; + ClientData = other.ClientData; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref QueryUserInfoCallbackInfo? other) + { + if (other.HasValue) + { + ResultCode = other.Value.ResultCode; + ClientData = other.Value.ClientData; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_ClientData); + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + + public void Get(out QueryUserInfoCallbackInfo output) + { + output = new QueryUserInfoCallbackInfo(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoCallbackInfo.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoCallbackInfo.cs.meta deleted file mode 100644 index ab4260e3..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoCallbackInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f7e3873e36b49254ab17338d68066e37 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoOptions.cs index f9c41ba9..d8a3a026 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoOptions.cs @@ -1,66 +1,68 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// Input parameters for the function. - /// - public class QueryUserInfoOptions - { - /// - /// The Epic Online Services Account ID of the local player requesting the information - /// - public EpicAccountId LocalUserId { get; set; } - - /// - /// The Epic Online Services Account ID of the player whose information is being retrieved - /// - public EpicAccountId TargetUserId { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct QueryUserInfoOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_LocalUserId; - private System.IntPtr m_TargetUserId; - - public EpicAccountId LocalUserId - { - set - { - Helper.TryMarshalSet(ref m_LocalUserId, value); - } - } - - public EpicAccountId TargetUserId - { - set - { - Helper.TryMarshalSet(ref m_TargetUserId, value); - } - } - - public void Set(QueryUserInfoOptions other) - { - if (other != null) - { - m_ApiVersion = UserInfoInterface.QueryuserinfoApiLatest; - LocalUserId = other.LocalUserId; - TargetUserId = other.TargetUserId; - } - } - - public void Set(object other) - { - Set(other as QueryUserInfoOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_LocalUserId); - Helper.TryMarshalDispose(ref m_TargetUserId); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// Input parameters for the function. + /// + public struct QueryUserInfoOptions + { + /// + /// The Epic Account ID of the local player requesting the information + /// + public EpicAccountId LocalUserId { get; set; } + + /// + /// The Epic Account ID of the player whose information is being retrieved + /// + public EpicAccountId TargetUserId { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct QueryUserInfoOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_LocalUserId; + private System.IntPtr m_TargetUserId; + + public EpicAccountId LocalUserId + { + set + { + Helper.Set(value, ref m_LocalUserId); + } + } + + public EpicAccountId TargetUserId + { + set + { + Helper.Set(value, ref m_TargetUserId); + } + } + + public void Set(ref QueryUserInfoOptions other) + { + m_ApiVersion = UserInfoInterface.QueryuserinfoApiLatest; + LocalUserId = other.LocalUserId; + TargetUserId = other.TargetUserId; + } + + public void Set(ref QueryUserInfoOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = UserInfoInterface.QueryuserinfoApiLatest; + LocalUserId = other.Value.LocalUserId; + TargetUserId = other.Value.TargetUserId; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_LocalUserId); + Helper.Dispose(ref m_TargetUserId); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoOptions.cs.meta deleted file mode 100644 index e8e4fbad..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/QueryUserInfoOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 93b0006950a0160478d06e6cc04c530c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoData.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoData.cs index d661ea95..a3d92afa 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoData.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoData.cs @@ -1,166 +1,194 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - /// - /// A structure that contains the user information. These structures are created by and must be passed to . - /// - public class UserInfoData : ISettable - { - /// - /// The Epic Online Services Account ID of the user - /// - public EpicAccountId UserId { get; set; } - - /// - /// The name of the owner's country. This may be null - /// - public string Country { get; set; } - - /// - /// The display name. This may be null - /// - public string DisplayName { get; set; } - - /// - /// The ISO 639 language code for the user's preferred language. This may be null - /// - public string PreferredLanguage { get; set; } - - /// - /// A nickname/alias for the target user assigned by the local user. This may be null - /// - public string Nickname { get; set; } - - internal void Set(UserInfoDataInternal? other) - { - if (other != null) - { - UserId = other.Value.UserId; - Country = other.Value.Country; - DisplayName = other.Value.DisplayName; - PreferredLanguage = other.Value.PreferredLanguage; - Nickname = other.Value.Nickname; - } - } - - public void Set(object other) - { - Set(other as UserInfoDataInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct UserInfoDataInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_UserId; - private System.IntPtr m_Country; - private System.IntPtr m_DisplayName; - private System.IntPtr m_PreferredLanguage; - private System.IntPtr m_Nickname; - - public EpicAccountId UserId - { - get - { - EpicAccountId value; - Helper.TryMarshalGet(m_UserId, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_UserId, value); - } - } - - public string Country - { - get - { - string value; - Helper.TryMarshalGet(m_Country, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Country, value); - } - } - - public string DisplayName - { - get - { - string value; - Helper.TryMarshalGet(m_DisplayName, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_DisplayName, value); - } - } - - public string PreferredLanguage - { - get - { - string value; - Helper.TryMarshalGet(m_PreferredLanguage, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_PreferredLanguage, value); - } - } - - public string Nickname - { - get - { - string value; - Helper.TryMarshalGet(m_Nickname, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_Nickname, value); - } - } - - public void Set(UserInfoData other) - { - if (other != null) - { - m_ApiVersion = UserInfoInterface.CopyuserinfoApiLatest; - UserId = other.UserId; - Country = other.Country; - DisplayName = other.DisplayName; - PreferredLanguage = other.PreferredLanguage; - Nickname = other.Nickname; - } - } - - public void Set(object other) - { - Set(other as UserInfoData); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_UserId); - Helper.TryMarshalDispose(ref m_Country); - Helper.TryMarshalDispose(ref m_DisplayName); - Helper.TryMarshalDispose(ref m_PreferredLanguage); - Helper.TryMarshalDispose(ref m_Nickname); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + /// + /// A structure that contains the user information. These structures are created by and must be passed to . + /// + public struct UserInfoData + { + /// + /// The Epic Account ID of the user + /// + public EpicAccountId UserId { get; set; } + + /// + /// The name of the owner's country. This may be null + /// + public Utf8String Country { get; set; } + + /// + /// The display name (un-sanitized). This may be null + /// + public Utf8String DisplayName { get; set; } + + /// + /// The ISO 639 language code for the user's preferred language. This may be null + /// + public Utf8String PreferredLanguage { get; set; } + + /// + /// A nickname/alias for the target user assigned by the local user. This may be null + /// + public Utf8String Nickname { get; set; } + + /// + /// The raw display name (sanitized). This may be null + /// + public Utf8String DisplayNameSanitized { get; set; } + + internal void Set(ref UserInfoDataInternal other) + { + UserId = other.UserId; + Country = other.Country; + DisplayName = other.DisplayName; + PreferredLanguage = other.PreferredLanguage; + Nickname = other.Nickname; + DisplayNameSanitized = other.DisplayNameSanitized; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct UserInfoDataInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_UserId; + private System.IntPtr m_Country; + private System.IntPtr m_DisplayName; + private System.IntPtr m_PreferredLanguage; + private System.IntPtr m_Nickname; + private System.IntPtr m_DisplayNameSanitized; + + public EpicAccountId UserId + { + get + { + EpicAccountId value; + Helper.Get(m_UserId, out value); + return value; + } + + set + { + Helper.Set(value, ref m_UserId); + } + } + + public Utf8String Country + { + get + { + Utf8String value; + Helper.Get(m_Country, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Country); + } + } + + public Utf8String DisplayName + { + get + { + Utf8String value; + Helper.Get(m_DisplayName, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DisplayName); + } + } + + public Utf8String PreferredLanguage + { + get + { + Utf8String value; + Helper.Get(m_PreferredLanguage, out value); + return value; + } + + set + { + Helper.Set(value, ref m_PreferredLanguage); + } + } + + public Utf8String Nickname + { + get + { + Utf8String value; + Helper.Get(m_Nickname, out value); + return value; + } + + set + { + Helper.Set(value, ref m_Nickname); + } + } + + public Utf8String DisplayNameSanitized + { + get + { + Utf8String value; + Helper.Get(m_DisplayNameSanitized, out value); + return value; + } + + set + { + Helper.Set(value, ref m_DisplayNameSanitized); + } + } + + public void Set(ref UserInfoData other) + { + m_ApiVersion = UserInfoInterface.CopyuserinfoApiLatest; + UserId = other.UserId; + Country = other.Country; + DisplayName = other.DisplayName; + PreferredLanguage = other.PreferredLanguage; + Nickname = other.Nickname; + DisplayNameSanitized = other.DisplayNameSanitized; + } + + public void Set(ref UserInfoData? other) + { + if (other.HasValue) + { + m_ApiVersion = UserInfoInterface.CopyuserinfoApiLatest; + UserId = other.Value.UserId; + Country = other.Value.Country; + DisplayName = other.Value.DisplayName; + PreferredLanguage = other.Value.PreferredLanguage; + Nickname = other.Value.Nickname; + DisplayNameSanitized = other.Value.DisplayNameSanitized; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_UserId); + Helper.Dispose(ref m_Country); + Helper.Dispose(ref m_DisplayName); + Helper.Dispose(ref m_PreferredLanguage); + Helper.Dispose(ref m_Nickname); + Helper.Dispose(ref m_DisplayNameSanitized); + } + + public void Get(out UserInfoData output) + { + output = new UserInfoData(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoData.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoData.cs.meta deleted file mode 100644 index fa3dd58b..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 529510f576b054d4fa38065765852225 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoInterface.cs index 3a6b184d..dffedcdd 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoInterface.cs @@ -1,326 +1,330 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.UserInfo -{ - public sealed partial class UserInfoInterface : Handle - { - public UserInfoInterface() - { - } - - public UserInfoInterface(System.IntPtr innerHandle) : base(innerHandle) - { - } - - /// - /// The most recent version of the struct. - /// - public const int CopyexternaluserinfobyaccountidApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int CopyexternaluserinfobyaccounttypeApiLatest = 1; - - /// - /// The most recent version of the struct. - /// - public const int CopyexternaluserinfobyindexApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int CopyuserinfoApiLatest = 2; - - /// - /// The most recent version of the struct. - /// - public const int ExternaluserinfoApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int GetexternaluserinfocountApiLatest = 1; - - /// - /// The maximum length of display names, in displayable characters - /// - public const int MaxDisplaynameCharacters = 16; - - /// - /// The maximum length of display names when encoded as UTF-8 as returned by . This length does not include the null terminator. - /// - public const int MaxDisplaynameUtf8Length = 64; - - /// - /// The most recent version of the API. - /// - public const int QueryuserinfoApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int QueryuserinfobydisplaynameApiLatest = 1; - - /// - /// The most recent version of the API. - /// - public const int QueryuserinfobyexternalaccountApiLatest = 1; - - /// - /// Fetches an external user info for a given external account ID. - /// - /// - /// Structure containing the account ID being accessed - /// The external user info. If it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutExternalUserInfo - /// if you pass a null pointer for the out parameter - /// if the external user info is not found - /// - public Result CopyExternalUserInfoByAccountId(CopyExternalUserInfoByAccountIdOptions options, out ExternalUserInfo outExternalUserInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outExternalUserInfoAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_UserInfo_CopyExternalUserInfoByAccountId(InnerHandle, optionsAddress, ref outExternalUserInfoAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outExternalUserInfoAddress, out outExternalUserInfo)) - { - Bindings.EOS_UserInfo_ExternalUserInfo_Release(outExternalUserInfoAddress); - } - - return funcResult; - } - - /// - /// Fetches an external user info for a given external account type. - /// - /// - /// Structure containing the account type being accessed - /// The external user info. If it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutExternalUserInfo - /// if you pass a null pointer for the out parameter - /// if the external user info is not found - /// - public Result CopyExternalUserInfoByAccountType(CopyExternalUserInfoByAccountTypeOptions options, out ExternalUserInfo outExternalUserInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outExternalUserInfoAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_UserInfo_CopyExternalUserInfoByAccountType(InnerHandle, optionsAddress, ref outExternalUserInfoAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outExternalUserInfoAddress, out outExternalUserInfo)) - { - Bindings.EOS_UserInfo_ExternalUserInfo_Release(outExternalUserInfoAddress); - } - - return funcResult; - } - - /// - /// Fetches an external user info from a given index. - /// - /// - /// Structure containing the index being accessed - /// The external user info. If it exists and is valid, use when finished - /// - /// if the information is available and passed out in OutExternalUserInfo - /// if you pass a null pointer for the out parameter - /// if the external user info is not found - /// - public Result CopyExternalUserInfoByIndex(CopyExternalUserInfoByIndexOptions options, out ExternalUserInfo outExternalUserInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outExternalUserInfoAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_UserInfo_CopyExternalUserInfoByIndex(InnerHandle, optionsAddress, ref outExternalUserInfoAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outExternalUserInfoAddress, out outExternalUserInfo)) - { - Bindings.EOS_UserInfo_ExternalUserInfo_Release(outExternalUserInfoAddress); - } - - return funcResult; - } - - /// - /// is used to immediately retrieve a copy of user information based on an Epic Online Services Account ID, cached by a previous call to . - /// If the call returns an result, the out parameter, OutUserInfo, must be passed to to release the memory associated with it. - /// - /// - /// - /// - /// structure containing the input parameters - /// out parameter used to receive the structure. - /// - /// if the information is available and passed out in OutUserInfo - /// if you pass a null pointer for the out parameter - /// if the API version passed in is incorrect - /// if the user info is not locally cached. The information must have been previously cached by a call to - /// - public Result CopyUserInfo(CopyUserInfoOptions options, out UserInfoData outUserInfo) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var outUserInfoAddress = System.IntPtr.Zero; - - var funcResult = Bindings.EOS_UserInfo_CopyUserInfo(InnerHandle, optionsAddress, ref outUserInfoAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - if (Helper.TryMarshalGet(outUserInfoAddress, out outUserInfo)) - { - Bindings.EOS_UserInfo_Release(outUserInfoAddress); - } - - return funcResult; - } - - /// - /// Fetch the number of external user infos that are cached locally. - /// - /// - /// The options associated with retrieving the external user info count - /// - /// The number of external user infos, or 0 if there is an error - /// - public uint GetExternalUserInfoCount(GetExternalUserInfoCountOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_UserInfo_GetExternalUserInfoCount(InnerHandle, optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - return funcResult; - } - - /// - /// is used to start an asynchronous query to retrieve information, such as display name, about another account. - /// Once the callback has been fired with a successful ResultCode, it is possible to call to receive an containing the available information. - /// - /// - /// - /// - /// - /// structure containing the input parameters - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void QueryUserInfo(QueryUserInfoOptions options, object clientData, OnQueryUserInfoCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryUserInfoCallbackInternal(OnQueryUserInfoCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_UserInfo_QueryUserInfo(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// is used to start an asynchronous query to retrieve user information by display name. This can be useful for getting the for a display name. - /// Once the callback has been fired with a successful ResultCode, it is possible to call to receive an containing the available information. - /// - /// - /// - /// - /// - /// structure containing the input parameters - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void QueryUserInfoByDisplayName(QueryUserInfoByDisplayNameOptions options, object clientData, OnQueryUserInfoByDisplayNameCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryUserInfoByDisplayNameCallbackInternal(OnQueryUserInfoByDisplayNameCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_UserInfo_QueryUserInfoByDisplayName(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - /// - /// is used to start an asynchronous query to retrieve user information by external accounts. - /// This can be useful for getting the for external accounts. - /// Once the callback has been fired with a successful ResultCode, it is possible to call CopyUserInfo to receive an containing the available information. - /// - /// - /// - /// - /// structure containing the input parameters - /// arbitrary data that is passed back to you in the CompletionDelegate - /// a callback that is fired when the async operation completes, either successfully or in error - public void QueryUserInfoByExternalAccount(QueryUserInfoByExternalAccountOptions options, object clientData, OnQueryUserInfoByExternalAccountCallback completionDelegate) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var clientDataAddress = System.IntPtr.Zero; - - var completionDelegateInternal = new OnQueryUserInfoByExternalAccountCallbackInternal(OnQueryUserInfoByExternalAccountCallbackInternalImplementation); - Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); - - Bindings.EOS_UserInfo_QueryUserInfoByExternalAccount(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); - - Helper.TryMarshalDispose(ref optionsAddress); - } - - [MonoPInvokeCallback(typeof(OnQueryUserInfoByDisplayNameCallbackInternal))] - internal static void OnQueryUserInfoByDisplayNameCallbackInternalImplementation(System.IntPtr data) - { - OnQueryUserInfoByDisplayNameCallback callback; - QueryUserInfoByDisplayNameCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryUserInfoByExternalAccountCallbackInternal))] - internal static void OnQueryUserInfoByExternalAccountCallbackInternalImplementation(System.IntPtr data) - { - OnQueryUserInfoByExternalAccountCallback callback; - QueryUserInfoByExternalAccountCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - - [MonoPInvokeCallback(typeof(OnQueryUserInfoCallbackInternal))] - internal static void OnQueryUserInfoCallbackInternalImplementation(System.IntPtr data) - { - OnQueryUserInfoCallback callback; - QueryUserInfoCallbackInfo callbackInfo; - if (Helper.TryGetAndRemoveCallback(data, out callback, out callbackInfo)) - { - callback(callbackInfo); - } - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.UserInfo +{ + public sealed partial class UserInfoInterface : Handle + { + public UserInfoInterface() + { + } + + public UserInfoInterface(System.IntPtr innerHandle) : base(innerHandle) + { + } + + /// + /// The most recent version of the struct. + /// + public const int CopyexternaluserinfobyaccountidApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int CopyexternaluserinfobyaccounttypeApiLatest = 1; + + /// + /// The most recent version of the struct. + /// + public const int CopyexternaluserinfobyindexApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int CopyuserinfoApiLatest = 3; + + /// + /// The most recent version of the struct. + /// + public const int ExternaluserinfoApiLatest = 2; + + /// + /// The most recent version of the API. + /// + public const int GetexternaluserinfocountApiLatest = 1; + + /// + /// The maximum length of display names, in displayable characters + /// + public const int MaxDisplaynameCharacters = 16; + + /// + /// The maximum length of display names when encoded as UTF-8 as returned by . This length does not include the null terminator. + /// + public const int MaxDisplaynameUtf8Length = 64; + + /// + /// The most recent version of the API. + /// + public const int QueryuserinfoApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int QueryuserinfobydisplaynameApiLatest = 1; + + /// + /// The most recent version of the API. + /// + public const int QueryuserinfobyexternalaccountApiLatest = 1; + + /// + /// Fetches an external user info for a given external account ID. + /// + /// + /// Structure containing the account ID being accessed + /// The external user info. If it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutExternalUserInfo + /// if you pass a null pointer for the out parameter + /// if the external user info is not found + /// + public Result CopyExternalUserInfoByAccountId(ref CopyExternalUserInfoByAccountIdOptions options, out ExternalUserInfo? outExternalUserInfo) + { + CopyExternalUserInfoByAccountIdOptionsInternal optionsInternal = new CopyExternalUserInfoByAccountIdOptionsInternal(); + optionsInternal.Set(ref options); + + var outExternalUserInfoAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_UserInfo_CopyExternalUserInfoByAccountId(InnerHandle, ref optionsInternal, ref outExternalUserInfoAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outExternalUserInfoAddress, out outExternalUserInfo); + if (outExternalUserInfo != null) + { + Bindings.EOS_UserInfo_ExternalUserInfo_Release(outExternalUserInfoAddress); + } + + return funcResult; + } + + /// + /// Fetches an external user info for a given external account type. + /// + /// + /// Structure containing the account type being accessed + /// The external user info. If it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutExternalUserInfo + /// if you pass a null pointer for the out parameter + /// if the external user info is not found + /// + public Result CopyExternalUserInfoByAccountType(ref CopyExternalUserInfoByAccountTypeOptions options, out ExternalUserInfo? outExternalUserInfo) + { + CopyExternalUserInfoByAccountTypeOptionsInternal optionsInternal = new CopyExternalUserInfoByAccountTypeOptionsInternal(); + optionsInternal.Set(ref options); + + var outExternalUserInfoAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_UserInfo_CopyExternalUserInfoByAccountType(InnerHandle, ref optionsInternal, ref outExternalUserInfoAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outExternalUserInfoAddress, out outExternalUserInfo); + if (outExternalUserInfo != null) + { + Bindings.EOS_UserInfo_ExternalUserInfo_Release(outExternalUserInfoAddress); + } + + return funcResult; + } + + /// + /// Fetches an external user info from a given index. + /// + /// + /// Structure containing the index being accessed + /// The external user info. If it exists and is valid, use when finished + /// + /// if the information is available and passed out in OutExternalUserInfo + /// if you pass a null pointer for the out parameter + /// if the external user info is not found + /// + public Result CopyExternalUserInfoByIndex(ref CopyExternalUserInfoByIndexOptions options, out ExternalUserInfo? outExternalUserInfo) + { + CopyExternalUserInfoByIndexOptionsInternal optionsInternal = new CopyExternalUserInfoByIndexOptionsInternal(); + optionsInternal.Set(ref options); + + var outExternalUserInfoAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_UserInfo_CopyExternalUserInfoByIndex(InnerHandle, ref optionsInternal, ref outExternalUserInfoAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outExternalUserInfoAddress, out outExternalUserInfo); + if (outExternalUserInfo != null) + { + Bindings.EOS_UserInfo_ExternalUserInfo_Release(outExternalUserInfoAddress); + } + + return funcResult; + } + + /// + /// is used to immediately retrieve a copy of user information based on an Epic Account ID, cached by a previous call to . + /// If the call returns an result, the out parameter, OutUserInfo, must be passed to to release the memory associated with it. + /// + /// + /// + /// + /// structure containing the input parameters + /// out parameter used to receive the structure. + /// + /// if the information is available and passed out in OutUserInfo + /// if you pass a null pointer for the out parameter + /// if the API version passed in is incorrect + /// if the user info is not locally cached. The information must have been previously cached by a call to + /// + public Result CopyUserInfo(ref CopyUserInfoOptions options, out UserInfoData? outUserInfo) + { + CopyUserInfoOptionsInternal optionsInternal = new CopyUserInfoOptionsInternal(); + optionsInternal.Set(ref options); + + var outUserInfoAddress = System.IntPtr.Zero; + + var funcResult = Bindings.EOS_UserInfo_CopyUserInfo(InnerHandle, ref optionsInternal, ref outUserInfoAddress); + + Helper.Dispose(ref optionsInternal); + + Helper.Get(outUserInfoAddress, out outUserInfo); + if (outUserInfo != null) + { + Bindings.EOS_UserInfo_Release(outUserInfoAddress); + } + + return funcResult; + } + + /// + /// Fetch the number of external user infos that are cached locally. + /// + /// + /// The options associated with retrieving the external user info count + /// + /// The number of external user infos, or 0 if there is an error + /// + public uint GetExternalUserInfoCount(ref GetExternalUserInfoCountOptions options) + { + GetExternalUserInfoCountOptionsInternal optionsInternal = new GetExternalUserInfoCountOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = Bindings.EOS_UserInfo_GetExternalUserInfoCount(InnerHandle, ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + return funcResult; + } + + /// + /// is used to start an asynchronous query to retrieve information, such as display name, about another account. + /// Once the callback has been fired with a successful ResultCode, it is possible to call to receive an containing the available information. + /// + /// + /// + /// + /// + /// structure containing the input parameters + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void QueryUserInfo(ref QueryUserInfoOptions options, object clientData, OnQueryUserInfoCallback completionDelegate) + { + QueryUserInfoOptionsInternal optionsInternal = new QueryUserInfoOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryUserInfoCallbackInternal(OnQueryUserInfoCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_UserInfo_QueryUserInfo(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// is used to start an asynchronous query to retrieve user information by display name. This can be useful for getting the for a display name. + /// Once the callback has been fired with a successful ResultCode, it is possible to call to receive an containing the available information. + /// + /// + /// + /// + /// + /// structure containing the input parameters + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void QueryUserInfoByDisplayName(ref QueryUserInfoByDisplayNameOptions options, object clientData, OnQueryUserInfoByDisplayNameCallback completionDelegate) + { + QueryUserInfoByDisplayNameOptionsInternal optionsInternal = new QueryUserInfoByDisplayNameOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryUserInfoByDisplayNameCallbackInternal(OnQueryUserInfoByDisplayNameCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_UserInfo_QueryUserInfoByDisplayName(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + /// + /// is used to start an asynchronous query to retrieve user information by external accounts. + /// This can be useful for getting the for external accounts. + /// Once the callback has been fired with a successful ResultCode, it is possible to call CopyUserInfo to receive an containing the available information. + /// + /// + /// + /// + /// structure containing the input parameters + /// arbitrary data that is passed back to you in the CompletionDelegate + /// a callback that is fired when the async operation completes, either successfully or in error + public void QueryUserInfoByExternalAccount(ref QueryUserInfoByExternalAccountOptions options, object clientData, OnQueryUserInfoByExternalAccountCallback completionDelegate) + { + QueryUserInfoByExternalAccountOptionsInternal optionsInternal = new QueryUserInfoByExternalAccountOptionsInternal(); + optionsInternal.Set(ref options); + + var clientDataAddress = System.IntPtr.Zero; + + var completionDelegateInternal = new OnQueryUserInfoByExternalAccountCallbackInternal(OnQueryUserInfoByExternalAccountCallbackInternalImplementation); + Helper.AddCallback(out clientDataAddress, clientData, completionDelegate, completionDelegateInternal); + + Bindings.EOS_UserInfo_QueryUserInfoByExternalAccount(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); + + Helper.Dispose(ref optionsInternal); + } + + [MonoPInvokeCallback(typeof(OnQueryUserInfoByDisplayNameCallbackInternal))] + internal static void OnQueryUserInfoByDisplayNameCallbackInternalImplementation(ref QueryUserInfoByDisplayNameCallbackInfoInternal data) + { + OnQueryUserInfoByDisplayNameCallback callback; + QueryUserInfoByDisplayNameCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryUserInfoByExternalAccountCallbackInternal))] + internal static void OnQueryUserInfoByExternalAccountCallbackInternalImplementation(ref QueryUserInfoByExternalAccountCallbackInfoInternal data) + { + OnQueryUserInfoByExternalAccountCallback callback; + QueryUserInfoByExternalAccountCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + + [MonoPInvokeCallback(typeof(OnQueryUserInfoCallbackInternal))] + internal static void OnQueryUserInfoCallbackInternalImplementation(ref QueryUserInfoCallbackInfoInternal data) + { + OnQueryUserInfoCallback callback; + QueryUserInfoCallbackInfo callbackInfo; + if (Helper.TryGetAndRemoveCallback(ref data, out callback, out callbackInfo)) + { + callback(ref callbackInfo); + } + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoInterface.cs.meta deleted file mode 100644 index 9dcdfa1d..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/UserInfo/UserInfoInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 575a55a941af933499f6789e02ec0795 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Version/VersionInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Version/VersionInterface.cs new file mode 100644 index 00000000..2a913a45 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Version/VersionInterface.cs @@ -0,0 +1,34 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Version +{ + public sealed partial class VersionInterface + { + public static readonly Utf8String CompanyName = "Epic Games, Inc."; + + public static readonly Utf8String CopyrightString = "Copyright Epic Games, Inc. All Rights Reserved."; + + public const int MajorVersion = 1; + + public const int MinorVersion = 15; + + public const int PatchVersion = 5; + + public static readonly Utf8String ProductIdentifier = "Epic Online Services SDK"; + + public static readonly Utf8String ProductName = "Epic Online Services SDK"; + + /// + /// Get the version of the EOSSDK binary + /// + public static Utf8String GetVersion() + { + var funcResult = Bindings.EOS_GetVersion(); + + Utf8String funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows.meta deleted file mode 100644 index 8a745f40..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e85b2e01f4f8d394687cc9af647b4559 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform.meta deleted file mode 100644 index 6848c183..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7ca8a2f7768e91c4fb6f0ffdf673cdbb -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/PlatformInterface.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/PlatformInterface.cs index de9e17a4..e6752de0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/PlatformInterface.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/PlatformInterface.cs @@ -1,27 +1,27 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - public sealed partial class PlatformInterface : Handle - { - /// - /// The most recent version of the structure. - /// - public const int PlatformWindowsrtcoptionsplatformspecificoptionsApiLatest = 1; - - public static PlatformInterface Create(WindowsOptions options) - { - var optionsAddress = System.IntPtr.Zero; - Helper.TryMarshalSet(ref optionsAddress, options); - - var funcResult = Bindings.EOS_Platform_Create(optionsAddress); - - Helper.TryMarshalDispose(ref optionsAddress); - - PlatformInterface funcResultReturn; - Helper.TryMarshalGet(funcResult, out funcResultReturn); - return funcResultReturn; - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + public sealed partial class PlatformInterface : Handle + { + /// + /// The most recent version of the structure. + /// + public const int WindowsRtcoptionsplatformspecificoptionsApiLatest = 1; + + public static PlatformInterface Create(ref WindowsOptions options) + { + WindowsOptionsInternal optionsInternal = new WindowsOptionsInternal(); + optionsInternal.Set(ref options); + + var funcResult = WindowsBindings.EOS_Platform_Create(ref optionsInternal); + + Helper.Dispose(ref optionsInternal); + + PlatformInterface funcResultReturn; + Helper.Get(funcResult, out funcResultReturn); + return funcResultReturn; + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/PlatformInterface.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/PlatformInterface.cs.meta deleted file mode 100644 index 7f93f756..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/PlatformInterface.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6b4467a5a86270e4493ef6dd6d9f774c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsOptions.cs index 8ee7eef8..f1909539 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsOptions.cs @@ -1,241 +1,272 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - /// - /// Platform options for . - /// - public class WindowsOptions - { - /// - /// A reserved field that should always be nulled. - /// - public System.IntPtr Reserved { get; set; } - - /// - /// The product ID for the running application, found on the dev portal - /// - public string ProductId { get; set; } - - /// - /// The sandbox ID for the running application, found on the dev portal - /// - public string SandboxId { get; set; } - - /// - /// Set of service permissions associated with the running application - /// - public ClientCredentials ClientCredentials { get; set; } - - /// - /// Is this running as a server - /// - public bool IsServer { get; set; } - - /// - /// Used by Player Data Storage and Title Storage. Must be null initialized if unused. 256-bit Encryption Key for file encryption in hexadecimal format (64 hex chars) - /// - public string EncryptionKey { get; set; } - - /// - /// The override country code to use for the logged in user. () - /// - public string OverrideCountryCode { get; set; } - - /// - /// The override locale code to use for the logged in user. This follows ISO 639. () - /// - public string OverrideLocaleCode { get; set; } - - /// - /// The deployment ID for the running application, found on the dev portal - /// - public string DeploymentId { get; set; } - - /// - /// Platform creation flags, e.g. . This is a bitwise-or union of the defined flags. - /// - public PlatformFlags Flags { get; set; } - - /// - /// Used by Player Data Storage and Title Storage. Must be null initialized if unused. Cache directory path. Absolute path to the folder that is going to be used for caching temporary data. The path is created if it's missing. - /// - public string CacheDirectory { get; set; } - - /// - /// A budget, measured in milliseconds, for to do its work. When the budget is met or exceeded (or if no work is available), will return. - /// This allows your game to amortize the cost of SDK work across multiple frames in the event that a lot of work is queued for processing. - /// Zero is interpreted as "perform all available work". - /// - public uint TickBudgetInMilliseconds { get; set; } - - /// - /// RTC options. Setting to NULL will disable RTC features (e.g. voice) - /// - public WindowsRTCOptions RTCOptions { get; set; } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct WindowsOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_Reserved; - private System.IntPtr m_ProductId; - private System.IntPtr m_SandboxId; - private ClientCredentialsInternal m_ClientCredentials; - private int m_IsServer; - private System.IntPtr m_EncryptionKey; - private System.IntPtr m_OverrideCountryCode; - private System.IntPtr m_OverrideLocaleCode; - private System.IntPtr m_DeploymentId; - private PlatformFlags m_Flags; - private System.IntPtr m_CacheDirectory; - private uint m_TickBudgetInMilliseconds; - private System.IntPtr m_RTCOptions; - - public System.IntPtr Reserved - { - set - { - m_Reserved = value; - } - } - - public string ProductId - { - set - { - Helper.TryMarshalSet(ref m_ProductId, value); - } - } - - public string SandboxId - { - set - { - Helper.TryMarshalSet(ref m_SandboxId, value); - } - } - - public ClientCredentials ClientCredentials - { - set - { - Helper.TryMarshalSet(ref m_ClientCredentials, value); - } - } - - public bool IsServer - { - set - { - Helper.TryMarshalSet(ref m_IsServer, value); - } - } - - public string EncryptionKey - { - set - { - Helper.TryMarshalSet(ref m_EncryptionKey, value); - } - } - - public string OverrideCountryCode - { - set - { - Helper.TryMarshalSet(ref m_OverrideCountryCode, value); - } - } - - public string OverrideLocaleCode - { - set - { - Helper.TryMarshalSet(ref m_OverrideLocaleCode, value); - } - } - - public string DeploymentId - { - set - { - Helper.TryMarshalSet(ref m_DeploymentId, value); - } - } - - public PlatformFlags Flags - { - set - { - m_Flags = value; - } - } - - public string CacheDirectory - { - set - { - Helper.TryMarshalSet(ref m_CacheDirectory, value); - } - } - - public uint TickBudgetInMilliseconds - { - set - { - m_TickBudgetInMilliseconds = value; - } - } - - public WindowsRTCOptions RTCOptions - { - set - { - Helper.TryMarshalSet(ref m_RTCOptions, value); - } - } - - public void Set(WindowsOptions other) - { - if (other != null) - { - m_ApiVersion = PlatformInterface.OptionsApiLatest; - Reserved = other.Reserved; - ProductId = other.ProductId; - SandboxId = other.SandboxId; - ClientCredentials = other.ClientCredentials; - IsServer = other.IsServer; - EncryptionKey = other.EncryptionKey; - OverrideCountryCode = other.OverrideCountryCode; - OverrideLocaleCode = other.OverrideLocaleCode; - DeploymentId = other.DeploymentId; - Flags = other.Flags; - CacheDirectory = other.CacheDirectory; - TickBudgetInMilliseconds = other.TickBudgetInMilliseconds; - RTCOptions = other.RTCOptions; - } - } - - public void Set(object other) - { - Set(other as WindowsOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_Reserved); - Helper.TryMarshalDispose(ref m_ProductId); - Helper.TryMarshalDispose(ref m_SandboxId); - Helper.TryMarshalDispose(ref m_ClientCredentials); - Helper.TryMarshalDispose(ref m_EncryptionKey); - Helper.TryMarshalDispose(ref m_OverrideCountryCode); - Helper.TryMarshalDispose(ref m_OverrideLocaleCode); - Helper.TryMarshalDispose(ref m_DeploymentId); - Helper.TryMarshalDispose(ref m_CacheDirectory); - Helper.TryMarshalDispose(ref m_RTCOptions); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Platform options for . + /// + public struct WindowsOptions + { + /// + /// A reserved field that should always be nulled. + /// + public System.IntPtr Reserved { get; set; } + + /// + /// The product ID for the running application, found on the dev portal + /// + public Utf8String ProductId { get; set; } + + /// + /// The sandbox ID for the running application, found on the dev portal + /// + public Utf8String SandboxId { get; set; } + + /// + /// Set of service permissions associated with the running application + /// + public ClientCredentials ClientCredentials { get; set; } + + /// + /// Set this to if the application is running as a client with a local user, otherwise set to (e.g. for a dedicated game server) + /// + public bool IsServer { get; set; } + + /// + /// Used by Player Data Storage and Title Storage. Must be null initialized if unused. 256-bit Encryption Key for file encryption in hexadecimal format (64 hex chars) + /// + public Utf8String EncryptionKey { get; set; } + + /// + /// The override country code to use for the logged in user. () + /// + public Utf8String OverrideCountryCode { get; set; } + + /// + /// The override locale code to use for the logged in user. This follows ISO 639. () + /// + public Utf8String OverrideLocaleCode { get; set; } + + /// + /// The deployment ID for the running application, found on the dev portal + /// + public Utf8String DeploymentId { get; set; } + + /// + /// Platform creation flags, e.g. . This is a bitwise-or union of the defined flags. + /// + public PlatformFlags Flags { get; set; } + + /// + /// Used by Player Data Storage and Title Storage. Must be null initialized if unused. Cache directory path. Absolute path to the folder that is going to be used for caching temporary data. The path is created if it's missing. + /// + public Utf8String CacheDirectory { get; set; } + + /// + /// A budget, measured in milliseconds, for to do its work. When the budget is met or exceeded (or if no work is available), will return. + /// This allows your game to amortize the cost of SDK work across multiple frames in the event that a lot of work is queued for processing. + /// Zero is interpreted as "perform all available work". + /// + public uint TickBudgetInMilliseconds { get; set; } + + /// + /// RTC options. Setting to will disable RTC features (e.g. voice) + /// + public WindowsRTCOptions? RTCOptions { get; set; } + + /// + /// A handle that contains all the options for setting up integrated platforms. + /// When set to , the default integrated platform behavior for the host platform will be used. + /// + public IntegratedPlatform.IntegratedPlatformOptionsContainer IntegratedPlatformOptionsContainerHandle { get; set; } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct WindowsOptionsInternal : ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_Reserved; + private System.IntPtr m_ProductId; + private System.IntPtr m_SandboxId; + private ClientCredentialsInternal m_ClientCredentials; + private int m_IsServer; + private System.IntPtr m_EncryptionKey; + private System.IntPtr m_OverrideCountryCode; + private System.IntPtr m_OverrideLocaleCode; + private System.IntPtr m_DeploymentId; + private PlatformFlags m_Flags; + private System.IntPtr m_CacheDirectory; + private uint m_TickBudgetInMilliseconds; + private System.IntPtr m_RTCOptions; + private System.IntPtr m_IntegratedPlatformOptionsContainerHandle; + + public System.IntPtr Reserved + { + set + { + m_Reserved = value; + } + } + + public Utf8String ProductId + { + set + { + Helper.Set(value, ref m_ProductId); + } + } + + public Utf8String SandboxId + { + set + { + Helper.Set(value, ref m_SandboxId); + } + } + + public ClientCredentials ClientCredentials + { + set + { + Helper.Set(ref value, ref m_ClientCredentials); + } + } + + public bool IsServer + { + set + { + Helper.Set(value, ref m_IsServer); + } + } + + public Utf8String EncryptionKey + { + set + { + Helper.Set(value, ref m_EncryptionKey); + } + } + + public Utf8String OverrideCountryCode + { + set + { + Helper.Set(value, ref m_OverrideCountryCode); + } + } + + public Utf8String OverrideLocaleCode + { + set + { + Helper.Set(value, ref m_OverrideLocaleCode); + } + } + + public Utf8String DeploymentId + { + set + { + Helper.Set(value, ref m_DeploymentId); + } + } + + public PlatformFlags Flags + { + set + { + m_Flags = value; + } + } + + public Utf8String CacheDirectory + { + set + { + Helper.Set(value, ref m_CacheDirectory); + } + } + + public uint TickBudgetInMilliseconds + { + set + { + m_TickBudgetInMilliseconds = value; + } + } + + public WindowsRTCOptions? RTCOptions + { + set + { + Helper.Set(ref value, ref m_RTCOptions); + } + } + + public IntegratedPlatform.IntegratedPlatformOptionsContainer IntegratedPlatformOptionsContainerHandle + { + set + { + Helper.Set(value, ref m_IntegratedPlatformOptionsContainerHandle); + } + } + + public void Set(ref WindowsOptions other) + { + m_ApiVersion = PlatformInterface.OptionsApiLatest; + Reserved = other.Reserved; + ProductId = other.ProductId; + SandboxId = other.SandboxId; + ClientCredentials = other.ClientCredentials; + IsServer = other.IsServer; + EncryptionKey = other.EncryptionKey; + OverrideCountryCode = other.OverrideCountryCode; + OverrideLocaleCode = other.OverrideLocaleCode; + DeploymentId = other.DeploymentId; + Flags = other.Flags; + CacheDirectory = other.CacheDirectory; + TickBudgetInMilliseconds = other.TickBudgetInMilliseconds; + RTCOptions = other.RTCOptions; + IntegratedPlatformOptionsContainerHandle = other.IntegratedPlatformOptionsContainerHandle; + } + + public void Set(ref WindowsOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlatformInterface.OptionsApiLatest; + Reserved = other.Value.Reserved; + ProductId = other.Value.ProductId; + SandboxId = other.Value.SandboxId; + ClientCredentials = other.Value.ClientCredentials; + IsServer = other.Value.IsServer; + EncryptionKey = other.Value.EncryptionKey; + OverrideCountryCode = other.Value.OverrideCountryCode; + OverrideLocaleCode = other.Value.OverrideLocaleCode; + DeploymentId = other.Value.DeploymentId; + Flags = other.Value.Flags; + CacheDirectory = other.Value.CacheDirectory; + TickBudgetInMilliseconds = other.Value.TickBudgetInMilliseconds; + RTCOptions = other.Value.RTCOptions; + IntegratedPlatformOptionsContainerHandle = other.Value.IntegratedPlatformOptionsContainerHandle; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_Reserved); + Helper.Dispose(ref m_ProductId); + Helper.Dispose(ref m_SandboxId); + Helper.Dispose(ref m_ClientCredentials); + Helper.Dispose(ref m_EncryptionKey); + Helper.Dispose(ref m_OverrideCountryCode); + Helper.Dispose(ref m_OverrideLocaleCode); + Helper.Dispose(ref m_DeploymentId); + Helper.Dispose(ref m_CacheDirectory); + Helper.Dispose(ref m_RTCOptions); + Helper.Dispose(ref m_IntegratedPlatformOptionsContainerHandle); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsOptions.cs.meta deleted file mode 100644 index 67275034..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ceb0ddc45289a7a499f141df04248ecc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptions.cs index 1ad8a009..b49191e3 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptions.cs @@ -1,73 +1,72 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - /// - /// Platform RTC options. - /// - public class WindowsRTCOptions : ISettable - { - /// - /// This field is for platform specific initialization if any. - /// - /// If provided then the structure will be located in /eos_.h. - /// The structure will be named EOS__RTCOptions. - /// - public WindowsRTCOptionsPlatformSpecificOptions PlatformSpecificOptions { get; set; } - - internal void Set(WindowsRTCOptionsInternal? other) - { - if (other != null) - { - PlatformSpecificOptions = other.Value.PlatformSpecificOptions; - } - } - - public void Set(object other) - { - Set(other as WindowsRTCOptionsInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct WindowsRTCOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_PlatformSpecificOptions; - - public WindowsRTCOptionsPlatformSpecificOptions PlatformSpecificOptions - { - get - { - WindowsRTCOptionsPlatformSpecificOptions value; - Helper.TryMarshalGet(m_PlatformSpecificOptions, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_PlatformSpecificOptions, value); - } - } - - public void Set(WindowsRTCOptions other) - { - if (other != null) - { - m_ApiVersion = PlatformInterface.RtcoptionsApiLatest; - PlatformSpecificOptions = other.PlatformSpecificOptions; - } - } - - public void Set(object other) - { - Set(other as WindowsRTCOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_PlatformSpecificOptions); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Platform RTC options. + /// + public struct WindowsRTCOptions + { + /// + /// This field is for platform specific initialization if any. + /// + /// If provided then the structure will be located in /eos_.h. + /// The structure will be named EOS__RTCOptions. + /// + public WindowsRTCOptionsPlatformSpecificOptions? PlatformSpecificOptions { get; set; } + + internal void Set(ref WindowsRTCOptionsInternal other) + { + PlatformSpecificOptions = other.PlatformSpecificOptions; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct WindowsRTCOptionsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_PlatformSpecificOptions; + + public WindowsRTCOptionsPlatformSpecificOptions? PlatformSpecificOptions + { + get + { + WindowsRTCOptionsPlatformSpecificOptions? value; + Helper.Get(m_PlatformSpecificOptions, out value); + return value; + } + + set + { + Helper.Set(ref value, ref m_PlatformSpecificOptions); + } + } + + public void Set(ref WindowsRTCOptions other) + { + m_ApiVersion = PlatformInterface.RtcoptionsApiLatest; + PlatformSpecificOptions = other.PlatformSpecificOptions; + } + + public void Set(ref WindowsRTCOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlatformInterface.RtcoptionsApiLatest; + PlatformSpecificOptions = other.Value.PlatformSpecificOptions; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_PlatformSpecificOptions); + } + + public void Get(out WindowsRTCOptions output) + { + output = new WindowsRTCOptions(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptions.cs.meta deleted file mode 100644 index 0e545cc9..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b35c028a47cca484bbdf28a225c56f0a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptionsPlatformSpecificOptions.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptionsPlatformSpecificOptions.cs index 89775499..83a19bfa 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptionsPlatformSpecificOptions.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptionsPlatformSpecificOptions.cs @@ -1,70 +1,69 @@ -// Copyright Epic Games, Inc. All Rights Reserved. -// This file is automatically generated. Changes to this file may be overwritten. - -namespace Epic.OnlineServices.Platform -{ - /// - /// Options for initializing rtc functionality required for some platforms. - /// - public class WindowsRTCOptionsPlatformSpecificOptions : ISettable - { - /// - /// The absolute path to a `xaudio2_9redist.dll` dependency, including the file name - /// - public string XAudio29DllPath { get; set; } - - internal void Set(WindowsRTCOptionsPlatformSpecificOptionsInternal? other) - { - if (other != null) - { - XAudio29DllPath = other.Value.XAudio29DllPath; - } - } - - public void Set(object other) - { - Set(other as WindowsRTCOptionsPlatformSpecificOptionsInternal?); - } - } - - [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] - internal struct WindowsRTCOptionsPlatformSpecificOptionsInternal : ISettable, System.IDisposable - { - private int m_ApiVersion; - private System.IntPtr m_XAudio29DllPath; - - public string XAudio29DllPath - { - get - { - string value; - Helper.TryMarshalGet(m_XAudio29DllPath, out value); - return value; - } - - set - { - Helper.TryMarshalSet(ref m_XAudio29DllPath, value); - } - } - - public void Set(WindowsRTCOptionsPlatformSpecificOptions other) - { - if (other != null) - { - m_ApiVersion = PlatformInterface.PlatformWindowsrtcoptionsplatformspecificoptionsApiLatest; - XAudio29DllPath = other.XAudio29DllPath; - } - } - - public void Set(object other) - { - Set(other as WindowsRTCOptionsPlatformSpecificOptions); - } - - public void Dispose() - { - Helper.TryMarshalDispose(ref m_XAudio29DllPath); - } - } +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +namespace Epic.OnlineServices.Platform +{ + /// + /// Options for initializing rtc functionality required for some platforms. + /// + public struct WindowsRTCOptionsPlatformSpecificOptions + { + /// + /// The absolute path to a `xaudio2_9redist.dll` dependency, including the file name. + /// + public Utf8String XAudio29DllPath { get; set; } + + internal void Set(ref WindowsRTCOptionsPlatformSpecificOptionsInternal other) + { + XAudio29DllPath = other.XAudio29DllPath; + } + } + + [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] + internal struct WindowsRTCOptionsPlatformSpecificOptionsInternal : IGettable, ISettable, System.IDisposable + { + private int m_ApiVersion; + private System.IntPtr m_XAudio29DllPath; + + public Utf8String XAudio29DllPath + { + get + { + Utf8String value; + Helper.Get(m_XAudio29DllPath, out value); + return value; + } + + set + { + Helper.Set(value, ref m_XAudio29DllPath); + } + } + + public void Set(ref WindowsRTCOptionsPlatformSpecificOptions other) + { + m_ApiVersion = PlatformInterface.WindowsRtcoptionsplatformspecificoptionsApiLatest; + XAudio29DllPath = other.XAudio29DllPath; + } + + public void Set(ref WindowsRTCOptionsPlatformSpecificOptions? other) + { + if (other.HasValue) + { + m_ApiVersion = PlatformInterface.WindowsRtcoptionsplatformspecificoptionsApiLatest; + XAudio29DllPath = other.Value.XAudio29DllPath; + } + } + + public void Dispose() + { + Helper.Dispose(ref m_XAudio29DllPath); + } + + public void Get(out WindowsRTCOptionsPlatformSpecificOptions output) + { + output = new WindowsRTCOptionsPlatformSpecificOptions(); + output.Set(ref this); + } + } } \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptionsPlatformSpecificOptions.cs.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptionsPlatformSpecificOptions.cs.meta deleted file mode 100644 index b1483b11..00000000 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/Platform/WindowsRTCOptionsPlatformSpecificOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a90390c9c4f2b4a4ebf5ea3fdb1be310 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/WindowsBindings.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/WindowsBindings.cs new file mode 100644 index 00000000..c9cf8e93 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Windows/WindowsBindings.cs @@ -0,0 +1,116 @@ +// Copyright Epic Games, Inc. All Rights Reserved. +// This file is automatically generated. Changes to this file may be overwritten. + +#if DEBUG + #define EOS_DEBUG +#endif + +#if UNITY_EDITOR + #define EOS_EDITOR +#endif + +#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_PS4 || UNITY_XBOXONE || UNITY_SWITCH || UNITY_IOS || UNITY_ANDROID + #define EOS_UNITY +#endif + +#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN || PLATFORM_64BITS || PLATFORM_32BITS + #if UNITY_EDITOR_WIN || UNITY_64 || PLATFORM_64BITS + #define EOS_PLATFORM_WINDOWS_64 + #else + #define EOS_PLATFORM_WINDOWS_32 + #endif + +#elif UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX + #define EOS_PLATFORM_OSX + +#elif UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX + #define EOS_PLATFORM_LINUX + +#elif UNITY_PS4 + #define EOS_PLATFORM_PS4 + +#elif UNITY_XBOXONE + #define EOS_PLATFORM_XBOXONE + +#elif UNITY_SWITCH + #define EOS_PLATFORM_SWITCH + +#elif UNITY_IOS || __IOS__ + #define EOS_PLATFORM_IOS + +#elif UNITY_ANDROID || __ANDROID__ + #define EOS_PLATFORM_ANDROID + +#endif + +#if EOS_EDITOR + #define EOS_DYNAMIC_BINDINGS +#endif + +#if EOS_DYNAMIC_BINDINGS + #if EOS_PLATFORM_WINDOWS_32 + #define EOS_DYNAMIC_BINDINGS_NAME_TYPE3 + #elif EOS_PLATFORM_OSX + #define EOS_DYNAMIC_BINDINGS_NAME_TYPE2 + #else + #define EOS_DYNAMIC_BINDINGS_NAME_TYPE1 + #endif +#endif + +using System; +using System.Runtime.InteropServices; + +namespace Epic.OnlineServices +{ + public static class WindowsBindings + { +#if EOS_DYNAMIC_BINDINGS_NAME_TYPE1 + private const string EOS_Platform_CreateName = "EOS_Platform_Create"; +#endif + +#if EOS_DYNAMIC_BINDINGS_NAME_TYPE2 + private const string EOS_Platform_CreateName = "_EOS_Platform_Create"; +#endif + +#if EOS_DYNAMIC_BINDINGS_NAME_TYPE3 + private const string EOS_Platform_CreateName = "_EOS_Platform_Create@4"; +#endif + +#if EOS_DYNAMIC_BINDINGS + /// + /// Hooks the dynamic SDK API bindings. EOS_DYNAMIC_BINDINGS or EOS_EDITOR must be set. + /// + /// The library handle to find functions in. The type is platform dependent, but would typically be . + /// A delegate that gets a function pointer using the given library handle and function name. + public static void Hook(TLibraryHandle libraryHandle, Func getFunctionPointer) + { + System.IntPtr functionPointer; + + functionPointer = getFunctionPointer(libraryHandle, EOS_Platform_CreateName); + if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_Platform_CreateName); + EOS_Platform_Create = (EOS_Platform_CreateDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_Platform_CreateDelegate)); + } +#endif + +#if EOS_DYNAMIC_BINDINGS + /// + /// Unhooks the dynamic SDK API bindings. EOS_DYNAMIC_BINDINGS or EOS_EDITOR must be set. + /// + public static void Unhook() + { + EOS_Platform_Create = null; + } +#endif + +#if EOS_DYNAMIC_BINDINGS + [UnmanagedFunctionPointer(Config.LibraryCallingConvention)] + internal delegate System.IntPtr EOS_Platform_CreateDelegate(ref Platform.WindowsOptionsInternal options); + internal static EOS_Platform_CreateDelegate EOS_Platform_Create; +#endif + +#if !EOS_DYNAMIC_BINDINGS + [DllImport(Config.LibraryName)] + internal static extern System.IntPtr EOS_Platform_Create(ref Platform.WindowsOptionsInternal options); +#endif + } +} \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Version.txt b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Version.txt new file mode 100644 index 00000000..795d8700 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Version.txt @@ -0,0 +1 @@ +1.15.1 \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Version.txt.meta similarity index 57% rename from Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform.meta rename to Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Version.txt.meta index 04c56160..cbc34343 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android/Platform.meta +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Version.txt.meta @@ -1,7 +1,6 @@ fileFormatVersion: 2 -guid: dd14c90cd7aa875418a308492e50ced0 -folderAsset: yes -DefaultImporter: +guid: 2003cfc2689c744d68f3e6957362dbe5 +TextScriptImporter: externalObjects: {} userData: assetBundleName: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Linux-Shipping.so b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Linux-Shipping.so index 84b77f13..61f785da 100644 Binary files a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Linux-Shipping.so and b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Linux-Shipping.so differ diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Linux-Shipping.so.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Linux-Shipping.so.meta index 5c9ab2a2..fd088173 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Linux-Shipping.so.meta +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Linux-Shipping.so.meta @@ -11,17 +11,63 @@ PluginImporter: isExplicitlyReferenced: 0 validateReferences: 1 platformData: + - first: + : Any + second: + enabled: 0 + settings: + Exclude Editor: 0 + Exclude Linux64: 0 + Exclude OSXUniversal: 1 + Exclude Win: 0 + Exclude Win64: 0 + Exclude iOS: 1 - first: Any: second: - enabled: 1 + enabled: 0 settings: {} - first: Editor: Editor second: - enabled: 0 + enabled: 1 settings: + CPU: AnyCPU DefaultValueInitialized: true + OS: Linux + - first: + Standalone: Linux64 + second: + enabled: 1 + settings: + CPU: x86_64 + - first: + Standalone: OSXUniversal + second: + enabled: 0 + settings: + CPU: None + - first: + Standalone: Win + second: + enabled: 1 + settings: + CPU: x86 + - first: + Standalone: Win64 + second: + enabled: 1 + settings: + CPU: x86_64 + - first: + iPhone: iOS + second: + enabled: 0 + settings: + AddToEmbeddedBinaries: false + CPU: AnyCPU + CompileFlags: + FrameworkDependencies: userData: assetBundleName: assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Mac-Shipping.dylib b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Mac-Shipping.dylib index 5f2fc758..6e78578d 100644 Binary files a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Mac-Shipping.dylib and b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Mac-Shipping.dylib differ diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Mac-Shipping.dylib.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Mac-Shipping.dylib.meta index 041da13a..fc064eb0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Mac-Shipping.dylib.meta +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/libEOSSDK-Mac-Shipping.dylib.meta @@ -11,6 +11,17 @@ PluginImporter: isExplicitlyReferenced: 0 validateReferences: 1 platformData: + - first: + : Any + second: + enabled: 0 + settings: + Exclude Editor: 0 + Exclude Linux64: 1 + Exclude OSXUniversal: 0 + Exclude Win: 1 + Exclude Win64: 1 + Exclude iOS: 1 - first: Any: second: @@ -21,12 +32,42 @@ PluginImporter: second: enabled: 1 settings: + CPU: x86_64 DefaultValueInitialized: true + OS: OSX + - first: + Standalone: Linux64 + second: + enabled: 0 + settings: + CPU: x86_64 - first: Standalone: OSXUniversal second: enabled: 1 - settings: {} + settings: + CPU: x86_64 + - first: + Standalone: Win + second: + enabled: 0 + settings: + CPU: x86 + - first: + Standalone: Win64 + second: + enabled: 0 + settings: + CPU: x86_64 + - first: + iPhone: iOS + second: + enabled: 0 + settings: + AddToEmbeddedBinaries: false + CPU: AnyCPU + CompileFlags: + FrameworkDependencies: userData: assetBundleName: assetBundleVariant: diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDKComponent.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDKComponent.cs index 93162f8c..dfaf1ff7 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDKComponent.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDKComponent.cs @@ -143,6 +143,17 @@ protected static EOSSDKComponent Instance { } public static void Tick() { + if (instance == null) + { + Debug.LogError("INSTANCE NULL"); + return; + } + + if (instance.EOS == null) { + Debug.LogError("EOS NULL"); + return; + } + instance.platformTickTimer -= Time.deltaTime; instance.EOS.Tick(); } @@ -187,6 +198,35 @@ private static IntPtr GetProcAddress(IntPtr hModule, string lpProcName) { } private IntPtr libraryPointer; #endif + +#if UNITY_EDITOR_OSX + [DllImport("libdl.dylib", EntryPoint = "dlopen")] + private static extern IntPtr LoadLibrary(String lpFileName, int flags = 2); + + [DllImport("libdl.dylib", EntryPoint = "dlclose")] + private static extern int FreeLibrary(IntPtr hLibModule); + + [DllImport("libdl.dylib")] + private static extern IntPtr dlsym(IntPtr handle, String symbol); + + [DllImport("libdl.dylib")] + private static extern IntPtr dlerror(); + + private static IntPtr GetProcAddress(IntPtr hModule, string lpProcName) + { + // clear previous errors if any + dlerror(); + var res = dlsym(hModule, lpProcName); + var errPtr = dlerror(); + if (errPtr != IntPtr.Zero) + { + throw new Exception("dlsym: " + Marshal.PtrToStringAnsi(errPtr)); + } + + return res; + } + private IntPtr libraryPointer; +#endif private void Awake() { // Initialize Java version of the SDK with a reference to the VM with JNI @@ -231,7 +271,7 @@ protected void InitializeImplementation() { ProductVersion = apiKeys.epicProductVersion }; - var initializeResult = PlatformInterface.Initialize(initializeOptions); + var initializeResult = PlatformInterface.Initialize(ref initializeOptions); // This code is called each time the game is run in the editor, so we catch the case where the SDK has already been initialized in the editor. var isAlreadyConfiguredInEditor = Application.isEditor && initializeResult == Result.AlreadyConfigured; @@ -242,7 +282,7 @@ protected void InitializeImplementation() { // The SDK outputs lots of information that is useful for debugging. // Make sure to set up the logging interface as early as possible: after initializing. LoggingInterface.SetLogLevel(LogCategory.AllCategories, epicLoggerLevel); - LoggingInterface.SetCallback(message => Logger.EpicDebugLog(message)); + LoggingInterface.SetCallback((ref LogMessage message) => Logger.EpicDebugLog(message)); var options = new Options() { ProductId = apiKeys.epicProductId, @@ -255,7 +295,7 @@ protected void InitializeImplementation() { TickBudgetInMilliseconds = tickBudgetInMilliseconds }; - EOS = PlatformInterface.Create(options); + EOS = PlatformInterface.Create(ref options); if (EOS == null) { throw new System.Exception("Failed to create platform"); } @@ -293,13 +333,13 @@ protected void InitializeImplementation() { ScopeFlags = Epic.OnlineServices.Auth.AuthScopeFlags.BasicProfile | Epic.OnlineServices.Auth.AuthScopeFlags.FriendsList | Epic.OnlineServices.Auth.AuthScopeFlags.Presence }; - EOS.GetAuthInterface().Login(loginOptions, null, OnAuthInterfaceLogin); + EOS.GetAuthInterface().Login(ref loginOptions, null, OnAuthInterfaceLogin); } else { // Login to Connect Interface if (connectInterfaceCredentialType == Epic.OnlineServices.ExternalCredentialType.DeviceidAccessToken) { Epic.OnlineServices.Connect.CreateDeviceIdOptions createDeviceIdOptions = new Epic.OnlineServices.Connect.CreateDeviceIdOptions(); createDeviceIdOptions.DeviceModel = deviceModel; - EOS.GetConnectInterface().CreateDeviceId(createDeviceIdOptions, null, OnCreateDeviceId); + EOS.GetConnectInterface().CreateDeviceId(ref createDeviceIdOptions, null, OnCreateDeviceId); } else { ConnectInterfaceLogin(); } @@ -314,11 +354,11 @@ public static void Initialize() { Instance.InitializeImplementation(); } - private void OnAuthInterfaceLogin(Epic.OnlineServices.Auth.LoginCallbackInfo loginCallbackInfo) { + private void OnAuthInterfaceLogin(ref Epic.OnlineServices.Auth.LoginCallbackInfo loginCallbackInfo) { if (loginCallbackInfo.ResultCode == Result.Success) { Debug.Log("Auth Interface Login succeeded"); - string accountIdString; + Utf8String accountIdString; Result result = loginCallbackInfo.LocalUserId.ToString(out accountIdString); if (Result.Success == result) { Debug.Log("EOS User ID:" + accountIdString); @@ -333,7 +373,7 @@ private void OnAuthInterfaceLogin(Epic.OnlineServices.Auth.LoginCallbackInfo log } } - private void OnCreateDeviceId(Epic.OnlineServices.Connect.CreateDeviceIdCallbackInfo createDeviceIdCallbackInfo) { + private void OnCreateDeviceId(ref Epic.OnlineServices.Connect.CreateDeviceIdCallbackInfo createDeviceIdCallbackInfo) { if (createDeviceIdCallbackInfo.ResultCode == Result.Success || createDeviceIdCallbackInfo.ResultCode == Result.DuplicateNotAllowed) { ConnectInterfaceLogin(); } else if(Epic.OnlineServices.Common.IsOperationComplete(createDeviceIdCallbackInfo.ResultCode)) { @@ -345,31 +385,61 @@ private void ConnectInterfaceLogin() { var loginOptions = new Epic.OnlineServices.Connect.LoginOptions(); if (connectInterfaceCredentialType == Epic.OnlineServices.ExternalCredentialType.Epic) { - Epic.OnlineServices.Auth.Token token; - Result result = EOS.GetAuthInterface().CopyUserAuthToken(new Epic.OnlineServices.Auth.CopyUserAuthTokenOptions(), localUserAccountId, out token); + Epic.OnlineServices.Auth.Token? token; + var copyUserAuthTokenOptions = new Epic.OnlineServices.Auth.CopyUserAuthTokenOptions(); + Result result = EOS.GetAuthInterface().CopyUserAuthToken(ref copyUserAuthTokenOptions, localUserAccountId, out token); if (result == Result.Success) { - connectInterfaceCredentialToken = token.AccessToken; + connectInterfaceCredentialToken = token?.AccessToken; } else { Debug.LogError("Failed to retrieve User Auth Token"); } } else if (connectInterfaceCredentialType == Epic.OnlineServices.ExternalCredentialType.DeviceidAccessToken) { - loginOptions.UserLoginInfo = new Epic.OnlineServices.Connect.UserLoginInfo(); - loginOptions.UserLoginInfo.DisplayName = displayName; + loginOptions.UserLoginInfo = new Epic.OnlineServices.Connect.UserLoginInfo() { + DisplayName = displayName + }; } - loginOptions.Credentials = new Epic.OnlineServices.Connect.Credentials(); - loginOptions.Credentials.Type = connectInterfaceCredentialType; - loginOptions.Credentials.Token = connectInterfaceCredentialToken; + loginOptions.Credentials = new Epic.OnlineServices.Connect.Credentials() { + Type = connectInterfaceCredentialType, + Token = connectInterfaceCredentialToken + }; + + EOS.GetConnectInterface().Login(ref loginOptions, null, OnConnectInterfaceLogin); + } + + private void OnApplicationFocus(bool hasFocus) { + SetApplicationStatus(hasFocus); + } + + private void SetApplicationStatus(bool focus) { + if (!initialized || isConnecting) return; + + ApplicationStatus status = ApplicationStatus.Foreground; + + if (!focus) { +#if UNITY_IOS + status = ApplicationStatus.BackgroundSuspended; +#elif UNITY_ANDROID + status = Application.runInBackground + ? ApplicationStatus.BackgroundConstrained + : ApplicationStatus.BackgroundSuspended; +#else + status = Application.runInBackground + ? ApplicationStatus.BackgroundUnconstrained + : ApplicationStatus.BackgroundSuspended; +#endif + } - EOS.GetConnectInterface().Login(loginOptions, null, OnConnectInterfaceLogin); + Result setApplicationStatusResult = EOS.SetApplicationStatus(status); + Debug.Log("EOS Set Application Status: " + status); } - private void OnConnectInterfaceLogin(Epic.OnlineServices.Connect.LoginCallbackInfo loginCallbackInfo) { + private void OnConnectInterfaceLogin(ref Epic.OnlineServices.Connect.LoginCallbackInfo loginCallbackInfo) { if (loginCallbackInfo.ResultCode == Result.Success) { Debug.Log("Connect Interface Login succeeded"); - string productIdString; + Utf8String productIdString; Result result = loginCallbackInfo.LocalUserId.ToString(out productIdString); if (Result.Success == result) { Debug.Log("EOS User Product ID:" + productIdString); @@ -380,12 +450,17 @@ private void OnConnectInterfaceLogin(Epic.OnlineServices.Connect.LoginCallbackIn initialized = true; isConnecting = false; + + SetApplicationStatus(true); + EOS.SetNetworkStatus(NetworkStatus.Online); var authExpirationOptions = new Epic.OnlineServices.Connect.AddNotifyAuthExpirationOptions(); - authExpirationHandle = EOS.GetConnectInterface().AddNotifyAuthExpiration(authExpirationOptions, null, OnAuthExpiration); + authExpirationHandle = EOS.GetConnectInterface().AddNotifyAuthExpiration(ref authExpirationOptions, null, OnAuthExpiration); } else if (Epic.OnlineServices.Common.IsOperationComplete(loginCallbackInfo.ResultCode)) { Debug.Log("Login returned " + loginCallbackInfo.ResultCode + "\nRetrying..."); - EOS.GetConnectInterface().CreateUser(new Epic.OnlineServices.Connect.CreateUserOptions() { ContinuanceToken = loginCallbackInfo.ContinuanceToken }, null, (Epic.OnlineServices.Connect.CreateUserCallbackInfo cb) => { + var createUserOptions = new Epic.OnlineServices.Connect.CreateUserOptions() + { ContinuanceToken = loginCallbackInfo.ContinuanceToken }; + EOS.GetConnectInterface().CreateUser(ref createUserOptions, null, (ref Epic.OnlineServices.Connect.CreateUserCallbackInfo cb) => { if (cb.ResultCode != Result.Success) { Debug.Log(cb.ResultCode); return; } localUserProductId = cb.LocalUserId; ConnectInterfaceLogin(); @@ -393,7 +468,7 @@ private void OnConnectInterfaceLogin(Epic.OnlineServices.Connect.LoginCallbackIn } } - private void OnAuthExpiration(Epic.OnlineServices.Connect.AuthExpirationCallbackInfo authExpirationCallbackInfo) { + private void OnAuthExpiration(ref Epic.OnlineServices.Connect.AuthExpirationCallbackInfo authExpirationCallbackInfo) { Debug.Log("AuthExpiration callback"); EOS.GetConnectInterface().RemoveNotifyAuthExpiration(authExpirationHandle); ConnectInterfaceLogin(); @@ -412,11 +487,13 @@ private void LateUpdate() { } private void OnApplicationQuit() { +#if !UNITY_EDITOR if (EOS != null) { EOS.Release(); EOS = null; PlatformInterface.Shutdown(); } +#endif // Unhook the library in the editor, this makes it possible to load the library again after stopping to play #if UNITY_EDITOR diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EosTransport.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/EosTransport.cs index 9def9aa5..f4674555 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EosTransport.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/EosTransport.cs @@ -135,7 +135,7 @@ public override void ClientConnect(string address) { sessionOptions.DisplayName = EOSSDKComponent.DisplayName; sessionOptions.GameSessionId = null; sessionOptions.ServerIp = null; - Result result = EOSSDKComponent.GetMetricsInterface().BeginPlayerSession(sessionOptions); + Result result = EOSSDKComponent.GetMetricsInterface().BeginPlayerSession(ref sessionOptions); if(result == Result.Success) { Debug.Log("Started Metric Session"); @@ -193,7 +193,7 @@ public override void ServerStart() { sessionOptions.DisplayName = EOSSDKComponent.DisplayName; sessionOptions.GameSessionId = null; sessionOptions.ServerIp = null; - Result result = EOSSDKComponent.GetMetricsInterface().BeginPlayerSession(sessionOptions); + Result result = EOSSDKComponent.GetMetricsInterface().BeginPlayerSession(ref sessionOptions); if (result == Result.Success) { Debug.Log("Started Metric Session"); @@ -269,7 +269,7 @@ public override void Shutdown() { // Stop Metrics collection session EndPlayerSessionOptions endSessionOptions = new EndPlayerSessionOptions(); endSessionOptions.AccountId = EOSSDKComponent.LocalUserAccountId; - Result result = EOSSDKComponent.GetMetricsInterface().EndPlayerSession(endSessionOptions); + Result result = EOSSDKComponent.GetMetricsInterface().EndPlayerSession(ref endSessionOptions); if (result == Result.Success) { Debug.LogError("Stopped Metric Session"); @@ -315,7 +315,7 @@ private IEnumerator ChangeRelayStatus() { SetRelayControlOptions setRelayControlOptions = new SetRelayControlOptions(); setRelayControlOptions.RelayControl = relayControl; - EOSSDKComponent.GetP2PInterface().SetRelayControl(setRelayControlOptions); + EOSSDKComponent.GetP2PInterface().SetRelayControl(ref setRelayControlOptions); } public void ResetIgnoreMessagesAtStartUpTimer() { diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby.meta index 28550835..692c12c8 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby.meta +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: e95f05391c4035e4895e5f61f0afe88b +guid: a80679ea6271848af888b4816a739fbf folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/.idea/.idea.Lobby.dir/.idea/.gitignore b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/.idea/.idea.Lobby.dir/.idea/.gitignore new file mode 100644 index 00000000..caa317d5 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/.idea/.idea.Lobby.dir/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/modules.xml +/projectSettingsUpdater.xml +/.idea.Lobby.iml +/contentModel.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/.idea/.idea.Lobby.dir/.idea/encodings.xml b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/.idea/.idea.Lobby.dir/.idea/encodings.xml new file mode 100644 index 00000000..df87cf95 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/.idea/.idea.Lobby.dir/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/.idea/.idea.Lobby.dir/.idea/indexLayout.xml b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/.idea/.idea.Lobby.dir/.idea/indexLayout.xml new file mode 100644 index 00000000..7b08163c --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/.idea/.idea.Lobby.dir/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/.idea/.idea.Lobby.dir/.idea/vcs.xml b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/.idea/.idea.Lobby.dir/.idea/vcs.xml new file mode 100644 index 00000000..bc599707 --- /dev/null +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/.idea/.idea.Lobby.dir/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/EOSLobby.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/EOSLobby.cs index 6d08bda5..678f43aa 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/EOSLobby.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/EOSLobby.cs @@ -79,8 +79,9 @@ public class EOSLobby : MonoBehaviour { public event LobbyAttributeUpdate LobbyAttributeUpdated; public virtual void Start() { - lobbyMemberStatusNotifyId = EOSSDKComponent.GetLobbyInterface().AddNotifyLobbyMemberStatusReceived(new AddNotifyLobbyMemberStatusReceivedOptions { }, null, - (LobbyMemberStatusReceivedCallbackInfo callback) => { + var addNotifyLobbyMemberStatusReceivedOptions = new AddNotifyLobbyMemberStatusReceivedOptions { }; + lobbyMemberStatusNotifyId = EOSSDKComponent.GetLobbyInterface().AddNotifyLobbyMemberStatusReceived(ref addNotifyLobbyMemberStatusReceivedOptions, null, + (ref LobbyMemberStatusReceivedCallbackInfo callback) => { LobbyMemberStatusUpdated?.Invoke(callback); if (callback.CurrentStatus == LobbyMemberStatus.Closed) { @@ -88,8 +89,9 @@ public virtual void Start() { } }); - lobbyAttributeUpdateNotifyId = EOSSDKComponent.GetLobbyInterface().AddNotifyLobbyUpdateReceived(new AddNotifyLobbyUpdateReceivedOptions { }, null, - (LobbyUpdateReceivedCallbackInfo callback) => { + var addNotifyLobbyUpdateReceivedOptions = new AddNotifyLobbyUpdateReceivedOptions { }; + lobbyAttributeUpdateNotifyId = EOSSDKComponent.GetLobbyInterface().AddNotifyLobbyUpdateReceived(ref addNotifyLobbyUpdateReceivedOptions, null, + (ref LobbyUpdateReceivedCallbackInfo callback) => { LobbyAttributeUpdated?.Invoke(callback); }); } @@ -105,14 +107,15 @@ public virtual void Start() { /// Optional data that you can to the lobby. By default, there is an empty attribute for searching and an attribute which holds the host's network address. public virtual void CreateLobby(uint maxConnections, LobbyPermissionLevel permissionLevel, bool presenceEnabled, AttributeData[] lobbyData = null) { - EOSSDKComponent.GetLobbyInterface().CreateLobby(new CreateLobbyOptions { + var createLobbyOptions = new CreateLobbyOptions { //lobby options LocalUserId = EOSSDKComponent.LocalUserProductId, MaxLobbyMembers = maxConnections, PermissionLevel = permissionLevel, PresenceEnabled = presenceEnabled, BucketId = DefaultAttributeKey, - }, null, (CreateLobbyCallbackInfo callback) => { + }; + EOSSDKComponent.GetLobbyInterface().CreateLobby(ref createLobbyOptions, null, (ref CreateLobbyCallbackInfo callback) => { List lobbyReturnData = new List(); //if the result of CreateLobby is not successful, invoke an error event and return @@ -126,23 +129,36 @@ public virtual void CreateLobby(uint maxConnections, LobbyPermissionLevel permis AttributeData defaultData = new AttributeData { Key = DefaultAttributeKey, Value = DefaultAttributeKey }; AttributeData hostAddressData = new AttributeData { Key = hostAddressKey, Value = EOSSDKComponent.LocalUserProductIdString }; + var updateLobbyModificationOptions = new UpdateLobbyModificationOptions + { LobbyId = callback.LobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }; //set the mod handle - EOSSDKComponent.GetLobbyInterface().UpdateLobbyModification(new UpdateLobbyModificationOptions { LobbyId = callback.LobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }, out modHandle); + EOSSDKComponent.GetLobbyInterface().UpdateLobbyModification(ref updateLobbyModificationOptions, out modHandle); //add attributes - modHandle.AddAttribute(new LobbyModificationAddAttributeOptions { Attribute = defaultData, Visibility = LobbyAttributeVisibility.Public }); - modHandle.AddAttribute(new LobbyModificationAddAttributeOptions { Attribute = hostAddressData, Visibility = LobbyAttributeVisibility.Public }); + var defaultLobbyModificationAddAttributeOptions = new LobbyModificationAddAttributeOptions + { Attribute = defaultData, Visibility = LobbyAttributeVisibility.Public }; + var lobbyModificationAddAttributeOptions = new LobbyModificationAddAttributeOptions + { Attribute = hostAddressData, Visibility = LobbyAttributeVisibility.Public }; + + modHandle.AddAttribute(ref defaultLobbyModificationAddAttributeOptions); + modHandle.AddAttribute(ref lobbyModificationAddAttributeOptions); //add user attributes if (lobbyData != null) { foreach (AttributeData data in lobbyData) { - modHandle.AddAttribute(new LobbyModificationAddAttributeOptions { Attribute = data, Visibility = LobbyAttributeVisibility.Public }); + var options = new LobbyModificationAddAttributeOptions(); + options.Attribute = data; + options.Visibility = LobbyAttributeVisibility.Public; + modHandle.AddAttribute(ref options); lobbyReturnData.Add(new Attribute { Data = data, Visibility = LobbyAttributeVisibility.Public }); } } + var lobbyId = callback.LobbyId; + //update the lobby - EOSSDKComponent.GetLobbyInterface().UpdateLobby(new UpdateLobbyOptions { LobbyModificationHandle = modHandle }, null, (UpdateLobbyCallbackInfo updateCallback) => { + var updateLobbyOptions = new UpdateLobbyOptions { LobbyModificationHandle = modHandle }; + EOSSDKComponent.GetLobbyInterface().UpdateLobby(ref updateLobbyOptions, null, (ref UpdateLobbyCallbackInfo updateCallback) => { //if there was an error while updating the lobby, invoke an error event and return if (updateCallback.ResultCode != Result.Success) { @@ -151,12 +167,15 @@ public virtual void CreateLobby(uint maxConnections, LobbyPermissionLevel permis } LobbyDetails details; - EOSSDKComponent.GetLobbyInterface().CopyLobbyDetailsHandle(new CopyLobbyDetailsHandleOptions { LobbyId = callback.LobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }, out details); + + var copyLobbyDetailsHandleOptions = new CopyLobbyDetailsHandleOptions + { LobbyId = lobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }; + EOSSDKComponent.GetLobbyInterface().CopyLobbyDetailsHandle(ref copyLobbyDetailsHandleOptions, out details); ConnectedLobbyDetails = details; isLobbyOwner = true; ConnectedToLobby = true; - currentLobbyId = callback.LobbyId; + currentLobbyId = lobbyId; //invoke event CreateLobbySucceeded?.Invoke(lobbyReturnData); @@ -176,22 +195,26 @@ public virtual void FindLobbies(uint maxResults = 100, LobbySearchSetParameterOp LobbySearch search = new LobbySearch(); //set the search handle - EOSSDKComponent.GetLobbyInterface().CreateLobbySearch(new CreateLobbySearchOptions { MaxResults = maxResults }, out search); + var createLobbySearchOptions = new CreateLobbySearchOptions { MaxResults = maxResults }; + EOSSDKComponent.GetLobbyInterface().CreateLobbySearch(ref createLobbySearchOptions, out search); //set search parameters if (lobbySearchSetParameterOptions != null) { foreach (LobbySearchSetParameterOptions searchOption in lobbySearchSetParameterOptions) { - search.SetParameter(searchOption); + var option = searchOption; + search.SetParameter(ref option); } } else { - search.SetParameter(new LobbySearchSetParameterOptions { - ComparisonOp = ComparisonOp.Equal, - Parameter = new AttributeData { Key = DefaultAttributeKey, Value = DefaultAttributeKey } - }); + var options = new LobbySearchSetParameterOptions(); + options.ComparisonOp = ComparisonOp.Equal; + options.Parameter = new AttributeData { Key = DefaultAttributeKey, Value = DefaultAttributeKey }; + search.SetParameter(ref options); } //find lobbies - search.Find(new LobbySearchFindOptions { LocalUserId = EOSSDKComponent.LocalUserProductId }, null, (LobbySearchFindCallbackInfo callback) => { + var findOptions = new LobbySearchFindOptions(); + findOptions.LocalUserId = EOSSDKComponent.LocalUserProductId; + search.Find(ref findOptions, null, (ref LobbySearchFindCallbackInfo callback) => { //if the search was unsuccessful, invoke an error event and return if (callback.ResultCode != Result.Success) { FindLobbiesFailed?.Invoke("There was an error while finding lobbies. Error: " + callback.ResultCode); @@ -201,9 +224,12 @@ public virtual void FindLobbies(uint maxResults = 100, LobbySearchSetParameterOp foundLobbies.Clear(); //for each lobby found, add data to details - for (int i = 0; i < search.GetSearchResultCount(new LobbySearchGetSearchResultCountOptions { }); i++) { + var lobbySearchGetSearchResultCountOptions = new LobbySearchGetSearchResultCountOptions { }; + for (int i = 0; i < search.GetSearchResultCount(ref lobbySearchGetSearchResultCountOptions); i++) { LobbyDetails lobbyInformation; - search.CopySearchResultByIndex(new LobbySearchCopySearchResultByIndexOptions { LobbyIndex = (uint) i }, out lobbyInformation); + var options = new LobbySearchCopySearchResultByIndexOptions(); + options.LobbyIndex = (uint) i; + search.CopySearchResultByIndex(ref options, out lobbyInformation); foundLobbies.Add(lobbyInformation); } @@ -222,7 +248,11 @@ public virtual void FindLobbies(uint maxResults = 100, LobbySearchSetParameterOp /// Use Epic's overlay to display information to others. public virtual void JoinLobby(LobbyDetails lobbyToJoin, string[] attributeKeys = null, bool presenceEnabled = false) { //join lobby - EOSSDKComponent.GetLobbyInterface().JoinLobby(new JoinLobbyOptions { LobbyDetailsHandle = lobbyToJoin, LocalUserId = EOSSDKComponent.LocalUserProductId, PresenceEnabled = presenceEnabled }, null, (JoinLobbyCallbackInfo callback) => { + var joinLobbyOptions = new JoinLobbyOptions { + LobbyDetailsHandle = lobbyToJoin, LocalUserId = EOSSDKComponent.LocalUserProductId, + PresenceEnabled = presenceEnabled + }; + EOSSDKComponent.GetLobbyInterface().JoinLobby(ref joinLobbyOptions, null, (ref JoinLobbyCallbackInfo callback) => { //if the result was not a success, invoke an error event and return if (callback.ResultCode != Result.Success) { JoinLobbyFailed?.Invoke("There was an error while joining a lobby. Error: " + callback.ResultCode); @@ -231,20 +261,26 @@ public virtual void JoinLobby(LobbyDetails lobbyToJoin, string[] attributeKeys = lobbyData.Clear(); - Attribute hostAddress = new Attribute(); - lobbyToJoin.CopyAttributeByKey(new LobbyDetailsCopyAttributeByKeyOptions { AttrKey = hostAddressKey }, out hostAddress); - lobbyData.Add(hostAddress); + Attribute? hostAddress = new Attribute(); + var keyOptions = new LobbyDetailsCopyAttributeByKeyOptions(); + keyOptions.AttrKey = hostAddressKey; + lobbyToJoin.CopyAttributeByKey(ref keyOptions, out hostAddress); + lobbyData.Add(hostAddress.Value); if (attributeKeys != null) { foreach (string key in attributeKeys) { - Attribute attribute = new Attribute(); - lobbyToJoin.CopyAttributeByKey(new LobbyDetailsCopyAttributeByKeyOptions { AttrKey = key }, out attribute); - lobbyData.Add(attribute); + Attribute? attribute = new Attribute(); + var options = new LobbyDetailsCopyAttributeByKeyOptions(); + options.AttrKey = key; + lobbyToJoin.CopyAttributeByKey(ref options, out attribute); + lobbyData.Add(attribute.Value); } } LobbyDetails details; - EOSSDKComponent.GetLobbyInterface().CopyLobbyDetailsHandle(new CopyLobbyDetailsHandleOptions { LobbyId = callback.LobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }, out details); + var copyLobbyDetailsHandleOptions = new CopyLobbyDetailsHandleOptions + { LobbyId = callback.LobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }; + EOSSDKComponent.GetLobbyInterface().CopyLobbyDetailsHandle(ref copyLobbyDetailsHandleOptions, out details); ConnectedLobbyDetails = details; isLobbyOwner = false; @@ -258,10 +294,13 @@ public virtual void JoinLobby(LobbyDetails lobbyToJoin, string[] attributeKeys = public virtual void JoinLobbyByID(string lobbyID){ LobbySearch search = new LobbySearch(); - EOSSDKComponent.GetLobbyInterface().CreateLobbySearch(new CreateLobbySearchOptions { MaxResults = 1 }, out search); - search.SetLobbyId(new LobbySearchSetLobbyIdOptions {LobbyId = lobbyID}); + var createLobbySearchOptions = new CreateLobbySearchOptions { MaxResults = 1 }; + EOSSDKComponent.GetLobbyInterface().CreateLobbySearch(ref createLobbySearchOptions, out search); + var lobbySearchSetLobbyOptions = new LobbySearchSetLobbyIdOptions { LobbyId = lobbyID }; + search.SetLobbyId(ref lobbySearchSetLobbyOptions); - search.Find(new LobbySearchFindOptions { LocalUserId = EOSSDKComponent.LocalUserProductId }, null, (LobbySearchFindCallbackInfo callback) => { + var lobbySearchFindOptions = new LobbySearchFindOptions { LocalUserId = EOSSDKComponent.LocalUserProductId }; + search.Find(ref lobbySearchFindOptions, null, (ref LobbySearchFindCallbackInfo callback) => { //if the search was unsuccessful, invoke an error event and return if (callback.ResultCode != Result.Success) { FindLobbiesFailed?.Invoke("There was an error while finding lobbies. Error: " + callback.ResultCode); @@ -271,9 +310,12 @@ public virtual void JoinLobbyByID(string lobbyID){ foundLobbies.Clear(); //for each lobby found, add data to details - for (int i = 0; i < search.GetSearchResultCount(new LobbySearchGetSearchResultCountOptions { }); i++) { + var lobbySearchGetSearchResultCountOptions = new LobbySearchGetSearchResultCountOptions { }; + for (int i = 0; i < search.GetSearchResultCount(ref lobbySearchGetSearchResultCountOptions); i++) { LobbyDetails lobbyInformation; - search.CopySearchResultByIndex(new LobbySearchCopySearchResultByIndexOptions { LobbyIndex = (uint) i }, out lobbyInformation); + var options = new LobbySearchCopySearchResultByIndexOptions(); + options.LobbyIndex = (uint) i; + search.CopySearchResultByIndex(ref options, out lobbyInformation); foundLobbies.Add(lobbyInformation); } @@ -292,7 +334,9 @@ public virtual void LeaveLobby() { //if we are the owner of the lobby if (isLobbyOwner) { //Destroy lobby - EOSSDKComponent.GetLobbyInterface().DestroyLobby(new DestroyLobbyOptions { LobbyId = currentLobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }, null, (DestroyLobbyCallbackInfo callback) => { + var destroyLobbyOptions = new DestroyLobbyOptions + { LobbyId = currentLobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }; + EOSSDKComponent.GetLobbyInterface().DestroyLobby(ref destroyLobbyOptions, null, (ref DestroyLobbyCallbackInfo callback) => { //if the result was not a success, log error and return if (callback.ResultCode != Result.Success) { LeaveLobbyFailed?.Invoke("There was an error while destroying the lobby. Error: " + callback.ResultCode); @@ -305,7 +349,9 @@ public virtual void LeaveLobby() { } //if we are a member of the lobby else { - EOSSDKComponent.GetLobbyInterface().LeaveLobby(new LeaveLobbyOptions { LobbyId = currentLobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }, null, (LeaveLobbyCallbackInfo callback) => { + var leaveLobbyOptions = new LeaveLobbyOptions + { LobbyId = currentLobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }; + EOSSDKComponent.GetLobbyInterface().LeaveLobby(ref leaveLobbyOptions, null, (ref LeaveLobbyCallbackInfo callback) => { //if the result was not a success, log error and return if (callback.ResultCode != Result.Success && callback.ResultCode != Result.NotFound) { LeaveLobbyFailed?.Invoke("There was an error while leaving the lobby. Error: " + callback.ResultCode); @@ -331,11 +377,17 @@ public virtual void LeaveLobby() { public virtual void RemoveAttribute(string key) { LobbyModification modHandle = new LobbyModification(); - EOSSDKComponent.GetLobbyInterface().UpdateLobbyModification(new UpdateLobbyModificationOptions { LobbyId = currentLobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }, out modHandle); + var updateLobbyModificationOptions = new UpdateLobbyModificationOptions + { LobbyId = currentLobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }; + + EOSSDKComponent.GetLobbyInterface().UpdateLobbyModification(ref updateLobbyModificationOptions, out modHandle); - modHandle.RemoveAttribute(new LobbyModificationRemoveAttributeOptions { Key = key }); + var options = new LobbyModificationRemoveAttributeOptions(); + options.Key = key; + modHandle.RemoveAttribute(ref options); - EOSSDKComponent.GetLobbyInterface().UpdateLobby(new UpdateLobbyOptions { LobbyModificationHandle = modHandle }, null, (UpdateLobbyCallbackInfo callback) => { + var updateLobbyOptions = new UpdateLobbyOptions { LobbyModificationHandle = modHandle }; + EOSSDKComponent.GetLobbyInterface().UpdateLobby(ref updateLobbyOptions, null, (ref UpdateLobbyCallbackInfo callback) => { if (callback.ResultCode != Result.Success) { AttributeUpdateFailed?.Invoke(key, $"There was an error while removing attribute \"{ key }\". Error: " + callback.ResultCode); return; @@ -352,11 +404,18 @@ public virtual void RemoveAttribute(string key) { private void UpdateAttribute(AttributeData attribute) { LobbyModification modHandle = new LobbyModification(); - EOSSDKComponent.GetLobbyInterface().UpdateLobbyModification(new UpdateLobbyModificationOptions { LobbyId = currentLobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }, out modHandle); + var updateLobbyModificationOptions = new UpdateLobbyModificationOptions + { LobbyId = currentLobbyId, LocalUserId = EOSSDKComponent.LocalUserProductId }; + + EOSSDKComponent.GetLobbyInterface().UpdateLobbyModification(ref updateLobbyModificationOptions, out modHandle); - modHandle.AddAttribute(new LobbyModificationAddAttributeOptions { Attribute = attribute, Visibility = LobbyAttributeVisibility.Public }); + var options = new LobbyModificationAddAttributeOptions(); + options.Attribute = attribute; + options.Visibility = LobbyAttributeVisibility.Public; + modHandle.AddAttribute(ref options); - EOSSDKComponent.GetLobbyInterface().UpdateLobby(new UpdateLobbyOptions { LobbyModificationHandle = modHandle }, null, (UpdateLobbyCallbackInfo callback) => { + var updateLobbyOptions = new UpdateLobbyOptions { LobbyModificationHandle = modHandle }; + EOSSDKComponent.GetLobbyInterface().UpdateLobby(ref updateLobbyOptions, null, (ref UpdateLobbyCallbackInfo callback) => { if (callback.ResultCode != Result.Success) { AttributeUpdateFailed?.Invoke(attribute.Key, $"There was an error while updating attribute \"{ attribute.Key }\". Error: " + callback.ResultCode); return; diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/EOSLobbyUI.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/EOSLobbyUI.cs index d140603d..116e8631 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/EOSLobbyUI.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/Lobby/EOSLobbyUI.cs @@ -46,7 +46,7 @@ private void OnJoinLobbySuccess(List attributes) { showLobbyList = false; NetworkManager netManager = GetComponent(); - netManager.networkAddress = attributes.Find((x) => x.Data.Key == hostAddressKey).Data.Value.AsUtf8; + netManager.networkAddress = attributes.Find((x) => x.Data?.Key == hostAddressKey).Data.Value.Value.AsUtf8; netManager.StartClient(); } @@ -144,16 +144,20 @@ private void DrawLobbyList() { //draw lobbies foreach (LobbyDetails lobby in foundLobbies) { //get lobby name - Attribute lobbyNameAttribute = new Attribute(); - lobby.CopyAttributeByKey(new LobbyDetailsCopyAttributeByKeyOptions { AttrKey = AttributeKeys[0] }, out lobbyNameAttribute); + Attribute? lobbyNameAttribute = new Attribute(); + var lobbyDetailsCopyAttributeByKeyOptions = new LobbyDetailsCopyAttributeByKeyOptions { + AttrKey = AttributeKeys[0] + }; + lobby.CopyAttributeByKey(ref lobbyDetailsCopyAttributeByKeyOptions, out lobbyNameAttribute); //draw the lobby result GUILayout.BeginHorizontal(GUILayout.Width(400), GUILayout.MaxWidth(400)); //draw lobby name - GUILayout.Label(lobbyNameAttribute.Data.Value.AsUtf8.Length > 30 ? lobbyNameAttribute.Data.Value.AsUtf8.Substring(0, 27).Trim() + "..." : lobbyNameAttribute.Data.Value.AsUtf8, GUILayout.Width(175)); + GUILayout.Label(lobbyNameAttribute?.Data.Value.Value.AsUtf8.Length > 30 ? lobbyNameAttribute?.Data.Value.Value.AsUtf8.Substring(0, 27).Trim() + "..." : lobbyNameAttribute?.Data.Value.Value.AsUtf8, GUILayout.Width(175)); GUILayout.Space(75); //draw player count - GUILayout.Label(lobby.GetMemberCount(new LobbyDetailsGetMemberCountOptions { }).ToString()); + var lobbyDetailsGetMemberCountOptions = new LobbyDetailsGetMemberCountOptions { }; + GUILayout.Label(lobby.GetMemberCount(ref lobbyDetailsGetMemberCountOptions).ToString()); GUILayout.Space(75); //draw join button @@ -167,10 +171,11 @@ private void DrawLobbyList() { private void DrawLobbyMenu() { //draws the lobby name - GUILayout.Label("Name: " + lobbyData.Find((x) => x.Data.Key == AttributeKeys[0]).Data.Value.AsUtf8); + GUILayout.Label("Name: " + lobbyData.Find((x) => x.Data?.Key == AttributeKeys[0]).Data.Value.Value.AsUtf8); //draws players - for (int i = 0; i < ConnectedLobbyDetails.GetMemberCount(new LobbyDetailsGetMemberCountOptions { }); i++) { + var lobbyDetailsGetMemberCountOptions = new LobbyDetailsGetMemberCountOptions { }; + for (int i = 0; i < ConnectedLobbyDetails.GetMemberCount(ref lobbyDetailsGetMemberCountOptions); i++) { GUILayout.Label("Player " + i); } } diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/Server.cs b/Mirror/Runtime/Transport/EpicOnlineTransport/Server.cs index 6959f0e3..c9d106d0 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/Server.cs +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/Server.cs @@ -38,22 +38,23 @@ private Server(EosTransport transport, int maxConnections) : base(transport) { nextConnectionID = 1; } - protected override void OnNewConnection(OnIncomingConnectionRequestInfo result) { + protected override void OnNewConnection(ref OnIncomingConnectionRequestInfo result) { if (ignoreAllMessages) { return; } - if (deadSockets.Contains(result.SocketId.SocketName)) { + if (deadSockets.Contains(result.SocketId?.SocketName)) { Debug.LogError("Received incoming connection request from dead socket"); return; } - EOSSDKComponent.GetP2PInterface().AcceptConnection( - new AcceptConnectionOptions() { + var acceptConnectionOptions = new AcceptConnectionOptions() { LocalUserId = EOSSDKComponent.LocalUserProductId, RemoteUserId = result.RemoteUserId, SocketId = result.SocketId - }); + }; + EOSSDKComponent.GetP2PInterface().AcceptConnection( + ref acceptConnectionOptions); } protected override void OnReceiveInternalData(InternalMessages type, ProductUserId clientUserId, SocketId socketId) { @@ -77,7 +78,7 @@ protected override void OnReceiveInternalData(InternalMessages type, ProductUser epicToSocketIds.Add(clientUserId, socketId); OnConnected.Invoke(connectionId); - string clientUserIdString; + Utf8String clientUserIdString; clientUserId.ToString(out clientUserIdString); Debug.Log($"Client with Product User ID {clientUserIdString} connected. Assigning connection id {connectionId}"); break; @@ -111,7 +112,7 @@ protected override void OnReceiveData(byte[] data, ProductUserId clientUserId, i epicToSocketIds.TryGetValue(clientUserId, out socketId); CloseP2PSessionWithUser(clientUserId, socketId); - string productId; + Utf8String productId; clientUserId.ToString(out productId); Debug.LogError("Data received from epic client thats not known " + productId); @@ -159,7 +160,7 @@ public void SendAll(int connectionId, byte[] data, int channelId) { public string ServerGetClientAddress(int connectionId) { if (epicToMirrorIds.TryGetValue(connectionId, out ProductUserId userId)) { - string userIdString; + Utf8String userIdString; userId.ToString(out userIdString); return userIdString; } else { diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements.meta b/Mirror/Runtime/Transport/EpicOnlineTransport/ThirdPartyNotices.meta similarity index 77% rename from Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements.meta rename to Mirror/Runtime/Transport/EpicOnlineTransport/ThirdPartyNotices.meta index 1e080e35..47aacd7c 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Achievements.meta +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/ThirdPartyNotices.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 1b05ad5e499f3f64093016cd0dbb0a49 +guid: 84c0310432d6d4738ab35eb6a5e34e94 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/ThirdPartyNotices/ThirdPartySoftwareNotice.txt b/Mirror/Runtime/Transport/EpicOnlineTransport/ThirdPartyNotices/ThirdPartySoftwareNotice.txt index 9c9d5541..ccc51f48 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/ThirdPartyNotices/ThirdPartySoftwareNotice.txt +++ b/Mirror/Runtime/Transport/EpicOnlineTransport/ThirdPartyNotices/ThirdPartySoftwareNotice.txt @@ -1,2509 +1,2537 @@ - -I. CityHash -Copyright (c) 2011 Google, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -II. Slicing-by-8 algorithm -Copyright (c) 2004-2006 Intel Corporation. -All Rights Reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE - -III. Expat XML Parser -Copyright (c) 1998-2000 Thai Open Source Software Center Ltd and Clark Cooper -Copyright (c) 2001-2016 Expat maintainers - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -IV. ICU 51.2 -NOTICE TO USER: Carefully read the following legal agreement. -BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. -IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. - -COPYRIGHT AND PERMISSION NOTICE - -Copyright © 1991-2019 Unicode, Inc. All rights reserved. -Distributed under the Terms of Use in https://www.unicode.org/copyright.html. - -Permission is hereby granted, free of charge, to any person obtaining a copy of the Unicode data files and any associated documentation (the "Data Files") or Unicode software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom the Data Files or Software are furnished to do so, provided that either (a) this copyright and permission notice appear with all copies of the Data Files or Software, or (b) this copyright and permission notice appear in associated Documentation. - -THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. -IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS -NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE. - -Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder. - - -V. Jemalloc -Licensing - -jemalloc is released under the terms of the following BSD-derived license: --------------------------------------------------------------------------------- -Copyright (C) 2002-2013 Jason Evans . -All rights reserved. -Copyright (C) 2007-2012 Mozilla Foundation. All rights reserved. -Copyright (C) 2009-2013 Facebook, Inc. All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -1. Redistributions of source code must retain the above copyright notice(s), this list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright notice(s), this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -VI. libcurl v7.47.1, v7.48.0, v7.55.1 -COPYRIGHT AND PERMISSION NOTICE - -Copyright (c) 1996 - 2017, Daniel Stenberg, , and many contributors, see the THANKS file. - -All rights reserved. - -Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder. - -VII. [Intentionally Omitted] - -VIII. libwebsockets v1.7.3 -The Epic Games Online Services SDK is based in part on the work of the libwebsockets project (http://libwebsockets.org). Source code for the version of libwebsockets used in Epic Games Online Services SDK can be obtained at https://github.com/EpicGames/ThirdParty - -IX. OpenSSL 1.0.1e -Copyright (c) 1998-2018 The OpenSSL Project. All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are -permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -3. All advertising materials mentioning features or use of this software must display the following acknowledgment: -"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)" - -4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact openssl-core@openssl.org. - -5. Products derived from this software may not be called "OpenSSL" nor may "OpenSSL" appear in their names without prior written permission of the OpenSSL Project. - -6. Redistributions of any form whatsoever must retain the following acknowledgment: - "This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/)" - -THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -X. PLCrashReporter 1.2 -Except as noted below, PLCrashReporter is provided under the following license: - - Copyright (c) 2008 - 2014 Plausible Labs Cooperative, Inc. - All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - OTHER DEALINGS IN THE SOFTWARE. - -Additional contributions have been made under the same license terms as above, with copyright held by their respective authors: - - Damian Morris - Copyright (c) 2010 MOSO Corporation, Pty Ltd. - All rights reserved. - - HockeyApp/Bitstadium - Copyright (c) 2012 HockeyApp, Bit Stadium GmbH. - All rights reserved. - -The protobuf-c library, as well as the PLCrashLogWriterEncoding.c file are licensed as follows: - -Copyright 2008, Dave Benson. - -Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - -XI. Protobuf -Copyright 2008 Google Inc. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Code generated by the Protocol Buffer compiler is owned by the owner -of the input file used when generating it. This code is not -standalone and requires a support library to be linked with it. This -support library is itself covered by the above license. - -XII. Protobuf-c -Copyright (c) 2008-2016, Dave Benson and the protobuf-c authors. -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The code generated by the protoc-c compiler is owned by the owner of the input files used when generating it. This code is not standalone and requires a support library to be linked with it. This support library is covered by the above license. - -XIII. gflags -Copyright (c) 2006, Google Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -XIV. LibYUV -Copyright 2011 The LibYuv Project Authors. All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Google nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -XV. WebRTC stable and trunk version -Copyright (c) 2011, The WebRTC project authors. All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - - * Neither the name of Google nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -XVI. zlib -Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler - -XVII. DirectXTK -Copyright (c) 2012-2019 Microsoft Corp - -Permission is hereby granted, free of charge, to any person obtaining a copy of this -software and associated documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be included in all copies -or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE -OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -XVIII. electron-prebuilt-compile -Copyright (c) 2013-2020 GitHub Inc. - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -XIX. Node.js -Node.js is licensed for use as follows: - -""" -Copyright Node.js contributors. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -""" - -This license applies to parts of Node.js originating from the -https://github.com/joyent/node repository: - -""" -Copyright Joyent, Inc. and other Node contributors. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -""" - -The Node.js license applies to all parts of Node.js that are not externally -maintained libraries. - -The externally maintained libraries used by Node.js are: - -- Acorn, located at deps/acorn, is licensed as follows: - """ - MIT License - - Copyright (C) 2012-2018 by various contributors (see AUTHORS) - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. - """ - -- Acorn plugins, located at deps/acorn-plugins, is licensed as follows: - """ - Copyright (C) 2017-2018 by Adrian Heine - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. - """ - -- c-ares, located at deps/cares, is licensed as follows: - """ - Copyright (c) 2007 - 2018, Daniel Stenberg with many contributors, see AUTHORS - file. - - Copyright 1998 by the Massachusetts Institute of Technology. - - Permission to use, copy, modify, and distribute this software and its - documentation for any purpose and without fee is hereby granted, provided that - the above copyright notice appear in all copies and that both that copyright - notice and this permission notice appear in supporting documentation, and that - the name of M.I.T. not be used in advertising or publicity pertaining to - distribution of the software without specific, written prior permission. - M.I.T. makes no representations about the suitability of this software for any - purpose. It is provided "as is" without express or implied warranty. - """ - -- cjs-module-lexer, located at deps/cjs-module-lexer, is licensed as follows: - """ - MIT License - ----------- - - Copyright (C) 2018-2020 Guy Bedford - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - """ - -- ICU, located at deps/icu-small, is licensed as follows: - """ - COPYRIGHT AND PERMISSION NOTICE (ICU 58 and later) - - Copyright © 1991-2020 Unicode, Inc. All rights reserved. - Distributed under the Terms of Use in https://www.unicode.org/copyright.html. - - Permission is hereby granted, free of charge, to any person obtaining - a copy of the Unicode data files and any associated documentation - (the "Data Files") or Unicode software and any associated documentation - (the "Software") to deal in the Data Files or Software - without restriction, including without limitation the rights to use, - copy, modify, merge, publish, distribute, and/or sell copies of - the Data Files or Software, and to permit persons to whom the Data Files - or Software are furnished to do so, provided that either - (a) this copyright and permission notice appear with all copies - of the Data Files or Software, or - (b) this copyright and permission notice appear in associated - Documentation. - - THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF - ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE - WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT OF THIRD PARTY RIGHTS. - IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS - NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL - DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, - DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER - TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THE DATA FILES OR SOFTWARE. - - Except as contained in this notice, the name of a copyright holder - shall not be used in advertising or otherwise to promote the sale, - use or other dealings in these Data Files or Software without prior - written authorization of the copyright holder. - - --------------------- - - Third-Party Software Licenses - - This section contains third-party software notices and/or additional - terms for licensed third-party software components included within ICU - libraries. - - 1. ICU License - ICU 1.8.1 to ICU 57.1 - - COPYRIGHT AND PERMISSION NOTICE - - Copyright (c) 1995-2016 International Business Machines Corporation and others - All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, and/or sell copies of the Software, and to permit persons - to whom the Software is furnished to do so, provided that the above - copyright notice(s) and this permission notice appear in all copies of - the Software and that both the above copyright notice(s) and this - permission notice appear in supporting documentation. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT - OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR - HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY - SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER - RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF - CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - Except as contained in this notice, the name of a copyright holder - shall not be used in advertising or otherwise to promote the sale, use - or other dealings in this Software without prior written authorization - of the copyright holder. - - All trademarks and registered trademarks mentioned herein are the - property of their respective owners. - - 2. Chinese/Japanese Word Break Dictionary Data (cjdict.txt) - - # The Google Chrome software developed by Google is licensed under - # the BSD license. Other software included in this distribution is - # provided under other licenses, as set forth below. - # - # The BSD License - # http://opensource.org/licenses/bsd-license.php - # Copyright (C) 2006-2008, Google Inc. - # - # All rights reserved. - # - # Redistribution and use in source and binary forms, with or without - # modification, are permitted provided that the following conditions are met: - # - # Redistributions of source code must retain the above copyright notice, - # this list of conditions and the following disclaimer. - # Redistributions in binary form must reproduce the above - # copyright notice, this list of conditions and the following - # disclaimer in the documentation and/or other materials provided with - # the distribution. - # Neither the name of Google Inc. nor the names of its - # contributors may be used to endorse or promote products derived from - # this software without specific prior written permission. - # - # - # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - # CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, - # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR - # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - # - # - # The word list in cjdict.txt are generated by combining three word lists - # listed below with further processing for compound word breaking. The - # frequency is generated with an iterative training against Google web - # corpora. - # - # * Libtabe (Chinese) - # - https://sourceforge.net/project/?group_id=1519 - # - Its license terms and conditions are shown below. - # - # * IPADIC (Japanese) - # - http://chasen.aist-nara.ac.jp/chasen/distribution.html - # - Its license terms and conditions are shown below. - # - # ---------COPYING.libtabe ---- BEGIN-------------------- - # - # /* - # * Copyright (c) 1999 TaBE Project. - # * Copyright (c) 1999 Pai-Hsiang Hsiao. - # * All rights reserved. - # * - # * Redistribution and use in source and binary forms, with or without - # * modification, are permitted provided that the following conditions - # * are met: - # * - # * . Redistributions of source code must retain the above copyright - # * notice, this list of conditions and the following disclaimer. - # * . Redistributions in binary form must reproduce the above copyright - # * notice, this list of conditions and the following disclaimer in - # * the documentation and/or other materials provided with the - # * distribution. - # * . Neither the name of the TaBE Project nor the names of its - # * contributors may be used to endorse or promote products derived - # * from this software without specific prior written permission. - # * - # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - # * OF THE POSSIBILITY OF SUCH DAMAGE. - # */ - # - # /* - # * Copyright (c) 1999 Computer Systems and Communication Lab, - # * Institute of Information Science, Academia - # * Sinica. All rights reserved. - # * - # * Redistribution and use in source and binary forms, with or without - # * modification, are permitted provided that the following conditions - # * are met: - # * - # * . Redistributions of source code must retain the above copyright - # * notice, this list of conditions and the following disclaimer. - # * . Redistributions in binary form must reproduce the above copyright - # * notice, this list of conditions and the following disclaimer in - # * the documentation and/or other materials provided with the - # * distribution. - # * . Neither the name of the Computer Systems and Communication Lab - # * nor the names of its contributors may be used to endorse or - # * promote products derived from this software without specific - # * prior written permission. - # * - # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - # * OF THE POSSIBILITY OF SUCH DAMAGE. - # */ - # - # Copyright 1996 Chih-Hao Tsai @ Beckman Institute, - # University of Illinois - # c-tsai4@uiuc.edu http://casper.beckman.uiuc.edu/~c-tsai4 - # - # ---------------COPYING.libtabe-----END-------------------------------- - # - # - # ---------------COPYING.ipadic-----BEGIN------------------------------- - # - # Copyright 2000, 2001, 2002, 2003 Nara Institute of Science - # and Technology. All Rights Reserved. - # - # Use, reproduction, and distribution of this software is permitted. - # Any copy of this software, whether in its original form or modified, - # must include both the above copyright notice and the following - # paragraphs. - # - # Nara Institute of Science and Technology (NAIST), - # the copyright holders, disclaims all warranties with regard to this - # software, including all implied warranties of merchantability and - # fitness, in no event shall NAIST be liable for - # any special, indirect or consequential damages or any damages - # whatsoever resulting from loss of use, data or profits, whether in an - # action of contract, negligence or other tortuous action, arising out - # of or in connection with the use or performance of this software. - # - # A large portion of the dictionary entries - # originate from ICOT Free Software. The following conditions for ICOT - # Free Software applies to the current dictionary as well. - # - # Each User may also freely distribute the Program, whether in its - # original form or modified, to any third party or parties, PROVIDED - # that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear - # on, or be attached to, the Program, which is distributed substantially - # in the same form as set out herein and that such intended - # distribution, if actually made, will neither violate or otherwise - # contravene any of the laws and regulations of the countries having - # jurisdiction over the User or the intended distribution itself. - # - # NO WARRANTY - # - # The program was produced on an experimental basis in the course of the - # research and development conducted during the project and is provided - # to users as so produced on an experimental basis. Accordingly, the - # program is provided without any warranty whatsoever, whether express, - # implied, statutory or otherwise. The term "warranty" used herein - # includes, but is not limited to, any warranty of the quality, - # performance, merchantability and fitness for a particular purpose of - # the program and the nonexistence of any infringement or violation of - # any right of any third party. - # - # Each user of the program will agree and understand, and be deemed to - # have agreed and understood, that there is no warranty whatsoever for - # the program and, accordingly, the entire risk arising from or - # otherwise connected with the program is assumed by the user. - # - # Therefore, neither ICOT, the copyright holder, or any other - # organization that participated in or was otherwise related to the - # development of the program and their respective officials, directors, - # officers and other employees shall be held liable for any and all - # damages, including, without limitation, general, special, incidental - # and consequential damages, arising out of or otherwise in connection - # with the use or inability to use the program or any product, material - # or result produced or otherwise obtained by using the program, - # regardless of whether they have been advised of, or otherwise had - # knowledge of, the possibility of such damages at any time during the - # project or thereafter. Each user will be deemed to have agreed to the - # foregoing by his or her commencement of use of the program. The term - # "use" as used herein includes, but is not limited to, the use, - # modification, copying and distribution of the program and the - # production of secondary products from the program. - # - # In the case where the program, whether in its original form or - # modified, was distributed or delivered to or received by a user from - # any person, organization or entity other than ICOT, unless it makes or - # grants independently of ICOT any specific warranty to the user in - # writing, such person, organization or entity, will also be exempted - # from and not be held liable to the user for any such damages as noted - # above as far as the program is concerned. - # - # ---------------COPYING.ipadic-----END---------------------------------- - - 3. Lao Word Break Dictionary Data (laodict.txt) - - # Copyright (c) 2013 International Business Machines Corporation - # and others. All Rights Reserved. - # - # Project: http://code.google.com/p/lao-dictionary/ - # Dictionary: http://lao-dictionary.googlecode.com/git/Lao-Dictionary.txt - # License: http://lao-dictionary.googlecode.com/git/Lao-Dictionary-LICENSE.txt - # (copied below) - # - # This file is derived from the above dictionary, with slight - # modifications. - # ---------------------------------------------------------------------- - # Copyright (C) 2013 Brian Eugene Wilson, Robert Martin Campbell. - # All rights reserved. - # - # Redistribution and use in source and binary forms, with or without - # modification, - # are permitted provided that the following conditions are met: - # - # - # Redistributions of source code must retain the above copyright notice, this - # list of conditions and the following disclaimer. Redistributions in - # binary form must reproduce the above copyright notice, this list of - # conditions and the following disclaimer in the documentation and/or - # other materials provided with the distribution. - # - # - # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - # OF THE POSSIBILITY OF SUCH DAMAGE. - # -------------------------------------------------------------------------- - - 4. Burmese Word Break Dictionary Data (burmesedict.txt) - - # Copyright (c) 2014 International Business Machines Corporation - # and others. All Rights Reserved. - # - # This list is part of a project hosted at: - # github.com/kanyawtech/myanmar-karen-word-lists - # - # -------------------------------------------------------------------------- - # Copyright (c) 2013, LeRoy Benjamin Sharon - # All rights reserved. - # - # Redistribution and use in source and binary forms, with or without - # modification, are permitted provided that the following conditions - # are met: Redistributions of source code must retain the above - # copyright notice, this list of conditions and the following - # disclaimer. Redistributions in binary form must reproduce the - # above copyright notice, this list of conditions and the following - # disclaimer in the documentation and/or other materials provided - # with the distribution. - # - # Neither the name Myanmar Karen Word Lists, nor the names of its - # contributors may be used to endorse or promote products derived - # from this software without specific prior written permission. - # - # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - # CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, - # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS - # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED - # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - # TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF - # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - # SUCH DAMAGE. - # -------------------------------------------------------------------------- - - 5. Time Zone Database - - ICU uses the public domain data and code derived from Time Zone - Database for its time zone support. The ownership of the TZ database - is explained in BCP 175: Procedure for Maintaining the Time Zone - Database section 7. - - # 7. Database Ownership - # - # The TZ database itself is not an IETF Contribution or an IETF - # document. Rather it is a pre-existing and regularly updated work - # that is in the public domain, and is intended to remain in the - # public domain. Therefore, BCPs 78 [RFC5378] and 79 [RFC3979] do - # not apply to the TZ Database or contributions that individuals make - # to it. Should any claims be made and substantiated against the TZ - # Database, the organization that is providing the IANA - # Considerations defined in this RFC, under the memorandum of - # understanding with the IETF, currently ICANN, may act in accordance - # with all competent court orders. No ownership claims will be made - # by ICANN or the IETF Trust on the database or the code. Any person - # making a contribution to the database or code waives all rights to - # future claims in that contribution or in the TZ Database. - - 6. Google double-conversion - - Copyright 2006-2011, the V8 project authors. All rights reserved. - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - """ - -- libuv, located at deps/uv, is licensed as follows: - """ - libuv is licensed for use as follows: - - ==== - Copyright (c) 2015-present libuv project contributors. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to - deal in the Software without restriction, including without limitation the - rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - IN THE SOFTWARE. - ==== - - This license applies to parts of libuv originating from the - https://github.com/joyent/libuv repository: - - ==== - - Copyright Joyent, Inc. and other Node contributors. All rights reserved. - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to - deal in the Software without restriction, including without limitation the - rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - IN THE SOFTWARE. - - ==== - - This license applies to all parts of libuv that are not externally - maintained libraries. - - The externally maintained libraries used by libuv are: - - - tree.h (from FreeBSD), copyright Niels Provos. Two clause BSD license. - - - inet_pton and inet_ntop implementations, contained in src/inet.c, are - copyright the Internet Systems Consortium, Inc., and licensed under the ISC - license. - - - stdint-msvc2008.h (from msinttypes), copyright Alexander Chemeris. Three - clause BSD license. - - - pthread-fixes.c, copyright Google Inc. and Sony Mobile Communications AB. - Three clause BSD license. - - - android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design - Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement - n° 289016). Three clause BSD license. - """ - -- llhttp, located at deps/llhttp, is licensed as follows: - """ - This software is licensed under the MIT License. - - Copyright Fedor Indutny, 2018. - - Permission is hereby granted, free of charge, to any person obtaining a - copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to permit - persons to whom the Software is furnished to do so, subject to the - following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN - NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - USE OR OTHER DEALINGS IN THE SOFTWARE. - """ - -- OpenSSL, located at deps/openssl, is licensed as follows: - """ - Copyright (c) 1998-2019 The OpenSSL Project. All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - - 3. All advertising materials mentioning features or use of this - software must display the following acknowledgment: - "This product includes software developed by the OpenSSL Project - for use in the OpenSSL Toolkit. (http://www.openssl.org/)" - - 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to - endorse or promote products derived from this software without - prior written permission. For written permission, please contact - openssl-core@openssl.org. - - 5. Products derived from this software may not be called "OpenSSL" - nor may "OpenSSL" appear in their names without prior written - permission of the OpenSSL Project. - - 6. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by the OpenSSL Project - for use in the OpenSSL Toolkit (http://www.openssl.org/)" - - THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY - EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR - ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. - ==================================================================== - - This product includes cryptographic software written by Eric Young - (eay@cryptsoft.com). This product includes software written by Tim - Hudson (tjh@cryptsoft.com). - """ - -- Punycode.js, located at lib/punycode.js, is licensed as follows: - """ - Copyright Mathias Bynens - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice shall be - included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE - LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION - OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - """ - -- V8, located at deps/v8, is licensed as follows: - """ - This license applies to all parts of V8 that are not externally - maintained libraries. The externally maintained libraries used by V8 - are: - - - PCRE test suite, located in - test/mjsunit/third_party/regexp-pcre/regexp-pcre.js. This is based on the - test suite from PCRE-7.3, which is copyrighted by the University - of Cambridge and Google, Inc. The copyright notice and license - are embedded in regexp-pcre.js. - - - Layout tests, located in test/mjsunit/third_party/object-keys. These are - based on layout tests from webkit.org which are copyrighted by - Apple Computer, Inc. and released under a 3-clause BSD license. - - - Strongtalk assembler, the basis of the files assembler-arm-inl.h, - assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h, - assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h, - assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h, - assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h. - This code is copyrighted by Sun Microsystems Inc. and released - under a 3-clause BSD license. - - - Valgrind client API header, located at src/third_party/valgrind/valgrind.h - This is released under the BSD license. - - - The Wasm C/C++ API headers, located at third_party/wasm-api/wasm.{h,hh} - This is released under the Apache license. The API's upstream prototype - implementation also formed the basis of V8's implementation in - src/wasm/c-api.cc. - - These libraries have their own licenses; we recommend you read them, - as their terms may differ from the terms below. - - Further license information can be found in LICENSE files located in - sub-directories. - - Copyright 2014, the V8 project authors. All rights reserved. - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - """ - -- SipHash, located at deps/v8/src/third_party/siphash, is licensed as follows: - """ - SipHash reference C implementation - - Copyright (c) 2016 Jean-Philippe Aumasson - - To the extent possible under law, the author(s) have dedicated all - copyright and related and neighboring rights to this software to the public - domain worldwide. This software is distributed without any warranty. - """ - -- zlib, located at deps/zlib, is licensed as follows: - """ - zlib.h -- interface of the 'zlib' general purpose compression library - version 1.2.11, January 15th, 2017 - - Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - - Jean-loup Gailly Mark Adler - jloup@gzip.org madler@alumni.caltech.edu - """ - -- npm, located at deps/npm, is licensed as follows: - """ - The npm application - Copyright (c) npm, Inc. and Contributors - Licensed on the terms of The Artistic License 2.0 - - Node package dependencies of the npm application - Copyright (c) their respective copyright owners - Licensed on their respective license terms - - The npm public registry at https://registry.npmjs.org - and the npm website at https://www.npmjs.com - Operated by npm, Inc. - Use governed by terms published on https://www.npmjs.com - - "Node.js" - Trademark Joyent, Inc., https://joyent.com - Neither npm nor npm, Inc. are affiliated with Joyent, Inc. - - The Node.js application - Project of Node Foundation, https://nodejs.org - - The npm Logo - Copyright (c) Mathias Pettersson and Brian Hammond - - "Gubblebum Blocky" typeface - Copyright (c) Tjarda Koster, https://jelloween.deviantart.com - Used with permission - - -------- - - The Artistic License 2.0 - - Copyright (c) 2000-2006, The Perl Foundation. - - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - This license establishes the terms under which a given free software - Package may be copied, modified, distributed, and/or redistributed. - The intent is that the Copyright Holder maintains some artistic - control over the development of that Package while still keeping the - Package available as open source and free software. - - You are always permitted to make arrangements wholly outside of this - license directly with the Copyright Holder of a given Package. If the - terms of this license do not permit the full use that you propose to - make of the Package, you should contact the Copyright Holder and seek - a different licensing arrangement. - - Definitions - - "Copyright Holder" means the individual(s) or organization(s) - named in the copyright notice for the entire Package. - - "Contributor" means any party that has contributed code or other - material to the Package, in accordance with the Copyright Holder's - procedures. - - "You" and "your" means any person who would like to copy, - distribute, or modify the Package. - - "Package" means the collection of files distributed by the - Copyright Holder, and derivatives of that collection and/or of - those files. A given Package may consist of either the Standard - Version, or a Modified Version. - - "Distribute" means providing a copy of the Package or making it - accessible to anyone else, or in the case of a company or - organization, to others outside of your company or organization. - - "Distributor Fee" means any fee that you charge for Distributing - this Package or providing support for this Package to another - party. It does not mean licensing fees. - - "Standard Version" refers to the Package if it has not been - modified, or has been modified only in ways explicitly requested - by the Copyright Holder. - - "Modified Version" means the Package, if it has been changed, and - such changes were not explicitly requested by the Copyright - Holder. - - "Original License" means this Artistic License as Distributed with - the Standard Version of the Package, in its current version or as - it may be modified by The Perl Foundation in the future. - - "Source" form means the source code, documentation source, and - configuration files for the Package. - - "Compiled" form means the compiled bytecode, object code, binary, - or any other form resulting from mechanical transformation or - translation of the Source form. - - Permission for Use and Modification Without Distribution - - (1) You are permitted to use the Standard Version and create and use - Modified Versions for any purpose without restriction, provided that - you do not Distribute the Modified Version. - - Permissions for Redistribution of the Standard Version - - (2) You may Distribute verbatim copies of the Source form of the - Standard Version of this Package in any medium without restriction, - either gratis or for a Distributor Fee, provided that you duplicate - all of the original copyright notices and associated disclaimers. At - your discretion, such verbatim copies may or may not include a - Compiled form of the Package. - - (3) You may apply any bug fixes, portability changes, and other - modifications made available from the Copyright Holder. The resulting - Package will still be considered the Standard Version, and as such - will be subject to the Original License. - - Distribution of Modified Versions of the Package as Source - - (4) You may Distribute your Modified Version as Source (either gratis - or for a Distributor Fee, and with or without a Compiled form of the - Modified Version) provided that you clearly document how it differs - from the Standard Version, including, but not limited to, documenting - any non-standard features, executables, or modules, and provided that - you do at least ONE of the following: - - (a) make the Modified Version available to the Copyright Holder - of the Standard Version, under the Original License, so that the - Copyright Holder may include your modifications in the Standard - Version. - - (b) ensure that installation of your Modified Version does not - prevent the user installing or running the Standard Version. In - addition, the Modified Version must bear a name that is different - from the name of the Standard Version. - - (c) allow anyone who receives a copy of the Modified Version to - make the Source form of the Modified Version available to others - under - - (i) the Original License or - - (ii) a license that permits the licensee to freely copy, - modify and redistribute the Modified Version using the same - licensing terms that apply to the copy that the licensee - received, and requires that the Source form of the Modified - Version, and of any works derived from it, be made freely - available in that license fees are prohibited but Distributor - Fees are allowed. - - Distribution of Compiled Forms of the Standard Version - or Modified Versions without the Source - - (5) You may Distribute Compiled forms of the Standard Version without - the Source, provided that you include complete instructions on how to - get the Source of the Standard Version. Such instructions must be - valid at the time of your distribution. If these instructions, at any - time while you are carrying out such distribution, become invalid, you - must provide new instructions on demand or cease further distribution. - If you provide valid instructions or cease distribution within thirty - days after you become aware that the instructions are invalid, then - you do not forfeit any of your rights under this license. - - (6) You may Distribute a Modified Version in Compiled form without - the Source, provided that you comply with Section 4 with respect to - the Source of the Modified Version. - - Aggregating or Linking the Package - - (7) You may aggregate the Package (either the Standard Version or - Modified Version) with other packages and Distribute the resulting - aggregation provided that you do not charge a licensing fee for the - Package. Distributor Fees are permitted, and licensing fees for other - components in the aggregation are permitted. The terms of this license - apply to the use and Distribution of the Standard or Modified Versions - as included in the aggregation. - - (8) You are permitted to link Modified and Standard Versions with - other works, to embed the Package in a larger work of your own, or to - build stand-alone binary or bytecode versions of applications that - include the Package, and Distribute the result without restriction, - provided the result does not expose a direct interface to the Package. - - Items That are Not Considered Part of a Modified Version - - (9) Works (including, but not limited to, modules and scripts) that - merely extend or make use of the Package, do not, by themselves, cause - the Package to be a Modified Version. In addition, such works are not - considered parts of the Package itself, and are not subject to the - terms of this license. - - General Provisions - - (10) Any use, modification, and distribution of the Standard or - Modified Versions is governed by this Artistic License. By using, - modifying or distributing the Package, you accept this license. Do not - use, modify, or distribute the Package, if you do not accept this - license. - - (11) If your Modified Version has been derived from a Modified - Version made by someone other than you, you are nevertheless required - to ensure that your Modified Version complies with the requirements of - this license. - - (12) This license does not grant you the right to use any trademark, - service mark, tradename, or logo of the Copyright Holder. - - (13) This license includes the non-exclusive, worldwide, - free-of-charge patent license to make, have made, use, offer to sell, - sell, import and otherwise transfer the Package with respect to any - patent claims licensable by the Copyright Holder that are necessarily - infringed by the Package. If you institute patent litigation - (including a cross-claim or counterclaim) against any party alleging - that the Package constitutes direct or contributory patent - infringement, then this Artistic License to you shall terminate on the - date that such litigation is filed. - - (14) Disclaimer of Warranty: - THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS - IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED - WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR - NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL - LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL - BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL - DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF - ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -------- - """ - -- GYP, located at tools/gyp, is licensed as follows: - """ - Copyright (c) 2020 Node.js contributors. All rights reserved. - Copyright (c) 2009 Google Inc. All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - """ - -- inspector_protocol, located at tools/inspector_protocol, is licensed as follows: - """ - // Copyright 2016 The Chromium Authors. All rights reserved. - // - // Redistribution and use in source and binary forms, with or without - // modification, are permitted provided that the following conditions are - // met: - // - // * Redistributions of source code must retain the above copyright - // notice, this list of conditions and the following disclaimer. - // * Redistributions in binary form must reproduce the above - // copyright notice, this list of conditions and the following disclaimer - // in the documentation and/or other materials provided with the - // distribution. - // * Neither the name of Google Inc. nor the names of its - // contributors may be used to endorse or promote products derived from - // this software without specific prior written permission. - // - // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - """ - -- jinja2, located at tools/inspector_protocol/jinja2, is licensed as follows: - """ - Copyright (c) 2009 by the Jinja Team, see AUTHORS for more details. - - Some rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - - * The names of the contributors may not be used to endorse or - promote products derived from this software without specific - prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - """ - -- markupsafe, located at tools/inspector_protocol/markupsafe, is licensed as follows: - """ - Copyright (c) 2010 by Armin Ronacher and contributors. See AUTHORS - for more details. - - Some rights reserved. - - Redistribution and use in source and binary forms of the software as well - as documentation, with or without modification, are permitted provided - that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - - * The names of the contributors may not be used to endorse or - promote products derived from this software without specific - prior written permission. - - THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT - NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER - OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - """ - -- cpplint.py, located at tools/cpplint.py, is licensed as follows: - """ - Copyright (c) 2009 Google Inc. All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - """ - -- ESLint, located at tools/node_modules/eslint, is licensed as follows: - """ - Copyright JS Foundation and other contributors, https://js.foundation - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. - """ - -- babel-eslint, located at tools/node_modules/babel-eslint, is licensed as follows: - """ - Copyright (c) 2014-2016 Sebastian McKenzie - - MIT License - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice shall be - included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE - LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION - OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - """ - -- gtest, located at test/cctest/gtest, is licensed as follows: - """ - Copyright 2008, Google Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - """ - -- nghttp2, located at deps/nghttp2, is licensed as follows: - """ - The MIT License - - Copyright (c) 2012, 2014, 2015, 2016 Tatsuhiro Tsujikawa - Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice shall be - included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE - LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION - OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - """ - -- ngtcp2, located at deps/ngtcp2, is licensed as follows: - """ - The MIT License - - Copyright (c) 2016 ngtcp2 contributors - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice shall be - included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE - LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION - OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - """ - -- nghttp3, located at deps/nghttp3, is licensed as follows: - """ - The MIT License - - Copyright (c) 2019 nghttp3 contributors - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice shall be - included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE - LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION - OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - """ - -- node-inspect, located at deps/node-inspect, is licensed as follows: - """ - Copyright Node.js contributors. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to - deal in the Software without restriction, including without limitation the - rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - IN THE SOFTWARE. - """ - -- large_pages, located at src/large_pages, is licensed as follows: - """ - Copyright (C) 2018 Intel Corporation - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), - to deal in the Software without restriction, including without limitation - the rights to use, copy, modify, merge, publish, distribute, sublicense, - and/or sell copies of the Software, and to permit persons to whom - the Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES - OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, - ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE - OR OTHER DEALINGS IN THE SOFTWARE. - """ - -- caja, located at lib/internal/freeze_intrinsics.js, is licensed as follows: - """ - Adapted from SES/Caja - Copyright (C) 2011 Google Inc. - Copyright (C) 2018 Agoric - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - """ - -- brotli, located at deps/brotli, is licensed as follows: - """ - Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. - """ - -- HdrHistogram, located at deps/histogram, is licensed as follows: - """ - The code in this repository code was Written by Gil Tene, Michael Barker, - and Matt Warren, and released to the public domain, as explained at - http://creativecommons.org/publicdomain/zero/1.0/ - - For users of this code who wish to consume it under the "BSD" license - rather than under the public domain or CC0 contribution text mentioned - above, the code found under this directory is *also* provided under the - following license (commonly referred to as the BSD 2-Clause License). This - license does not detract from the above stated release of the code into - the public domain, and simply represents an additional license granted by - the Author. - - ----------------------------------------------------------------------------- - ** Beginning of "BSD 2-Clause License" text. ** - - Copyright (c) 2012, 2013, 2014 Gil Tene - Copyright (c) 2014 Michael Barker - Copyright (c) 2014 Matt Warren - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - THE POSSIBILITY OF SUCH DAMAGE. - """ - -- highlight.js, located at doc/api_assets/highlight.pack.js, is licensed as follows: - """ - BSD 3-Clause License - - Copyright (c) 2006, Ivan Sagalaev. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - * Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - """ - -- node-heapdump, located at src/heap_utils.cc, is licensed as follows: - """ - ISC License - - Copyright (c) 2012, Ben Noordhuis - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - === src/compat.h src/compat-inl.h === - - ISC License - - Copyright (c) 2014, StrongLoop Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - """ - -- rimraf, located at lib/internal/fs/rimraf.js, is licensed as follows: - """ - The ISC License - - Copyright (c) Isaac Z. Schlueter and Contributors - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR - IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - """ - -- uvwasi, located at deps/uvwasi, is licensed as follows: - """ - MIT License - - Copyright (c) 2019 Colin Ihrig and Contributors - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. - """ - -XX. React -MIT License - -Copyright (c) Facebook, Inc. and its affiliates. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -XXI. Roboto Font -Apache License -Font data copyright Google 2012 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - “License” shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - “Licensor” shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - “Legal Entity” shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - “control” means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - “You” (or “Your”) shall mean an individual or Legal Entity - exercising permissions granted by this License. - - “Source” form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - “Object” form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - “Work” shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - “Derivative Works” shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - “Contribution” shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, “submitted” - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as “Not a Contribution.” - - “Contributor” shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a “NOTICE” text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an “AS IS” BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets “[]” - replaced with your own identifying information. (Don’t include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same “printed page” as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the “License”); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an “AS IS” BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -XXII. Flatbuffers -https://github.com/google/flatbuffers - -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -XXIII. cpp-httplib -The MIT License (MIT) - -Copyright (c) 2017 yhirose - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -XXIV.OpenSSL toolkit - The OpenSSL toolkit stays under a double license, i.e. both the conditions of - the OpenSSL License and the original SSLeay license apply to the toolkit. - See below for the actual license texts. - - OpenSSL License - --------------- - -/* ==================================================================== - * Copyright (c) 1998-2019 The OpenSSL Project. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. All advertising materials mentioning features or use of this - * software must display the following acknowledgment: - * "This product includes software developed by the OpenSSL Project - * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" - * - * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to - * endorse or promote products derived from this software without - * prior written permission. For written permission, please contact - * openssl-core@openssl.org. - * - * 5. Products derived from this software may not be called "OpenSSL" - * nor may "OpenSSL" appear in their names without prior written - * permission of the OpenSSL Project. - * - * 6. Redistributions of any form whatsoever must retain the following - * acknowledgment: - * "This product includes software developed by the OpenSSL Project - * for use in the OpenSSL Toolkit (http://www.openssl.org/)" - * - * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY - * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - * OF THE POSSIBILITY OF SUCH DAMAGE. - * ==================================================================== - * - * This product includes cryptographic software written by Eric Young - * (eay@cryptsoft.com). This product includes software written by Tim - * Hudson (tjh@cryptsoft.com). - * - */ - - Original SSLeay License - ----------------------- - -/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) - * All rights reserved. - * - * This package is an SSL implementation written - * by Eric Young (eay@cryptsoft.com). - * The implementation was written so as to conform with Netscapes SSL. - * - * This library is free for commercial and non-commercial use as long as - * the following conditions are aheared to. The following conditions - * apply to all code found in this distribution, be it the RC4, RSA, - * lhash, DES, etc., code; not just the SSL code. The SSL documentation - * included with this distribution is covered by the same copyright terms - * except that the holder is Tim Hudson (tjh@cryptsoft.com). - * - * Copyright remains Eric Young's, and as such any Copyright notices in - * the code are not to be removed. - * If this package is used in a product, Eric Young should be given attribution - * as the author of the parts of the library used. - * This can be in the form of a textual message at program startup or - * in documentation (online or textual) provided with the package. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * "This product includes cryptographic software written by - * Eric Young (eay@cryptsoft.com)" - * The word 'cryptographic' can be left out if the rouines from the library - * being used are not cryptographic related :-). - * 4. If you include any Windows specific code (or a derivative thereof) from - * the apps directory (application code) you must include an acknowledgement: - * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" - * - * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * The licence and distribution terms for any publically available version or - * derivative of this code cannot be changed. i.e. this code cannot simply be - * copied and put under another distribution licence - * [including the GNU Public Licence.] - */ - -XXV. Libcurl -COPYRIGHT AND PERMISSION NOTICE - -Copyright (c) 1996 - 2021, Daniel Stenberg, daniel@haxx.se, and many contributors, see the THANKS file. - -All rights reserved. - -Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - + +I. CityHash +Copyright (c) 2011 Google, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +II. Slicing-by-8 algorithm +Copyright (c) 2004-2006 Intel Corporation. +All Rights Reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE + +III. Expat XML Parser +Copyright (c) 1998-2000 Thai Open Source Software Center Ltd and Clark Cooper +Copyright (c) 2001-2016 Expat maintainers + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +IV. ICU 51.2 +NOTICE TO USER: Carefully read the following legal agreement. +BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. +IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + +COPYRIGHT AND PERMISSION NOTICE + +Copyright © 1991-2019 Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in https://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining a copy of the Unicode data files and any associated documentation (the "Data Files") or Unicode software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom the Data Files or Software are furnished to do so, provided that either (a) this copyright and permission notice appear with all copies of the Data Files or Software, or (b) this copyright and permission notice appear in associated Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder. + + +V. Jemalloc +Licensing + +jemalloc is released under the terms of the following BSD-derived license: +-------------------------------------------------------------------------------- +Copyright (C) 2002-2013 Jason Evans . +All rights reserved. +Copyright (C) 2007-2012 Mozilla Foundation. All rights reserved. +Copyright (C) 2009-2013 Facebook, Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: +1. Redistributions of source code must retain the above copyright notice(s), this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice(s), this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +VI. libcurl v7.47.1, v7.48.0, v7.55.1 +COPYRIGHT AND PERMISSION NOTICE + +Copyright (c) 1996 - 2017, Daniel Stenberg, , and many contributors, see the THANKS file. + +All rights reserved. + +Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder. + +VII. [Intentionally Omitted] + +VIII. libwebsockets v1.7.3 +The Epic Games Online Services SDK is based in part on the work of the libwebsockets project (http://libwebsockets.org). Source code for the version of libwebsockets used in Epic Games Online Services SDK can be obtained at https://github.com/EpicGames/ThirdParty + +IX. OpenSSL 1.0.1e +Copyright (c) 1998-2018 The OpenSSL Project. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are +permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. All advertising materials mentioning features or use of this software must display the following acknowledgment: +"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)" + +4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact openssl-core@openssl.org. + +5. Products derived from this software may not be called "OpenSSL" nor may "OpenSSL" appear in their names without prior written permission of the OpenSSL Project. + +6. Redistributions of any form whatsoever must retain the following acknowledgment: + "This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/)" + +THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +X. PLCrashReporter 1.2 +Except as noted below, PLCrashReporter is provided under the following license: + + Copyright (c) 2008 - 2014 Plausible Labs Cooperative, Inc. + All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + +Additional contributions have been made under the same license terms as above, with copyright held by their respective authors: + + Damian Morris + Copyright (c) 2010 MOSO Corporation, Pty Ltd. + All rights reserved. + + HockeyApp/Bitstadium + Copyright (c) 2012 HockeyApp, Bit Stadium GmbH. + All rights reserved. + +The protobuf-c library, as well as the PLCrashLogWriterEncoding.c file are licensed as follows: + +Copyright 2008, Dave Benson. + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + +XI. Protobuf +Copyright 2008 Google Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Code generated by the Protocol Buffer compiler is owned by the owner +of the input file used when generating it. This code is not +standalone and requires a support library to be linked with it. This +support library is itself covered by the above license. + +XII. Protobuf-c +Copyright (c) 2008-2016, Dave Benson and the protobuf-c authors. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The code generated by the protoc-c compiler is owned by the owner of the input files used when generating it. This code is not standalone and requires a support library to be linked with it. This support library is covered by the above license. + +XIII. gflags +Copyright (c) 2006, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +XIV. LibYUV +Copyright 2011 The LibYuv Project Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + * Neither the name of Google nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +XV. WebRTC stable and trunk version +Copyright (c) 2011, The WebRTC project authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + * Neither the name of Google nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +XVI. zlib +Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + +XVII. DirectXTK +Copyright (c) 2012-2019 Microsoft Corp + +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be included in all copies +or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +XVIII. electron-prebuilt-compile +Copyright (c) 2013-2020 GitHub Inc. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +XIX. Node.js +Node.js is licensed for use as follows: + +""" +Copyright Node.js contributors. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + +This license applies to parts of Node.js originating from the +https://github.com/joyent/node repository: + +""" +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + +The Node.js license applies to all parts of Node.js that are not externally +maintained libraries. + +The externally maintained libraries used by Node.js are: + +- Acorn, located at deps/acorn, is licensed as follows: + """ + MIT License + + Copyright (C) 2012-2018 by various contributors (see AUTHORS) + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + """ + +- Acorn plugins, located at deps/acorn-plugins, is licensed as follows: + """ + Copyright (C) 2017-2018 by Adrian Heine + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + """ + +- c-ares, located at deps/cares, is licensed as follows: + """ + Copyright (c) 2007 - 2018, Daniel Stenberg with many contributors, see AUTHORS + file. + + Copyright 1998 by the Massachusetts Institute of Technology. + + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, provided that + the above copyright notice appear in all copies and that both that copyright + notice and this permission notice appear in supporting documentation, and that + the name of M.I.T. not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior permission. + M.I.T. makes no representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied warranty. + """ + +- cjs-module-lexer, located at deps/cjs-module-lexer, is licensed as follows: + """ + MIT License + ----------- + + Copyright (C) 2018-2020 Guy Bedford + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + """ + +- ICU, located at deps/icu-small, is licensed as follows: + """ + COPYRIGHT AND PERMISSION NOTICE (ICU 58 and later) + + Copyright © 1991-2020 Unicode, Inc. All rights reserved. + Distributed under the Terms of Use in https://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Unicode data files and any associated documentation + (the "Data Files") or Unicode software and any associated documentation + (the "Software") to deal in the Data Files or Software + without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, and/or sell copies of + the Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that either + (a) this copyright and permission notice appear with all copies + of the Data Files or Software, or + (b) this copyright and permission notice appear in associated + Documentation. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS + NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL + DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without prior + written authorization of the copyright holder. + + --------------------- + + Third-Party Software Licenses + + This section contains third-party software notices and/or additional + terms for licensed third-party software components included within ICU + libraries. + + 1. ICU License - ICU 1.8.1 to ICU 57.1 + + COPYRIGHT AND PERMISSION NOTICE + + Copyright (c) 1995-2016 International Business Machines Corporation and others + All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, and/or sell copies of the Software, and to permit persons + to whom the Software is furnished to do so, provided that the above + copyright notice(s) and this permission notice appear in all copies of + the Software and that both the above copyright notice(s) and this + permission notice appear in supporting documentation. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR + HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY + SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER + RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF + CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, use + or other dealings in this Software without prior written authorization + of the copyright holder. + + All trademarks and registered trademarks mentioned herein are the + property of their respective owners. + + 2. Chinese/Japanese Word Break Dictionary Data (cjdict.txt) + + # The Google Chrome software developed by Google is licensed under + # the BSD license. Other software included in this distribution is + # provided under other licenses, as set forth below. + # + # The BSD License + # http://opensource.org/licenses/bsd-license.php + # Copyright (C) 2006-2008, Google Inc. + # + # All rights reserved. + # + # Redistribution and use in source and binary forms, with or without + # modification, are permitted provided that the following conditions are met: + # + # Redistributions of source code must retain the above copyright notice, + # this list of conditions and the following disclaimer. + # Redistributions in binary form must reproduce the above + # copyright notice, this list of conditions and the following + # disclaimer in the documentation and/or other materials provided with + # the distribution. + # Neither the name of Google Inc. nor the names of its + # contributors may be used to endorse or promote products derived from + # this software without specific prior written permission. + # + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + # CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + # + # + # The word list in cjdict.txt are generated by combining three word lists + # listed below with further processing for compound word breaking. The + # frequency is generated with an iterative training against Google web + # corpora. + # + # * Libtabe (Chinese) + # - https://sourceforge.net/project/?group_id=1519 + # - Its license terms and conditions are shown below. + # + # * IPADIC (Japanese) + # - http://chasen.aist-nara.ac.jp/chasen/distribution.html + # - Its license terms and conditions are shown below. + # + # ---------COPYING.libtabe ---- BEGIN-------------------- + # + # /* + # * Copyright (c) 1999 TaBE Project. + # * Copyright (c) 1999 Pai-Hsiang Hsiao. + # * All rights reserved. + # * + # * Redistribution and use in source and binary forms, with or without + # * modification, are permitted provided that the following conditions + # * are met: + # * + # * . Redistributions of source code must retain the above copyright + # * notice, this list of conditions and the following disclaimer. + # * . Redistributions in binary form must reproduce the above copyright + # * notice, this list of conditions and the following disclaimer in + # * the documentation and/or other materials provided with the + # * distribution. + # * . Neither the name of the TaBE Project nor the names of its + # * contributors may be used to endorse or promote products derived + # * from this software without specific prior written permission. + # * + # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + # * OF THE POSSIBILITY OF SUCH DAMAGE. + # */ + # + # /* + # * Copyright (c) 1999 Computer Systems and Communication Lab, + # * Institute of Information Science, Academia + # * Sinica. All rights reserved. + # * + # * Redistribution and use in source and binary forms, with or without + # * modification, are permitted provided that the following conditions + # * are met: + # * + # * . Redistributions of source code must retain the above copyright + # * notice, this list of conditions and the following disclaimer. + # * . Redistributions in binary form must reproduce the above copyright + # * notice, this list of conditions and the following disclaimer in + # * the documentation and/or other materials provided with the + # * distribution. + # * . Neither the name of the Computer Systems and Communication Lab + # * nor the names of its contributors may be used to endorse or + # * promote products derived from this software without specific + # * prior written permission. + # * + # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + # * OF THE POSSIBILITY OF SUCH DAMAGE. + # */ + # + # Copyright 1996 Chih-Hao Tsai @ Beckman Institute, + # University of Illinois + # c-tsai4@uiuc.edu http://casper.beckman.uiuc.edu/~c-tsai4 + # + # ---------------COPYING.libtabe-----END-------------------------------- + # + # + # ---------------COPYING.ipadic-----BEGIN------------------------------- + # + # Copyright 2000, 2001, 2002, 2003 Nara Institute of Science + # and Technology. All Rights Reserved. + # + # Use, reproduction, and distribution of this software is permitted. + # Any copy of this software, whether in its original form or modified, + # must include both the above copyright notice and the following + # paragraphs. + # + # Nara Institute of Science and Technology (NAIST), + # the copyright holders, disclaims all warranties with regard to this + # software, including all implied warranties of merchantability and + # fitness, in no event shall NAIST be liable for + # any special, indirect or consequential damages or any damages + # whatsoever resulting from loss of use, data or profits, whether in an + # action of contract, negligence or other tortuous action, arising out + # of or in connection with the use or performance of this software. + # + # A large portion of the dictionary entries + # originate from ICOT Free Software. The following conditions for ICOT + # Free Software applies to the current dictionary as well. + # + # Each User may also freely distribute the Program, whether in its + # original form or modified, to any third party or parties, PROVIDED + # that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear + # on, or be attached to, the Program, which is distributed substantially + # in the same form as set out herein and that such intended + # distribution, if actually made, will neither violate or otherwise + # contravene any of the laws and regulations of the countries having + # jurisdiction over the User or the intended distribution itself. + # + # NO WARRANTY + # + # The program was produced on an experimental basis in the course of the + # research and development conducted during the project and is provided + # to users as so produced on an experimental basis. Accordingly, the + # program is provided without any warranty whatsoever, whether express, + # implied, statutory or otherwise. The term "warranty" used herein + # includes, but is not limited to, any warranty of the quality, + # performance, merchantability and fitness for a particular purpose of + # the program and the nonexistence of any infringement or violation of + # any right of any third party. + # + # Each user of the program will agree and understand, and be deemed to + # have agreed and understood, that there is no warranty whatsoever for + # the program and, accordingly, the entire risk arising from or + # otherwise connected with the program is assumed by the user. + # + # Therefore, neither ICOT, the copyright holder, or any other + # organization that participated in or was otherwise related to the + # development of the program and their respective officials, directors, + # officers and other employees shall be held liable for any and all + # damages, including, without limitation, general, special, incidental + # and consequential damages, arising out of or otherwise in connection + # with the use or inability to use the program or any product, material + # or result produced or otherwise obtained by using the program, + # regardless of whether they have been advised of, or otherwise had + # knowledge of, the possibility of such damages at any time during the + # project or thereafter. Each user will be deemed to have agreed to the + # foregoing by his or her commencement of use of the program. The term + # "use" as used herein includes, but is not limited to, the use, + # modification, copying and distribution of the program and the + # production of secondary products from the program. + # + # In the case where the program, whether in its original form or + # modified, was distributed or delivered to or received by a user from + # any person, organization or entity other than ICOT, unless it makes or + # grants independently of ICOT any specific warranty to the user in + # writing, such person, organization or entity, will also be exempted + # from and not be held liable to the user for any such damages as noted + # above as far as the program is concerned. + # + # ---------------COPYING.ipadic-----END---------------------------------- + + 3. Lao Word Break Dictionary Data (laodict.txt) + + # Copyright (c) 2013 International Business Machines Corporation + # and others. All Rights Reserved. + # + # Project: http://code.google.com/p/lao-dictionary/ + # Dictionary: http://lao-dictionary.googlecode.com/git/Lao-Dictionary.txt + # License: http://lao-dictionary.googlecode.com/git/Lao-Dictionary-LICENSE.txt + # (copied below) + # + # This file is derived from the above dictionary, with slight + # modifications. + # ---------------------------------------------------------------------- + # Copyright (C) 2013 Brian Eugene Wilson, Robert Martin Campbell. + # All rights reserved. + # + # Redistribution and use in source and binary forms, with or without + # modification, + # are permitted provided that the following conditions are met: + # + # + # Redistributions of source code must retain the above copyright notice, this + # list of conditions and the following disclaimer. Redistributions in + # binary form must reproduce the above copyright notice, this list of + # conditions and the following disclaimer in the documentation and/or + # other materials provided with the distribution. + # + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + # OF THE POSSIBILITY OF SUCH DAMAGE. + # -------------------------------------------------------------------------- + + 4. Burmese Word Break Dictionary Data (burmesedict.txt) + + # Copyright (c) 2014 International Business Machines Corporation + # and others. All Rights Reserved. + # + # This list is part of a project hosted at: + # github.com/kanyawtech/myanmar-karen-word-lists + # + # -------------------------------------------------------------------------- + # Copyright (c) 2013, LeRoy Benjamin Sharon + # All rights reserved. + # + # Redistribution and use in source and binary forms, with or without + # modification, are permitted provided that the following conditions + # are met: Redistributions of source code must retain the above + # copyright notice, this list of conditions and the following + # disclaimer. Redistributions in binary form must reproduce the + # above copyright notice, this list of conditions and the following + # disclaimer in the documentation and/or other materials provided + # with the distribution. + # + # Neither the name Myanmar Karen Word Lists, nor the names of its + # contributors may be used to endorse or promote products derived + # from this software without specific prior written permission. + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + # CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS + # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + # TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF + # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + # SUCH DAMAGE. + # -------------------------------------------------------------------------- + + 5. Time Zone Database + + ICU uses the public domain data and code derived from Time Zone + Database for its time zone support. The ownership of the TZ database + is explained in BCP 175: Procedure for Maintaining the Time Zone + Database section 7. + + # 7. Database Ownership + # + # The TZ database itself is not an IETF Contribution or an IETF + # document. Rather it is a pre-existing and regularly updated work + # that is in the public domain, and is intended to remain in the + # public domain. Therefore, BCPs 78 [RFC5378] and 79 [RFC3979] do + # not apply to the TZ Database or contributions that individuals make + # to it. Should any claims be made and substantiated against the TZ + # Database, the organization that is providing the IANA + # Considerations defined in this RFC, under the memorandum of + # understanding with the IETF, currently ICANN, may act in accordance + # with all competent court orders. No ownership claims will be made + # by ICANN or the IETF Trust on the database or the code. Any person + # making a contribution to the database or code waives all rights to + # future claims in that contribution or in the TZ Database. + + 6. Google double-conversion + + Copyright 2006-2011, the V8 project authors. All rights reserved. + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + """ + +- libuv, located at deps/uv, is licensed as follows: + """ + libuv is licensed for use as follows: + + ==== + Copyright (c) 2015-present libuv project contributors. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + ==== + + This license applies to parts of libuv originating from the + https://github.com/joyent/libuv repository: + + ==== + + Copyright Joyent, Inc. and other Node contributors. All rights reserved. + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + + ==== + + This license applies to all parts of libuv that are not externally + maintained libraries. + + The externally maintained libraries used by libuv are: + + - tree.h (from FreeBSD), copyright Niels Provos. Two clause BSD license. + + - inet_pton and inet_ntop implementations, contained in src/inet.c, are + copyright the Internet Systems Consortium, Inc., and licensed under the ISC + license. + + - stdint-msvc2008.h (from msinttypes), copyright Alexander Chemeris. Three + clause BSD license. + + - pthread-fixes.c, copyright Google Inc. and Sony Mobile Communications AB. + Three clause BSD license. + + - android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design + Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement + n° 289016). Three clause BSD license. + """ + +- llhttp, located at deps/llhttp, is licensed as follows: + """ + This software is licensed under the MIT License. + + Copyright Fedor Indutny, 2018. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to permit + persons to whom the Software is furnished to do so, subject to the + following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. + """ + +- OpenSSL, located at deps/openssl, is licensed as follows: + """ + Copyright (c) 1998-2019 The OpenSSL Project. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgment: + "This product includes software developed by the OpenSSL Project + for use in the OpenSSL Toolkit. (http://www.openssl.org/)" + + 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to + endorse or promote products derived from this software without + prior written permission. For written permission, please contact + openssl-core@openssl.org. + + 5. Products derived from this software may not be called "OpenSSL" + nor may "OpenSSL" appear in their names without prior written + permission of the OpenSSL Project. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes software developed by the OpenSSL Project + for use in the OpenSSL Toolkit (http://www.openssl.org/)" + + THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY + EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR + ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + ==================================================================== + + This product includes cryptographic software written by Eric Young + (eay@cryptsoft.com). This product includes software written by Tim + Hudson (tjh@cryptsoft.com). + """ + +- Punycode.js, located at lib/punycode.js, is licensed as follows: + """ + Copyright Mathias Bynens + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + """ + +- V8, located at deps/v8, is licensed as follows: + """ + This license applies to all parts of V8 that are not externally + maintained libraries. The externally maintained libraries used by V8 + are: + + - PCRE test suite, located in + test/mjsunit/third_party/regexp-pcre/regexp-pcre.js. This is based on the + test suite from PCRE-7.3, which is copyrighted by the University + of Cambridge and Google, Inc. The copyright notice and license + are embedded in regexp-pcre.js. + + - Layout tests, located in test/mjsunit/third_party/object-keys. These are + based on layout tests from webkit.org which are copyrighted by + Apple Computer, Inc. and released under a 3-clause BSD license. + + - Strongtalk assembler, the basis of the files assembler-arm-inl.h, + assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h, + assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h, + assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h, + assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h. + This code is copyrighted by Sun Microsystems Inc. and released + under a 3-clause BSD license. + + - Valgrind client API header, located at src/third_party/valgrind/valgrind.h + This is released under the BSD license. + + - The Wasm C/C++ API headers, located at third_party/wasm-api/wasm.{h,hh} + This is released under the Apache license. The API's upstream prototype + implementation also formed the basis of V8's implementation in + src/wasm/c-api.cc. + + These libraries have their own licenses; we recommend you read them, + as their terms may differ from the terms below. + + Further license information can be found in LICENSE files located in + sub-directories. + + Copyright 2014, the V8 project authors. All rights reserved. + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + """ + +- SipHash, located at deps/v8/src/third_party/siphash, is licensed as follows: + """ + SipHash reference C implementation + + Copyright (c) 2016 Jean-Philippe Aumasson + + To the extent possible under law, the author(s) have dedicated all + copyright and related and neighboring rights to this software to the public + domain worldwide. This software is distributed without any warranty. + """ + +- zlib, located at deps/zlib, is licensed as follows: + """ + zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.11, January 15th, 2017 + + Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + """ + +- npm, located at deps/npm, is licensed as follows: + """ + The npm application + Copyright (c) npm, Inc. and Contributors + Licensed on the terms of The Artistic License 2.0 + + Node package dependencies of the npm application + Copyright (c) their respective copyright owners + Licensed on their respective license terms + + The npm public registry at https://registry.npmjs.org + and the npm website at https://www.npmjs.com + Operated by npm, Inc. + Use governed by terms published on https://www.npmjs.com + + "Node.js" + Trademark Joyent, Inc., https://joyent.com + Neither npm nor npm, Inc. are affiliated with Joyent, Inc. + + The Node.js application + Project of Node Foundation, https://nodejs.org + + The npm Logo + Copyright (c) Mathias Pettersson and Brian Hammond + + "Gubblebum Blocky" typeface + Copyright (c) Tjarda Koster, https://jelloween.deviantart.com + Used with permission + + -------- + + The Artistic License 2.0 + + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + + Definitions + + "Copyright Holder" means the individual(s) or organization(s) + named in the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, + distribute, or modify the Package. + + "Package" means the collection of files distributed by the + Copyright Holder, and derivatives of that collection and/or of + those files. A given Package may consist of either the Standard + Version, or a Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing + this Package or providing support for this Package to another + party. It does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been + modified, or has been modified only in ways explicitly requested + by the Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and + such changes were not explicitly requested by the Copyright + Holder. + + "Original License" means this Artistic License as Distributed with + the Standard Version of the Package, in its current version or as + it may be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, + or any other form resulting from mechanical transformation or + translation of the Source form. + + Permission for Use and Modification Without Distribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided that + you do not Distribute the Modified Version. + + Permissions for Redistribution of the Standard Version + + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without restriction, + either gratis or for a Distributor Fee, provided that you duplicate + all of the original copyright notices and associated disclaimers. At + your discretion, such verbatim copies may or may not include a + Compiled form of the Package. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The resulting + Package will still be considered the Standard Version, and as such + will be subject to the Original License. + + Distribution of Modified Versions of the Package as Source + + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of the + Modified Version) provided that you clearly document how it differs + from the Standard Version, including, but not limited to, documenting + any non-standard features, executables, or modules, and provided that + you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder + of the Standard Version, under the Original License, so that the + Copyright Holder may include your modifications in the Standard + Version. + + (b) ensure that installation of your Modified Version does not + prevent the user installing or running the Standard Version. In + addition, the Modified Version must bear a name that is different + from the name of the Standard Version. + + (c) allow anyone who receives a copy of the Modified Version to + make the Source form of the Modified Version available to others + under + + (i) the Original License or + + (ii) a license that permits the licensee to freely copy, + modify and redistribute the Modified Version using the same + licensing terms that apply to the copy that the licensee + received, and requires that the Source form of the Modified + Version, and of any works derived from it, be made freely + available in that license fees are prohibited but Distributor + Fees are allowed. + + Distribution of Compiled Forms of the Standard Version + or Modified Versions without the Source + + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on how to + get the Source of the Standard Version. Such instructions must be + valid at the time of your distribution. If these instructions, at any + time while you are carrying out such distribution, become invalid, you + must provide new instructions on demand or cease further distribution. + If you provide valid instructions or cease distribution within thirty + days after you become aware that the instructions are invalid, then + you do not forfeit any of your rights under this license. + + (6) You may Distribute a Modified Version in Compiled form without + the Source, provided that you comply with Section 4 with respect to + the Source of the Modified Version. + + Aggregating or Linking the Package + + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the resulting + aggregation provided that you do not charge a licensing fee for the + Package. Distributor Fees are permitted, and licensing fees for other + components in the aggregation are permitted. The terms of this license + apply to the use and Distribution of the Standard or Modified Versions + as included in the aggregation. + + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, or to + build stand-alone binary or bytecode versions of applications that + include the Package, and Distribute the result without restriction, + provided the result does not expose a direct interface to the Package. + + Items That are Not Considered Part of a Modified Version + + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, cause + the Package to be a Modified Version. In addition, such works are not + considered parts of the Package itself, and are not subject to the + terms of this license. + + General Provisions + + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By using, + modifying or distributing the Package, you accept this license. Do not + use, modify, or distribute the Package, if you do not accept this + license. + + (11) If your Modified Version has been derived from a Modified + Version made by someone other than you, you are nevertheless required + to ensure that your Modified Version complies with the requirements of + this license. + + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to sell, + sell, import and otherwise transfer the Package with respect to any + patent claims licensable by the Copyright Holder that are necessarily + infringed by the Package. If you institute patent litigation + (including a cross-claim or counterclaim) against any party alleging + that the Package constitutes direct or contributory patent + infringement, then this Artistic License to you shall terminate on the + date that such litigation is filed. + + (14) Disclaimer of Warranty: + THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR + NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL + LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + -------- + """ + +- GYP, located at tools/gyp, is licensed as follows: + """ + Copyright (c) 2020 Node.js contributors. All rights reserved. + Copyright (c) 2009 Google Inc. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + """ + +- inspector_protocol, located at tools/inspector_protocol, is licensed as follows: + """ + // Copyright 2016 The Chromium Authors. All rights reserved. + // + // Redistribution and use in source and binary forms, with or without + // modification, are permitted provided that the following conditions are + // met: + // + // * Redistributions of source code must retain the above copyright + // notice, this list of conditions and the following disclaimer. + // * Redistributions in binary form must reproduce the above + // copyright notice, this list of conditions and the following disclaimer + // in the documentation and/or other materials provided with the + // distribution. + // * Neither the name of Google Inc. nor the names of its + // contributors may be used to endorse or promote products derived from + // this software without specific prior written permission. + // + // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + """ + +- jinja2, located at tools/inspector_protocol/jinja2, is licensed as follows: + """ + Copyright (c) 2009 by the Jinja Team, see AUTHORS for more details. + + Some rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * The names of the contributors may not be used to endorse or + promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + """ + +- markupsafe, located at tools/inspector_protocol/markupsafe, is licensed as follows: + """ + Copyright (c) 2010 by Armin Ronacher and contributors. See AUTHORS + for more details. + + Some rights reserved. + + Redistribution and use in source and binary forms of the software as well + as documentation, with or without modification, are permitted provided + that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * The names of the contributors may not be used to endorse or + promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT + NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER + OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + """ + +- cpplint.py, located at tools/cpplint.py, is licensed as follows: + """ + Copyright (c) 2009 Google Inc. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + """ + +- ESLint, located at tools/node_modules/eslint, is licensed as follows: + """ + Copyright JS Foundation and other contributors, https://js.foundation + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + """ + +- babel-eslint, located at tools/node_modules/babel-eslint, is licensed as follows: + """ + Copyright (c) 2014-2016 Sebastian McKenzie + + MIT License + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + """ + +- gtest, located at test/cctest/gtest, is licensed as follows: + """ + Copyright 2008, Google Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + """ + +- nghttp2, located at deps/nghttp2, is licensed as follows: + """ + The MIT License + + Copyright (c) 2012, 2014, 2015, 2016 Tatsuhiro Tsujikawa + Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + """ + +- ngtcp2, located at deps/ngtcp2, is licensed as follows: + """ + The MIT License + + Copyright (c) 2016 ngtcp2 contributors + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + """ + +- nghttp3, located at deps/nghttp3, is licensed as follows: + """ + The MIT License + + Copyright (c) 2019 nghttp3 contributors + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + """ + +- node-inspect, located at deps/node-inspect, is licensed as follows: + """ + Copyright Node.js contributors. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + """ + +- large_pages, located at src/large_pages, is licensed as follows: + """ + Copyright (C) 2018 Intel Corporation + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom + the Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES + OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE + OR OTHER DEALINGS IN THE SOFTWARE. + """ + +- caja, located at lib/internal/freeze_intrinsics.js, is licensed as follows: + """ + Adapted from SES/Caja - Copyright (C) 2011 Google Inc. + Copyright (C) 2018 Agoric + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + """ + +- brotli, located at deps/brotli, is licensed as follows: + """ + Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + """ + +- HdrHistogram, located at deps/histogram, is licensed as follows: + """ + The code in this repository code was Written by Gil Tene, Michael Barker, + and Matt Warren, and released to the public domain, as explained at + http://creativecommons.org/publicdomain/zero/1.0/ + + For users of this code who wish to consume it under the "BSD" license + rather than under the public domain or CC0 contribution text mentioned + above, the code found under this directory is *also* provided under the + following license (commonly referred to as the BSD 2-Clause License). This + license does not detract from the above stated release of the code into + the public domain, and simply represents an additional license granted by + the Author. + + ----------------------------------------------------------------------------- + ** Beginning of "BSD 2-Clause License" text. ** + + Copyright (c) 2012, 2013, 2014 Gil Tene + Copyright (c) 2014 Michael Barker + Copyright (c) 2014 Matt Warren + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + THE POSSIBILITY OF SUCH DAMAGE. + """ + +- highlight.js, located at doc/api_assets/highlight.pack.js, is licensed as follows: + """ + BSD 3-Clause License + + Copyright (c) 2006, Ivan Sagalaev. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + """ + +- node-heapdump, located at src/heap_utils.cc, is licensed as follows: + """ + ISC License + + Copyright (c) 2012, Ben Noordhuis + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + === src/compat.h src/compat-inl.h === + + ISC License + + Copyright (c) 2014, StrongLoop Inc. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + """ + +- rimraf, located at lib/internal/fs/rimraf.js, is licensed as follows: + """ + The ISC License + + Copyright (c) Isaac Z. Schlueter and Contributors + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR + IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + """ + +- uvwasi, located at deps/uvwasi, is licensed as follows: + """ + MIT License + + Copyright (c) 2019 Colin Ihrig and Contributors + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + """ + +XX. React +MIT License + +Copyright (c) Facebook, Inc. and its affiliates. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +XXI. Roboto Font +Apache License +Font data copyright Google 2012 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + “License” shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + “Licensor” shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + “Legal Entity” shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + “control” means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + “You” (or “Your”) shall mean an individual or Legal Entity + exercising permissions granted by this License. + + “Source” form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + “Object” form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + “Work” shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + “Derivative Works” shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + “Contribution” shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, “submitted” + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as “Not a Contribution.” + + “Contributor” shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a “NOTICE” text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an “AS IS” BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets “[]” + replaced with your own identifying information. (Don’t include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same “printed page” as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the “License”); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an “AS IS” BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +XXII. Flatbuffers +https://github.com/google/flatbuffers + +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +XXIII. cpp-httplib +The MIT License (MIT) + +Copyright (c) 2017 yhirose + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +XXIV.OpenSSL toolkit + The OpenSSL toolkit stays under a double license, i.e. both the conditions of + the OpenSSL License and the original SSLeay license apply to the toolkit. + See below for the actual license texts. + + OpenSSL License + --------------- + +/* ==================================================================== + * Copyright (c) 1998-2019 The OpenSSL Project. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. All advertising materials mentioning features or use of this + * software must display the following acknowledgment: + * "This product includes software developed by the OpenSSL Project + * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" + * + * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to + * endorse or promote products derived from this software without + * prior written permission. For written permission, please contact + * openssl-core@openssl.org. + * + * 5. Products derived from this software may not be called "OpenSSL" + * nor may "OpenSSL" appear in their names without prior written + * permission of the OpenSSL Project. + * + * 6. Redistributions of any form whatsoever must retain the following + * acknowledgment: + * "This product includes software developed by the OpenSSL Project + * for use in the OpenSSL Toolkit (http://www.openssl.org/)" + * + * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY + * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + * ==================================================================== + * + * This product includes cryptographic software written by Eric Young + * (eay@cryptsoft.com). This product includes software written by Tim + * Hudson (tjh@cryptsoft.com). + * + */ + + Original SSLeay License + ----------------------- + +/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) + * All rights reserved. + * + * This package is an SSL implementation written + * by Eric Young (eay@cryptsoft.com). + * The implementation was written so as to conform with Netscapes SSL. + * + * This library is free for commercial and non-commercial use as long as + * the following conditions are aheared to. The following conditions + * apply to all code found in this distribution, be it the RC4, RSA, + * lhash, DES, etc., code; not just the SSL code. The SSL documentation + * included with this distribution is covered by the same copyright terms + * except that the holder is Tim Hudson (tjh@cryptsoft.com). + * + * Copyright remains Eric Young's, and as such any Copyright notices in + * the code are not to be removed. + * If this package is used in a product, Eric Young should be given attribution + * as the author of the parts of the library used. + * This can be in the form of a textual message at program startup or + * in documentation (online or textual) provided with the package. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * "This product includes cryptographic software written by + * Eric Young (eay@cryptsoft.com)" + * The word 'cryptographic' can be left out if the rouines from the library + * being used are not cryptographic related :-). + * 4. If you include any Windows specific code (or a derivative thereof) from + * the apps directory (application code) you must include an acknowledgement: + * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" + * + * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * The licence and distribution terms for any publically available version or + * derivative of this code cannot be changed. i.e. this code cannot simply be + * copied and put under another distribution licence + * [including the GNU Public Licence.] + */ + +XXV. Libcurl +COPYRIGHT AND PERMISSION NOTICE + +Copyright (c) 1996 - 2021, Daniel Stenberg, daniel@haxx.se, and many contributors, see the THANKS file. + +All rights reserved. + +Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +XXVI. zlib + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.11, January 15th, 2017 + + Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +*/ + Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder. \ No newline at end of file diff --git a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android.meta b/Plugins.meta similarity index 77% rename from Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android.meta rename to Plugins.meta index f0addabf..5c397842 100644 --- a/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Android.meta +++ b/Plugins.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: a40f1081133a3a74ba4e81e86bc9b8df +guid: 14a38b3b5abc04f6cb5be35f510e6ffb folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Plugins/Android/libs/arm64-v8a/libEOSSDK.so b/Plugins/Android/libs/arm64-v8a/libEOSSDK.so new file mode 100644 index 00000000..3958d096 Binary files /dev/null and b/Plugins/Android/libs/arm64-v8a/libEOSSDK.so differ diff --git a/Plugins/Android/libs/arm64-v8a/libc++_shared.so b/Plugins/Android/libs/arm64-v8a/libc++_shared.so deleted file mode 100644 index 9a530c85..00000000 Binary files a/Plugins/Android/libs/arm64-v8a/libc++_shared.so and /dev/null differ diff --git a/Plugins/Android/libs/arm64-v8a/libc++_shared.so.meta b/Plugins/Android/libs/arm64-v8a/libc++_shared.so.meta deleted file mode 100644 index 9b118607..00000000 --- a/Plugins/Android/libs/arm64-v8a/libc++_shared.so.meta +++ /dev/null @@ -1,70 +0,0 @@ -fileFormatVersion: 2 -guid: 8841dda7400f3bd4699d61fdf0365792 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - : Any - second: - enabled: 0 - settings: - Exclude Android: 0 - Exclude Editor: 1 - Exclude Linux64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - - first: - Android: Android - second: - enabled: 1 - settings: - CPU: ARM64 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: None - userData: - assetBundleName: - assetBundleVariant: diff --git a/Plugins/Android/libs/armeabi-v7a/libEOSSDK.so b/Plugins/Android/libs/armeabi-v7a/libEOSSDK.so new file mode 100644 index 00000000..a3d9e783 Binary files /dev/null and b/Plugins/Android/libs/armeabi-v7a/libEOSSDK.so differ diff --git a/Plugins/Android/libs/armeabi-v7a/libc++_shared.so b/Plugins/Android/libs/armeabi-v7a/libc++_shared.so deleted file mode 100644 index f364d174..00000000 Binary files a/Plugins/Android/libs/armeabi-v7a/libc++_shared.so and /dev/null differ diff --git a/Plugins/Android/libs/armeabi-v7a/libc++_shared.so.meta b/Plugins/Android/libs/armeabi-v7a/libc++_shared.so.meta deleted file mode 100644 index c7846021..00000000 --- a/Plugins/Android/libs/armeabi-v7a/libc++_shared.so.meta +++ /dev/null @@ -1,70 +0,0 @@ -fileFormatVersion: 2 -guid: 45456d6216ef2064cbbb8eff5ee5fa2b -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - : Any - second: - enabled: 0 - settings: - Exclude Android: 0 - Exclude Editor: 1 - Exclude Linux64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - - first: - Android: Android - second: - enabled: 1 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: None - userData: - assetBundleName: - assetBundleVariant: diff --git a/Plugins/Android/libs/eos-sdk.aar b/Plugins/Android/libs/eos-sdk.aar index 77f04eb2..e01b0813 100644 Binary files a/Plugins/Android/libs/eos-sdk.aar and b/Plugins/Android/libs/eos-sdk.aar differ diff --git a/Plugins/iOS/EOSSDK.framework/EOSSDK b/Plugins/iOS/EOSSDK.framework/EOSSDK new file mode 100644 index 00000000..6b61a92e Binary files /dev/null and b/Plugins/iOS/EOSSDK.framework/EOSSDK differ diff --git a/Plugins/iOS/EOSSDK.framework/Info.plist b/Plugins/iOS/EOSSDK.framework/Info.plist new file mode 100644 index 00000000..b2a403e7 --- /dev/null +++ b/Plugins/iOS/EOSSDK.framework/Info.plist @@ -0,0 +1,55 @@ + + + + + BuildMachineOSBuild + 16E195 + CFBundleDevelopmentRegion + en + CFBundleExecutable + EOSSDK + CFBundleIdentifier + com.epicgames.EOSSDK.EOSSDK.Embedded + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + EOSSDK + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 15A327 + DTPlatformName + iphoneos + DTPlatformVersion + 11.0 + DTSDKBuild + 15A327 + DTSDKName + iphoneos11.0.internal + DTXcode + 0900 + DTXcodeBuild + 9M174d + MinimumOSVersion + 11.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + +