wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::VersionedEntity Concept Reference

An entity the walker can gate by client version: anything carrying the static constexpr ClientVersion version every format entity declares (chunked files, M2 offset blocks, ADT tiles and map chunks alike). More...

#include <wowlib/formats/common/validation.hpp>

Concept definition

template<typename E>
concept VersionedEntity = requires {
{ E::Version } -> std::convertible_to<ClientVersion>;
}
An entity the walker can gate by client version: anything carrying the static constexpr ClientVersion...

Detailed Description

An entity the walker can gate by client version: anything carrying the static constexpr ClientVersion version every format entity declares (chunked files, M2 offset blocks, ADT tiles and map chunks alike).

Definition at line 195 of file validation.hpp.