|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
Client version identity, the flavor axis that separates a client's CONTENT version from the engine generation its files are laid out for, the storage-kind split both imply, locales, and the versions namespace of release constants. More...
#include <array>#include <compare>#include <cstdint>#include <iosfwd>#include <optional>#include <string_view>#include <utility>#include <welder/vocabulary.hpp>Go to the source code of this file.
Classes | |
| struct | wowlib::ClientVersion |
| struct | wowlib::detail::EngineGeneration |
| One retail engine generation on the global build counter: the build at which that major became the live/PTR client — the point from which concurrently built Classic clients fork off it — and the release wowlib models the generation with. More... | |
Namespaces | |
| namespace | wowlib |
| namespace | wowlib::versions |
| namespace | wowlib::detail |
Enumerations | |
| enum class | wowlib::StorageKind { wowlib::Mpq , wowlib::Casc } |
| enum class | wowlib::ClientFlavor { wowlib::Retail , wowlib::Classic , wowlib::ClassicEra , wowlib::Anniversary } |
| enum class | wowlib::Locale { wowlib::enUS , wowlib::enGB , wowlib::deDE , wowlib::frFR , wowlib::ruRU , wowlib::esES , wowlib::esMX , wowlib::koKR , wowlib::zhCN , wowlib::zhTW , wowlib::ptBR , wowlib::itIT } |
Functions | |
| std::ostream & | wowlib::operator<< (std::ostream &out, const ClientVersion &version) |
| render version as "major.minor.patch.build", with the flavor appended when it is not Retail ("1.15.9.69109 (ClassicEra)") — a Classic version is unreadable without it, since the tuple alone says nothing about the client. | |
| std::string_view | wowlib::localeCode (Locale locale) |
| The four-letter code of locale ("enUS", ...) as used in MPQ locale directory and archive names. | |
| std::optional< Locale > | wowlib::localeFromCode (std::string_view code) |
| Parse a four-letter locale code. | |
| std::uint32_t | wowlib::cascLocaleFlag (Locale locale) |
| The CASC_LOCALE_* bit of locale for CascOpenStorage/CascOpenFile locale masks. | |
Client version identity, the flavor axis that separates a client's CONTENT version from the engine generation its files are laid out for, the storage-kind split both imply, locales, and the versions namespace of release constants.
Definition in file client_version.hpp.