public override void Connected(BoltConnection c) { c.UserData = new Player(); c.GetPlayer().connection = c; c.GetPlayer().name = "CLIENT:" + c.RemoteEndPoint.Port; c.SetStreamBandwidth(1024 * 1024); }
public override void Connected(BoltConnection connection) { BoltLog.Warn("Connected"); connection.UserData = new Player(); connection.GetPlayer().connection = connection; connection.GetPlayer().name = "CLIENT:" + connection.RemoteEndPoint.Port; connection.SetStreamBandwidth(1024 * 1024); }
public override void SceneLoadRemoteDone(BoltConnection connection) { connection.GetPlayer().InstantiateEntity(); }