mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-12-28 09:01:52 +01:00
23 lines
382 B
C
23 lines
382 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;
|
||
|
}
|
||
|
|
||
|
const wums_hook_type_t getType() const {
|
||
|
return type;
|
||
|
}
|
||
|
|
||
|
const void *getTarget() const {
|
||
|
return target;
|
||
|
}
|
||
|
|
||
|
private:
|
||
|
wums_hook_type_t type;
|
||
|
const void *target;
|
||
|
};
|