// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.RTCAdmin
{
///
/// Input parameters for the function.
///
public struct CopyUserTokenByIndexOptions
{
///
/// Index of the user token to retrieve from the cache.
///
public uint UserTokenIndex { get; set; }
///
/// Query identifier received as part of a previous query.
///
///
public uint QueryId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyUserTokenByIndexOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private uint m_UserTokenIndex;
private uint m_QueryId;
public uint UserTokenIndex
{
set
{
m_UserTokenIndex = value;
}
}
public uint QueryId
{
set
{
m_QueryId = value;
}
}
public void Set(ref CopyUserTokenByIndexOptions other)
{
m_ApiVersion = RTCAdminInterface.CopyusertokenbyindexApiLatest;
UserTokenIndex = other.UserTokenIndex;
QueryId = other.QueryId;
}
public void Set(ref CopyUserTokenByIndexOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = RTCAdminInterface.CopyusertokenbyindexApiLatest;
UserTokenIndex = other.Value.UserTokenIndex;
QueryId = other.Value.QueryId;
}
}
public void Dispose()
{
}
}
}