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