Type Array Event leaderboardEntries Revision 2017.3060 Keywords steam, steamworks, leaderboard, leaderboardEntries, entries See also leaderboardEntries steamworks.*
Returns an array of tables, where each table provides the following information about one entry in a leaderboard:
userSteamId
— Unique string ID of the user who the leaderboard entry score belongs to. More information about this user can be fetched via the steamworks.getUserInfo() function.globalRank
— An integer providing the numeric rank of the user globally, where 1
is the highest rank.score
— An integer providing the user's score on the leaderboard.The returned array will be empty if the leaderboard is empty, if the requested entry range is out of bounds, or if event.isError is true
.