|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
A _mpv.wdt particulate-volume satellite for one client version (BfA 8.0.1+). More...
#include <wowlib/formats/wdt/mpv/mpv.hpp>
Public Attributes | |
| std::uint32_t | mver = 4 |
| The _mpv format version, 1 to 4; the PVMI record size is keyed on it (0xF5C / 0xFE8 / 0x10D8). | |
| std::vector< ChunkBlob > | volumeData |
| std::vector< std::vector< ParticulatePoint > > | pointGroups |
| One PVPD point array per volume group. | |
| std::vector< std::vector< ParticulateBounds > > | boundGroups |
| One PVBD bounds array per volume group; reading a PVBD finalizes the group. | |
| Public Attributes inherited from wowlib::formats::ChunkExtras | |
| std::vector< JournalEntry > | journal |
| std::vector< UnknownChunk > | unknown |
| std::vector< std::byte > | trailing |
Static Public Attributes | |
| static constexpr ClientVersion | Version = V |
| static constexpr std::array | ChunkOrder = {fourcc("MVER"), fourcc("PVMI"), fourcc("PVPD"), fourcc("PVBD"),} |
| The canonical chunk-stream order the serializer emits a fresh entity in (see writeOrder). | |
Additional Inherited Members | |
| Public Member Functions inherited from wowlib::formats::ChunkedFile< WDTParticulates< V > > | |
| Result< void > | read (std::span< const std::byte > data) |
| Deserialize file bytes into this entity, replacing its contents. | |
| Result< FileBuffer > | write () const |
| Serialize this entity. | |
| ValidationReport | validate () const |
| Result< void > | ensureValid () const |
| Validate and raise on the first error instead of returning a report — the assert-style face of validate(). | |
| bool | operator== (const ChunkedFile &) const=default |
| Public Member Functions inherited from wowlib::formats::ChunkExtras | |
| bool | operator== (const ChunkExtras &) const =default |
A _mpv.wdt particulate-volume satellite for one client version (BfA 8.0.1+).
The i-th elements of volumeData / pointGroups / boundGroups belong together; the on-disk group interleave (PVMI, PVPD, PVBD, PVMI, ...) round-trips through the journal. Instantiate through the canonicalizing wdt::mpv::WDTParticulates alias, never directly.
| V | the client version this layout targets. |
| std::vector<std::vector<ParticulateBounds> > wowlib::formats::wdt::mpv::detail::WDTParticulates< V >::boundGroups |
|
staticconstexpr |
The canonical chunk-stream order the serializer emits a fresh entity in (see writeOrder).
Lists every chunk member exactly once; note a fresh MULTI-group entity emits each member's elements consecutively rather than the client's per-group interleave — entities read from a file replay their journal and keep it.
| std::uint32_t wowlib::formats::wdt::mpv::detail::WDTParticulates< V >::mver = 4 |
| std::vector<std::vector<ParticulatePoint> > wowlib::formats::wdt::mpv::detail::WDTParticulates< V >::pointGroups |
|
staticconstexpr |
| std::vector<ChunkBlob> wowlib::formats::wdt::mpv::detail::WDTParticulates< V >::volumeData |