Subversion Repositories WoWGM

Rev

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