Use net objects in resource manager
This commit is contained in:
parent
9e049f0201
commit
9187518290
14 changed files with 113 additions and 179 deletions
|
|
@ -52,10 +52,6 @@ bool ConnectionManager::client_exists() {
|
|||
return client != nullptr;
|
||||
}
|
||||
|
||||
std::unordered_map<ServerClientID, NetLibrary::DownloadProgress> ConnectionManager::server_get_resource_retrieval_progress() {
|
||||
return localServer->resource_download_progress();
|
||||
}
|
||||
|
||||
NetLibrary::DownloadProgress ConnectionManager::client_get_resource_retrieval_progress() {
|
||||
return client->get_progress_into_fragmented_message(RESOURCE_COMMAND_CHANNEL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue