예제 #1
0
        private void HandleAuthenticateResponse(string response, bool success)
        {
            if (success)
            {
                loginManager.StoreToken(AuthenticationResponse.CreateFromJSON(response).token);
                loginScreen.ClearErrors();
                ShowCharacterScreen();
                return;
            }

            loginScreen.DisplayErrorMessage(MessageResponse.CreateFromJSON(response).message);
        }