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

📄 billingplayermanager.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
//////////////////////////////////////////////////////////////////////////////// Filename    : BillingPlayerManager.h// Written By  : Reiot// Description ://////////////////////////////////////////////////////////////////////////////#ifndef __BILLING_PLAYER_MANANGER_H__#define __BILLING_PLAYER_MANANGER_H__#include "Types.h"#include "Exception.h"#include "Thread.h"#include "Socket.h"#include "Packet.h"#include "Mutex.h"#include "BillingInfo.h"	// for #define __CONNECT_BILLING_SYSTEM__class BillingPlayer;class CommonBillingPacket;//////////////////////////////////////////////////////////////////////////////// class BillingPlayerManager;//// 溅绢靛 辑滚客狼 烹脚阑 傈淬窍绰 静饭靛捞促.// 楷搬 谗扁搁 促矫 楷搬秦具 等促. 瞪 锭鳖瘤~~//////////////////////////////////////////////////////////////////////////////class BillingPlayerManager : public Thread {public:	BillingPlayerManager() throw(Error);	~BillingPlayerManager() throw(Error);public:	void init() throw(Error) {}	void stop() throw(Error);	void run() throw();	void sendPacket( Packet* pPacket ) throw( ProtocolException, Error );	// Pay Login/Logout	void sendPayInit() throw( ProtocolException, Error );	void sendPayCheck( CommonBillingPacket* pPacket ) throw( ProtocolException, Error );	void sendPayLogin( Player* pPlayer ) throw( ProtocolException, Error );	void sendPayLogout( Player* pPlayer ) throw( ProtocolException, Error );	void setForceDisconnect( bool bForceDisconnect = true ) { m_bForceDisconnect = bForceDisconnect; }private:	BillingPlayer* m_pBillingPlayer;	mutable Mutex	m_Mutex;	bool m_bForceDisconnect;};// global variable declarationextern BillingPlayerManager* g_pBillingPlayerManager;#endif

⌨️ 快捷键说明

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