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>
35 lines
720 B
C++
35 lines
720 B
C++
#ifndef _GAME_SERVER_LOG_DISPATCH_H_
|
|
#define _GAME_SERVER_LOG_DISPATCH_H_
|
|
|
|
#include <Network/Stream/SendStream.h>
|
|
#include <Network/Dispatch/RylServerDispatch.h>
|
|
#include <Network/Dispatch/SingleDispatchStorage.h>
|
|
|
|
class CLogDispatch : public CRylServerDispatch
|
|
{
|
|
public:
|
|
|
|
static CSingleDispatch& GetDispatchTable()
|
|
{
|
|
static CSingleDispatch singleDispatch;
|
|
return singleDispatch;
|
|
}
|
|
|
|
enum Const
|
|
{
|
|
MAX_PACKET_DISPATCH_PER_PULSE = 10
|
|
};
|
|
|
|
CLogDispatch(CSession& Session);
|
|
virtual ~CLogDispatch();
|
|
|
|
virtual void Connected();
|
|
virtual void Disconnected();
|
|
virtual bool DispatchPacket(PktBase* lpPktBase);
|
|
|
|
private:
|
|
|
|
bool ProcessServerLoginAck(PktBase* lpPktBase);
|
|
};
|
|
|
|
#endif |