Subversion Repositories WoWGM

Rev

Rev 32 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32 Rev 36
Line 1... Line 1...
1
#include "pch.h"
1
#include "pch.h"
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
*
18
*   Client function pointers
18
*   Client function pointers
19
*
19
*
20
***/
20
***/
21
 
21
 
22
void(__thiscall* SendPtr)(CDataStore*) = *(void(__thiscall*)(CDataStore*))NETCLIENT__SEND;
22
void(__thiscall* SendPtr)(CDataStore*) = *(void(__thiscall*)(CDataStore*))NETCLIENT__SEND;
23
 
23
 
24
 
24
 
25
/****************************************************************************
25
/******************************************************************************
26
*
26
*
27
*   NetClient class implementation
27
*   NetClient class implementation
28
*
28
*
29
***/
29
***/
30
 
30
 
31
//===========================================================================
31
//=============================================================================
32
void NetClient::Send (CDataStore* msg) {
32
void NetClient::Send (CDataStore* msg) {
33
	SendPtr(msg);
33
	SendPtr(msg);
34
}
34
}
35
 
35