-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Game.h
68 lines (50 loc) · 1.24 KB
/
Game.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#pragma once
#include <optional>
#include "Utils/ProcessManager.hpp"
#include "Offsets.h"
#include "View.hpp"
class CGame
{
private:
struct
{
DWORD64 ForceJump;
DWORD64 ForceCrouch;
DWORD64 ForceForward;
DWORD64 ForceLeft;
DWORD64 ForceRight;
DWORD64 ServerDLL;
DWORD64 ClientDLL;
DWORD64 EntityList;
DWORD64 Matrix;
DWORD64 ViewAngle;
DWORD64 EntityListEntry;
DWORD64 LocalController;
DWORD64 LocalPawn;
DWORD64 ServerPawn;
DWORD64 GlobalVars;
}Address;
public:
CView View;
public:
bool InitAddress();
DWORD64 GetClientDLLAddress();
DWORD64 GetServerDLLAddress();
DWORD64 GetEntityListAddress();
DWORD64 GetMatrixAddress();
DWORD64 GetViewAngleAddress();
DWORD64 GetEntityListEntry();
DWORD64 GetLocalControllerAddress();
DWORD64 GetLocalPawnAddress();
DWORD64 GetServerPawnAddress();
DWORD64 GetGlobalVarsAddress();
bool UpdateEntityListEntry();
bool SetViewAngle(float Yaw, float Pitch);
bool SetForceJump(int Value);
bool GetForceJump(int& Value);
bool SetForceCrouch(int Value);
bool GetForceCrouch(int& Value);
bool SetForceMove(int MovingType, int Value);
bool GetForceMove(int MovingType, int& Value);
};
inline CGame gGame;