Subversion Repositories WoWGM

Rev

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

Rev 31 Rev 32
Line 2... Line 2...
2
#pragma hdrstop
2
#pragma hdrstop
3
 
3
 
4
#include "NetClient.hpp"
4
#include "NetClient.hpp"
5
 
5
 
6
 
6
 
7
/****************************************************************************
7
/****************************************************************************
8
*
8
*
9
*   Client memory addresses
9
*   Client memory addresses
10
*
10
*
11
***/
11
***/
12
 
12
 
13
#define  NETCLIENT__SEND  0x00632B50;
13
#define  NETCLIENT__SEND  0x00632B50
-
 
14
 
14
 
15
 
15
/****************************************************************************
16
/****************************************************************************
16
*
17
*
17
*   Client function pointers
18
*   Client function pointers
18
*
19
*
19
***/
20
***/
20
 
21
 
21
void(__thiscall* SendPtr)(CDataStore*) = *(void(__thiscall*)(CDataStore*))NETCLIENT__SEND;
22
void(__thiscall* SendPtr)(CDataStore*) = *(void(__thiscall*)(CDataStore*))NETCLIENT__SEND;
22
 
23
 
23
 
24
 
Line 26... Line 27...
26
*   NetClient class implementation
27
*   NetClient class implementation
27
*
28
*
28
***/
29
***/
29
 
30
 
30
//===========================================================================
31
//===========================================================================
31
void NetClient::Send (CDataStore* msg) {
32
void NetClient::Send (CDataStore* msg) {
32
	SendPtr(msg);
33
	SendPtr(msg);
33
}
34
}
-
 
35