Skip to content

Support SteamUserStats.DownloadLeaderboardEntriesForUsers() #1619

@TSRBerry

Description

@TSRBerry

What problem is this feature trying to solve?

I'm trying to monitor a couple of leaderboards for some users and would like to get their scores without adding all of them as my friends or searching through the entire leaderboard.

How would you like it to be solved?

While getting the leaderboard names of the game I'm trying to monitor I found a fitting function in Steamworks:

namespace Steamworks;

public static class SteamUserStats {
    public static SteamAPICall_t DownloadLeaderboardEntriesForUsers(SteamLeaderboard_t hSteamLeaderboard, CSteamID[] prgUsers, int cUsers) {
        // ...
    }
}

Have you considered any alternative solutions

I could add every user I want to monitor on the leaderboards as a friend and call GetLeaderboardEntries() with type Friends, but that doesn't feel great. Especially since I'm using my own Steam account for authentication.

The other alternative is searching through the whole leaderboard, but that could take ages and doesn't really work if I want to monitor multiple leaderboards regularly.

Additional Information

The current SteamKit2.SteamUserStats handler and the protobuf files don't seem to list this function anywhere, so I have no clue if this is something you could actually support.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions