class
FTelemetry
FTelemetry — the analytics events a game records (FAnalytics::RecordEvent and Record here), stamped with time, session, user and the A/B variants in force, appended to a local journal and sent in batches. Nothing is recorded at all unless the player opted in (FAnalytics' switch), and a batch that fails to send stays queued for the next flush instead of being lost.
- Module
- Game
- Header
#include "LiveOps/Telemetry.h"- Namespace
Mowo
Standard events: session_start (build, platform) when started, session_end (seconds) on Stop, experiment_exposure the first time a variant is read.
Public functions
| Returns | Name | Description |
|---|---|---|
FTelemetry& | Get | |
void | Start | Installs the FAnalytics sink and records session_start. |
void | Stop | |
bool | IsRunning | |
void | Record | |
bool | Flush | Sends what is queued; false when the endpoint refused or was unreachable (the events stay queued). |
const std::string& | GetSessionId | |
uint32_t | GetQueuedCount | |
uint64_t | GetRecordedCount | |
uint64_t | GetSentCount |
Function details
Get
C++
static FTelemetry& Get()Start
C++
void Start(const FTelemetrySettings& settings, bool force = false)Installs the FAnalytics sink and records session_start. force records even without the player's opt-in (tools and tests).
Stop
C++
void Stop()IsRunning
C++
bool IsRunning() constRecord
C++
void Record(const std::string& name, const std::string& jsonPayload = "")Flush
C++
bool Flush()Sends what is queued; false when the endpoint refused or was unreachable (the events stay queued).
GetSessionId
C++
const std::string& GetSessionId() constGetQueuedCount
C++
uint32_t GetQueuedCount() constGetRecordedCount
C++
uint64_t GetRecordedCount() constGetSentCount
C++
uint64_t GetSentCount() constGenerated from LiveOps/Telemetry.h via game.json · Nov 5, 2026Version 1.0.0