Struct to hold key/value pairs that will be sent as attributes along with analytics events. 更多...
#include <AnalyticsEventAttribute.h>
Public 成员函数 | |
| FAnalyticsEventAttribute () | |
| Default ctor since we declare a custom ctor. | |
| FAnalyticsEventAttribute (const FAnalyticsEventAttribute &RHS) | |
| Reinstate the default copy ctor because that one still works fine. | |
| FAnalyticsEventAttribute (FAnalyticsEventAttribute &&RHS) | |
| Hack to allow copy ctor using an rvalue-ref. 更多... | |
| FAnalyticsEventAttribute & | operator= (const FAnalyticsEventAttribute &RHS) |
| Hack to allow assignment. 更多... | |
| FAnalyticsEventAttribute & | operator= (FAnalyticsEventAttribute &&RHS) |
| Hack to allow assignment. 更多... | |
| template<typename ValueType > | |
| void | SetValue (ValueType &&InValue) |
| Allow setting value for any type that supports LexToString | |
| void | SwitchToJsonFragment () |
| Legacy support for old RecordEventJson API. 更多... | |
| FString | ToString () const |
| If you need the old AttrValue behavior (i.e. 更多... | |
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.
|
inline |
Hack to allow copy ctor using an rvalue-ref.
This class only "sort of" acts like an immutable class because the const members prevents assignment, which was not intended when this code was changed.
|
inline |
Hack to allow assignment.
This class only "sort of" acts like an immutable class because the const members prevents assignment, which was not intended when this code was changed.
|
inline |
Hack to allow assignment.
This class only "sort of" acts like an immutable class because the const members prevents assignment, which was not intended when this code was changed.
|
inline |
Legacy support for old RecordEventJson API.
Don't call this directly.
|
inline |
If you need the old AttrValue behavior (i.e.
stringify everything), call this function instead.