e49194ff65
* [Script]: GetStat & SetStat from CoD4(x) * [Stats] Remove limitation * [Bullet] Clean this up
23 lines
453 B
C++
23 lines
453 B
C++
#pragma once
|
|
|
|
namespace Components
|
|
{
|
|
class Stats : public Component
|
|
{
|
|
public:
|
|
Stats();
|
|
|
|
static bool IsMaxLevel();
|
|
|
|
private:
|
|
static void UpdateClasses([[maybe_unused]] const UIScript::Token& token, [[maybe_unused]] const Game::uiInfo_s* info);
|
|
|
|
static void SendStats();
|
|
static int SaveStats(char* dest, const char* folder, const char* buffer, size_t length);
|
|
|
|
static std::int64_t* GetStatsID();
|
|
|
|
static void AddScriptFunctions();
|
|
};
|
|
}
|