|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
M2 version conversion (namespace wowlib::formats): the M2's contribution to the generic convert<to>() ladder (formats/convert.hpp) — its SupportedVersions list and, as they are written, the adjacent-version convert_step overloads translating one era's layout to the next. More...
Go to the source code of this file.
Namespaces | |
| namespace | wowlib |
| namespace | wowlib::formats |
Variables | |
| template<> | |
| constexpr auto | wowlib::formats::SupportedVersions< m2::M2 > = m2::M2Versions |
| The M2's supported-version ladder: every targeted last-minor-of-major release, in release order (see m2::M2Versions). | |
| template<> | |
| constexpr auto | wowlib::formats::SupportedVersions< m2::detail::M2 > = m2::M2Versions |
| The same ladder keyed on the detail template (see the WMO counterpart: deduction from an entity reference sees m2::detail::M2). | |
| template<> | |
| constexpr auto | wowlib::formats::VersionPivots< m2::M2 > = m2::M2AssemblyPivots |
| The assembly's canonicalization pivots (both spellings, as above). | |
| template<> | |
| constexpr auto | wowlib::formats::VersionPivots< m2::detail::M2 > = m2::M2AssemblyPivots |
M2 version conversion (namespace wowlib::formats): the M2's contribution to the generic convert<to>() ladder (formats/convert.hpp) — its SupportedVersions list and, as they are written, the adjacent-version convert_step overloads translating one era's layout to the next.
Include this (rather than m2.hpp) wherever you convert an M2 across versions or query the ladder (hasConvertPath / convert).
Definition in file convert.hpp.