Lua: Implement most API functions

This commit is contained in:
Lion Kortlepel committed 2021-09-16 19:00:13 +02:00
1 parent 1c80a4deb7
commit 968d9ff999
6 files changed
+168 -19

No files matched your search

+3
View File
@@ -2,6 +2,7 @@
#include <chrono>
#include <memory>
#include <optional>
#include <queue>
#include <string>
#include <unordered_set>
@@ -98,3 +99,5 @@ private:
int mID = -1;
std::chrono::time_point<std::chrono::high_resolution_clock> mLastPingTime;
};
std::optional<std::weak_ptr<TClient>> GetClient(class TServer& Server, int ID);