msgaccount.h
来自「网络游戏魔域的服务端与客户端完整源代码 包括详细的说明文档与开发日志」· C头文件 代码 · 共 40 行
H
40 行
// MsgAccount.h: interface for the CMsgAccount class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MSGACCOUNT_H__5D73358C_1E18_4877_BB14_969CC7CBAAF5__INCLUDED_)
#define AFX_MSGACCOUNT_H__5D73358C_1E18_4877_BB14_969CC7CBAAF5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "NetMsg.h"
class CMsgAccount : public CNetMsg
{
public:
CMsgAccount();
virtual ~CMsgAccount();
BOOL Create (const char* pszAccount, const char* pszPsw, const char* pszServer);
public:
BOOL Create (char* pMsgBuf, DWORD dwSize);
void Process (void* pInfo);
private:
typedef struct{
unsigned short unMsgSize;
unsigned short unMsgType;
char szAccount[_MAX_NAMESIZE];
char szPassword[_MAX_NAMESIZE];
char szServer[_MAX_NAMESIZE];
}MSG_Info;
MSG_Info* m_pInfo;
};
#endif // !defined(AFX_MSGACCOUNT_H__5D73358C_1E18_4877_BB14_969CC7CBAAF5__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?