Navigation
Unreal Engine C++ API Reference > Runtime > Analytics > Interfaces > IAnalyticsProvider > RecordCurrencyGiven
References
Module | Analytics |
Header | /Engine/Source/Runtime/Analytics/Analytics/Public/Interfaces/IAnalyticsProvider.h |
Include | #include "Interfaces/IAnalyticsProvider.h" |
virtual void RecordCurrencyGiven
&40;
const FString & GameCurrencyType,
int GameCurrencyAmount
&41;
Remarks
Record a gift of in-game currency from the game itself.
Note that not all providers support currency events. In this case this method is equivalent to sending a regular event with name "Currency Given".
Parameters
Name | Description |
---|---|
GameCurrencyType | type of in game currency given, should be registered with the provider first. |
GameCurrencyAmount | amount of in game currency given. |