1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 14:57:44 +00:00
sapphire/src/servers/Server_Zone/Script/ScriptInfo.h

32 lines
505 B
C
Raw Normal View History

#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