Subversion Repositories WoWGM

Rev

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

Rev 3 Rev 31
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
 
-
 
7
/****************************************************************************
-
 
8
*
-
 
9
*   Client memory addresses
-
 
10
*
-
 
11
***/
-
 
12
 
-
 
13
#define  NETCLIENT__SEND  0x00632B50;
-
 
14
 
6
/****************************************************************************
15
/****************************************************************************
7
*
16
*
8
*	Function pointers
17
*   Client function pointers
9
*
18
*
10
***/
19
***/
11
void(__thiscall* SendPtr) (CDataStore* msg) = *(void(__thiscall*)(CDataStore*))NETCLIENT__SEND;
-
 
12
 
20
 
-
 
21
void(__thiscall* SendPtr)(CDataStore*) = *(void(__thiscall*)(CDataStore*))NETCLIENT__SEND;
-
 
22
 
-
 
23
 
-
 
24
/****************************************************************************
-
 
25
*
-
 
26
*   NetClient class implementation
-
 
27
*
-
 
28
***/
13
 
29
 
14
//===========================================================================
30
//===========================================================================
15
void NetClient::Send(CDataStore* msg)
31
void NetClient::Send (CDataStore* msg) {
16
{
-
 
17
	SendPtr(msg);
32
	SendPtr(msg);
18
}
33
}