Add MP.Get

This commit is contained in:
Tixx
2024-09-21 23:17:08 +02:00
parent 7f69e336a9
commit 17185da53b
3 changed files with 32 additions and 0 deletions

View File

@@ -910,6 +910,7 @@ TLuaEngine::StateThreadData::StateThreadData(const std::string& Name, TLuaStateI
mEngine->CancelEventTimers(EventName, mStateId);
});
MPTable.set_function("Set", &LuaAPI::MP::Set);
MPTable.set_function("Get", &LuaAPI::MP::Get);
auto UtilTable = StateView.create_named_table("Util");
UtilTable.set_function("LogDebug", [this](sol::variadic_args args) {