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.

51 lines
1.3 KiB

// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Auth
{
/// <summary>
/// Input parameters for the <see cref="AuthInterface.VerifyUserAuth" /> function.
/// This operation is destructive, the pointer will remain the same but the data pointers inside will update
/// </summary>
public class VerifyUserAuthOptions
{
/// <summary>
/// Auth token to verify against the backend service
/// </summary>
public Token AuthToken { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct VerifyUserAuthOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_AuthToken;
public Token AuthToken
{
set
{
Helper.TryMarshalSet<TokenInternal, Token>(ref m_AuthToken, value);
}
}
public void Set(VerifyUserAuthOptions other)
{
if (other != null)
{
m_ApiVersion = AuthInterface.VerifyuserauthApiLatest;
AuthToken = other.AuthToken;
}
}
public void Set(object other)
{
Set(other as VerifyUserAuthOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_AuthToken);
}
}
}