|
|
virtual void | BlockUntilFlushed (float InTimeoutSec)=0 |
| | Blocks execution in the thread until all events have been flushed to the network.
|
| |
| const FString & | GetAppID () const |
| | Method to get the AppID (APIKey) 更多...
|
| |
| const FString & | GetAppVersion () const |
| | Method to get the AppVersion 更多...
|
| |
|
virtual const FAnalyticsET::Config & | GetConfig () const =0 |
| | Return the current provider configuration.
|
| |
| virtual FAnalyticsEventAttribute | GetDefaultEventAttribute (int AttributeIndex) const =0 |
| | Used with GetDefaultEventAttributeCount to iterate over the default attributes. 更多...
|
| |
| virtual int32 | GetDefaultEventAttributeCount () const =0 |
| | Used with GetDefaultAttribute to iterate over the default attributes. 更多...
|
| |
| virtual TArray< FAnalyticsEventAttribute > | GetDefaultEventAttributesSafe () const =0 |
| |
| void | RecordEvent (const FString &EventName) |
| | Overload for RecordEvent that takes no parameters 更多...
|
| |
| void | RecordEvent (const FString &EventName, const FAnalyticsEventAttribute &Attribute) |
| | Overload for RecordEvent that takes a single attribute 更多...
|
| |
| void | RecordEvent (const FString &EventName, const FString &ParamName, const FString &ParamValue) |
| | Overload for RecordEvent that takes a single name/value pair 更多...
|
| |
| virtual void | RecordEvent (const FString &EventName, const TArray< FAnalyticsEventAttribute > &Attributes) override |
| | This class augments RecordEvent with a version that takes the EventName by rvalue reference to save a string copy. 更多...
|
| |
| virtual void | RecordEvent (const FString &EventName, const TArray< FAnalyticsEventAttribute > &Attributes)=0 |
| | Records a named event with an array of attributes 更多...
|
| |
| virtual void | RecordEvent (FString &&EventName, const TArray< FAnalyticsEventAttribute > &Attributes)=0 |
| | Primary RecordEvent API. 更多...
|
| |
| virtual void | SetAppID (FString &&AppID)=0 |
| | Special setter to set the AppID, something that is not normally allowed for third party analytics providers. 更多...
|
| |
| virtual void | SetAppVersion (FString &&AppVersion)=0 |
| | Sets the AppVersion. 更多...
|
| |
| virtual void | SetDefaultEventAttributes (TArray< FAnalyticsEventAttribute > &&Attributes)=0 |
| | Sets an array of attributes that will automatically be appended to any event that is sent. 更多...
|
| |
| virtual void | SetEventCallback (const OnEventRecorded &Callback)=0 |
| | Set a callback to be invoked any time an event is queued. 更多...
|
| |
|
virtual void | SetShouldRecordEventFunc (const ShouldRecordEventFunction &ShouldRecordEventFunc)=0 |
| | Set an event filter to dynamically control whether an event should be sent.
|
| |
|
virtual void | SetURLEndpoint (const FString &UrlEndpoint, const TArray< FString > &AltDomains)=0 |
| | Updates the default URL endpoint and AltDomains.
|
| |
| virtual bool | ShouldRecordEvent (const FString &EventName) const =0 |
| | Allows higher level code to abort logic to set up for a RecordEvent call by checking the filter that will be used to send the event first. 更多...
|
| |
| bool | StartSession () |
| | Starts a session. 更多...
|
| |
| bool | StartSession (const FAnalyticsEventAttribute &Attribute) |
| | Overload for StartSession that takes a single attribute 更多...
|
| |
| bool | StartSession (const FString &ParamName, const FString &ParamValue) |
| | Overload for StartSession that takes a single name/value pair 更多...
|
| |
| virtual bool | StartSession (const TArray< FAnalyticsEventAttribute > &Attributes) override |
| | This class augments StartSession with a version that takes the SessionID instead of always generating it. 更多...
|
| |
| virtual bool | StartSession (const TArray< FAnalyticsEventAttribute > &Attributes)=0 |
| | Starts a session. 更多...
|
| |
| virtual bool | StartSession (FString InSessionID, const TArray< FAnalyticsEventAttribute > &Attributes)=0 |
| | Primary StartSession API. 更多...
|
| |
| virtual void | EndSession ()=0 |
| | Ends the session. 更多...
|
| |
| virtual void | FlushEvents ()=0 |
| | Flush any cached events to the analytics provider. 更多...
|
| |
|
virtual FString | GetSessionID () const =0 |
| | Gets the opaque session identifier string for the provider.
|
| |
| virtual FString | GetUserID () const =0 |
| | Gset the current UserID. 更多...
|
| |
| virtual void | RecordCurrencyGiven (const FString &GameCurrencyType, int GameCurrencyAmount) |
| | Record a gift of in-game currency from the game itself. 更多...
|
| |
| virtual void | RecordCurrencyGiven (const FString &GameCurrencyType, int GameCurrencyAmount, const TArray< FAnalyticsEventAttribute > &EventAttrs) |
| | Record a gift of in-game currency from the game itself. 更多...
|
| |
| virtual void | RecordCurrencyPurchase (const FString &GameCurrencyType, int GameCurrencyAmount) |
| | Record an in-game purchase of a an item. 更多...
|
| |
| virtual void | RecordCurrencyPurchase (const FString &GameCurrencyType, int GameCurrencyAmount, const FString &RealCurrencyType, float RealMoneyCost, const FString &PaymentProvider) |
| | Record a purchase of in-game currency using real-world money. 更多...
|
| |
| virtual void | RecordCurrencyPurchase (const FString &GameCurrencyType, int GameCurrencyAmount, const TArray< FAnalyticsEventAttribute > &EventAttrs) |
| | Record a purchase of in-game currency using real-world money. 更多...
|
| |
| virtual void | RecordError (const FString &Error) |
| | Records an error that has happened in the game 更多...
|
| |
| virtual void | RecordError (const FString &Error, const TArray< FAnalyticsEventAttribute > &EventAttrs) |
| | Records an error that has happened in the game 更多...
|
| |
| void | RecordEvent (const FString &EventName) |
| | Overload for RecordEvent that takes no parameters 更多...
|
| |
| void | RecordEvent (const FString &EventName, const FAnalyticsEventAttribute &Attribute) |
| | Overload for RecordEvent that takes a single attribute 更多...
|
| |
| void | RecordEvent (const FString &EventName, const FString &ParamName, const FString &ParamValue) |
| | Overload for RecordEvent that takes a single name/value pair 更多...
|
| |
| virtual void | RecordEvent (const FString &EventName, const TArray< FAnalyticsEventAttribute > &Attributes)=0 |
| | Records a named event with an array of attributes 更多...
|
| |
| virtual void | RecordItemPurchase (const FString &ItemId, const FString &Currency, int PerItemCost, int ItemQuantity) |
| | Record an in-game purchase of a an item. 更多...
|
| |
| void | RecordItemPurchase (const FString &ItemId, int ItemQuantity) |
| | Record an in-game purchase of a an item. 更多...
|
| |
| virtual void | RecordItemPurchase (const FString &ItemId, int ItemQuantity, const TArray< FAnalyticsEventAttribute > &EventAttrs) |
| | Record an in-game purchase of a an item. 更多...
|
| |
| virtual void | RecordProgress (const FString &ProgressType, const FString &ProgressHierarchy) |
| | Record a player progression event that has happened in the game 更多...
|
| |
| virtual void | RecordProgress (const FString &ProgressType, const FString &ProgressHierarchy, const TArray< FAnalyticsEventAttribute > &EventAttrs) |
| | Record a player progression event that has happened in the game 更多...
|
| |
| virtual void | RecordProgress (const FString &ProgressType, const TArray< FString > &ProgressHierarchy, const TArray< FAnalyticsEventAttribute > &EventAttrs) |
| | Record a player progression event that has happened in the game 更多...
|
| |
|
virtual void | SetAge (const int32 InAge) |
| | Sets the location the game believes the user is playing in as part of the session
|
| |
|
virtual void | SetBuildInfo (const FString &InBuildInfo) |
| | Sets a user defined string as the build information/version for the session
|
| |
|
virtual void | SetGender (const FString &InGender) |
| | Sets the gender the game believes the user is as part of the session
|
| |
|
virtual void | SetLocation (const FString &InLocation) |
| | Sets the location the game believes the user is playing in as part of the session
|
| |
| virtual bool | SetSessionID (const FString &InSessionID)=0 |
| | Sets the session ID of the analytics session. 更多...
|
| |
| virtual void | SetUserID (const FString &InUserID)=0 |
| | Set the UserID for use with analytics. 更多...
|
| |
| bool | StartSession () |
| | Starts a session. 更多...
|
| |
| bool | StartSession (const FAnalyticsEventAttribute &Attribute) |
| | Overload for StartSession that takes a single attribute 更多...
|
| |
| bool | StartSession (const FString &ParamName, const FString &ParamValue) |
| | Overload for StartSession that takes a single name/value pair 更多...
|
| |
| virtual bool | StartSession (const TArray< FAnalyticsEventAttribute > &Attributes)=0 |
| | Starts a session. 更多...
|
| |
ET specific analytics provider instance.
Exposes additional APIs to support Json-based events, default attributes, and allowing events to be disabled (generally via hotfixing).