ClientProtocol.h
上传用户:bsw_2008
上传日期:2013-07-09
资源大小:2446k
文件大小:1k
- // ClientProtocol.h: interface for the CClientProtocol class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_CLIENTPROTOCOL_H__754FF557_00A1_424D_B7B2_C97AE3C07F3F__INCLUDED_)
- #define AFX_CLIENTPROTOCOL_H__754FF557_00A1_424D_B7B2_C97AE3C07F3F__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CClientProtocol
- {
- typedef struct TT{
- int d[4];
- };
- typedef struct MM{
- CString name[4],sex[4],score[4];
- int ID[4];
- };
- public:
- POINT from,to;
- BOOL war_kind;
- CString chat;
- int direct,r;
- int desk;
- int right;
- TT table[4][4];
- CString name;
- MM user;
- char Anaysys(CString str);
- CClientProtocol();
- virtual ~CClientProtocol();
- };
- #endif // !defined(AFX_CLIENTPROTOCOL_H__754FF557_00A1_424D_B7B2_C97AE3C07F3F__INCLUDED_)