mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-11-06 00:05:07 +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;
|
|
}; |