/// <summary> /// Conecta-se ao AuthServer /// </summary> public bool ConnectToAuthServer(AuthClient client) { AuthServer = client; AuthServer.OnDisconnect += OnAuthServerDisconnected; AuthServer.OnPacketReceived += AuthServer_OnPacketReceived; return(AuthServer.Connect()); }