WUMSLoader/source/module/ExportData.h

30 lines
575 B
C
Raw Normal View History

#pragma once
#include <wums.h>
class ExportData {
public:
ExportData(wums_entry_type_t type, const std::string &name, const void *address) {
this->type = type;
this->name = name;
this->address = address;
}
2021-09-18 11:55:01 +02:00
[[nodiscard]] wums_entry_type_t getType() const {
return type;
}
2021-09-18 11:55:01 +02:00
[[nodiscard]] const void *getAddress() const {
return address;
}
2021-09-18 11:55:01 +02:00
[[nodiscard]] const std::string getName() const {
return name;
}
private:
wums_entry_type_t type;
std::string name;
const void *address;
};