File Mod.hpp

Typedefs

using json = nlohmann::json
class Mod

Public Functions

Mod(std::string modName)
FARPROC GetFunction(const char *functionName)
void Shutdown()

Public Members

std::string modName
Metadata metadata

Public Static Functions

static Mod::Metadata GetMetadata(std::string modName)
static Mod::Metadata ParseMetadata(std::string modName, std::string fileContents)

Private Functions

fs::path GetTempDll()

Private Members

HMODULE hModule
struct Metadata

Public Members

std::string name
std::string version
std::vector<std::string> author