Writing an event to power an event-based stat
Sample XblEventsWriteInGameEvent code that fires an XBOX Live event so configured stat rules update event-based user stats on the service.
This topic provides example code that shows how to write an event.
On the service, this example code updates event-based stats based on the stat rules that you’ve defined in Partner Center.
For more information, see
XblEventsWriteInGameEvent.
Last modified on August 20, 2026
Related topics
Event-based Stats & Leaderboards example codeLeaderboardsWriting an event to power an event-based achievementEvents overviewFirst glance for event-based Stats