![]() |
TrinityCore
|
Classes | |
| struct | ArchiveData |
Functions | |
| bool | FileNameMatchesArchivePattern (std::string_view const &fileName, std::string_view const &pattern) |
| std::vector< boost::filesystem::path > | ResolveArchiveFileList (std::string_view inputPath, std::string_view localeName, std::string_view namePattern) |
| bool | OpenArchive (std::string_view inputPath, std::string_view localeName, ArchiveData const &archive) |
| bool | OpenArchives (std::string_view inputPath, std::string_view localeName) |
| void | CloseArchives () |
Variables | |
| constexpr std::array< ArchiveData, 11 > | Archives |
| void MPQ::CloseArchives | ( | ) |
| bool MPQ::FileNameMatchesArchivePattern | ( | std::string_view const & | fileName, |
| std::string_view const & | pattern | ||
| ) |
Definition at line 162 of file mpq_libmpq.cpp.
References charToLower.
Referenced by ResolveArchiveFileList().
| bool MPQ::OpenArchive | ( | std::string_view | inputPath, |
| std::string_view | localeName, | ||
| ArchiveData const & | archive | ||
| ) |
Definition at line 199 of file mpq_libmpq.cpp.
References gOpenArchives, MPQ::ArchiveData::NamePattern, MPQ::ArchiveData::Required, and ResolveArchiveFileList().
Referenced by OpenArchives().
| bool MPQ::OpenArchives | ( | std::string_view | inputPath, |
| std::string_view | localeName | ||
| ) |
Definition at line 227 of file mpq_libmpq.cpp.
References Archives, and OpenArchive().
| std::vector< boost::filesystem::path > MPQ::ResolveArchiveFileList | ( | std::string_view | inputPath, |
| std::string_view | localeName, | ||
| std::string_view | namePattern | ||
| ) |
Definition at line 170 of file mpq_libmpq.cpp.
References charToLower, FileNameMatchesArchivePattern(), and Trinity::StringFormat().
Referenced by OpenArchive().
|
constexpr |
Definition at line 144 of file mpq_libmpq.cpp.
Referenced by OpenArchives().