This repository has been archived on 2023-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
station_obscurum_unity/Assets/FishNet/Runtime/Transporting/ConnectionStates.cs

43 lines
970 B
C#
Raw Normal View History

2023-05-31 17:32:21 +02:00
namespace FishNet.Transporting
{
/// <summary>
/// States the local connection can be in.
/// </summary>
public enum LocalConnectionState : byte
{
/// <summary>
/// Connection is fully stopped.
/// </summary>
Stopped = 0,
/// <summary>
/// Connection is starting but not yet established.
/// </summary>
Starting = 1,
/// <summary>
/// Connection is established.
/// </summary>
Started = 2,
/// <summary>
/// Connection is stopping.
/// </summary>
Stopping = 3
}
/// <summary>
/// States a remote client can be in.
/// </summary>
public enum RemoteConnectionState : byte
{
/// <summary>
/// Connection is fully stopped.
/// </summary>
Stopped = 0,
/// <summary>
/// Connection is established.
/// </summary>
Started = 2,
}
}