Skip to content

trackAppUsageEvent

trackAppUsageEvent(gameId, event, extraInfo?): void

Reports a legacy usage event for a game to the Steam client. Needs init(). Only a few games use this call. This sends data to Steam. The SDK header does not list the event numbers, so event is passed through unchanged; the mapping is unverified against a live Steam client. Throws when extraInfo contains a NUL character, and then nothing is sent.

bigint

the raw CGameID as a BigInt; for a game without mods it is the app id.

number

the event number.

string | null

optional text sent with the event; empty when omitted.

void

Turn ideas into shipped software.

HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.

Smart
OpenSpec workflows turn intent into a path from proposal to shipped change.
Efficient
Multi-agent execution runs research, build, and review in parallel.
Fun
Rich UI interactions make planning, agent work, and projects easier to follow.