Files
Sun1602/Tools/SunUpdateManager/SunUpdateServer/Handler_SA.h
T
2022-10-26 12:25:11 +08:00

40 lines
1.7 KiB
C++

#pragma once
#include "PacketStruct.h"
class ServerSession;
class Handler_SA
{
public:
Handler_SA(void);
~Handler_SA(void);
public:
static VOID OnHandler_SA_SERVER_AUTH_SYN( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SA_SERVER_EXECUTE_ACK( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SA_SERVER_BACKUP_ACK( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SA_SERVER_RESTORE_ACK( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SA_SERVER_FORCE_DISCONNECT_ACK( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SA_PATCH_EXECUTE_ACK( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SA_PATCH_RESULT_NTF( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
//notice
static VOID OnHandler_SA_SERVER_NOTICE_ACK( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SA_SERVER_SEND_NOTICE_ACK( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SA_CHECK_LOGFILE_ACK( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SA_CHECK_GAMEPROCESS_NTF( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
#ifdef __20080312__SOLARAUTH_SERVER_PATCH
static VOID OnHandler_SA_SOLARSCRIPT_BACKUP_ACK( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SA_SOLARSCRIPT_RESTORE_ACK( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SA_SOLARSCRIPT_EXECUTE_ACK( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
#endif
#ifdef _NA_006543_20130318_HEARTBEAT
static VOID OnHandler_SA_CHECK_HEARTBEAT_NTF( ServerSession* pSession, MSG_BASE* pMsg, int nSize );
#endif
};