Summary

An instance of this is created by the NetworkSystem when a server is joined, or created. You should not try to create this manually.

Methods

AcceptConnection
AddHandler
Broadcast
BroadcastRaw
Dispose
GetMountedVPKs
GetSnapshot
MountVPKs
OnBecameHost
OnConnected
OnHostChanged
OnInitialize Called when the network system should handle initialization.
OnJoined
OnLeave
Push Allows to push some kind of scope when reading network messages. This is useful if you need to adjust Time.Now etc.
Send
SetSnapshotAsync

Static Properties

IsActive True if we're currently connected etc
IsClient True if we're connected to a server and not the host.
IsConnecting True if we're currently connecting to the server
IsHost True if we can be considered the host of this session. Either we're not connected to a server, or we are and we are the host.

Static Methods

Connect
CreateLobby
Disconnect
QueryLobbies
TryConnectSteamId
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.