sbillingplayermanager.h
来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C头文件 代码 · 共 59 行
H
59 行
///////////////////////////////////////////////////////////////////////////////// filename : SBillingPlayerManager.h///////////////////////////////////////////////////////////////////////////////#ifndef __SBILLING_PLAYER_MANAGER__#define __SBILLING_PLAYER_MANAGER__// include files#include "Types.h"#include "Exception.h"#include "Thread.h"#include "Socket.h"#include "Mutex.h"#include "CBillingInfo.h"#include "PayUser.h"class SBillingPlayer;/////////////////////////////////////////////////////// class SBillingPlayerManager//// 吝惫 呼傅 辑滚客 烹脚阑 傈淬窍绰 静饭靛/////////////////////////////////////////////////////class SBillingPlayerManager : public Thread{public: SBillingPlayerManager() throw ( Error ); ~SBillingPlayerManager() throw ( Error );public: void init() throw ( Error ) {} void stop() throw ( Error ); void run() throw (); // 呼傅 包访 菩哦 焊郴扁 窃荐 bool sendLogin( PayUser* pPayUser, int i ) throw ( ProtocolException, Error ); void sendIntervalValidation( int i ) throw ( ProtocolException, Error ); bool sendMinusPoint( PayUser* pPayUser, int i ) throw ( ProtocolException, Error ); void sendMinusMinute( PayUser* pPayUser, int i ) throw ( ProtocolException, Error ); void sendLogout( PayUser* pPayUser, int i ) throw ( ProtocolException, Error ); int getVersionNumber() const throw(); int getMinusIntervalInt() const throw (); string getMinusInterval() const throw ();private: SBillingPlayer** m_pSBillingPlayer; int m_SBillingPlayers; mutable Mutex* m_Mutex;};// global variable declarationextern SBillingPlayerManager* g_pSBillingPlayerManager;#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?