Skip to main content
This topic provides example code that shows how to write an event. This code updates event-based Stats based on the stat rules that you’ve defined in Partner Center.

Flat C API

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