WUMSLoader/wumsloader/src/module/ExportData.h

31 lines
603 B
C
Raw Normal View History

2022-02-04 21:44:03 +01:00
#pragma once
2022-02-04 21:44:03 +01:00
#include <string>
#include <wums.h>
class ExportData {
public:
ExportData(wums_entry_type_t type, std::string name, const void *address) {
2022-02-04 21:44:03 +01:00
this->type = type;
this->name = std::move(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;
}
[[nodiscard]] const std::string &getName() const {
return name;
}
private:
wums_entry_type_t type;
std::string name;
const void *address;
};