|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
A _lgt.wdt lights satellite for one client version (WoD+): the map's freely placed lights. More...
#include <wowlib/formats/wdt/lights/lights.hpp>
Public Attributes | |
| std::uint32_t | mver = V >= builds::Legion_Alpha_20914 ? 20 : WdtVersion18 |
| The file format version: 18 up to Legion 7.0.1.20740, 20 since 7.0.1.20914. | |
| 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 |
| 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< WDTLights< 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 _lgt.wdt lights satellite for one client version (WoD+): the map's freely placed lights.
WMO-only maps ship the file with just its MVER. Instantiate through the canonicalizing wdt::lights::WDTLights alias, never directly.
| V | the client version this layout targets. |
Definition at line 80 of file lights.hpp.
|
staticconstexpr |
The canonical chunk-stream order the serializer emits a fresh entity in (see writeOrder).
Lists every chunk member exactly once.
Definition at line 94 of file lights.hpp.
| std::uint32_t wowlib::formats::wdt::lights::detail::WDTLights< V >::mver = V >= builds::Legion_Alpha_20914 ? 20 : WdtVersion18 |
The file format version: 18 up to Legion 7.0.1.20740, 20 since 7.0.1.20914.
Definition at line 90 of file lights.hpp.
|
staticconstexpr |
Definition at line 86 of file lights.hpp.