#include <LootLockerPurchasesRequestHandler.h>
|
| FLootLockerAsyncPurchasePollingMulticastDelegate | OnPending |
| | Triggered on each poll while the purchase is still pending.
|
| |
| FLootLockerAsyncPurchasePollingMulticastDelegate | OnActive |
| | Triggered when the purchase has completed successfully (status = Active)
|
| |
| FLootLockerAsyncPurchasePollingMulticastDelegate | OnFailed |
| | Triggered when the purchase has failed (status = Failed)
|
| |
| FLootLockerAsyncPurchasePollingMulticastDelegate | OnTimedOut |
| | Triggered if the process times out.
|
| |
| FLootLockerAsyncPurchasePollingMulticastDelegate | OnCancelled |
| | Triggered if the process was cancelled using CancelAsyncPurchasePolling.
|
| |
◆ Activate()
| virtual void ULootLockerAsyncPollAsyncPurchase::Activate |
( |
| ) |
|
|
overridevirtual |
◆ AsyncPollAsyncPurchase()
Initiate an async purchase and automatically poll until it reaches a terminal state.
While pending, OnPending is triggered each poll. On completion, OnActive or OnFailed is triggered.
- Parameters
-
| WorldContextObject | Non input: Automatic context for async node |
| ForPlayerWithUlid | Optional: Execute for the player with this ulid. Leave empty for the default player. |
| WalletId | The id of the wallet to use for the purchase |
| Items | The catalog items with quantities to purchase |
| PollingIntervalSeconds | Optional: How often to poll in seconds (minimum 1) |
| TimeoutAfterMinutes | Optional: How many minutes before the process times out |
◆ ForPlayerWithUlid
| FString ULootLockerAsyncPollAsyncPurchase::ForPlayerWithUlid = "" |
|
protected |
◆ Items
◆ OnActive
| FLootLockerAsyncPurchasePollingMulticastDelegate ULootLockerAsyncPollAsyncPurchase::OnActive |
Triggered when the purchase has completed successfully (status = Active)
◆ OnCancelled
| FLootLockerAsyncPurchasePollingMulticastDelegate ULootLockerAsyncPollAsyncPurchase::OnCancelled |
Triggered if the process was cancelled using CancelAsyncPurchasePolling.
◆ OnFailed
| FLootLockerAsyncPurchasePollingMulticastDelegate ULootLockerAsyncPollAsyncPurchase::OnFailed |
Triggered when the purchase has failed (status = Failed)
◆ OnPending
| FLootLockerAsyncPurchasePollingMulticastDelegate ULootLockerAsyncPollAsyncPurchase::OnPending |
Triggered on each poll while the purchase is still pending.
◆ OnTimedOut
| FLootLockerAsyncPurchasePollingMulticastDelegate ULootLockerAsyncPollAsyncPurchase::OnTimedOut |
Triggered if the process times out.
◆ PollingIntervalInSeconds
| float ULootLockerAsyncPollAsyncPurchase::PollingIntervalInSeconds = 1.0f |
|
protected |
◆ ProcessID
| FString ULootLockerAsyncPollAsyncPurchase::ProcessID = "" |
|
protected |
◆ TimeoutAfterMinutes
| float ULootLockerAsyncPollAsyncPurchase::TimeoutAfterMinutes = 5.0f |
|
protected |
◆ WalletId
| FString ULootLockerAsyncPollAsyncPurchase::WalletId = "" |
|
protected |