class SceneNetworkSystem

in global :: Sandbox

This is created and referenced by the network system, as a way to route.


public void GetMountedVPKs( Connection source, ref MountedVPKsResponse msg )

A client has joined and wants to know what VPKs to preload.

public Task MountVPKs( Connection source, MountedVPKsResponse msg )

Asynchronously load and mount any VPKs from the provided server response.

public void GetSnapshot( Connection source, ref SnapshotMsg msg )

A client has joined and wants a snapshot of the world.

public Task SetSnapshotAsync( SnapshotMsg msg )

We have recieved a snapshot of the world.

public bool AcceptConnection( Connection channel, ref string reason )

Called on the host to decide whether to accept a . If any that implements this returns false, the connection will be denied.

  • reason The reason to display to the client.

public string ToString( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public void AddHandler( Action<T,Connection> handler )

😔 No documentation found.

public void AddHandler( Func<T,Connection,Guid,Task> handler )

😔 No documentation found.

public void AddHandler( Action<T,Connection,Guid> handler )

😔 No documentation found.

public void Send( Guid connectionId, T obj )

😔 No documentation found.

public void Broadcast( T obj, Nullable<Connection.Filter> filter = null )

😔 No documentation found.

public void BroadcastRaw( ByteStream msg, Nullable<Connection.Filter> filter = null )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public void OnHostChanged( Connection previousHost, Connection newHost )

😔 No documentation found.

public void OnLeave( Connection client )

😔 No documentation found.

public void OnJoined( Connection client )

😔 No documentation found.

public void OnInitialize( )

😔 No documentation found.

public void OnConnected( Connection client )

😔 No documentation found.

public void Dispose( )

😔 No documentation found.

public IDisposable Push( )

😔 No documentation found.

public void OnBecameHost( Connection previousHost )

😔 No documentation found.