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.
56 lines
1.5 KiB
56 lines
1.5 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>
|
|
/// Reasons why a P2P connection was closed
|
|
/// </summary>
|
|
public enum ConnectionClosedReason : int
|
|
{
|
|
/// <summary>
|
|
/// The connection was closed for unknown reasons
|
|
/// </summary>
|
|
Unknown = 0,
|
|
/// <summary>
|
|
/// The connection was gracefully closed by the local user
|
|
/// </summary>
|
|
ClosedByLocalUser = 1,
|
|
/// <summary>
|
|
/// The connection was gracefully closed by the remote user
|
|
/// </summary>
|
|
ClosedByPeer = 2,
|
|
/// <summary>
|
|
/// The connection timed out
|
|
/// </summary>
|
|
TimedOut = 3,
|
|
/// <summary>
|
|
/// The connection could not be created due to too many other connections
|
|
/// </summary>
|
|
TooManyConnections = 4,
|
|
/// <summary>
|
|
/// The remote user sent an invalid message
|
|
/// </summary>
|
|
InvalidMessage = 5,
|
|
/// <summary>
|
|
/// The remote user sent us invalid data
|
|
/// </summary>
|
|
InvalidData = 6,
|
|
/// <summary>
|
|
/// We failed to establish a connection with the remote user
|
|
/// </summary>
|
|
ConnectionFailed = 7,
|
|
/// <summary>
|
|
/// The connection was unexpectedly closed
|
|
/// </summary>
|
|
ConnectionClosed = 8,
|
|
/// <summary>
|
|
/// We failed to negotiate a connection with the remote user
|
|
/// </summary>
|
|
NegotiationFailed = 9,
|
|
/// <summary>
|
|
/// There was an unexpected error and the connection cannot continue
|
|
/// </summary>
|
|
UnexpectedError = 10
|
|
}
|
|
}
|