-
Notifications
You must be signed in to change notification settings - Fork 6
/
clientdll.h
48 lines (44 loc) · 1.07 KB
/
clientdll.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
#pragma once
enum Stage_t {
FRAME_UNDEFINED = -1,
FRAME_START,
FRAME_NET_UPDATE_START,
FRAME_NET_UPDATE_POSTDATAUPDATE_START,
FRAME_NET_UPDATE_POSTDATAUPDATE_END,
FRAME_NET_UPDATE_END,
FRAME_RENDER_START,
FRAME_RENDER_END
};
enum Hitgroups_t {
HITGROUP_GENERIC = 0,
HITGROUP_HEAD = 1,
HITGROUP_CHEST = 2,
HITGROUP_STOMACH = 3,
HITGROUP_LEFTARM = 4,
HITGROUP_RIGHTARM = 5,
HITGROUP_LEFTLEG = 6,
HITGROUP_RIGHTLEG = 7,
HITGROUP_NECK = 8,
HITGROUP_GEAR = 10
};
class CHLClient {
public:
enum indices : size_t {
INIT = 0,
LEVELINITPREENTITY = 5,
LEVELINITPOSTENTITY = 6,
LEVELSHUTDOWN = 7,
GETALLCLASSES = 8,
HUDPROCESSINPUT = 10,
INACTIVATEMOUSE = 15,
INKEYEVENT = 20,
CREATEMOVE = 21,
RENDERVIEW = 27,
FRAMESTAGENOTIFY = 36,
DISPATCHUSERMESSAGE = 37,
};
public:
__forceinline ClientClass* GetAllClasses( ) {
return util::get_method< ClientClass*( __thiscall* )( decltype( this ) )>( this, GETALLCLASSES )( this );
}
};