Subversion Repositories WoWGM

Rev

Rev 31 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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