Writes a single entry to a leaderboard, can include supplementary metrics
ParametersleaderboardNameThe leaderboard for which to write the entry.
supplementaryMetricA metric that can be used for tiebreakers.
extraDataA 2KB custom data field that is associated with the leaderboard entry. This can be a game replay or anything that provides more detail about the entry to the viewer.
extraDataLengthThe length of the extra data.
forceUpdateIf true, the score always updates. This happens even if it is not the user's best score.
Error codes
100: Parameter {parameter}: invalid user id: {user_id}
100: Something went wrong.
100: This leaderboard entry is too late for the leaderboard's allowed time window.
A message with type
ovrMessage_Leaderboard_WriteEntryWithSupplementaryMetric will be generated in response.First call
ovr_Message_IsError() to check if an error occurred.If no error occurred, the message will contain a payload of type
ovrLeaderboardUpdateStatusHandle. Extract the payload from the message handle with
ovr_Message_GetLeaderboardUpdateStatus().