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

Context a sub-chunk codec needs to write one MCNK sub-chunk. More...

#include <wowlib/formats/adt/map_chunk.hpp>

Public Attributes

const std::vector< SMLayer > & stampedLayers
std::span< const std::byte > alphaBlob

Detailed Description

Context a sub-chunk codec needs to write one MCNK sub-chunk.

The alpha layout is pre-built once (MCLY must emit each layer's offsetInMcal, which MCAL computes) into these two fields; the layer/alpha codecs read them.

Definition at line 171 of file map_chunk.hpp.

Member Data Documentation

◆ alphaBlob

std::span<const std::byte> wowlib::formats::adt::detail::MapChunkWriteCtx::alphaBlob

◆ stampedLayers

const std::vector<SMLayer>& wowlib::formats::adt::detail::MapChunkWriteCtx::stampedLayers

Definition at line 172 of file map_chunk.hpp.

Referenced by wowlib::formats::adt::detail::LayerCodec::write().


The documentation for this struct was generated from the following file: