public void HandleCharacterSaveButton() { CharacterRequest characterRequest = characterScreen.GetCharacterCustomisationData(); if (string.IsNullOrEmpty(characterRequest.name)) { characterScreen.DisplayErrorMessage("Name cannot be empty!"); } loginManager.LoginServerClient.SaveCharacter(characterRequest, HandleCharacterCreateResponse); }