engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FNetAnalyticsAggregator类 参考

Central object (usually within NetDriver) which handles registration/retrieval/type-checking of net analytics data holders. 更多...

#include <NetAnalytics.h>

Public 成员函数

 FNetAnalyticsAggregator (TSharedPtr< IAnalyticsProvider > InProvider, FName InNetDriverName)
 Base constructor
 
const TSharedPtr< IAnalyticsProvider > & GetAnalyticsProvider ()
 Accessor for AnalyticsProvider
 
void Init ()
 Initialize the net analytics aggregator
 
void InitConfig ()
 Initialize the net analytics aggregator config - must support hotfixing
 
TNetAnalyticsDataPtr RegisterAnalyticsData_Internal (TNetAnalyticsDataRef<> InData, const FName &InDataName, FString InTypeName)
 Use REGISTER_NET_ANALYTICS instead. 更多...
 
void SendAnalytics ()
 Tells the analytics data holders to finish aggregating their analytics data, and to dispatch it. 更多...
 

详细描述

Central object (usually within NetDriver) which handles registration/retrieval/type-checking of net analytics data holders.

成员函数说明

◆ RegisterAnalyticsData_Internal()

TNetAnalyticsDataPtr FNetAnalyticsAggregator::RegisterAnalyticsData_Internal ( TNetAnalyticsDataRef<>  InData,
const FName &  InDataName,
FString  InTypeName 
)

Use REGISTER_NET_ANALYTICS instead.

Internal function, which registers a net analytics data holder, with an associated key name, and does type checking to ensure there have been no mixups with the data holder type.

NOTE: May return nullptr! Analytics can be selectively enabled/disabled, based on the specified analytics data name.

参数
InDataThe analytics data shared reference to be registered
InDataNameThe name given for referencing the analytics data
InTypeNameCompile-time derived type name for the analytics data - for type checking
返回
Returns the newly added analytics data shared reference

◆ SendAnalytics()

void FNetAnalyticsAggregator::SendAnalytics ( )

Tells the analytics data holders to finish aggregating their analytics data, and to dispatch it.

Only called once, at NetDriver shutdown.


该类的文档由以下文件生成: