extension-steam
extension-steam copied to clipboard
Leaderboards
I want to implement a leaderboard!
We already have: steam.user_stats_download_leaderboard_entries() steam.user_stats_get_downloaded_leaderboard_entry()
Please implement:
UPDATE to add this as it is critical to my use case:
- [x] https://partner.steamgames.com/doc/api/ISteamUserStats#FindOrCreateLeaderboard
(I have players competing in Daily runs so I need to be able to create leaderboards dynamically)
Having reviewed the documentation (https://partner.steamgames.com/doc/features/leaderboards) it's possible others might have a use for these too (however I think UploadLeaderboardScore is the bare minimum and might be enough for my personal use case):
- [x] ISteamUserStats::GetLeaderboardName
- [x] ISteamUserStats::GetLeaderboardEntryCount
- [ ] ISteamUserStats::GetLeaderboardSortMethod
- [ ] ISteamUserStats::GetLeaderboardDisplayType
- [ ] https://partner.steamgames.com/doc/api/ISteamUserStats#FindLeaderboard
- [ ] https://partner.steamgames.com/doc/api/ISteamUserStats#AttachLeaderboardUGC
Added user_stats_upload_leaderboard_score() in https://github.com/defold/extension-steam/commit/9dd813a8651843e37da55c8e4ef794c5577757df
Added user_stats_find_or_create_leaderboard() in https://github.com/defold/extension-steam/commit/8eebf80e80f86fb3e87dbcebac874d2f486f5d0c
Hi @britzl
Can I please request ISteamUserStats::GetLeaderboardEntryCount? Use case: I want to be able to say "your rank is 12 out of 345".
Sure!
Added user_stats_get_leaderboard_entry_count() in https://github.com/defold/extension-steam/commit/d858fc37995b6a16fe58b46647558f0b79d33e8e