Exemple #1
0
 private void OnLoginValidated(LoginValidatedPacket loginSuccessPacket)
 {
     Debug.Log("Login request has been validated on the Login Server: " + loginSuccessPacket.SessionKey);
     LoginServer.Disconnect();
     _cachedLoginSuccessPacket = loginSuccessPacket;
     OnLoginServerValidated?.Invoke(loginSuccessPacket);
     _clientLogic.Connect(ClientLogic.IP, ClientLogic.GAME_SERVER_PORT);
 }
 public void OnLoginValidated(LoginValidatedPacket loginSuccessPacket)
 {
     _cachedLoginSuccessPacket = loginSuccessPacket;
 }