Use net objects in resource manager

This commit is contained in:
Yousef Khadadeh 2025-12-16 12:02:08 +03:00
parent 9e049f0201
commit 9187518290
14 changed files with 113 additions and 179 deletions

View file

@ -85,7 +85,7 @@ class NetServer : public std::enable_shared_from_this<NetServer> {
void add_recv_callback(MessageCommandType commandID, const NetServerRecvCallback& callback);
void add_disconnect_callback(const NetServerDisconnectCallback& callback);
const std::vector<std::shared_ptr<ClientData>> get_client_list() const;
const std::vector<std::shared_ptr<ClientData>>& get_client_list() const;
private:
void parse_received_messages();