DragonNest/Server/DNLogServer/DNConnection.h
2024-12-20 16:56:44 +08:00

27 lines
1.2 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#include "Connection.h"
class CDNConnection: public CConnection
{
public:
CDNConnection(void);
virtual ~CDNConnection(void);
int MessageProcess(int iMainCmd, int iSubCmd, char *pData, int iLen);
void DBMessageProcess(char *pData, int nThreadID);
void DoUpdate(DWORD CurTick);
void SendLiveCheck();
private:
#if defined(PRE_MODIFY_CONNECTIONSYNC_01)
virtual void Release();
#endif // #if defined(PRE_MODIFY_CONNECTIONSYNC_01)
DWORD m_dwLiveTick;
#if defined(PRE_ADD_LOGSERVER_HEARTBEAT)
DWORD m_dwLastRecvTick;
DWORD m_dwSendSYNTick;
DWORD m_dwSendSYNACKTick;
#endif
};