Vixen
02b45cc4
csharp
public interface ISessionMessageHandler

Where the payloads a session does not understand itself are handed.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The session owns the handshake, the clock and the player list, and nothing else. Everything the game sends — and, later, everything replication and RPC send — arrives here, addressed by player rather than by connection, and only from a peer that finished its handshake.

Methods (1)

  • void OnMessage(PlayerId from, Channel channel, ReadOnlySpan<byte> payload)

    A payload arrived from a peer that is in the session.

Used by (14)

  • GameClientMultiplayer
  • GameServerMultiplayer
  • PeerVoiceChat
  • RelayVoiceChat
  • HandshakeTargetVixen.Net.Fuzz
  • MessageRecorderVixen.Net.Tests
  • NetworkSessionVixen.Net
  • PayloadRecorderVixen.Net.Tests
  • SessionClientTargetVixen.Net.Fuzz
  • SessionHarnessVixen.Net.Tests
  • PayloadRecorderVixen.Live.Realm.Tests
  • RealmVixen.Live.Realm
  • RealmFixtureVixen.Live.Realm.Tests
  • RealmHostVixen.Live.Realm