public void RequestPurchase(long itemSeq, Action <GamebaseError> callback)
        {
            if (adapter == null)
            {
                callback(new GamebaseError(GamebaseErrorCode.PURCHASE_UNKNOWN_ERROR, message: GamebaseStrings.PURCHASE_ADAPTER_NOT_FOUND));
                return;
            }

            adapter.RequestPurchase(itemSeq, callback);
        }
Beispiel #2
0
        public void RequestPurchase(long itemSeq, GamebaseCallback.GamebaseDelegate <GamebaseResponse.Purchase.PurchasableReceipt> callback)
        {
            if (adapter == null)
            {
                callback(null, new GamebaseError(GamebaseErrorCode.PURCHASE_UNKNOWN_ERROR, message: GamebaseStrings.PURCHASE_ADAPTER_NOT_FOUND));
                return;
            }

            adapter.RequestPurchase(itemSeq, callback);
        }