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.

50 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.P2P
{
/// <summary>
/// Structure containing information about new relay configurations.
/// </summary>
public class SetRelayControlOptions
{
/// <summary>
/// The requested level of relay servers for P2P connections. This setting is only applied to new P2P connections, or when existing P2P connections
/// reconnect during a temporary connectivity outage. Peers with an incompatible setting to the local setting will not be able to connnect.
/// </summary>
public RelayControl RelayControl { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct SetRelayControlOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private RelayControl m_RelayControl;
public RelayControl RelayControl
{
set
{
m_RelayControl = value;
}
}
public void Set(SetRelayControlOptions other)
{
if (other != null)
{
m_ApiVersion = P2PInterface.SetrelaycontrolApiLatest;
RelayControl = other.RelayControl;
}
}
public void Set(object other)
{
Set(other as SetRelayControlOptions);
}
public void Dispose()
{
}
}
}