mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-16 16:10:58 +00:00
30 lines
497 B
C++
30 lines
497 B
C++
#ifndef MWLUA_CONTEXT_H
|
|
#define MWLUA_CONTEXT_H
|
|
|
|
namespace LuaUtil
|
|
{
|
|
class LuaState;
|
|
class UserdataSerializer;
|
|
}
|
|
|
|
namespace MWLua
|
|
{
|
|
class LuaEvents;
|
|
class LuaManager;
|
|
class ObjectLists;
|
|
|
|
struct Context
|
|
{
|
|
bool mIsMenu;
|
|
bool mIsGlobal;
|
|
LuaManager* mLuaManager;
|
|
LuaUtil::LuaState* mLua;
|
|
LuaUtil::UserdataSerializer* mSerializer;
|
|
ObjectLists* mObjectLists;
|
|
LuaEvents* mLuaEvents;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // MWLUA_CONTEXT_H
|