// 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
{
///
/// 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 string 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.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);
}
}
}