mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-11-16 04:59:17 +01:00
23 lines
404 B
C++
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;
|
|
}; |