Client Metric API Reference
INTERNAL USE ONLY. This module is for internal use only, you should not use it in game.
API List
| API | Description |
|---|---|
| ReportMetric | Report a metric event |
| Flush | Flush all metric data in queue |
API Details
ReportMetric
Report a metric event
/**
* Report a metric event
*
* @param MetricName An unique name for reported event
* @param Data Key-value pairs that store the metric data
*/
void ReportMetric(
const FString& MetricName,
const TMap<FString, FPgosKVDataValue>& Data) const;
Parameters:
| Param | Type | Description |
|---|---|---|
| MetricName | const FString& | An unique name for reported event |
| Data | const TMap<FString, FPgosKVDataValue>& | Key-value pairs that store the metric data |
Return: void
Flush
Flush all metric data in queue
/**
* Flush all metric data in queue
*/
void Flush() const;
Parameters:
(No parameters)
Return: void