Files
cs2-external-esp/memory-external/classes/config.hpp
T
IMXNOOBX 509d2b5f2d Implemented #20 into hack.hpp now featuring a better entity loop and fixing known bugs while cleaning the code.
Added simple config system to enable team esp, automatic updates, and render distance.

Also moved the offsets to the updater namespace and read/writte methods to the offsets.json

Implemented Handle Hijacking method requested by #19 to improve the security. Credits to Apxaey on github for the source
2023-10-03 17:52:46 +02:00

17 lines
330 B
C++

#pragma once
#include <fstream>
#include "json.hpp"
#include "auto_updater.hpp"
using json = nlohmann::json;
namespace config {
const std::string file_path = "config.json";
extern bool read();
extern void save();
inline bool automatic_update = false;
inline bool team_esp = false;
inline float render_distance = -1.f;
}