mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
30 lines
447 B
C
30 lines
447 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;
|
||
|
ModuleHandle handle;
|
||
|
ScriptObject* script;
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
#endif //SAPPHIRE_SCRIPTINFO_H
|