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 ReadLeaderboardsForFriends
&40;
int32 LocalUserNum,
FOnlineLeaderboardReadRef & ReadObject
&41;
Remarks
Reads a player's stats and all of that player's friends stats for the specified set of stat views. This allows you to easily compare a player's stats to their friends. true if the call is successful, false otherwise
Parameters
| Name | Description |
|---|---|
| LocalUserNum | the local player having their stats and friend's stats read for |
| ReadObject | holds the definitions of the tables to read the data from and results are copied into the specified object |