You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <string_view>
|
|
|
|
|
|
|
|
|
|
#include <expected.hpp>
|
|
|
|
|
#include <sol/forward.hpp>
|
|
|
|
|
|
|
|
|
|
namespace devilution {
|
|
|
|
|
|
|
|
|
|
void LuaInitialize();
|
|
|
|
|
void LuaReloadActiveMods();
|
|
|
|
|
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
|