-
Notifications
You must be signed in to change notification settings - Fork 1
/
player.h
62 lines (32 loc) · 835 Bytes
/
player.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
#pragma once
#include "MemoryManager.h"
using String = std::string;
class Player
{
private:
unsigned int vTableOffset = 0x0;
unsigned int vHeadOffset = 0x0004;
unsigned int vPositionOffset = 0x0034;
unsigned int viewAngel = 0x0040;
unsigned int healthOffset = 0x00F8;
unsigned int subWeponAmmoOffset = 0x0140;
unsigned int mainWaponAmmoOffset = 0x0148;
unsigned int nameOffset = 0x0225;
unsigned int teamOffset = 0x32c;
static MemoryManager * memoryManger;
public:
uintptr_t dmAddress;
Player(uintptr_t dmAddress) ;
~Player();
static void setmemoryManger(MemoryManager * mm)
{
memoryManger = mm;
}
Vector3 getVhead();
Vector3 getVposition();
Vector2 getViewAngel();
int getHealth();
String getName();
unsigned int getVtableAddress();
int getTeamID();
};