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.
| 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.
| InData | The analytics data shared reference to be registered |
| InDataName | The name given for referencing the analytics data |
| InTypeName | Compile-time derived type name for the analytics data - for type checking |
| void FNetAnalyticsAggregator::SendAnalytics | ( | ) |
Tells the analytics data holders to finish aggregating their analytics data, and to dispatch it.
Only called once, at NetDriver shutdown.