The stored stat value reflects the value most recently written through these APIs. However, the global leaderboard for that stat retains only the highest recorded value per player, so writing a lower value doesn’t lower the player’s leaderboard position. For details and alternatives, see the title-managed Stats overview and the
XblLeaderboardQuery reference.Updating only the specified title-managed stats
You can send specified stats that you want to update, by calling XblTitleManagedStatsUpdateStatsAsync, which selectively updates the calling user’s stats. A specified stat will only be overwritten if it already exists. Any stats that aren’t specified in the call toXblTitleManagedStatsUpdateStatsAsync stay unchanged.
C API
Writing all the stats you want to keep, and deleting the rest
To write only the title-managed stats that you want to keep, and delete the rest, call XblTitleManagedStatsWriteAsync with all the stats you want to write. Any stats that are not included in the call will be removed. This call replaces the last stats document on the service with a new stats document that contains only the values you sent. ThexboxUserId argument must be the user that the XblContextHandle was created for; otherwise, the call returns E_INVALIDARG.
C API
