You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.6 KiB
67 lines
1.6 KiB
// 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);
|
|
}
|
|
}
|
|
}
|