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.

29 lines
1.2 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>
/// Setting for controlling whether relay servers are used.
///
/// Please see the following <see cref="RelayControl" /> value compatibility-chart to better understand how changing this value
/// can affect compatibility between clients with different settings.
///
/// +------------------------------+---------------------+-------------------------------+---------------------+
/// </summary>
public enum RelayControl : int
{
/// <summary>
/// Peer connections will never attempt to use relay servers. Clients with restrictive NATs may not be able to connect to peers.
/// </summary>
NoRelays = 0,
/// <summary>
/// Peer connections will attempt to use relay servers, but only after direct connection attempts fail. This is the default value if not changed.
/// </summary>
AllowRelays = 1,
/// <summary>
/// Peer connections will only ever use relay servers. This will add latency to all connections, but will hide IP Addresses from peers.
/// </summary>
ForceRelays = 2
}
}