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.
94 lines
2.1 KiB
94 lines
2.1 KiB
// 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);
|
|
}
|
|
}
|
|
}
|