Skip to main content
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.

Flat C API

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