下面是“棋牌游戏完整版/games/154.湖北麻将/服务端/ServerManage.h”中的一段代码
#pragma once
#include "StdAfx.h"
#include "../消息文件/MjLogic0Srv.h"
//定时器 ID
///#define TIME_SEND_CARD 30 //发牌定时器
#define TIME_GAME_FINISH 32 //游戏结束定时器
#define TIME_CASTSE_1 33
#define TIME_CASTSE_2 34
#define TIME_FINISH_CASTSEZI 35
//扑克数目定义
#define PLAY_TWO_CARD 1 //两副扑克
#define PLAY_THREE_CARD 2 //三副扑克
//游戏结束标志定义
#define GF_NORMAL 10 //游戏正常结束
#define GF_SALE 11 //游戏安全结束
//游戏桌类
class CServerGameDesk : public CGameDesk
{
void H022_CheckVerb();
ChuPaiStruct m_CurVerbData;
int m_Counter;
bool H024_UserTin(BYTE bDeskStation, NetMessageHead * pNetHead, void * pData, UINT uSize, UINT uSocketID, bool bWatchUser);
bool H025_UserPassTin(BYTE bDeskStation, NetMessageHead * pNetHead, void * pData, UINT uSize, UINT uSocketID, bool bWatchUser);
bool H021_UserPassCheck(BYTE bDeskStation, NetMessageHead * pNetHead, void * pData, UINT uSize, UINT uSocketID, bool bWatchUser);
void H023_ZhuaAPai(bool fromhead);