Enum NetworkEvent
Represents a netEvent when polling
Namespace: Unity.Netcode
Syntax
public enum NetworkEvent
Fields
Name | Description | Value |
---|---|---|
Data | New data is received |
0 |
Connect | A client is connected, or client connected to server |
1 |
Disconnect | A client disconnected, or client disconnected from server |
2 |
TransportFailure | Transport has encountered an unrecoverable failure |
3 |
Nothing | No new event |
4 |