-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.h
More file actions
48 lines (38 loc) · 929 Bytes
/
Config.h
File metadata and controls
48 lines (38 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#pragma once
#include <iostream>
#include <vector>
#include <toml.hpp>
#include "Color.h"
class Config {
public:
static void initialize();
static void read();
private:
static std::string config_path;
};
template<class Derived>
class OnEnableModule {
public:
static bool enabled;
};
template<class Derived>
class ESP : public OnEnableModule<Derived> {
public:
static std::string mode;
static toml::value::array_type color;
static bool outline;
static toml::value::array_type outline_color;
static bool filling;
static toml::value::array_type filling_color;
static Color get_color();
static Color get_outline_color();
static Color get_filling_color();
};
class PlayerESP : public ESP<PlayerESP> {};
class ChestESP : public ESP<ChestESP> {};
class NameTags : public OnEnableModule<NameTags> {};
class Chams {
public:
static bool players;
static bool chests;
};