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.RTCAdmin
|
|
{
|
|
/// <summary>
|
|
/// Input parameters for the <see cref="RTCAdminInterface.CopyUserTokenByIndex" /> function.
|
|
/// </summary>
|
|
public struct CopyUserTokenByIndexOptions
|
|
{
|
|
/// <summary>
|
|
/// Index of the user token to retrieve from the cache.
|
|
/// </summary>
|
|
public uint UserTokenIndex { get; set; }
|
|
|
|
/// <summary>
|
|
/// Query identifier received as part of a previous query.
|
|
/// <seealso cref="QueryJoinRoomTokenCompleteCallbackInfo" />
|
|
/// </summary>
|
|
public uint QueryId { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct CopyUserTokenByIndexOptionsInternal : ISettable<CopyUserTokenByIndexOptions>, 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()
|
|
{
|
|
}
|
|
}
|
|
}
|