-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClient.cpp
More file actions
31 lines (24 loc) · 839 Bytes
/
Client.cpp
File metadata and controls
31 lines (24 loc) · 839 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
#include "Client.hpp"
Client::Client() {
localPlayer = new BaseLocalPlayer();
entityList = new EntityList();
glowObjectManager = new GlowObjectManager();
}
void Client::dwForceJump(KeyEvent v) {
mem.Write(clientDll.dwBase + Offsets::signatures::dwForceJump, v);
}
void Client::dwForceAttack(KeyEvent v) {
mem.Write(clientDll.dwBase + Offsets::signatures::dwForceAttack, v);
}
Input Client::dwInput(){
return mem.Read<Input>(clientDll.dwBase + Offsets::signatures::dwInput);
}
short Client::dwMouseEnable(){
return mem.Read<short>(clientDll.dwBase + Offsets::signatures::dwMouseEnable);
}
int Client::hConfirmMatch(){
return clientDll.dwBase + Offsets::signatures::hConfirmMatch;
}
int Client::confirmReservationCallback(){
return mem.Read<int>(mem.Read<int>(clientDll.dwBase + Offsets::signatures::hConfirmMatch + 0x7));
}