private void migrationError(MigrateLegacyAccountOperation operation, HttpResponse httpResponse) { Service.Get <EventDispatcher>().DispatchEvent(default(PlayerStateServiceErrors.LegacyAccountMigrationError)); }
public APICall <MigrateLegacyAccountOperation> MigrateLegacyAccount(CPIDCredentials cpidCreds) { MigrateLegacyAccountOperation operation = new MigrateLegacyAccountOperation(cpidCreds); return(new APICall <MigrateLegacyAccountOperation>(clubPenguinClient, operation)); }
private void migrationSuccessful(MigrateLegacyAccountOperation operation, HttpResponse response) { MigrationData responseBody = operation.ResponseBody; Service.Get <EventDispatcher>().DispatchEvent(new PlayerStateServiceEvents.MigrationDataRecieved(responseBody)); }