-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMsg.h
More file actions
36 lines (27 loc) · 861 Bytes
/
Msg.h
File metadata and controls
36 lines (27 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Msg.h: interface for the CMsg class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MSG_H__57BA71C0_B929_11D2_B143_00001C7030A6__INCLUDED_)
#define AFX_MSG_H__57BA71C0_B929_11D2_B143_00001C7030A6__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include <windows.h>
#define DEF_MSGFROM_CLIENT 1
#define DEF_MSGFROM_LOGSERVER 2
#define DEF_MSGFROM_GATESERVER 3
#define DEF_MSGFROM_BOT 4
class CMsg
{
public:
void Get(char * pFrom, char * pData, DWORD * pSize, int * pIndex, char * pKey);
BOOL bPut(char cFrom, char * pData, DWORD dwSize, int iIndex, char cKey);
CMsg();
virtual ~CMsg();
char m_cFrom;
char * m_pData;
DWORD m_dwSize;
int m_iIndex;
char m_cKey; // v1.4
};
#endif // !defined(AFX_MSG_H__57BA71C0_B929_11D2_B143_00001C7030A6__INCLUDED_)