⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msgaccount_a.h

📁 魔域源代码需要的可以学习一下真么这么麻烦啊
💻 H
字号:
// MsgAccount.h: interface for the CMsgAccount class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MSGACCOUNT_H__5D73358C_1E18_4877_BB14_969CC7CBAAF5__INCLUDED_A)
#define AFX_MSGACCOUNT_H__5D73358C_1E18_4877_BB14_969CC7CBAAF5__INCLUDED_A

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "NetMsg.h"

class CMsgAccount_A : public CNetMsg  
{
public:
	CMsgAccount_A();
	virtual ~CMsgAccount_A();

	BOOL	Create	(const char* pszAccount, const char* pszPsw, const char* pszServer);

public:	
	BOOL			Create		(char* pMsgBuf, DWORD dwSize);
//	void			Process		(CGameSocket* pSocket);

//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_A)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -