-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathThanatos.h
43 lines (39 loc) · 850 Bytes
/
Thanatos.h
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
#pragma once
#include <Windows.h>
#include "SDK/SDKIncludes.h"
#include "offsets.h"
#include "Entity.h"
#include "Inih/INIReader.h"
#include "Inih/ini.h"
class Thanatos
{
public:
struct Config
{
std::string Nametag = "0";
int KnifeCT = 0;
int SkinCT = 0;
int KnifeT = 0;
int SkinT = 0;
}config;
public:
// Global vars
intptr_t client = NULL;
intptr_t engine = NULL;
ClientClass* clientClass = nullptr;
IEngineClient* EngineClient = nullptr;
IBaseClientDLL* BaseClientDLL = nullptr;
IModelInfoClient* ModelInfoClient = nullptr;
IClientEntityList* ClientEntityList = nullptr;
ICvar* Cvar = nullptr;
Entity* localPlayer = nullptr;
public:
// Functions that use global vars
void Init();
void Run();
void Cleanup();
void SetConvars();
void Skinchanger();
void AgentChanger();
int GetModelIndex(const short itemIndex);
};