Subversion Repositories WoWGM

Rev

Rev 17 | Rev 31 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17 Rev 28
Line 8... Line 8...
8
*  Private
8
*  Private
9
*
9
*
10
***/
10
***/
11
 
11
 
12
#define CLIENTCONNECTION__GETCHARACTERLIST  0x006B14C0;
12
#define CLIENTCONNECTION__GETCHARACTERLIST  0x006B14C0;
13
 
-
 
-
 
13
#define  CLIENTSERVICES_REPORT              0x006B22A0;
14
#define  CLIENTSERVICES_SEND								0x00406F40
14
#define  CLIENTSERVICES_SEND								0x00406F40
15
#define  CLIENTSERVICES__SENDONCONNECTION   0x006B0B50
15
#define  CLIENTSERVICES__SENDONCONNECTION   0x006B0B50
16
#define  CLIENTSERVICES_INITIALIZE					0x005AB1D0
16
#define  CLIENTSERVICES_INITIALIZE					0x005AB1D0
17
#define  CLIENTSERVICES_DESTROY							0x005AB3D0
17
#define  CLIENTSERVICES_DESTROY							0x005AB3D0
18
#define  CLIENTSERVICES_SETMESSAGEHANDLER	0x006B0B80
18
#define  CLIENTSERVICES_SETMESSAGEHANDLER	0x006B0B80
Line 27... Line 27...
27
 
27
 
28
//===========================================================================
28
//===========================================================================
29
void (*ClientServices_DestroyPtr) () = *(void(*)())CLIENTSERVICES_DESTROY;
29
void (*ClientServices_DestroyPtr) () = *(void(*)())CLIENTSERVICES_DESTROY;
30
 
30
 
31
//===========================================================================
31
//===========================================================================
-
 
32
BOOL (*ClientServices_ReportPtr) (unsigned int category, LPCSTR title) = *(BOOL(*)(unsigned int,LPCSTR))CLIENTSERVICES_REPORT;
-
 
33
 
-
 
34
//===========================================================================
32
void (__cdecl* ClientServices_SendPtr) (CDataStore* netMessage) = *(void(__cdecl*)(CDataStore*))CLIENTSERVICES_SEND;
35
void (__cdecl* ClientServices_SendPtr) (CDataStore* netMessage) = *(void(__cdecl*)(CDataStore*))CLIENTSERVICES_SEND;
33
 
36
 
34
//===========================================================================
37
//===========================================================================
35
void(__cdecl* ClientServices_SendOnConnectionPtr) (CDataStore* msg) = *(void(__cdecl*)(CDataStore*))CLIENTSERVICES__SENDONCONNECTION;
38
void(__cdecl* ClientServices_SendOnConnectionPtr) (CDataStore* msg) = *(void(__cdecl*)(CDataStore*))CLIENTSERVICES__SENDONCONNECTION;
36
 
39
 
Line 93... Line 96...
93
	DETOUR_DETACH(ClientServices_DestroyPtr,ClientServices_InternalDestroy);
96
	DETOUR_DETACH(ClientServices_DestroyPtr,ClientServices_InternalDestroy);
94
	DETOUR_COMMIT;
97
	DETOUR_COMMIT;
95
}
98
}
96
 
99
 
97
//===========================================================================
100
//===========================================================================
-
 
101
BOOL ClientServices_Report (unsigned int category, char const* title) {
-
 
102
  return ClientServices_ReportPtr(category, title);
-
 
103
}
-
 
104
 
-
 
105
//===========================================================================
98
void ClientServices_Send (CDataStore *netMessage) {
106
void ClientServices_Send (CDataStore *netMessage) {
99
	ClientServices_SendPtr(netMessage);
107
	ClientServices_SendPtr(netMessage);
100
}
108
}
101
 
109
 
102
//===========================================================================
110
//===========================================================================