Skip to main content
Version: 5.7.0

PostScoreToLeaderboardOnBehalfOf

Post score to another player's score.

ServiceOperation
leaderboardPOST_SCORE_TO_LEADERBOARD_ON_BEHALF_OF

Method Parameters

ParameterDescription
profileIdThe profileId of the player to post on behalf of.
leaderboardIdThe id of the leaderboard.
scoreThe score to post.
dataOptional user-defined data to post with the score.
forceCreateShould a new score be created? When false, the call can only modify a currently existing score.

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.