private void migrationError(MigrateLegacyAccountOperation operation, HttpResponse httpResponse)
 {
     Service.Get <EventDispatcher>().DispatchEvent(default(PlayerStateServiceErrors.LegacyAccountMigrationError));
 }
Exemplo n.º 2
0
    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));
    }