mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-24 12:44:36 +00:00
feat(Core/Modules): add separated lib for modules (#9281)
This commit is contained in:
@@ -48,6 +48,14 @@ public:
|
||||
std::function<void(std::string const&)> const& apply,
|
||||
std::function<void(Path const& path)> const& applyFile,
|
||||
std::function<QueryResult(std::string const&)> const& retrieve, std::string const& dbModuleName, std::vector<std::string> const* setDirectories = nullptr);
|
||||
|
||||
UpdateFetcher(Path const& updateDirectory,
|
||||
std::function<void(std::string const&)> const& apply,
|
||||
std::function<void(Path const& path)> const& applyFile,
|
||||
std::function<QueryResult(std::string const&)> const& retrieve,
|
||||
std::string const& dbModuleName,
|
||||
std::string_view modulesList = {});
|
||||
|
||||
~UpdateFetcher();
|
||||
|
||||
UpdateResult Update(bool const redundancyChecks, bool const allowRehash,
|
||||
@@ -153,6 +161,7 @@ private:
|
||||
// modules
|
||||
std::string const _dbModuleName;
|
||||
std::vector<std::string> const* _setDirectories;
|
||||
std::string_view _modulesList = {};
|
||||
};
|
||||
|
||||
#endif // UpdateFetcher_h__
|
||||
|
||||
Reference in New Issue
Block a user