UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MicroTransactionBase.h File Reference
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Engine/PlatformInterfaceBase.h"
#include "MicroTransactionBase.generated.h"

Go to the source code of this file.

Classes

struct  FPurchaseInfo
 
class  UMicroTransactionBase
 

Enumerations

enum  EMicroTransactionDelegate : int { MTD_PurchaseQueryComplete , MTD_PurchaseComplete , MTD_MAX }
 
enum  EMicroTransactionResult : int {
  MTR_Succeeded , MTR_Failed , MTR_Canceled , MTR_RestoredFromServer ,
  MTR_MAX
}
 

Enumeration Type Documentation

◆ EMicroTransactionDelegate

This is the base class for per-platform microtransaction support All the types of delegate callbacks that a MicroTransaction subclass may receive from C++.

Enumerator
MTD_PurchaseQueryComplete 

Data:None Desc:QueryForAvailablePurchases() is complete and AvailableProducts is ready for use.

MTD_PurchaseComplete 

Data:Result code, and identifier of the product that completed. Type:Custom Desc:IntValue will have one of the enums in EMicroTransactionResult, and StringValue will have the Identifier from the PurchaseInfo that was bought with BeginPurchase If MTR_Failed was returned, then LastError and LastErrorSolution should be filled out with the most recent localized and possible resolutions.

MTD_MAX 

◆ EMicroTransactionResult

Result of a purchase.

Enumerator
MTR_Succeeded 
MTR_Failed 
MTR_Canceled 
MTR_RestoredFromServer 
MTR_MAX