Files
UnrealPrototyping/Source/SaltyCore/Telemetry/TelemetryEvents.h
T
2026-09-25 17:02:24 +03:00

20 lines
903 B
C++

#pragma once
#include "CoreMinimal.h"
// The event names. Every call site passes one of these to UTelemetrySubsystem::Emit; a literal at a call site is a
// typo waiting for the analysis to find it. A name is added here, to the catalogue in Docs/Spec/Telemetry.md and to
// the feature spec's Telemetry section in the same change as its first emit call, so the three never disagree.
namespace TelemetryEvents
{
// Session (step 2)
inline const FName AppStarted(TEXT("app_started"));
inline const FName SessionStarted(TEXT("session_started"));
inline const FName SessionEnded(TEXT("session_ended"));
inline const FName CheatUsed(TEXT("cheat_used"));
// World map (off the ladder, with the world). One event: opening it is the act worth counting, and which
// layer and how far zoomed in say what a person actually wanted from it.
inline const FName WorldMapOpened(TEXT("world_map_opened"));
}