Cube-World-Mod-Launcher/CubeModLoader/DLL.h

31 lines
528 B
C++

#ifndef DLL_H
#define DLL_H
#include <iostream>
#include <windows.h>
class DLL
{
public:
std::string fileName;
HMODULE handle;
FARPROC ModPreInitialize;
FARPROC ModInitialize;
FARPROC ModMajorVersion;
FARPROC ModMinorVersion;
// Callbacks
FARPROC HandleChat;
FARPROC HandleP2PRequest;
DLL(std::string fileName);
HMODULE Load();
virtual ~DLL();
protected:
private:
};
#endif // DLL_H