Vixen
02b45cc4
csharp
public record class SessionOptions

How a session behaves.

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

Fields and properties (10)

  • public uint ProtocolVersion

    The version of the wire protocol and of the game's own messages. A client whose number differs is refused at the handshake with ProtocolMismatch rather than being allowed in to misinterpret packets.

  • public ulong ContentHash

    A hash of the content build both sides are running.

  • public int MaxPlayers

    The most players allowed at once. Reconnecting players still hold their slot.

  • public TickRate TickRate

    How often the simulation ticks.

  • public TimeSpan ReconnectWindow

    How long a dropped player's slot, entities and id are held for them.

  • public TimeSpan AuthenticationTimeout

    How long an authenticator may take before the connection is refused.

  • public TimeSpan PingInterval

    How often each side measures the round trip.

  • public TimeSpan Timeout

    How long silence from a peer lasts before the connection is treated as gone.

  • public byte[] AuthenticationPayload

    What a client sends to be let in. Opaque to the session.

  • public int MaxAuthenticationPayloadBytes

    The most bytes a client's authentication payload may be.

Used by (12)

  • GameClientMultiplayer
  • GameServerMultiplayer
  • LocalMatchMultiplayer
  • HandshakeTargetVixen.Net.Fuzz
  • NetworkMetricsTestsVixen.Net.Tests
  • NetworkSessionVixen.Net
  • SessionHarnessVixen.Net.Tests
  • SessionTestsVixen.Net.Tests
  • RealmVixen.Live.Realm
  • RealmVixen.Live.Realm.Tests
  • RealmClusterTestsVixen.Live.Realm.Cluster.Tests
  • RealmFixtureVixen.Live.Realm.Tests