Table.cpp
资源名称:1731.rar [点击查看]
上传用户:swkcbjrc
上传日期:2016-04-02
资源大小:45277k
文件大小:2k
源码类别:
游戏
开发平台:
Visual C++
- // Table.cpp: implementation of the CTable class.
- //
- //////////////////////////////////////////////////////////////////////
- #include "stdafx.h"
- #include "BridgeServer.h"
- #include "Table.h"
- #ifdef _DEBUG
- #undef THIS_FILE
- static char THIS_FILE[]=__FILE__;
- #define new DEBUG_NEW
- #endif
- //////////////////////////////////////////////////////////////////////
- // Construction/Destruction
- //////////////////////////////////////////////////////////////////////
- //##ModelId=3B394E0401CE
- CTable::CTable()
- {
- m_strRoomIndex="";
- m_strTableIndex="";
- m_strTableSubject="";
- m_strTableTitle="";
- m_strOwner="";
- }
- //##ModelId=3B394E0401D8
- CTable::~CTable()
- {
- }
- //##ModelId=3B394E0401F6
- CString CTable::GetTableTitle(void)
- {
- return m_strTableTitle;
- }
- //##ModelId=3B394E040200
- CString CTable::GetTableIndex(void)
- {
- return m_strTableIndex;
- }
- //##ModelId=3B394E04020B
- CString CTable::GetTableSubject(void)
- {
- return m_strTableSubject;
- }
- //##ModelId=3B394E04021E
- CString CTable::GetRoomIndex(void)
- {
- return m_strRoomIndex;
- }
- //##ModelId=3B394E040246
- void CTable::SetTableTitle(CString strTableTitle)
- {
- m_strTableTitle=strTableTitle;
- }
- //##ModelId=3B394E040251
- void CTable::SetTableIndex(CString strTableIndex)
- {
- m_strTableIndex=strTableIndex;
- }
- //##ModelId=3B394E040264
- void CTable::SetTableSubject(CString strTableSubject)
- {
- m_strTableSubject=strTableSubject;
- }
- //##ModelId=3B394E040282
- void CTable::SetRoomIndex(CString strRoomIndex)
- {
- m_strRoomIndex=strRoomIndex;
- }
- //##ModelId=3B394E040228
- CString CTable::GetOwner(void)
- {
- return m_strOwner;
- }
- //##ModelId=3B394E040233
- void CTable::SetOwner(CString strOwner)
- {
- m_strOwner=strOwner;
- }
- //##ModelId=3B394E04028D
- CBridgeLogic* CTable::GetBridgeLogic(void)
- {
- return &m_objGame;
- }