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

📄 billingplayer.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
//////////////////////////////////////////////////////////////////////// // Filename    : BillingPlayer.h // Written by  : reiot@ewestsoft.com// Description :// //////////////////////////////////////////////////////////////////////#ifndef __BILLING_PLAYER_H__#define __BILLING_PLAYER_H__// include files#include "Types.h"#include "Exception.h"#include "Player.h"#include "BillingInfo.h"class CommonBillingPacket;////////////////////////////////////////////////////////////////////////// class BillingPlayer////////////////////////////////////////////////////////////////////////class BillingPlayer : public Player {public :	// constructor	BillingPlayer () throw (Error);	BillingPlayer (Socket * pSocket) throw ( Error );		// destructor	virtual ~BillingPlayer () throw (Error);	virtual void processInput () throw (IOException, Error);		virtual void processOutput () throw (IOException, Error);		// parse packet and execute handler for the packet	virtual void processCommand () throw (IOException, Error);		// send packet to player's output buffer	virtual void sendPacket (Packet* pPacket) throw (ProtocolException, Error);	// disconnect	// 敲饭捞绢狼 楷搬阑 辆丰且 锭, 惑措祈捞 利例窍霸 肺弊酒眶窍瘤 臼阑 版快 家南狼 楷搬捞 	// 捞固 谗败 乐栏骨肺 disconnect(DISCONNECTED) 甫 荤侩秦辑 楷搬阑 辆丰秦具 茄促. 馆搁, 	// 沥寸窍霸 肺弊酒眶阑 茄 版快俊绰 disconnect(UNDISCONNECTED) 甫 荤侩秦具 茄促.	virtual void disconnect (bool bDisconnected = DISCONNECTED) throw (InvalidProtocolException, Error);	void setSocket ( Socket * pSocket ) throw ();		// get debug string	virtual string toString () const throw (Error);public :	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 );	int getRetryCount() const { return m_RetryCount; }	int getRetryValue() const { return m_RetryValue; }	void resetRetryCount() { m_RetryCount = 0; }	void resetRetryValue() { m_RetryValue = 0; }	protected :	// 老沥 矫埃救俊 货肺 PayLogin 阑 货肺 焊辰(Retry) 敲饭捞绢 荐	int m_RetryCount;	// 老沥 矫埃救俊 货肺 PayLogin 阑 货肺 焊辰(Retry) 敲饭捞绢狼 醚 Retry 钦	int m_RetryValue;};#endif

⌨️ 快捷键说明

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