// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.P2P
{
///
/// Setting for controlling whether relay servers are used.
///
/// Please see the following value compatibility-chart to better understand how changing this value
/// can affect compatibility between clients with different settings.
///
/// +------------------------------+---------------------+-------------------------------+---------------------+
///
public enum RelayControl : int
{
///
/// Peer connections will never attempt to use relay servers. Clients with restrictive NATs may not be able to connect to peers.
///
NoRelays = 0,
///
/// Peer connections will attempt to use relay servers, but only after direct connection attempts fail. This is the default value if not changed.
///
AllowRelays = 1,
///
/// Peer connections will only ever use relay servers. This will add latency to all connections, but will hide IP Addresses from peers.
///
ForceRelays = 2
}
}