1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-29 09:32:45 +00:00
OpenMW/apps/openmw/mwlua/context.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
497 B
C++
Raw Normal View History

2021-02-17 22:56:14 +01:00
#ifndef MWLUA_CONTEXT_H
#define MWLUA_CONTEXT_H
namespace LuaUtil
{
class LuaState;
class UserdataSerializer;
}
namespace MWLua
{
class LuaEvents;
2021-02-17 22:56:14 +01:00
class LuaManager;
class ObjectLists;
2021-02-17 22:56:14 +01:00
struct Context
{
2024-01-07 23:29:20 +01:00
bool mIsMenu;
2021-02-17 22:56:14 +01:00
bool mIsGlobal;
LuaManager* mLuaManager;
LuaUtil::LuaState* mLua;
LuaUtil::UserdataSerializer* mSerializer;
ObjectLists* mObjectLists;
LuaEvents* mLuaEvents;
2021-02-17 22:56:14 +01:00
};
}
#endif // MWLUA_CONTEXT_H