wxhelper-new/inc/sync_msg_hook.h

17 lines
424 B
C
Raw Normal View History

2024-06-16 13:17:24 +08:00
#ifndef WXHELPER_SYNC_MSG_HOOK_H_
#define WXHELPER_SYNC_MSG_HOOK_H_
#include "hook.h"
#include "singleton.h"
#include "wechat_interface.h"
namespace wxhelper{
static wechat::function::__DoAddMsg kDoAddMsg= nullptr;
class SyncMsgHook : public hook::BaseHook,public base::Singleton<SyncMsgHook> {
public:
void Init();
private:
static void HandleSyncMsg(int64_t param1, int64_t param2, int64_t param3);
};
}
#endif