mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-26 23:47:21 +00:00
15 lines
298 B
C
15 lines
298 B
C
|
#ifndef __ILEADERBOARD__H__
|
||
|
#define __ILEADERBOARD__H__
|
||
|
|
||
|
#include <cstdint>
|
||
|
#include <optional>
|
||
|
|
||
|
class ILeaderboard {
|
||
|
public:
|
||
|
|
||
|
// Get the donation total for the given activity id.
|
||
|
virtual std::optional<uint32_t> GetDonationTotal(const uint32_t activityId) = 0;
|
||
|
};
|
||
|
|
||
|
#endif //!__ILEADERBOARD__H__
|