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.
124 lines
2.8 KiB
124 lines
2.8 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.AntiCheatCommon
|
|
{
|
|
/// <summary>
|
|
/// Structure containing details about a client/peer authentication status change
|
|
/// </summary>
|
|
public struct OnClientAuthStatusChangedCallbackInfo : ICallbackInfo
|
|
{
|
|
/// <summary>
|
|
/// Caller-specified context data
|
|
/// </summary>
|
|
public object ClientData { get; set; }
|
|
|
|
/// <summary>
|
|
/// The identifier of the client/peer that this status change applies to. See the RegisterClient and RegisterPeer functions.
|
|
/// </summary>
|
|
public System.IntPtr ClientHandle { get; set; }
|
|
|
|
/// <summary>
|
|
/// The client/peer's new authentication status
|
|
/// </summary>
|
|
public AntiCheatCommonClientAuthStatus ClientAuthStatus { get; set; }
|
|
|
|
public Result? GetResultCode()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
internal void Set(ref OnClientAuthStatusChangedCallbackInfoInternal other)
|
|
{
|
|
ClientData = other.ClientData;
|
|
ClientHandle = other.ClientHandle;
|
|
ClientAuthStatus = other.ClientAuthStatus;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct OnClientAuthStatusChangedCallbackInfoInternal : ICallbackInfoInternal, IGettable<OnClientAuthStatusChangedCallbackInfo>, ISettable<OnClientAuthStatusChangedCallbackInfo>, System.IDisposable
|
|
{
|
|
private System.IntPtr m_ClientData;
|
|
private System.IntPtr m_ClientHandle;
|
|
private AntiCheatCommonClientAuthStatus m_ClientAuthStatus;
|
|
|
|
public object ClientData
|
|
{
|
|
get
|
|
{
|
|
object value;
|
|
Helper.Get(m_ClientData, out value);
|
|
return value;
|
|
}
|
|
|
|
set
|
|
{
|
|
Helper.Set(value, ref m_ClientData);
|
|
}
|
|
}
|
|
|
|
public System.IntPtr ClientDataAddress
|
|
{
|
|
get
|
|
{
|
|
return m_ClientData;
|
|
}
|
|
}
|
|
|
|
public System.IntPtr ClientHandle
|
|
{
|
|
get
|
|
{
|
|
return m_ClientHandle;
|
|
}
|
|
|
|
set
|
|
{
|
|
m_ClientHandle = value;
|
|
}
|
|
}
|
|
|
|
public AntiCheatCommonClientAuthStatus ClientAuthStatus
|
|
{
|
|
get
|
|
{
|
|
return m_ClientAuthStatus;
|
|
}
|
|
|
|
set
|
|
{
|
|
m_ClientAuthStatus = value;
|
|
}
|
|
}
|
|
|
|
public void Set(ref OnClientAuthStatusChangedCallbackInfo other)
|
|
{
|
|
ClientData = other.ClientData;
|
|
ClientHandle = other.ClientHandle;
|
|
ClientAuthStatus = other.ClientAuthStatus;
|
|
}
|
|
|
|
public void Set(ref OnClientAuthStatusChangedCallbackInfo? other)
|
|
{
|
|
if (other.HasValue)
|
|
{
|
|
ClientData = other.Value.ClientData;
|
|
ClientHandle = other.Value.ClientHandle;
|
|
ClientAuthStatus = other.Value.ClientAuthStatus;
|
|
}
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.Dispose(ref m_ClientData);
|
|
Helper.Dispose(ref m_ClientHandle);
|
|
}
|
|
|
|
public void Get(out OnClientAuthStatusChangedCallbackInfo output)
|
|
{
|
|
output = new OnClientAuthStatusChangedCallbackInfo();
|
|
output.Set(ref this);
|
|
}
|
|
}
|
|
}
|