📄 client.h
字号:
#if !defined(AFX_CLIENT_H__8B0D7980_8B08_4B8F_A03F_9C0666E326A6__INCLUDED_)
#define AFX_CLIENT_H__8B0D7980_8B08_4B8F_A03F_9C0666E326A6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Client.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CClient window
#include "Player.h"
class CWeiQiSocket;
class CLogInDlg;
class CWeiQiClientView;
class CWeiQi;
class CClient : public CWnd
{
// Construction
public:
BOOL m_GameStart;
BOOL m_InGame;
CString m_GameName; //所在游戏名
CWeiQiSocket* m_pSocket; //Socket对象
CPlayer m_Player; //玩家信息
CWeiQi* m_pWeiQi;
CLogInDlg* m_pLogInDlg;
CWeiQiClientView* m_pView;
CClient();
void SendMsg(CString Msg);
BOOL FetchMsg();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CClient)
//}}AFX_VIRTUAL
// Implementation
public:
void HeSurrMsg(PTSTR pMsg);
void RePlaceMsg(PTSTR pMsg);
void ShutDownMsg(PTSTR pMsg);
void CharMsg(PTSTR pMsg);
void ExitGameMsg(PTSTR pMsg);
void ClientExitMsg(PTSTR pMsg);
void HostExitMsg(PTSTR pMsg);
void TopTenMsg(PTSTR pMsg);
void ReListMsg(PTSTR pMsg);
void OneJoinMsg(PTSTR pMsg);
void JoinGameMsg(PTSTR pMsg);
void CreateMsg(PTSTR pMsg);
void LogInMsg(PTSTR pMsg);
virtual ~CClient();
// Generated message map functions
protected:
//{{AFX_MSG(CClient)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CLIENT_H__8B0D7980_8B08_4B8F_A03F_9C0666E326A6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -