Enum NetworkStreamProtocol
The message types sent by NetCode.
Namespace: Unity.Netcode
Assembly: Unity.NetCode.dll
Syntax
[MovedFrom(true, "Unity.NetCode", null, null)]
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 |