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.
71 lines
1.9 KiB
71 lines
1.9 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>
|
|
/// Intermediate data needed to complete account restriction verification during login flow, returned by <see cref="LoginCallbackInfo" /> when the ResultCode is <see cref="Result.AuthAccountFeatureRestricted" />
|
|
/// The URI inside should be exposed to the user for entry in a web browser. The URI must be copied out of this struct before completion of the callback.
|
|
/// </summary>
|
|
public class AccountFeatureRestrictedInfo : ISettable
|
|
{
|
|
/// <summary>
|
|
/// The end-user verification URI. Users must be asked to open the page in a browser to address the restrictions
|
|
/// </summary>
|
|
public string VerificationURI { get; set; }
|
|
|
|
internal void Set(AccountFeatureRestrictedInfoInternal? other)
|
|
{
|
|
if (other != null)
|
|
{
|
|
VerificationURI = other.Value.VerificationURI;
|
|
}
|
|
}
|
|
|
|
public void Set(object other)
|
|
{
|
|
Set(other as AccountFeatureRestrictedInfoInternal?);
|
|
}
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct AccountFeatureRestrictedInfoInternal : ISettable, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private System.IntPtr m_VerificationURI;
|
|
|
|
public string VerificationURI
|
|
{
|
|
get
|
|
{
|
|
string value;
|
|
Helper.TryMarshalGet(m_VerificationURI, out value);
|
|
return value;
|
|
}
|
|
|
|
set
|
|
{
|
|
Helper.TryMarshalSet(ref m_VerificationURI, value);
|
|
}
|
|
}
|
|
|
|
public void Set(AccountFeatureRestrictedInfo other)
|
|
{
|
|
if (other != null)
|
|
{
|
|
m_ApiVersion = AuthInterface.AccountfeaturerestrictedinfoApiLatest;
|
|
VerificationURI = other.VerificationURI;
|
|
}
|
|
}
|
|
|
|
public void Set(object other)
|
|
{
|
|
Set(other as AccountFeatureRestrictedInfo);
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.TryMarshalDispose(ref m_VerificationURI);
|
|
}
|
|
}
|
|
}
|