⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cbillingplayermanager.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
///////////////////////////////////////////////////////////////////////////////// filename		: CBillingPlayerManager.h///////////////////////////////////////////////////////////////////////////////#ifndef __CBILLING_PLAYER_MANAGER__#define __CBILLING_PLAYER_MANAGER__// include files#include "Types.h"#include "Exception.h"#include "Thread.h"#include "Socket.h"#include "Mutex.h"#include "CBillingInfo.h"#ifdef __LOGIN_SERVER__	#include "LoginPlayer.h"#elif defined(__GAME_SERVER__)	#include "GamePlayer.h"#endifclass CBillingPlayer;/////////////////////////////////////////////////////// class CBillingPlayerManager//// 吝惫 呼傅 辑滚客 烹脚阑 傈淬窍绰 静饭靛/////////////////////////////////////////////////////class CBillingPlayerManager : public Thread{public:	CBillingPlayerManager() throw ( Error );	~CBillingPlayerManager() throw ( Error );public:	void init() throw ( Error ) {}	void stop() throw ( Error );	void run() throw ();	// 呼傅 包访 菩哦 焊郴扁 窃荐#ifdef __LOGIN_SERVER__	void sendLogin( LoginPlayer* pLoginPlayer ) throw ( ProtocolException, Error );#elif defined(__GAME_SERVER__)	bool sendLogin( GamePlayer* pGamePlayer ) throw ( ProtocolException, Error );	void sendIntervalValidation() throw ( ProtocolException, Error );	bool sendMinusPoint( GamePlayer* pGamePlayer ) throw ( ProtocolException, Error );	void sendMinusMinute( GamePlayer* pGamePlayer ) throw ( ProtocolException, Error );	void sendLogout( GamePlayer* pGamePlayer ) throw ( ProtocolException, Error );#endif	void setForceDisconnect( bool bForceDisconnect = true ) { m_bForceDisconnect = bForceDisconnect; }	int getVersionNumber() const throw();	int getMinusIntervalInt() const throw ();	string getMinusInterval() const throw ();private:	CBillingPlayer*		m_pCBillingPlayer;	mutable Mutex		m_Mutex;	mutable Mutex		m_SendMutex;	bool				m_bForceDisconnect;};// global variable declarationextern CBillingPlayerManager* g_pCBillingPlayerManager;#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -