Enum NetworkStreamProtocol
The message types sent by NetCode.
Namespace: Unity.NetCode
Syntax
public enum NetworkStreamProtocol
Fields
Name | Description | Value |
---|---|---|
Command | A packet that contains an input command. Sent always from client to server. |
0 |
Snapshot | The simulation snapshot. Sent from server to client |
1 |
Rpc | A message that contains a single RPC. Can be sent by both client and server |
2 |