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:
@@ -0,0 +1,24 @@
|
||||
#ifndef _GAMA_CLIENT_NET_NULL_HANDLER_H_
|
||||
#define _GAMA_CLIENT_NET_NULL_HANDLER_H_
|
||||
|
||||
#include "ClientEventHandler.h"
|
||||
|
||||
namespace ClientNet
|
||||
{
|
||||
class CNullClientEventHandler : public CClientEventHandler
|
||||
{
|
||||
public:
|
||||
|
||||
static CNullClientEventHandler& GetInstance()
|
||||
{
|
||||
static CNullClientEventHandler nullHandler;
|
||||
return nullHandler;
|
||||
}
|
||||
|
||||
virtual int OnDispatch(PktBase* lpPktBase, INET_Addr& peerAddr) { return 0; }
|
||||
virtual int OnOpen(int iErrorCode) { return 0; }
|
||||
virtual int OnClose() { return 0; }
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user