mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-06-20 05:44:36 +00:00
18 lines
384 B
C++
18 lines
384 B
C++
#pragma once
|
|
|
|
#include <string_view>
|
|
|
|
#include <expected.hpp>
|
|
#include <sol/forward.hpp>
|
|
|
|
namespace devilution {
|
|
|
|
void LuaInitialize();
|
|
void LuaShutdown();
|
|
void LuaEvent(std::string_view name);
|
|
sol::state &GetLuaState();
|
|
sol::environment CreateLuaSandbox();
|
|
sol::object SafeCallResult(sol::protected_function_result result, bool optional);
|
|
|
|
} // namespace devilution
|