Choose your operating system:
Windows
macOS
Linux
| FNetAnalyticsData | ||||||
| TDataStruct
|
Module |
|
Header |
/Engine/Source/Runtime/Net/Core/Public/Net/Core/Analytics/NetAnalytics.h |
Include |
#include "Net/Core/Analytics/NetAnalytics.h" |
template<class TDataStruct>
struct TBasicNetAnalyticsData :
public FNetAnalyticsData,
protected TDataStruct
Basic single-threaded-only (i.e. good for NetConnection level code) analytics data holder, which just wraps around a simple struct, which defines the analytics variables and implements their aggregation.
The passed in struct will have to implement a CommitAnalytics function, which implements aggregation of the struct data, and the class which references this net analytics data will have to trigger this classes CommitAnalytics on the locally stored struct, when finished collecting local analytics data.
Name | Description | ||
---|---|---|---|
|
CommitAnalytics ( |
Called by the class/code which is locally collecting analytics data, to commit the local data for aggregation when done. |
Name |
Description |
|
---|---|---|
|
THasMemberFunction_CommitAnalytics |