WUMSLoader/source/module/HookData.h

23 lines
404 B
C++

#pragma once
#include <wums.h>
class HookData {
public:
HookData(wums_hook_type_t type, const void *target) {
this->type = type;
this->target = target;
}
[[nodiscard]] wums_hook_type_t getType() const {
return type;
}
[[nodiscard]] const void *getTarget() const {
return target;
}
private:
wums_hook_type_t type;
const void *target;
};