Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds or updates entries on the specified leaderboard.
Syntax
HRESULT PFLeaderboardsUpdateLeaderboardEntriesAsync(
PFEntityHandle entityHandle,
const PFLeaderboardsUpdateLeaderboardEntriesRequest* request,
XAsyncBlock* async
)
Parameters
entityHandle PFEntityHandle
PFEntityHandle to use for authentication.
request PFLeaderboardsUpdateLeaderboardEntriesRequest*
Populated request object.
async XAsyncBlock*
Inout
XAsyncBlock for the async operation.
Return value
Type: HRESULT
Result code for this API operation.
Remarks
This API is available on Windows, Linux, and macOS. See also LeaderboardDeleteLeaderboardEntriesAsync. Call XAsyncGetStatus to get the status of the operation. If the service call is unsuccessful, the async result will be E_PF_API_NOT_ENABLED_FOR_GAME_CLIENT_ACCESS, E_PF_LEADERBOARD_COLUMN_LENGTH_MISMATCH, E_PF_LEADERBOARD_NOT_FOUND, E_PF_LEADERBOARD_UPDATE_NOT_ALLOWED_WHILE_LINKED, E_PF_METADATA_LENGTH_EXCEEDED or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
Requirements
Header: PFLeaderboards.h