fully implement lua

This commit is contained in:
Lion Kortlepel authored and Anonymous275 committed 2021-03-18 23:44:14 +02:00
1 parent 459814a6ec
commit 4cda6e8bc3
12 files changed
+252 -234

No files matched your search

+3 -3
View File
@@ -17,10 +17,10 @@ public:
std::weak_ptr<TClient> InsertNewClient();
void RemoveClient(std::weak_ptr<TClient>);
void ForEachClient(std::function<bool(std::weak_ptr<TClient>)>);
void ForEachClient(const std::function<bool(std::weak_ptr<TClient>)>& Fn);
size_t ClientCount() const;
private:
TClientSet _Clients;
mutable RWMutex _ClientsMutex;
TClientSet mClients;
mutable RWMutex mClientsMutex;
};