Fixed Issue #403 (#408)

Fixes #403
This commit is contained in:
aa15032261
2022-08-13 17:19:18 +08:00
committed by GitHub
parent dc6da254e9
commit 1ef205d0a5
5 changed files with 172 additions and 127 deletions

View File

@ -41,11 +41,11 @@ namespace big
const std::vector<weapon_item>& get_weapon_arr();
private:
void load_from_file(std::string file_path, std::string etag_path, std::string url, void(gta_data_service::* load_func)(file), std::string data_name);
void load_from_file(std::string file_path, std::string etag_path, std::string url, bool(gta_data_service::* load_func)(file), std::string data_name);
void load_vehicles(file file_to_load);
void load_peds(file file_to_load);
void load_weapons(file file_to_load);
bool load_vehicles(file file_to_load);
bool load_peds(file file_to_load);
bool load_weapons(file file_to_load);
};
inline gta_data_service* g_gta_data_service{};