class
SceneNetworkSystem
public class SceneNetworkSystem : GameNetworkSystem This is created and referenced by the network system, as a way to route.
Methods
virtual Void GetMountedVPKs(Connection source, MountedVPKsResponse msg) A client has joined and wants to know what VPKs to preload.
virtual Task MountVPKs(Connection source, MountedVPKsResponse msg) Asynchronously load and mount any VPKs from the provided server response.
virtual Void GetSnapshot(Connection source, SnapshotMsg msg) A client has joined and wants a snapshot of the world.
virtual Void Dispose() virtual Task SetSnapshotAsync(SnapshotMsg msg) We have received a snapshot of the world.
virtual Boolean AcceptConnection(Connection channel, String reason) Called on the host to decide whether to accept a Connection. If any Component that implements this returns false, the connection will be denied.
channel reason — The reason to display to the client. virtual Void OnConnected(Connection client) virtual Void OnInitialize() virtual Void OnJoined(Connection client) virtual Void OnLeave(Connection client) virtual Void OnHostChanged(Connection previousHost, Connection newHost) virtual Void OnBecameHost(Connection previousHost) virtual IDisposable Push()