private void checkRestoreError(CheckRestoreOperation operation, HttpResponse httpResponse)
 {
     Service.Get <EventDispatcher>().DispatchEvent(default(IAPServiceErrors.CheckRestoreError));
 }
Esempio n. 2
0
    public APICall <CheckRestoreOperation> CheckRestore(PurchaseRequest purchase)
    {
        CheckRestoreOperation operation = new CheckRestoreOperation(purchase);

        return(new APICall <CheckRestoreOperation>(clubPenguinClient, operation));
    }
    private void checkRestoreReturned(CheckRestoreOperation operation, HttpResponse httpResponse)
    {
        PurchaseResponse purchaseResponse = operation.PurchaseResponse;

        Service.Get <EventDispatcher>().DispatchEvent(new IAPServiceEvents.CheckRestoreReturned(purchaseResponse));
    }