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.
68 lines
1.6 KiB
68 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.Lobby
|
|
{
|
|
/// <summary>
|
|
/// Input parameters for the <see cref="LobbyInterface.RejectInvite" /> function.
|
|
/// </summary>
|
|
public struct RejectInviteOptions
|
|
{
|
|
/// <summary>
|
|
/// The ID of the lobby associated with the invitation
|
|
/// </summary>
|
|
public Utf8String InviteId { get; set; }
|
|
|
|
/// <summary>
|
|
/// The Product User ID of the local user who is rejecting the invitation
|
|
/// </summary>
|
|
public ProductUserId LocalUserId { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct RejectInviteOptionsInternal : ISettable<RejectInviteOptions>, 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);
|
|
}
|
|
}
|
|
}
|