Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (31 sloc) 1.09 KB
// AGSteam: Steam API Plugin for AGS
// (C) 2011-2017 MonkeyMoto Productions, Inc.
#ifndef AGSteam_SteamLeaderboards_H
#define AGSteam_SteamLeaderboards_H
#include "ags2client/Cpp11Fix.h"
#include "ags2client/IClientLeaderboards.h"
namespace AGSteam
namespace Plugin
struct SteamLeaderboards_Statics;
class SteamLeaderboards : public AGS2Client::IClientLeaderboards
friend SteamLeaderboards_Statics;
static SteamLeaderboards& GetSteamLeaderboards() noexcept;
void RequestLeaderboard(char const *leaderboardName, AGS2Client::LeaderboardScore::Type, int limit) const noexcept override;
bool UploadScore(int score) const noexcept override;
char const* GetCurrentLeaderboardName() const noexcept override;
char const* GetLeaderName(int index) const noexcept override;
int GetLeaderScore(int index) const noexcept override;
int GetLeaderCount() const noexcept override;
} // namespace Plugin
} // namespace AGSteam
#endif // AGSteam_SteamLeaderboards_H
You can’t perform that action at this time.