Skip to main content
This topic shows example code of how to write an in-game event. When the event is fired, the event-based stats on the service are updated according to the stat rules that you’ve defined in Partner Center. Those stats, in turn, power event-based achievements.

Flat C API

For more information, see XblEventsWriteInGameEvent.
Last modified on August 20, 2026