#ifndef _C_SERVER_SERVICE_MANAGER_H_INCLUDE_
#define _C_SERVER_SERVICE_MANAGER_H_INCLUDE_

#include "cdefines.h"

/**
 * ڹϷ߼
 */
class CServerServiceManager : public ServerServiceManager
{
public:
	/// 캯
	CServerServiceManager();
	/// 
	virtual ~CServerServiceManager();

	/// 
	virtual void SetGamePlayerCount(int count);
	/// õ
	virtual int GetGamePlayerCount(void);
	/// ÷ʶ
	virtual void SetRoomMarking(int marking);
	/// õʶ
	virtual int GetRoomMarking(void);
	/// Ϸ
	virtual void SetGameName(const char* name);
	/// õϷ
	virtual const char* GetGameName(void);
	/// Ϸͻ
	virtual void SetGameModuleName(const char* name);
	/// õϷͻ
	virtual const char* GetGameModuleName(void);
	/// ÷Ϸ
	virtual void SetRoomGameType(enStartMode type) { m_GameStartMode = type; }
	/// õϷ
	virtual enStartMode GetRoomGameType(void) { return m_GameStartMode; }
	/// ÷С뱶
	virtual void SetRoomLastDouble(int pdouble);
	/// õС뱶
	virtual int GetRoomLastDouble(void);
	/// ÷˿ں
	virtual void SetServerPort(int pport) { m_serverport = pport; }
	/// õ˿ں
	virtual int GetServerPort(void) { return m_serverport; }

	//ӿ
public:
	//
	virtual void * CreateTableFrameSink(void);
	//
	virtual void * CreateAndroidUserItemSink(void);

private:
	int m_maxPlayerCount;                         /**<  */
	int m_GameMarking;                            /**< Ϸʶ */
	std::string m_GameName;                       /**< Ϸ */
	std::string m_GameModuleName;                 /**< Ϸͻ */
	enStartMode m_GameStartMode;                  /**< Ϸʼģʽ */
	int m_RoomLastDouble;                         /**< ϷС뱶 */
	int m_serverport;
};

#endif
