Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Analytics/Analytics/Public/Interfaces/IAnalyticsProvider.h |
Include |
#include "Interfaces/IAnalyticsProvider.h" |
Record a purchase of in-game currency using real-world money.
that not all providers support currency events. In this case this method is equivalent to sending a regular event with name "Currency Purchase".
Parameter |
Description |
---|---|
GameCurrencyType |
type of in game currency purchased, should be registered with the provider first. |
GameCurrencyAmount |
amount of in game currency purchased. |
RealCurrencyType |
real-world currency type (like a 3-character ISO 4217 currency code, but provider dependent). |
RealMoneyCost |
cost of the currency in real world money, expressed in RealCurrencyType units. |
PaymentProvider |
Provider who brokered the transaction. Generally arbitrary, but examples are PayPal, Facebook Credits, App Store, etc. |