Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个统一项目,我已将 SteamWork.net 包装器添加到我的项目中,并且在该项目中我进行排行榜上传/设置统计等
我不知道如何在排行榜中获得排名?
假设我有一个名为“Highscore”的排行榜,那么我如何在排行榜中获得排名?
有一种方法可以获取特定 Steam 用户的分数。所以我们可以只发送本地用户的 csteamID 并获取详细信息,如下所示。
CSteamID[] Users = { SteamUser.GetSteamID() }; // Local user steam id SteamAPICall_t handle = SteamUserStats.DownloadLeaderboardEntriesForUsers(m_SteamLeaderboard, Users, Users.Length); . .