unreal.InAppPurchaseRestoreCallbackProxy¶
- class unreal.InAppPurchaseRestoreCallbackProxy(outer=None, name='None')¶
Bases:
unreal.ObjectIn App Purchase Restore Callback Proxy
C++ Source:
Plugin: OnlineSubsystemUtils
Module: OnlineSubsystemUtils
File: InAppPurchaseRestoreCallbackProxy.h
Editor Properties: (see get_editor_property/set_editor_property)
on_failure(InAppPurchaseRestoreResult): [Read-Write] On Failure: Called when there is an unsuccessful In-App Purchase transactionon_success(InAppPurchaseRestoreResult): [Read-Write] On Success: Called when there is a successful In-App Purchase transaction
- classmethod create_proxy_object_for_in_app_purchase_restore(consumable_product_flags, player_controller) InAppPurchaseRestoreCallbackProxy¶
Kicks off a transaction for the provided product identifier
- Parameters
consumable_product_flags (Array(InAppPurchaseProductRequest)) –
player_controller (PlayerController) –
- Return type
- property on_failure¶
[Read-Write] On Failure: Called when there is an unsuccessful In-App Purchase transaction
- Type
- property on_success¶
[Read-Write] On Success: Called when there is a successful In-App Purchase transaction
- Type