h1-mod/src/client/component/download.hpp

18 lines
301 B
C++
Raw Normal View History

#pragma once
#include "game/game.hpp"
2022-11-01 01:09:02 -04:00
#include <utils/info_string.hpp>
namespace download
{
2022-10-10 23:11:54 -04:00
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();
}