Summary

A Component with this interface can react to network events.

Methods

AcceptConnection Called on the host to decide whether to accept a Sandbox.Connection. If any Sandbox.Component that implements this returns false, the connection will be denied.
OnActive Called when someone is all loaded and entered the game. This will only be called for the host.
OnBecameHost Called when the host of the game has left - and you are now the new host.
OnConnected Called when someone joins the server. This will only be called for the host.
OnDisconnected Called when someone leaves the server. This will only be called for the host.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.