public LoginService(string loginIp, short loginPort, string authKey, GsInfo gsInfo) { _loginIp = loginIp; _loginPort = loginPort; _authKey = authKey; _gsInfo = gsInfo; }
public void RegisterGs(GsInfo gsInfo) { ConnectedServers.Add(_authedClient, gsInfo); Log.Info("Server [{0}] has been available", gsInfo.ServerName); _authedClient = null; }