40 changed files with 1342 additions and 19 deletions
-
BINAssets/Plugins/EpicOnlineServices/Bin/XSX/EOSSDK-XSX-Shipping.dll
-
BINAssets/Plugins/EpicOnlineServices/Bin/XboxOneGDK/EOSSDK-XboxOneGDK-Shipping.dll
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/AntiCheatClient/AntiCheatClientInterface.cs
-
100Assets/Plugins/EpicOnlineServices/Source/Generated/Bindings.cs
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/Connect/ConnectInterface.cs
-
6Assets/Plugins/EpicOnlineServices/Source/Generated/Connect/ExternalAccountInfo.cs
-
2Assets/Plugins/EpicOnlineServices/Source/Generated/Connect/LoginOptions.cs
-
2Assets/Plugins/EpicOnlineServices/Source/Generated/Connect/QueryProductUserIdMappingsCallbackInfo.cs
-
3Assets/Plugins/EpicOnlineServices/Source/Generated/Connect/QueryProductUserIdMappingsOptions.cs
-
113Assets/Plugins/EpicOnlineServices/Source/Generated/Connect/VerifyIdTokenCallbackInfo.cs
-
8Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites.meta
-
32Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/AddNotifyCustomInviteAcceptedOptions.cs
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/AddNotifyCustomInviteAcceptedOptions.cs.meta
-
32Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/AddNotifyCustomInviteReceivedOptions.cs
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/AddNotifyCustomInviteReceivedOptions.cs.meta
-
228Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/CustomInvitesInterface.cs
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/CustomInvitesInterface.cs.meta
-
94Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/FinalizeInviteOptions.cs
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/FinalizeInviteOptions.cs.meta
-
14Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/OnCustomInviteAcceptedCallback.cs
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/OnCustomInviteAcceptedCallback.cs.meta
-
126Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/OnCustomInviteAcceptedCallbackInfo.cs
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/OnCustomInviteAcceptedCallbackInfo.cs.meta
-
14Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/OnCustomInviteReceivedCallback.cs
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/OnCustomInviteReceivedCallback.cs.meta
-
126Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/OnCustomInviteReceivedCallbackInfo.cs
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/OnCustomInviteReceivedCallbackInfo.cs.meta
-
14Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/OnSendCustomInviteCallback.cs
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/OnSendCustomInviteCallback.cs.meta
-
108Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/SendCustomInviteCallbackInfo.cs
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/SendCustomInviteCallbackInfo.cs.meta
-
67Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/SendCustomInviteOptions.cs
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/SendCustomInviteOptions.cs.meta
-
63Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/SetCustomInviteOptions.cs
-
11Assets/Plugins/EpicOnlineServices/Source/Generated/CustomInvites/SetCustomInviteOptions.cs.meta
-
9Assets/Plugins/EpicOnlineServices/Source/Generated/ExternalAccountType.cs
-
23Assets/Plugins/EpicOnlineServices/Source/Generated/ExternalCredentialType.cs
-
4Assets/Plugins/EpicOnlineServices/Source/Generated/Logging/LogCategory.cs
-
2Assets/Plugins/EpicOnlineServices/Source/Generated/P2P/OnPeerConnectionEstablishedInfo.cs
-
17Assets/Plugins/EpicOnlineServices/Source/Generated/Platform/PlatformInterface.cs
@ -0,0 +1,8 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: f34a4d3184c8f774dbb146151d44e635 |
||||
|
folderAsset: yes |
||||
|
DefaultImporter: |
||||
|
externalObjects: {} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -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 class 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(AddNotifyCustomInviteAcceptedOptions other) |
||||
|
{ |
||||
|
if (other != null) |
||||
|
{ |
||||
|
m_ApiVersion = CustomInvitesInterface.AddnotifycustominviteacceptedApiLatest; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public void Set(object other) |
||||
|
{ |
||||
|
Set(other as AddNotifyCustomInviteAcceptedOptions); |
||||
|
} |
||||
|
|
||||
|
public void Dispose() |
||||
|
{ |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: c8baa0cc40b45a241b72ddbea4f43d65 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -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 class 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(AddNotifyCustomInviteReceivedOptions other) |
||||
|
{ |
||||
|
if (other != null) |
||||
|
{ |
||||
|
m_ApiVersion = CustomInvitesInterface.AddnotifycustominvitereceivedApiLatest; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public void Set(object other) |
||||
|
{ |
||||
|
Set(other as AddNotifyCustomInviteReceivedOptions); |
||||
|
} |
||||
|
|
||||
|
public void Dispose() |
||||
|
{ |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 5dfa13129160f644088a425336297445 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,228 @@ |
|||||
|
// 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) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// The most recent version of the <see cref="AddNotifyCustomInviteAccepted" /> API.
|
||||
|
/// </summary>
|
||||
|
public const int AddnotifycustominviteacceptedApiLatest = 1; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// The most recent version of the <see cref="AddNotifyCustomInviteReceived" /> API.
|
||||
|
/// </summary>
|
||||
|
public const int AddnotifycustominvitereceivedApiLatest = 1; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// The most recent version of the <see cref="FinalizeInvite" /> API.
|
||||
|
/// </summary>
|
||||
|
public const int FinalizeinviteApiLatest = 1; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Maximum size of the custom invite payload string
|
||||
|
/// </summary>
|
||||
|
public const int MaxPayloadLength = 500; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// The most recent version of the <see cref="SendCustomInvite" /> API.
|
||||
|
/// </summary>
|
||||
|
public const int SendcustominviteApiLatest = 1; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// The most recent version of the <see cref="SetCustomInvite" /> API.
|
||||
|
/// </summary>
|
||||
|
public const int SetcustominviteApiLatest = 1; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Register to receive notifications when a Custom Invite for any logged in local users is accepted via the Social Overlay
|
||||
|
/// @note must call <see cref="RemoveNotifyCustomInviteAccepted" /> to remove the notification
|
||||
|
/// </summary>
|
||||
|
/// <param name="options">Structure containing information about the request.</param>
|
||||
|
/// <param name="clientData">Arbitrary data that is passed back to you in the CompletionDelegate.</param>
|
||||
|
/// <param name="notificationFn">A callback that is fired when a Custom Invite is accepted via the Social Overlay.</param>
|
||||
|
/// <returns>
|
||||
|
/// handle representing the registered callback
|
||||
|
/// </returns>
|
||||
|
public ulong AddNotifyCustomInviteAccepted(AddNotifyCustomInviteAcceptedOptions options, object clientData, OnCustomInviteAcceptedCallback notificationFn) |
||||
|
{ |
||||
|
var optionsAddress = System.IntPtr.Zero; |
||||
|
Helper.TryMarshalSet<AddNotifyCustomInviteAcceptedOptionsInternal, AddNotifyCustomInviteAcceptedOptions>(ref optionsAddress, options); |
||||
|
|
||||
|
var clientDataAddress = System.IntPtr.Zero; |
||||
|
|
||||
|
var notificationFnInternal = new OnCustomInviteAcceptedCallbackInternal(OnCustomInviteAcceptedCallbackInternalImplementation); |
||||
|
Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); |
||||
|
|
||||
|
var funcResult = Bindings.EOS_CustomInvites_AddNotifyCustomInviteAccepted(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); |
||||
|
|
||||
|
Helper.TryMarshalDispose(ref optionsAddress); |
||||
|
|
||||
|
Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); |
||||
|
|
||||
|
return funcResult; |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Register to receive notifications when a Custom Invite for any logged in local users is received
|
||||
|
/// @note must call <see cref="RemoveNotifyCustomInviteReceived" /> to remove the notification
|
||||
|
/// </summary>
|
||||
|
/// <param name="options">Structure containing information about the request.</param>
|
||||
|
/// <param name="clientData">Arbitrary data that is passed back to you in the CompletionDelegate.</param>
|
||||
|
/// <param name="notificationFn">A callback that is fired when a Custom Invite is received.</param>
|
||||
|
/// <returns>
|
||||
|
/// handle representing the registered callback
|
||||
|
/// </returns>
|
||||
|
public ulong AddNotifyCustomInviteReceived(AddNotifyCustomInviteReceivedOptions options, object clientData, OnCustomInviteReceivedCallback notificationFn) |
||||
|
{ |
||||
|
var optionsAddress = System.IntPtr.Zero; |
||||
|
Helper.TryMarshalSet<AddNotifyCustomInviteReceivedOptionsInternal, AddNotifyCustomInviteReceivedOptions>(ref optionsAddress, options); |
||||
|
|
||||
|
var clientDataAddress = System.IntPtr.Zero; |
||||
|
|
||||
|
var notificationFnInternal = new OnCustomInviteReceivedCallbackInternal(OnCustomInviteReceivedCallbackInternalImplementation); |
||||
|
Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal); |
||||
|
|
||||
|
var funcResult = Bindings.EOS_CustomInvites_AddNotifyCustomInviteReceived(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal); |
||||
|
|
||||
|
Helper.TryMarshalDispose(ref optionsAddress); |
||||
|
|
||||
|
Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult); |
||||
|
|
||||
|
return funcResult; |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Signal that the title has completed processing a received Custom Invite, and that it should be cleaned up internally and in the Overlay
|
||||
|
/// </summary>
|
||||
|
/// <param name="options">Structure containing information about the request.</param>
|
||||
|
/// <returns>
|
||||
|
/// <see cref="Result.Success" /> if the operation completes successfully
|
||||
|
/// <see cref="Result.InvalidParameters" /> if any of the option values are incorrect
|
||||
|
/// </returns>
|
||||
|
public Result FinalizeInvite(FinalizeInviteOptions options) |
||||
|
{ |
||||
|
var optionsAddress = System.IntPtr.Zero; |
||||
|
Helper.TryMarshalSet<FinalizeInviteOptionsInternal, FinalizeInviteOptions>(ref optionsAddress, options); |
||||
|
|
||||
|
var funcResult = Bindings.EOS_CustomInvites_FinalizeInvite(InnerHandle, optionsAddress); |
||||
|
|
||||
|
Helper.TryMarshalDispose(ref optionsAddress); |
||||
|
|
||||
|
return funcResult; |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Unregister from receiving notifications when a Custom Invite for any logged in local users is accepted via the Social Overlay
|
||||
|
/// </summary>
|
||||
|
/// <param name="inId">Handle representing the registered callback</param>
|
||||
|
public void RemoveNotifyCustomInviteAccepted(ulong inId) |
||||
|
{ |
||||
|
Helper.TryRemoveCallbackByNotificationId(inId); |
||||
|
|
||||
|
Bindings.EOS_CustomInvites_RemoveNotifyCustomInviteAccepted(InnerHandle, inId); |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Unregister from receiving notifications when a Custom Invite for any logged in local users is received
|
||||
|
/// </summary>
|
||||
|
/// <param name="inId">Handle representing the registered callback</param>
|
||||
|
public void RemoveNotifyCustomInviteReceived(ulong inId) |
||||
|
{ |
||||
|
Helper.TryRemoveCallbackByNotificationId(inId); |
||||
|
|
||||
|
Bindings.EOS_CustomInvites_RemoveNotifyCustomInviteReceived(InnerHandle, inId); |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Sends a Custom Invite that has previously been initialized via SetCustomInvite to a group of users.
|
||||
|
/// </summary>
|
||||
|
/// <param name="options">Structure containing information about the request.</param>
|
||||
|
/// <param name="clientData">Arbitrary data that is passed back to you in the CompletionDelegate</param>
|
||||
|
/// <param name="completionDelegate">A callback that is fired when the operation completes, either successfully or in error</param>
|
||||
|
/// <returns>
|
||||
|
/// <see cref="Result.Success" /> if the query completes successfully
|
||||
|
/// <see cref="Result.InvalidParameters" /> if any of the options values are incorrect
|
||||
|
/// <see cref="Result.TooManyRequests" /> if the number of allowed queries is exceeded
|
||||
|
/// <see cref="Result.NotFound" /> if SetCustomInvite has not been previously successfully called for this user
|
||||
|
/// </returns>
|
||||
|
public void SendCustomInvite(SendCustomInviteOptions options, object clientData, OnSendCustomInviteCallback completionDelegate) |
||||
|
{ |
||||
|
var optionsAddress = System.IntPtr.Zero; |
||||
|
Helper.TryMarshalSet<SendCustomInviteOptionsInternal, SendCustomInviteOptions>(ref optionsAddress, options); |
||||
|
|
||||
|
var clientDataAddress = System.IntPtr.Zero; |
||||
|
|
||||
|
var completionDelegateInternal = new OnSendCustomInviteCallbackInternal(OnSendCustomInviteCallbackInternalImplementation); |
||||
|
Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); |
||||
|
|
||||
|
Bindings.EOS_CustomInvites_SendCustomInvite(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal); |
||||
|
|
||||
|
Helper.TryMarshalDispose(ref optionsAddress); |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Initializes a Custom Invite with a specified payload in preparation for it to be sent to another user or users.
|
||||
|
/// </summary>
|
||||
|
/// <param name="options">Structure containing information about the request.</param>
|
||||
|
/// <param name="clientData">Arbitrary data that is passed back to you in the CompletionDelegate</param>
|
||||
|
/// <param name="completionDelegate">A callback that is fired when the operation completes, either successfully or in error</param>
|
||||
|
/// <returns>
|
||||
|
/// <see cref="Result.Success" /> if the operation completes successfully
|
||||
|
/// <see cref="Result.InvalidParameters" /> if any of the options values are incorrect
|
||||
|
/// </returns>
|
||||
|
public Result SetCustomInvite(SetCustomInviteOptions options) |
||||
|
{ |
||||
|
var optionsAddress = System.IntPtr.Zero; |
||||
|
Helper.TryMarshalSet<SetCustomInviteOptionsInternal, SetCustomInviteOptions>(ref optionsAddress, options); |
||||
|
|
||||
|
var funcResult = Bindings.EOS_CustomInvites_SetCustomInvite(InnerHandle, optionsAddress); |
||||
|
|
||||
|
Helper.TryMarshalDispose(ref optionsAddress); |
||||
|
|
||||
|
return funcResult; |
||||
|
} |
||||
|
|
||||
|
[MonoPInvokeCallback(typeof(OnCustomInviteAcceptedCallbackInternal))] |
||||
|
internal static void OnCustomInviteAcceptedCallbackInternalImplementation(System.IntPtr data) |
||||
|
{ |
||||
|
OnCustomInviteAcceptedCallback callback; |
||||
|
OnCustomInviteAcceptedCallbackInfo callbackInfo; |
||||
|
if (Helper.TryGetAndRemoveCallback<OnCustomInviteAcceptedCallback, OnCustomInviteAcceptedCallbackInfoInternal, OnCustomInviteAcceptedCallbackInfo>(data, out callback, out callbackInfo)) |
||||
|
{ |
||||
|
callback(callbackInfo); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[MonoPInvokeCallback(typeof(OnCustomInviteReceivedCallbackInternal))] |
||||
|
internal static void OnCustomInviteReceivedCallbackInternalImplementation(System.IntPtr data) |
||||
|
{ |
||||
|
OnCustomInviteReceivedCallback callback; |
||||
|
OnCustomInviteReceivedCallbackInfo callbackInfo; |
||||
|
if (Helper.TryGetAndRemoveCallback<OnCustomInviteReceivedCallback, OnCustomInviteReceivedCallbackInfoInternal, OnCustomInviteReceivedCallbackInfo>(data, out callback, out callbackInfo)) |
||||
|
{ |
||||
|
callback(callbackInfo); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[MonoPInvokeCallback(typeof(OnSendCustomInviteCallbackInternal))] |
||||
|
internal static void OnSendCustomInviteCallbackInternalImplementation(System.IntPtr data) |
||||
|
{ |
||||
|
OnSendCustomInviteCallback callback; |
||||
|
SendCustomInviteCallbackInfo callbackInfo; |
||||
|
if (Helper.TryGetAndRemoveCallback<OnSendCustomInviteCallback, SendCustomInviteCallbackInfoInternal, SendCustomInviteCallbackInfo>(data, out callback, out callbackInfo)) |
||||
|
{ |
||||
|
callback(callbackInfo); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 66eb5d4ceaebf13479ded11540c6d24f |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,94 @@ |
|||||
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
// This file is automatically generated. Changes to this file may be overwritten.
|
||||
|
|
||||
|
namespace Epic.OnlineServices.CustomInvites |
||||
|
{ |
||||
|
public class FinalizeInviteOptions |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// User that sent the custom invite
|
||||
|
/// </summary>
|
||||
|
public ProductUserId TargetUserId { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Recipient Local user id
|
||||
|
/// </summary>
|
||||
|
public ProductUserId LocalUserId { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Id of the Custom Invite accepted
|
||||
|
/// </summary>
|
||||
|
public string CustomInviteId { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Result of the Processing operation, transmitted to Social Overlay if applicable
|
||||
|
/// </summary>
|
||||
|
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.TryMarshalSet(ref m_TargetUserId, value); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public ProductUserId LocalUserId |
||||
|
{ |
||||
|
set |
||||
|
{ |
||||
|
Helper.TryMarshalSet(ref m_LocalUserId, value); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public string CustomInviteId |
||||
|
{ |
||||
|
set |
||||
|
{ |
||||
|
Helper.TryMarshalSet(ref m_CustomInviteId, value); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public Result ProcessingResult |
||||
|
{ |
||||
|
set |
||||
|
{ |
||||
|
m_ProcessingResult = value; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public void Set(FinalizeInviteOptions other) |
||||
|
{ |
||||
|
if (other != null) |
||||
|
{ |
||||
|
m_ApiVersion = CustomInvitesInterface.FinalizeinviteApiLatest; |
||||
|
TargetUserId = other.TargetUserId; |
||||
|
LocalUserId = other.LocalUserId; |
||||
|
CustomInviteId = other.CustomInviteId; |
||||
|
ProcessingResult = other.ProcessingResult; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public void Set(object other) |
||||
|
{ |
||||
|
Set(other as FinalizeInviteOptions); |
||||
|
} |
||||
|
|
||||
|
public void Dispose() |
||||
|
{ |
||||
|
Helper.TryMarshalDispose(ref m_TargetUserId); |
||||
|
Helper.TryMarshalDispose(ref m_LocalUserId); |
||||
|
Helper.TryMarshalDispose(ref m_CustomInviteId); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: fdc35ceaa226e4e489113267a3170565 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -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 |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Function prototype definition for notifications that comes from <see cref="CustomInvitesInterface.AddNotifyCustomInviteAccepted" />
|
||||
|
/// </summary>
|
||||
|
/// <param name="data">A <see cref="OnCustomInviteAcceptedCallbackInfo" /> containing the output information and result</param>
|
||||
|
public delegate void OnCustomInviteAcceptedCallback(OnCustomInviteAcceptedCallbackInfo data); |
||||
|
|
||||
|
[System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] |
||||
|
internal delegate void OnCustomInviteAcceptedCallbackInternal(System.IntPtr data); |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 04924fa1291755c4e90caeae2901a3a7 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -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.CustomInvites |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Output parameters for the <see cref="OnCustomInviteAcceptedCallback" /> Function.
|
||||
|
/// </summary>
|
||||
|
public class OnCustomInviteAcceptedCallbackInfo : ICallbackInfo, ISettable |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Context that was passed into <see cref="CustomInvitesInterface.AddNotifyCustomInviteAccepted" />
|
||||
|
/// </summary>
|
||||
|
public object ClientData { get; private set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// User that sent the custom invite
|
||||
|
/// </summary>
|
||||
|
public ProductUserId TargetUserId { get; private set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Recipient Local user id
|
||||
|
/// </summary>
|
||||
|
public ProductUserId LocalUserId { get; private set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Id of the accepted Custom Invite
|
||||
|
/// </summary>
|
||||
|
public string CustomInviteId { get; private set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Payload of the accepted Custom Invite
|
||||
|
/// </summary>
|
||||
|
public string Payload { get; private set; } |
||||
|
|
||||
|
public Result? GetResultCode() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
internal void Set(OnCustomInviteAcceptedCallbackInfoInternal? other) |
||||
|
{ |
||||
|
if (other != null) |
||||
|
{ |
||||
|
ClientData = other.Value.ClientData; |
||||
|
TargetUserId = other.Value.TargetUserId; |
||||
|
LocalUserId = other.Value.LocalUserId; |
||||
|
CustomInviteId = other.Value.CustomInviteId; |
||||
|
Payload = other.Value.Payload; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public void Set(object other) |
||||
|
{ |
||||
|
Set(other as OnCustomInviteAcceptedCallbackInfoInternal?); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] |
||||
|
internal struct OnCustomInviteAcceptedCallbackInfoInternal : ICallbackInfoInternal |
||||
|
{ |
||||
|
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.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; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public string CustomInviteId |
||||
|
{ |
||||
|
get |
||||
|
{ |
||||
|
string value; |
||||
|
Helper.TryMarshalGet(m_CustomInviteId, out value); |
||||
|
return value; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public string Payload |
||||
|
{ |
||||
|
get |
||||
|
{ |
||||
|
string value; |
||||
|
Helper.TryMarshalGet(m_Payload, out value); |
||||
|
return value; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 41faeaf02b9ab0849a99cf66df5accdb |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -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 |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Function prototype definition for notifications that comes from <see cref="CustomInvitesInterface.AddNotifyCustomInviteReceived" />
|
||||
|
/// </summary>
|
||||
|
/// <param name="data">A <see cref="OnCustomInviteReceivedCallbackInfo" /> containing the output information and result</param>
|
||||
|
public delegate void OnCustomInviteReceivedCallback(OnCustomInviteReceivedCallbackInfo data); |
||||
|
|
||||
|
[System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] |
||||
|
internal delegate void OnCustomInviteReceivedCallbackInternal(System.IntPtr data); |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 684ebf7882d298546924ad24c5e18d78 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -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.CustomInvites |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Output parameters for the <see cref="OnCustomInviteReceivedCallback" /> Function.
|
||||
|
/// </summary>
|
||||
|
public class OnCustomInviteReceivedCallbackInfo : ICallbackInfo, ISettable |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Context that was passed into <see cref="CustomInvitesInterface.AddNotifyCustomInviteReceived" />
|
||||
|
/// </summary>
|
||||
|
public object ClientData { get; private set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// User that sent this custom invite
|
||||
|
/// </summary>
|
||||
|
public ProductUserId TargetUserId { get; private set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Recipient Local user id
|
||||
|
/// </summary>
|
||||
|
public ProductUserId LocalUserId { get; private set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Id of the received Custom Invite
|
||||
|
/// </summary>
|
||||
|
public string CustomInviteId { get; private set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Payload of the received Custom Invite
|
||||
|
/// </summary>
|
||||
|
public string Payload { get; private set; } |
||||
|
|
||||
|
public Result? GetResultCode() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
internal void Set(OnCustomInviteReceivedCallbackInfoInternal? other) |
||||
|
{ |
||||
|
if (other != null) |
||||
|
{ |
||||
|
ClientData = other.Value.ClientData; |
||||
|
TargetUserId = other.Value.TargetUserId; |
||||
|
LocalUserId = other.Value.LocalUserId; |
||||
|
CustomInviteId = other.Value.CustomInviteId; |
||||
|
Payload = other.Value.Payload; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public void Set(object other) |
||||
|
{ |
||||
|
Set(other as OnCustomInviteReceivedCallbackInfoInternal?); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] |
||||
|
internal struct OnCustomInviteReceivedCallbackInfoInternal : ICallbackInfoInternal |
||||
|
{ |
||||
|
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.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; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public string CustomInviteId |
||||
|
{ |
||||
|
get |
||||
|
{ |
||||
|
string value; |
||||
|
Helper.TryMarshalGet(m_CustomInviteId, out value); |
||||
|
return value; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public string Payload |
||||
|
{ |
||||
|
get |
||||
|
{ |
||||
|
string value; |
||||
|
Helper.TryMarshalGet(m_Payload, out value); |
||||
|
return value; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: dd89ed7b386f11f4eb827f2c432ab5b5 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -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 |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Function prototype definition for callbacks passed to <see cref="CustomInvitesInterface.SendCustomInvite" />
|
||||
|
/// </summary>
|
||||
|
/// <param name="data">A <see cref="SendCustomInviteCallbackInfo" /> containing the output information and result</param>
|
||||
|
public delegate void OnSendCustomInviteCallback(SendCustomInviteCallbackInfo data); |
||||
|
|
||||
|
[System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] |
||||
|
internal delegate void OnSendCustomInviteCallbackInternal(System.IntPtr data); |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 138c22226d2aaca449c1df7ceb1d1d7f |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -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.CustomInvites |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Output parameters for the <see cref="CustomInvitesInterface.SendCustomInvite" /> Function. These parameters are received through the callback provided to <see cref="CustomInvitesInterface.SendCustomInvite" />
|
||||
|
/// </summary>
|
||||
|
public class SendCustomInviteCallbackInfo : ICallbackInfo, ISettable |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// The <see cref="Result" /> code for the operation. <see cref="Result.Success" /> indicates that the operation succeeded; other codes indicate errors.
|
||||
|
/// </summary>
|
||||
|
public Result ResultCode { get; private set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Context that was passed into <see cref="CustomInvitesInterface.SendCustomInvite" />
|
||||
|
/// </summary>
|
||||
|
public object ClientData { get; private set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Local user sending a CustomInvite
|
||||
|
/// </summary>
|
||||
|
public ProductUserId LocalUserId { get; private set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Users to whom the invites were successfully sent (can be different than original call if an invite for same Payload was previously sent)
|
||||
|
/// </summary>
|
||||
|
public ProductUserId[] TargetUserIds { get; private set; } |
||||
|
|
||||
|
public Result? GetResultCode() |
||||
|
{ |
||||
|
return ResultCode; |
||||
|
} |
||||
|
|
||||
|
internal void Set(SendCustomInviteCallbackInfoInternal? other) |
||||
|
{ |
||||
|
if (other != null) |
||||
|
{ |
||||
|
ResultCode = other.Value.ResultCode; |
||||
|
ClientData = other.Value.ClientData; |
||||
|
LocalUserId = other.Value.LocalUserId; |
||||
|
TargetUserIds = other.Value.TargetUserIds; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public void Set(object other) |
||||
|
{ |
||||
|
Set(other as SendCustomInviteCallbackInfoInternal?); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] |
||||
|
internal struct SendCustomInviteCallbackInfoInternal : ICallbackInfoInternal |
||||
|
{ |
||||
|
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; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
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[] TargetUserIds |
||||
|
{ |
||||
|
get |
||||
|
{ |
||||
|
ProductUserId[] value; |
||||
|
Helper.TryMarshalGet(m_TargetUserIds, out value, m_TargetUserIdsCount); |
||||
|
return value; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 6b008daa9f551ea4c82afd2c750e487b |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -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.CustomInvites |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Input parameters for the <see cref="CustomInvitesInterface.SendCustomInvite" /> function.
|
||||
|
/// </summary>
|
||||
|
public class SendCustomInviteOptions |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Local user sending a CustomInvite
|
||||
|
/// </summary>
|
||||
|
public ProductUserId LocalUserId { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Users to whom the invites should be sent
|
||||
|
/// </summary>
|
||||
|
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.TryMarshalSet(ref m_LocalUserId, value); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public ProductUserId[] TargetUserIds |
||||
|
{ |
||||
|
set |
||||
|
{ |
||||
|
Helper.TryMarshalSet(ref m_TargetUserIds, value, out m_TargetUserIdsCount); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public void Set(SendCustomInviteOptions other) |
||||
|
{ |
||||
|
if (other != null) |
||||
|
{ |
||||
|
m_ApiVersion = CustomInvitesInterface.SendcustominviteApiLatest; |
||||
|
LocalUserId = other.LocalUserId; |
||||
|
TargetUserIds = other.TargetUserIds; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public void Set(object other) |
||||
|
{ |
||||
|
Set(other as SendCustomInviteOptions); |
||||
|
} |
||||
|
|
||||
|
public void Dispose() |
||||
|
{ |
||||
|
Helper.TryMarshalDispose(ref m_LocalUserId); |
||||
|
Helper.TryMarshalDispose(ref m_TargetUserIds); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 89bc1aa58efc0d74e8ea46b273355ded |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,63 @@ |
|||||
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
// This file is automatically generated. Changes to this file may be overwritten.
|
||||
|
|
||||
|
namespace Epic.OnlineServices.CustomInvites |
||||
|
{ |
||||
|
public class SetCustomInviteOptions |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Local user creating / sending a Custom Invite
|
||||
|
/// </summary>
|
||||
|
public ProductUserId LocalUserId { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// String payload for the Custom Invite (must be less than <see cref="CustomInvitesInterface.MaxPayloadLength" />)
|
||||
|
/// </summary>
|
||||
|
public string 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.TryMarshalSet(ref m_LocalUserId, value); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public string Payload |
||||
|
{ |
||||
|
set |
||||
|
{ |
||||
|
Helper.TryMarshalSet(ref m_Payload, value); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public void Set(SetCustomInviteOptions other) |
||||
|
{ |
||||
|
if (other != null) |
||||
|
{ |
||||
|
m_ApiVersion = CustomInvitesInterface.SetcustominviteApiLatest; |
||||
|
LocalUserId = other.LocalUserId; |
||||
|
Payload = other.Payload; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public void Set(object other) |
||||
|
{ |
||||
|
Set(other as SetCustomInviteOptions); |
||||
|
} |
||||
|
|
||||
|
public void Dispose() |
||||
|
{ |
||||
|
Helper.TryMarshalDispose(ref m_LocalUserId); |
||||
|
Helper.TryMarshalDispose(ref m_Payload); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 1311039ec78180a4a9e8c67c0efacc9b |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue