forked from CitiesSkylinesMultiplayer/CSM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ClientStatus.cs
32 lines (29 loc) · 881 Bytes
/
ClientStatus.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
namespace CSM.GS
{
/// <summary>
/// Different client connection states
/// </summary>
public enum ClientStatus
{
/// <summary>
/// The client is not connected to a server
/// and will not process any network events.
/// </summary>
Disconnected,
/// <summary>
/// Before starting to actually connect, the global server
/// is queried and NAT punchthrough is attempted.
/// </summary>
PreConnecting,
/// <summary>
/// The client is trying to connect to the server, this phase
/// can take up to 30 seconds.
/// </summary>
Connecting,
/// <summary>
/// The client is connected to the server and is
/// transmitting information.
/// </summary>
Connected
}
}