Subversion Repositories WoWGM

Rev

Rev 25 | 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
#ifndef  _NETCLIENT_H_
2
#define  _NETCLIENT_H_
3
 
4
#include <Engine/Base/CDataStore.h>
5
 
6
/****************************************************************************
7
*
8
*	Memory addresses
9
*
10
***/
11
#define NETCLIENT__SEND	0x00632B50;
12
 
13
 
14
enum NETMESSAGE
15
{
25 tristanc 16
	MSG_NULLACTION            = 0x0,
17
	CMSG_BOOTME					      = 0x1,
18
	CMSG_LEARN_SPELL			    = 0x10,
19
  CMSG_CREATEMONSTER        = 0x11,
20
	CMSG_CREATEITEM				    = 0x13,
3 tristanc 21
	CMSG_MOVE_CHARACTER_CHEAT	= 0xD,
22
	SMSG_MOVE_CHARACTER_CHEAT	= 0xE,
25 tristanc 23
	CMSG_RECHARGE				      = 0xF,
24
	CMSG_GODMODE				      = 0x22,
25
	CMSG_LEVEL_CHEAT			    = 0x25,
26 tristanc 26
  CMSG_SET_SECURITY_GROUP   = 0x1EA,
25 tristanc 27
	CMSG_DECHARGE				      = 0x204,
28
	CMSG_GM_RESURRECT			    = 0x22A,
29
	SMSG_RESURRECT_FAILED		  = 0x252,
30
	CMSG_SERVERINFO				    = 0x4F4,
31
	SMSG_SERVERINFO				    = 0x4F5
3 tristanc 32
};
33
 
34
 
35
class NetClient
36
{
37
 
38
	public:
39
 
40
		static void Send(CDataStore* msg);
41
 
42
};
43
 
44
#endif // ifndef _NETCLIENT_H_