csharp
public enum SessionTopologyWhat 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)
NoneNot started.
ServerDedicated server: hosts, does not play.
ClientConnects to somebody else's server.
HostHosts and plays. One process, both halves, a loopback between them.
OfflineA host nobody else can reach. Single player, told the truth about itself.
Used by (2)
- NetworkSessionVixen.Net
- SessionTestsVixen.Net.Tests