-
Notifications
You must be signed in to change notification settings - Fork 13
/
m_GameMonitor.h
56 lines (35 loc) · 1.09 KB
/
m_GameMonitor.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
#ifdef FUNCTION_DECLARE
#define MODULE_GAMEMONITOR
void DrawMonitorInfo();
void RecvCommand_A7_Patch_ASM();
void RecvCommand_A8_Patch_ASM();
void RecvCommand_A9_Patch_ASM();
void ResetMonitor();
#endif
#ifdef VARIABLE_DEFINE
GVAR2(StatMonitor, sMonitorStr[200] , { {L'\0'}})
GVAR (int, nMonitors, 0)
GVAR2(ToggleVar, tStateMonitorToggle, 1, 0, -1, 1, "State Monitor")
#endif
#ifdef PATH_INSTALL
{PatchCALL, DLLOFFSET(D2CLIENT , 0x6FB6F2D1), (DWORD)RecvCommand_A7_Patch_ASM, 9 , &fDefault},//ÉèÖÃ״̬1
{PatchCALL, DLLOFFSET(D2CLIENT , 0x6FB6F194), (DWORD)RecvCommand_A8_Patch_ASM, 9 , &fDefault},//ÉèÖÃ״̬2
{PatchCALL, DLLOFFSET(D2CLIENT , 0x6FB6F151), (DWORD)RecvCommand_A9_Patch_ASM, 9 , &fDefault},//½áÊø״̬
#endif
#ifdef CONFIG_LOAD
{7, "StateMonitor", 0 },
{1, "StateMonitorToggle", &tStateMonitorToggle },
#endif
#ifdef RUN_ONCE
#endif
#ifdef RUN_LOOP
#endif
#ifdef RUN_ENDGAME
ResetMonitor();
#endif
#ifdef INIT_VALUE
memset( sMonitorStr , 0 , sizeof(sMonitorStr));
nMonitors = 0;
#endif
#ifdef FIX_VALUE
#endif