WiiUPluginLoaderBackend/source/plugin/HookData.cpp

16 lines
397 B
C++
Raw Normal View History

2024-11-27 20:44:36 +01:00
#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;
}