1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00
OpenMW/apps/openmw/mwlua/luabindings.hpp

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

26 lines
826 B
C++
Raw Normal View History

2020-12-18 23:21:10 +01:00
#ifndef MWLUA_LUABINDINGS_H
#define MWLUA_LUABINDINGS_H
#include <map>
#include <sol/forward.hpp>
#include <string>
2020-12-18 23:21:10 +01:00
2021-02-17 22:56:14 +01:00
#include "context.hpp"
2020-12-18 23:21:10 +01:00
namespace MWLua
{
// Initialize Lua packages that are available for all scripts.
std::map<std::string, sol::object> initCommonPackages(const Context&);
2020-12-18 23:21:10 +01:00
// Initialize Lua packages that are available only for global scripts.
std::map<std::string, sol::object> initGlobalPackages(const Context&);
2021-01-29 01:54:54 +01:00
// Initialize Lua packages that are available only for local scripts (including player scripts).
std::map<std::string, sol::object> initLocalPackages(const Context&);
2021-06-26 23:10:24 +02:00
// Initialize Lua packages that are available only for local scripts on the player.
std::map<std::string, sol::object> initPlayerPackages(const Context&);
2020-12-18 23:21:10 +01:00
}
#endif // MWLUA_LUABINDINGS_H