Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
42
Server/ManageTool/MonitoringTool/ManagerServerEventHandler.h
Normal file
42
Server/ManageTool/MonitoringTool/ManagerServerEventHandler.h
Normal file
@@ -0,0 +1,42 @@
|
||||
#ifndef _GAMA_NETWORK_MANAGERSERVER_EVENT_HANDLER_
|
||||
#define _GAMA_NETWORK_MANAGERSERVER_EVENT_HANDLER_
|
||||
|
||||
#include <Network/ClientNetwork/ClientEventHandler.h>
|
||||
#include <Network/Packet/ManagePacketCmd.h>
|
||||
|
||||
namespace ClientNet
|
||||
{
|
||||
/** \class CManagerServerEventHandler
|
||||
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>*/
|
||||
class CManagerServerEventHandler : public CClientEventHandler
|
||||
{
|
||||
public:
|
||||
|
||||
CManagerServerEventHandler();
|
||||
virtual ~CManagerServerEventHandler();
|
||||
|
||||
virtual int OnOpen(int iErrorCode);
|
||||
virtual int OnClose();
|
||||
|
||||
static bool Connect();
|
||||
|
||||
virtual int OnDispatch(PktBase* lpPktBase, INET_Addr& peerAddr);
|
||||
|
||||
static bool SendUserInfo(CManagerServerEventHandler* lpHandler,
|
||||
const ServerManage::UserInfo* lpUserInfo,
|
||||
unsigned char cUserInfoNum, unsigned char cCommand, unsigned char cError);
|
||||
|
||||
unsigned long GetLastPingRecvTime() { return m_dwLastPingRecvTime; }
|
||||
|
||||
private:
|
||||
|
||||
void RecvAuthAck(PktBase* lpPktBase, INET_Addr& peerAddr);
|
||||
bool RecvUserStatistics(PktBase* lpPktBase, INET_Addr& peerAddr);
|
||||
void RecvPing(PktBase* lpPktBase, INET_Addr& peerAddr);
|
||||
|
||||
unsigned long m_dwLastPingRecvTime;
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user