19 lines
525 B
C++
19 lines
525 B
C++
#pragma once
|
|
namespace cheat::feature
|
|
{
|
|
|
|
class FakeTime : public Feature
|
|
{
|
|
public:
|
|
config::Field<config::Toggle<Hotkey>> f_Enabled;
|
|
static FakeTime& GetInstance();
|
|
const FeatureGUIInfo& GetGUIInfo() const override;
|
|
void DrawMain() override;
|
|
virtual bool NeedStatusDraw() const override;
|
|
void DrawStatus() override;
|
|
void OnGameUpdate();
|
|
private:
|
|
static void LevelTimeManager_SetInternalTimeOfDay_Hook(void* __this, float inHours, bool force, bool refreshEnviroTime, MethodInfo* method);
|
|
FakeTime();
|
|
};
|
|
} |