h1-mod/src/client/component/download.hpp
2022-11-01 00:09:02 -05:00

18 lines
301 B
C++

#pragma once
#include "game/game.hpp"
#include <utils/info_string.hpp>
namespace download
{
struct file_t
{
std::string name;
std::string hash;
};
void start_download(const game::netadr_s& target, const utils::info_string& info, const std::vector<file_t>& files);
void stop_download();
}