osb/source/game/scripting/StarConfigLuaBindings.cpp
2023-06-20 14:33:09 +10:00

16 lines
340 B
C++

#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;
}
}