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

@ -268,7 +268,7 @@ void NetServer::add_disconnect_callback(const NetServerDisconnectCallback& callb
disconnectCallback = callback;
}
const std::vector<std::shared_ptr<NetServer::ClientData>> NetServer::get_client_list() const {
const std::vector<std::shared_ptr<NetServer::ClientData>>& NetServer::get_client_list() const {
return clients;
}