|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
A _fogs.wdt volumetric-fog satellite for one client version (Legion 7.2.5+). More...
#include <wowlib/formats/wdt/fogs/fogs.hpp>
Public Attributes | |
| std::uint32_t | mver = V >= builds::TWW_Alpha_54935 ? 2 : 1 |
| The file format version: 1 since Legion 7.2.5, 2 since 11.0.0.54935 (adds VFEX). | |
| 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("VFOG"), fourcc("VFEX"),} |
| 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< WDTFogs< 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 _fogs.wdt volumetric-fog satellite for one client version (Legion 7.2.5+).
Instantiate through the canonicalizing wdt::fogs::WDTFogs alias, never directly.
| V | the client version this layout targets. |
|
staticconstexpr |
| std::uint32_t wowlib::formats::wdt::fogs::detail::WDTFogs< V >::mver = V >= builds::TWW_Alpha_54935 ? 2 : 1 |
|
staticconstexpr |