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

31 lines
528 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-10-06 03:59:20 +08:00
FARPROC HandleP2PRequest;
2019-09-15 03:24:12 +08:00
DLL(std::string fileName);
HMODULE Load();
virtual ~DLL();
protected:
private:
};
#endif // DLL_H