Vixen
02b45cc4
csharp
public enum PayloadKind

What 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)

  • Game

    The game's own. Nothing in the engine reads it.

  • Replication

    A replication snapshot.

  • Rpc

    A remote call.

  • Broadcast

    A typed message about nothing in particular.

  • Input

    A client's inputs for a run of ticks, which is what prediction rests on.

  • Last

    The 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