1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 22:37:45 +00:00
sapphire/src/servers/sapphire_zone/Script/ScriptInfo.h

35 lines
556 B
C++

#ifndef SAPPHIRE_SCRIPTINFO_H
#define SAPPHIRE_SCRIPTINFO_H
#include <vector>
#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 cache_path;
std::string library_path;
ModuleHandle handle;
std::vector< ScriptObject* > scripts;
ScriptType type;
};
}
}
#endif //SAPPHIRE_SCRIPTINFO_H