Skip to content

Commit 24f7aa7

Browse files
Site changes [skip-ci]
1 parent 13daaac commit 24f7aa7

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

_data/extensions/extension-steam_steam.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
{
8585
"description": "Top-score is highest number",
8686
"examples": "",
87-
"name": "ELeaderboardSortMethodNone",
87+
"name": "ELeaderboardSortMethodDescending",
8888
"parameters": [],
8989
"returnvalues": [],
9090
"type": "VARIABLE"
@@ -997,6 +997,27 @@
997997
],
998998
"type": "FUNCTION"
999999
},
1000+
{
1001+
"description": "Returns the sort method of the leaderboard",
1002+
"examples": "",
1003+
"name": "steam.user_stats_get_leaderboard_sort_method",
1004+
"parameters": [
1005+
{
1006+
"doc": "",
1007+
"name": "leaderboard",
1008+
"types": [
1009+
"string"
1010+
]
1011+
}
1012+
],
1013+
"returnvalues": [
1014+
{
1015+
"doc": "Order",
1016+
"name": "number"
1017+
}
1018+
],
1019+
"type": "FUNCTION"
1020+
},
10001021
{
10011022
"description": "Asks the Steam back-end for a set of rows in the leaderboard. This call is asynchronous, with the result returned in a listener callback with event set to LeaderboardScoresDownloaded_t. LeaderboardScoresDownloaded_t will contain a handle to pull the results from GetDownloadedLeaderboardEntries(). You can ask for more entries than exist, and it will return as many as do exist. * k_ELeaderboardDataRequestGlobal requests rows in the leaderboard from the full table, with nRangeStart & nRangeEnd in the range [1, TotalEntries] * k_ELeaderboardDataRequestGlobalAroundUser requests rows around the current user, nRangeStart being negate e.g. DownloadLeaderboardEntries( hLeaderboard, k_ELeaderboardDataRequestGlobalAroundUser, -3, 3 ) will return 7 rows, 3 before the user, 3 after * k_ELeaderboardDataRequestFriends requests all the rows for friends of the current user",
10021023
"examples": "",

0 commit comments

Comments
 (0)