private void profileChangeError(SetProfileOperation operation, HttpResponse response) { Service.Get <EventDispatcher>().DispatchEvent(default(PlayerStateServiceErrors.PlayerProfileChangeError)); }
public APICall <SetProfileOperation> SetProfile(Profile profile) { SetProfileOperation operation = new SetProfileOperation(profile); return(new APICall <SetProfileOperation>(clubPenguinClient, operation)); }
private void profileChangeComplete(SetProfileOperation operation, HttpResponse response) { SignedResponse <Profile> responseBody = operation.ResponseBody; clubPenguinClient.GameServer.SetProfile(responseBody); }