|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
A _occ.wdt occlusion satellite for one client version (WoD+): the MAOI tile index and the packed MAOH heightmap block. More...
#include <wowlib/formats/wdt/occlusion/occlusion.hpp>
Public Attributes | |
| std::uint32_t | mver = WdtVersion18 |
| The file format version; 18 like the main WDT. | |
| std::vector< OcclusionIndex > | indices |
| std::vector< std::int16_t > | heights |
| 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 |
Additional Inherited Members | |
| Public Member Functions inherited from wowlib::formats::ChunkedFile< WDTOcclusion< 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 _occ.wdt occlusion satellite for one client version (WoD+): the MAOI tile index and the packed MAOH heightmap block.
Both chunks are present but empty for WMO-only maps. Instantiate through the canonicalizing wdt::occlusion::WDTOcclusion alias, never directly.
| V | the client version this layout targets. |
Definition at line 38 of file occlusion.hpp.
| std::vector<std::int16_t> wowlib::formats::wdt::occlusion::detail::WDTOcclusion< V >::heights |
Definition at line 49 of file occlusion.hpp.
| std::vector<OcclusionIndex> wowlib::formats::wdt::occlusion::detail::WDTOcclusion< V >::indices |
Definition at line 46 of file occlusion.hpp.
| std::uint32_t wowlib::formats::wdt::occlusion::detail::WDTOcclusion< V >::mver = WdtVersion18 |
The file format version; 18 like the main WDT.
Definition at line 43 of file occlusion.hpp.
|
staticconstexpr |
Definition at line 39 of file occlusion.hpp.