Skip to main content

Client Metric API Reference

INTERNAL USE ONLY. This module is for internal use only, you should not use it in game.

API List

APIDescription
ReportMetricReport a metric event
FlushFlush 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:

ParamTypeDescription
MetricNameconst FString&An unique name for reported event
Dataconst 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