Enum NetworkEvent.Type
The different types of events that can be returned for a connection.
Namespace: Unity.Networking.Transport
Syntax
public enum Type : short
Fields
| Name | Description | Value |
|---|---|---|
| Empty | No event actually occured. Should be ignored. |
0 |
| Data | Data was received on the connection. |
1 |
| Connect | The connection is now established. |
2 |
| Disconnect | The connection is now closed. |
3 |