Navigation
API > API/Runtime > API/Runtime/Analytics > API/Runtime/Analytics/IAnalyticsProvider
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void RecordCurrencyGiven
(
const FString& GameCurrencyType, |
Record a gift of in-game currency from the game itself. | Interfaces/IAnalyticsProvider.h | |
virtual void RecordCurrencyGiven
(
const FString& GameCurrencyType, |
Record a gift of in-game currency from the game itself. | Interfaces/IAnalyticsProvider.h |
RecordCurrencyGiven(const FString &, int)
Description
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".
| Name | RecordCurrencyGiven |
| Type | function |
| Header File | /Engine/Source/Runtime/Analytics/Analytics/Public/Interfaces/IAnalyticsProvider.h |
| Include Path | #include "Interfaces/IAnalyticsProvider.h" |
virtual void RecordCurrencyGiven
(
const FString & GameCurrencyType,
int GameCurrencyAmount
)
Parameters
| Name | Remarks |
|---|---|
| GameCurrencyType | type of in game currency given, should be registered with the provider first. |
| GameCurrencyAmount | amount of in game currency given. |
RecordCurrencyGiven(const FString &, int, const TArray< FAnalyticsEventAttribute > &)
Description
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".
| Name | RecordCurrencyGiven |
| Type | function |
| Header File | /Engine/Source/Runtime/Analytics/Analytics/Public/Interfaces/IAnalyticsProvider.h |
| Include Path | #include "Interfaces/IAnalyticsProvider.h" |
virtual void RecordCurrencyGiven
(
const FString & GameCurrencyType,
int GameCurrencyAmount,
const TArray < FAnalyticsEventAttribute > & EventAttrs
)
Parameters
| Name | Remarks |
|---|---|
| GameCurrencyType | type of in game currency given, should be registered with the provider first. |
| GameCurrencyAmount | amount of in game currency given. |
| EventAttrs | a list of key/value pairs to assign to this event |