1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-28 07:07:45 +00:00
sapphire/src/servers/Server_Zone/Script/ScriptInfo.h
2017-12-12 14:57:13 +11:00

31 lines
505 B
C++

#ifndef SAPPHIRE_SCRIPTINFO_H
#define SAPPHIRE_SCRIPTINFO_H
#include "NativeScriptApi.h"
#ifdef _WIN32
#include <windows.h>
typedef HMODULE ModuleHandle;
#else
typedef void* ModuleHandle;
#endif
namespace Core {
namespace Scripting {
class ScriptInfo
{
public:
ScriptInfo() = default;
std::string library_name;
std::string script_name;
ModuleHandle handle;
ScriptObject* script;
ScriptType type;
};
}
}
#endif //SAPPHIRE_SCRIPTINFO_H