osb/source/game/scripting/StarConfigLuaBindings.cpp

16 lines
340 B
C++
Raw Permalink Normal View History

2023-06-20 04:33:09 +00:00
#include "StarConfigLuaBindings.hpp"
#include "StarJsonExtra.hpp"
#include "StarLuaGameConverters.hpp"
namespace Star {
LuaCallbacks LuaBindings::makeConfigCallbacks(function<Json(String const&, Json const&)> getParameter) {
LuaCallbacks callbacks;
callbacks.registerCallback("getParameter", getParameter);
return callbacks;
}
}