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

57 lines
2.9 KiB
C++

#pragma once
#include <PacketStruct.h>
class UserSession;
class Handler_SM
{
public:
Handler_SM(void);
~Handler_SM(void);
public:
// User
static VOID OnHandler_SM_USER_REGISTER_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_USER_LOGOUT_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_USER_MODIFY_PASSWORD_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_USER_IDLIST_REQ_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
// Server
static VOID OnHandler_SM_SERVER_EXECUTE_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_SERVER_SHUTDOWN_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_SERVER_REGISTER_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_SERVER_FORCE_DISCONNECT_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_SERVER_BACKUP_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_SERVER_RESTORE_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_SERVER_ACCESS_RIGHT_REQ_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_SERVER_ACCESS_RIGHT_SAVE_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_SERVER_ACCESS_RIGHT_INIT_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
// Notice
static VOID OnHandler_SM_SERVER_NOTICE_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_SERVER_SEND_NOTICE_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
// Patch
static VOID OnHandler_SM_PATCH_EXECUTE_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_PATCH_UPLOAD_NTF( UserSession* pSession, MSG_BASE* pMsg, int nSize );
// Check
static VOID OnHandler_SM_CHECK_LOGFILE_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
// Agent Á¤º¸ ¿äû
static VOID OnHandler_SM_AGENT_INFO_REQ_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_AGENT_REGISTER_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_AGENT_DELETE_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_AGENT_MODIFY_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
//.//
#ifdef __20080312__SOLARAUTH_SERVER_PATCH
static VOID OnHandler_SM_SERVER_SOLARSCRIPT_BACKUP_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_SERVER_SOLARSCRIPT_RESTORE_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_SERVER_SOLARSCRIPT_CONVERT_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
static VOID OnHandler_SM_PATCH_SOLARSCRIPT_EXECUTE_SYN( UserSession* pSession, MSG_BASE* pMsg, int nSize );
#endif //__20080312__SOLARAUTH_SERVER_PATCH
};