32 lines
567 B
C++
32 lines
567 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;
|
|
FARPROC HandleInventoryCheck;
|
|
|
|
DLL(std::string fileName);
|
|
HMODULE Load();
|
|
virtual ~DLL();
|
|
|
|
protected:
|
|
|
|
private:
|
|
};
|
|
|
|
#endif // DLL_H
|