fix #2365 about leaderboards functions

Reporter: YoungHypo  |  Status: open  |  Last Modified: March 20, 2024, 07:42:54 am

A Solution for #2365 :

Description

Create std::list<LeaderboardRequest> LBRequestList for all download or upload leaderboards requests, and a LeaderboardRequest structure object to store the relevant parameters for the calls.

Example:

Take the steam_download_scores function leaderboards.cpp as an example, first add the leaderboard request of download_scores func to LBRequestList. When find_leaderboard func completes the find operation, the list will release the download request for execution. Therefore, the "download" of the leaderboard entry always follows the operation of finding the leaderboard, and the two remain synchronized.
@k0T0z

Please sign in to post comments, or you can view this issue on GitHub.