Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Analytics/Analytics/Public/AnalyticsEventAttribute.h |
Include |
#include "AnalyticsEventAttribute.h" |
struct FAnalyticsEventAttribute
Struct to hold key/value pairs that will be sent as attributes along with analytics events. All values are actually strings, but we provide a convenient constructor that relies on ToStringForAnalytics() to convert common types.
Name | Description | |
---|---|---|
|
FAnalyticsEventAttribute() |
Default ctor since we declare a custom ctor. |
|
FAnalyticsEventAttribute ( |
Reinstate the default copy ctor because that one still works fine. |
|
FAnalyticsEventAttribute ( |
Hack to allow copy ctor using an rvalue-ref. |
|
FAnalyticsEventAttribute ( |
Name | Description | |
---|---|---|
|
~FAnalyticsEventAttribute() |
Name | Description | ||
---|---|---|---|
|
const FStrin... |
GetName() |
|
|
const FStrin... |
GetValue() |
|
|
IsJsonFragment() |
||
|
IsValidAttributeName ( |
||
|
SetValue ( |
Allow setting value for any type that supports LexToString |
Name | Description | ||
---|---|---|---|
|
FAnalyticsEv... |
operator= ( |
Hack to allow assignment. |
|
FAnalyticsEv... |
operator= ( |
Hack to allow assignment. |
Name |
Description |
|
---|---|---|
|
AttrTypeEnum |
Name | Description | ||
---|---|---|---|
|
const FString |
AttrName |
This property has been deprecated, use GetName() instead |
|
const AttrTypeE... |
AttrType |
This property has been deprecated, use IsJsonFragment or GetValue instead |
|
const bool |
AttrValueBool |
This property has been deprecated, use GetValue() instead. You cannot recover the original non-string value anymore |
|
const double |
AttrValueNumber |
This property has been deprecated, use GetValue() instead. You cannot recover the original non-string value anymore |
|
const FString |
AttrValueString |
This property has been deprecated, use GetValue() instead |
Name | Description | ||
---|---|---|---|
|
SwitchToJsonFragment() |
This property is used to support the deprecated APIs, construct Json values using FJsonFragment instead |
|
|
ToString() |
This property has been deprecated, use GetValue() instead |