csharp
public enum PayloadKindWhat a payload above the session is.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The session carries opaque bytes and does not care what is in them. Three things want to put bytes there — replication, remote calls, and whatever the game itself sends — and without a byte saying which, a receiver would have to guess. One byte, at the front, and each of the three keeps its own decoder.
Fields and properties (6)
GameThe game's own. Nothing in the engine reads it.
ReplicationA replication snapshot.
RpcA remote call.
BroadcastA typed message about nothing in particular.
InputA client's inputs for a run of ticks, which is what prediction rests on.
LastThe largest kind there is. Anything above it did not come from this engine.
Used by (7)
- GameClientMultiplayer
- GameServerMultiplayer
- NetworkPayloadVixen.Net
- PayloadRecorderVixen.Net.Tests
- PredictedInputTestsVixen.Net.Tests
- RpcOverSessionTestsVixen.Net.Tests
- SessionRpcTransportVixen.Net