wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
convert.hpp File Reference

WMO version conversion (namespace wowlib::formats): the WMO'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 that translate one era's chunk-set changes to the next. More...

Include dependency graph for convert.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  wowlib
namespace  wowlib::formats

Variables

template<>
constexpr auto wowlib::formats::SupportedVersions< wmo::WMO > = wmo::WmoVersions
 The WMO's supported-version ladder: every targeted last-minor-of-major release, in release order (see wmo::WmoVersions).
template<>
constexpr auto wowlib::formats::SupportedVersions< wmo::detail::WMO > = wmo::WmoVersions
 The same ladder keyed on the detail template: convert() DEDUCES the family from an entity reference, and deduction sees wmo::detail::WMO — an alias template is not identity-equal to its target for template-template matching.
template<>
constexpr auto wowlib::formats::VersionPivots< wmo::WMO > = wmo::WmoAssemblyPivots
 The assembly's canonicalization pivots (both spellings, as above).
template<>
constexpr auto wowlib::formats::VersionPivots< wmo::detail::WMO > = wmo::WmoAssemblyPivots

Detailed Description

WMO version conversion (namespace wowlib::formats): the WMO'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 that translate one era's chunk-set changes to the next.

Include this (rather than wmo.hpp) wherever you convert a WMO across versions or query the ladder (hasConvertPath / convert).

Definition in file convert.hpp.