mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-12-19 01:21:53 +01:00
16 lines
397 B
C++
16 lines
397 B
C++
|
#include "HookData.h"
|
||
|
|
||
|
HookData::HookData(void *functionPointer, const wups_loader_hook_type_t type) {
|
||
|
this->mFunctionPointer = functionPointer;
|
||
|
this->mType = type;
|
||
|
}
|
||
|
|
||
|
HookData::~HookData() = default;
|
||
|
|
||
|
[[nodiscard]] void *HookData::getFunctionPointer() const {
|
||
|
return mFunctionPointer;
|
||
|
}
|
||
|
|
||
|
[[nodiscard]] wups_loader_hook_type_t HookData::getType() const {
|
||
|
return mType;
|
||
|
}
|