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

30 lines
493 B
C
Raw Normal View History

2019-09-15 03:24:12 +08:00
#ifndef DLL_H
#define DLL_H
#include <iostream>
#include <windows.h>
class DLL
{
public:
std::string fileName;
HMODULE handle;
2019-09-15 07:59:24 +08:00
FARPROC ModPreInitialize;
2019-09-15 03:24:12 +08:00
FARPROC ModInitialize;
FARPROC ModMajorVersion;
FARPROC ModMinorVersion;
// Callbacks
2019-09-22 01:12:00 +08:00
FARPROC HandleChat;
2019-09-15 03:24:12 +08:00
DLL(std::string fileName);
HMODULE Load();
virtual ~DLL();
protected:
private:
};
#endif // DLL_H