TBasicNetAnalyticsData

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.

Windows
MacOS
Linux

Inheritance Hierarchy

FNetAnalyticsData

TDataStruct

TBasicNetAnalyticsData

FNetConnAnalyticsData

References

Module

NetCore

Header

/Engine/Source/Runtime/Net/Core/Public/Net/Core/Analytics/NetAnalytics.h

Include

#include "Net/Core/Analytics/NetAnalytics.h"

Syntax

template<class TDataStruct>
struct TBasicNetAnalyticsData :
    public FNetAnalyticsData,
    protected TDataStruct

Remarks

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.

Functions

Name Description

Public function

void

 

CommitAnalytics

(
    TDataStruct& AnalyticsVars
)

Called by the class/code which is locally collecting analytics data, to commit the local data for aggregation when done.

Public function

 

GENERATE_MEMBER_FUNCTION_CHECK

(
    CommitAnalytics,
    void,
    TDataStruct&
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss