Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces > API/Plugins/OnlineSubsystem/Interfaces/IOnlineLeaderboards
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineLeaderboardInterface.h |
| Include | #include "Interfaces/OnlineLeaderboardInterface.h" |
bool ReadLeaderboardsAroundRank
&40;
int32 Rank,
uint32 Range,
FOnlineLeaderboardReadRef & ReadObject
&41;
Remarks
Reads stats for a given rank in the leaderboard, as well as a range of stats above and below that rank. For example, if Rank = 100 and Range = 10, entries for ranks 90-110 will be returned. true if the call is successful, false otherwise
Parameters
| Name | Description |
|---|---|
| Rank | the rank for which stats should be returned Range the range above and below Rank to return as well |
| ReadObject | holds the definitions of the tables to read the data from and results are copied into the specified object |