Skip to content

MicroTransactionBase

Class in Engine · Engine.MicroTransactionBase · native

Object › PlatformInterfaceBase › MicroTransactionBase

Using it from Lua
h7.find_all("MicroTransactionBase")            -- live instances
h7.find_class("Engine.MicroTransactionBase")   -- the class
h7.hook("Engine.MicroTransactionBase.BeginPurchase", fn)

Enums

EMicroTransactionDelegate

MTD_PurchaseQueryComplete = 0, MTD_PurchaseComplete = 1

EMicroTransactionResult

MTR_Succeeded = 0, MTR_Failed = 1, MTR_Canceled = 2, MTR_RestoredFromServer = 3

Structs

PurchaseInfo

FieldType
Identifierstring
DisplayNamestring
DisplayDescriptionstring
DisplayPricestring
CurrencyTypestring

Properties

NameTypeNotes
AvailableProductsarray<PurchaseInfo>
LastErrorstring
LastErrorSolutionstring

Functions

NameDeclaration
BeginPurchasenative event bool BeginPurchase(int Index)
GetProductIndexnative event int GetProductIndex(string Identifier)
Initnative event Init()
IsAllowedToMakePurchasesnative event bool IsAllowedToMakePurchases()
QueryForAvailablePurchasesnative event bool QueryForAvailablePurchases()

Inherited

FromMembers
PlatformInterfaceBase1 properties, 14 functions
Object13 properties, 308 functions