msgaccount_a.h

来自「魔域的源代码」· C头文件 代码 · 共 41 行

H
41
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?