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>
32 lines
641 B
C++
32 lines
641 B
C++
#pragma once
|
|
|
|
#include "NetAuth.h"
|
|
#include "NFIPSec.h"
|
|
|
|
extern CNetAuth g_NetAuth;
|
|
extern NFIPSec g_IPSec;
|
|
|
|
void GetMD5(char* file, char* outMD5);
|
|
|
|
class CPacketEvent : public CNetAuth::IEventListener
|
|
{
|
|
public:
|
|
CPacketEvent();
|
|
~CPacketEvent();
|
|
|
|
public:
|
|
virtual void EventIRC(CHAR* strCmd, CHAR* strMsg);
|
|
virtual void EventCMD(DWORD dwCmd, DWORD dwValue);
|
|
virtual void EventIPLIST(CHAR Type, CHAR Page, SHORT Count, char* lpIPList_Out);
|
|
|
|
virtual void EventConnect(BOOL bConnect);
|
|
virtual void EventSocketClose();
|
|
|
|
inline int GetEasyCmd() { return m_EasyCmd; }
|
|
|
|
protected:
|
|
int m_Counter;
|
|
int m_EasyCmd;
|
|
|
|
DWORD m_dwServerType;
|
|
}; |