mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
29 lines
469 B
C++
29 lines
469 B
C++
#ifndef MWLUA_CONTEXT_H
|
|
#define MWLUA_CONTEXT_H
|
|
|
|
namespace LuaUtil
|
|
{
|
|
class LuaState;
|
|
class UserdataSerializer;
|
|
}
|
|
|
|
namespace MWLua
|
|
{
|
|
class LuaEvents;
|
|
class LuaManager;
|
|
class WorldView;
|
|
|
|
struct Context
|
|
{
|
|
bool mIsGlobal;
|
|
LuaManager* mLuaManager;
|
|
LuaUtil::LuaState* mLua;
|
|
LuaUtil::UserdataSerializer* mSerializer;
|
|
WorldView* mWorldView;
|
|
LuaEvents* mLuaEvents;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // MWLUA_CONTEXT_H
|