2017-02-25 19:36:37 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class Stats : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Stats();
|
|
|
|
|
2017-02-26 15:34:18 -05:00
|
|
|
static bool IsMaxLevel();
|
2017-03-01 13:56:36 -05:00
|
|
|
|
|
|
|
private:
|
2022-08-24 10:38:14 -04:00
|
|
|
static void UpdateClasses([[maybe_unused]] const UIScript::Token& token, [[maybe_unused]] const Game::uiInfo_s* info);
|
2022-09-13 14:39:45 -04:00
|
|
|
|
2017-02-25 19:36:37 -05:00
|
|
|
static void SendStats();
|
2019-10-01 09:06:40 -04:00
|
|
|
static int SaveStats(char* dest, const char* folder, const char* buffer, size_t length);
|
2017-02-25 19:36:37 -05:00
|
|
|
|
2022-09-13 14:39:45 -04:00
|
|
|
static std::int64_t* GetStatsID();
|
|
|
|
|
|
|
|
static void AddScriptFunctions();
|
2017-02-25 19:36:37 -05:00
|
|
|
};
|
|
|
|
}
|