// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Platform
{
///
/// Output parameters for the function.
///
public struct GetDesktopCrossplayStatusInfo
{
///
/// Status for the availability of desktop crossplay functionality.
///
/// It is recommended to include this value in application logs, and as as part of
/// any player-facing error screens to help troubleshooting possible issues.
///
public DesktopCrossplayStatus Status { get; set; }
///
/// This field is set when the Status is .
///
/// Possible values for this field are not documented. However, it is recommended
/// to be also included in application logs, and as part of any player-facing
/// error screens.
///
public int ServiceInitResult { get; set; }
internal void Set(ref GetDesktopCrossplayStatusInfoInternal other)
{
Status = other.Status;
ServiceInitResult = other.ServiceInitResult;
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct GetDesktopCrossplayStatusInfoInternal : IGettable, ISettable, System.IDisposable
{
private DesktopCrossplayStatus m_Status;
private int m_ServiceInitResult;
public DesktopCrossplayStatus Status
{
get
{
return m_Status;
}
set
{
m_Status = value;
}
}
public int ServiceInitResult
{
get
{
return m_ServiceInitResult;
}
set
{
m_ServiceInitResult = value;
}
}
public void Set(ref GetDesktopCrossplayStatusInfo other)
{
Status = other.Status;
ServiceInitResult = other.ServiceInitResult;
}
public void Set(ref GetDesktopCrossplayStatusInfo? other)
{
if (other.HasValue)
{
Status = other.Value.Status;
ServiceInitResult = other.Value.ServiceInitResult;
}
}
public void Dispose()
{
}
public void Get(out GetDesktopCrossplayStatusInfo output)
{
output = new GetDesktopCrossplayStatusInfo();
output.Set(ref this);
}
}
}