put forward declaration next to first use case
This commit is contained in:
parent
632087f5a9
commit
dc511f915a
@ -308,8 +308,6 @@ namespace party
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool download_files(const game::netadr_s& target, const utils::info_string& info, bool allow_download);
|
|
||||||
|
|
||||||
std::string get_whitelist_json_path()
|
std::string get_whitelist_json_path()
|
||||||
{
|
{
|
||||||
return (utils::properties::get_appdata_path() / "whitelist.json").generic_string();
|
return (utils::properties::get_appdata_path() / "whitelist.json").generic_string();
|
||||||
@ -345,6 +343,8 @@ namespace party
|
|||||||
static_cast<int>(saved_info_response.host.ip[3]));
|
static_cast<int>(saved_info_response.host.ip[3]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool download_files(const game::netadr_s& target, const utils::info_string& info, bool allow_download);
|
||||||
|
|
||||||
int user_download_response(game::hks::lua_State* state)
|
int user_download_response(game::hks::lua_State* state)
|
||||||
{
|
{
|
||||||
const auto response = state->m_apistack.base[0].v.boolean;
|
const auto response = state->m_apistack.base[0].v.boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user