Navigation
Unreal Engine C++ API Reference > Plugins > AnalyticsBlueprintLibrary
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UAnalyticsBlueprintLibrary
References
Module | AnalyticsBlueprintLibrary |
Header | /Engine/Plugins/Runtime/Analytics/AnalyticsBlueprintLibrary/Source/AnalyticsBlueprintLibrary/Classes/AnalyticsBlueprintLibrary.h |
Include | #include "AnalyticsBlueprintLibrary.h" |
Syntax
UCLASS&40;Meta&61;&40;ScriptName&61;"AnalyticsLibrary"&41;&41;
class UAnalyticsBlueprintLibrary : public UBlueprintFunctionLibrary
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UAnalyticsBlueprintLibrary
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
void | EndSession () |
Ends an analytics session |
![]() ![]() ![]() ![]() |
void | FlushEvents () |
Requests that any cached events be sent immediately |
![]() ![]() ![]() ![]() |
FString | GetSessionId () |
Gets the current session id from the analytics provider |
![]() ![]() ![]() ![]() |
FString | GetUserId () |
Gets the current user id from the analytics provider |
![]() ![]() ![]() ![]() |
FAnalyticsEventAttr | MakeEventAttribute
(
const FString& AttributeName, |
Builds a struct from the attribute name and value |
![]() ![]() ![]() ![]() |
void | RecordCurrencyGiven
(
const FString& GameCurrencyType, |
Records an in-game currency was granted by the game with no real-world money being involved |
![]() ![]() ![]() ![]() |
void | RecordCurrencyGivenWithAttributes
(
const FString& GameCurrencyType, |
Records an in-game currency was granted by the game with no real-world money being involved |
![]() ![]() ![]() ![]() |
void | RecordCurrencyPurchase
(
const FString& GameCurrencyType, |
Records an in-game currency was purchased using real-world money |
![]() ![]() ![]() ![]() |
void | RecordError
(
const FString& Error |
Records an error event has happened |
![]() ![]() ![]() ![]() |
void | RecordErrorWithAttributes
(
const FString& Error, |
Records an error event has happened with attributes |
![]() ![]() ![]() ![]() |
void | RecordEvent
(
const FString& EventName |
Records an event has happened by name without any attributes (an event counter) |
![]() ![]() ![]() ![]() |
void | RecordEventWithAttribute
(
const FString& EventName, |
Records an event has happened by name with a single attribute |
![]() ![]() ![]() ![]() |
void | RecordEventWithAttributes
(
const FString& EventName, |
Records an event has happened by name with a single attribute |
![]() ![]() ![]() ![]() |
void | RecordItemPurchase
(
const FString& ItemId, |
Records an in-game item was purchased using the specified in-game currency |
![]() ![]() ![]() ![]() |
void | RecordProgress
(
const FString& ProgressType, |
Records a user progress event has happened |
![]() ![]() ![]() ![]() |
void | RecordProgressWithAttributes
(
const FString& ProgressType, |
Records a user progress event has happened with attributes |
![]() ![]() ![]() ![]() |
void | RecordProgressWithFullHierarchyAndAttributes
(
const FString& ProgressType, |
Records a user progress event has happened with a full list of progress hierarchy names and with attributes |
![]() ![]() ![]() ![]() |
void | RecordSimpleCurrencyPurchase
(
const FString& GameCurrencyType, |
Records an in-game currency was purchased using real-world money |
![]() ![]() ![]() ![]() |
void | RecordSimpleCurrencyPurchaseWithAttributes
(
const FString& GameCurrencyType, |
Records an in-game currency was purchased using real-world money |
![]() ![]() ![]() ![]() |
void | RecordSimpleItemPurchase
(
const FString& ItemId, |
Records an in-game item was purchased |
![]() ![]() ![]() ![]() |
void | RecordSimpleItemPurchaseWithAttributes
(
const FString& ItemId, |
Records an in-game item was purchased with attributes |
![]() ![]() ![]() ![]() |
void | SetAge
(
int32 Age |
Sets the user's age (if supported) on the analytics provider |
![]() ![]() ![]() ![]() |
void | SetBuildInfo
(
const FString& BuildInfo |
Sets the game's build info (if supported) on the analytics provider |
![]() ![]() ![]() ![]() |
void | Sets the user's gender (if supported) on the analytics provider | |
![]() ![]() ![]() ![]() |
void | SetLocation
(
const FString& Location |
Sets the user's location (if supported) on the analytics provider |
![]() ![]() ![]() ![]() |
void | SetSessionId
(
const FString& SessionId |
Sets the session id (if supported) on the analytics provider |
![]() ![]() ![]() ![]() |
void | Sets the user id (if supported) on the analytics provider | |
![]() ![]() ![]() ![]() |
bool | StartSession () |
Starts an analytics session without any custom attributes specified |
![]() ![]() ![]() ![]() |
bool | StartSessionWithAttributes
(
const TArray< FAnalyticsEventAttr >& Attributes |
Starts an analytics session with custom attributes specified |