Vixen
02b45cc4
csharp
public enum SessionTopology

What role a session is playing.

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

Remarks

Four names for three mechanisms, deliberately. Host and Offline are the same thing — a server with a client attached to it — and differ only in what the game means by it. That is the point rather than an embarrassment: single-player is a one-player multiplayer game, it runs the same session, replication and RPC code as a dedicated server, and there is no separate offline path to rot between releases.

Fields and properties (5)

  • None

    Not started.

  • Server

    Dedicated server: hosts, does not play.

  • Client

    Connects to somebody else's server.

  • Host

    Hosts and plays. One process, both halves, a loopback between them.

  • Offline

    A host nobody else can reach. Single player, told the truth about itself.

Used by (2)

  • NetworkSessionVixen.Net
  • SessionTestsVixen.Net.Tests