mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-10-31 21:35:07 +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;
|
||
|
};
|