Edit

PFLeaderboardsGetLeaderboardAsync

Get the leaderboard for a specific entity type and statistic.

Syntax

HRESULT PFLeaderboardsGetLeaderboardAsync(  
    PFEntityHandle entityHandle,  
    const PFLeaderboardsGetEntityLeaderboardRequest* request,  
    XAsyncBlock* async  
)  

Parameters

entityHandle   PFEntityHandle

PFEntityHandle to use for authentication.

request   PFLeaderboardsGetEntityLeaderboardRequest*

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 all platforms. When the asynchronous task is complete, call PFLeaderboardsGetLeaderboardGetResultSize and PFLeaderboardsGetLeaderboardGetResult to get the result.

Requirements

Header: PFLeaderboards.h

See also

PFLeaderboards members