UserManager.h
资源名称:1731.rar [点击查看]
上传用户:swkcbjrc
上传日期:2016-04-02
资源大小:45277k
文件大小:2k
源码类别:
游戏
开发平台:
Visual C++
- // UserManager.h: interface for the CUserManager class.
- //功能描述:该类是牌桌类
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_USERMANAGER_H__B2626277_49A3_45EE_8651_103554AB6861__INCLUDED_)
- #define AFX_USERMANAGER_H__B2626277_49A3_45EE_8651_103554AB6861__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "Table.h"
- #include <Afxtempl.h>
- //房间拥有人标志
- enum
- {
- ENUM_ROOMOWNER_NONE,
- ENUM_ROOMOWNER_SYSTEM,
- ENUM_ROOMOWNER_USER,
- ENUM_ROOMOWNER_USERPWD
- };
- //##ModelId=3B394DFB0372
- class CUserManager : public CObject
- {
- public:
- //##ModelId=3B394DFC0140
- CUserManager();
- //##ModelId=3B394DFC0154
- CUserManager(CString strRoomIndex,CString strRoomTitle);
- //##ModelId=3B394DFC017C
- virtual ~CUserManager();
- //##ModelId=3B394DFC0187
- void InitAll(void);
- //##ModelId=3B394DFC01C2
- void SetRoomTitle(CString strRoomTitle);
- //##ModelId=3B394DFC01CC
- void SetRoomIndex(CString strRoomIndex);
- //##ModelId=3B394DFC01E0
- void SetRoomSubject(CString strRoomSubject);
- //##ModelId=3B394DFC021C
- void SetRoomOwnerFlag(BYTE nRoomOwer);
- //##ModelId=3B394DFC0226
- void SetRoomOwner(CString strRoomOwner);
- //##ModelId=3B394DFC023A
- CString GetRoomOwner(void);
- //##ModelId=3B394DFC0259
- BYTE GetRoomOwnerFlag(void);
- //##ModelId=3B394DFC026D
- CString GetRoomIndex(void);
- //##ModelId=3B394DFC0278
- CString GetRoomTitle(void);
- //##ModelId=3B394DFC0295
- CString GetRoomSubject(void);
- private:
- //##ModelId=3B394DFC02A9
- CString m_strRoomTitle; //房间标题
- //##ModelId=3B394DFE014D
- CString m_strRoomIndex; //房间索引
- //##ModelId=3B394DFE0161
- CString m_strRoomSubject; //房间主题
- //##ModelId=3B394DFE0175
- CString m_strRoomOwner; //房间拥有人
- //##ModelId=3B394DFE0193
- BYTE m_nRoomOwnerFlag; //房间拥有标志
- };
- #endif // !defined(AFX_USERMANAGER_H__B2626277_49A3_45EE_8651_103554AB6861__INCLUDED_)