wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::wdt::occlusion::chunks::OcclusionIndex Struct Reference

#include <wowlib/formats/wdt/occlusion/chunks/records.hpp>

Public Attributes

std::uint16_t tileX = 0
 The tile x coordinate.
std::uint16_t tileY = 0
 The tile y coordinate.
std::uint32_t offset = 0
 Byte offset of this tile's heightmap inside the MAOH payload.
std::uint32_t size = 0
 Byte size of the heightmap; always (17*17 + 16*16) * 2 = 1090.

Detailed Description

Definition at line 11 of file records.hpp.

Member Data Documentation

◆ offset

std::uint32_t wowlib::formats::wdt::occlusion::chunks::OcclusionIndex::offset = 0

Byte offset of this tile's heightmap inside the MAOH payload.

Stored as-is: MAOH round-trips verbatim, so offsets stay valid; keep them consistent when editing.

Definition at line 19 of file records.hpp.

◆ size

std::uint32_t wowlib::formats::wdt::occlusion::chunks::OcclusionIndex::size = 0

Byte size of the heightmap; always (17*17 + 16*16) * 2 = 1090.

Definition at line 22 of file records.hpp.

◆ tileX

std::uint16_t wowlib::formats::wdt::occlusion::chunks::OcclusionIndex::tileX = 0

The tile x coordinate.

Definition at line 13 of file records.hpp.

◆ tileY

std::uint16_t wowlib::formats::wdt::occlusion::chunks::OcclusionIndex::tileY = 0

The tile y coordinate.

Definition at line 16 of file records.hpp.


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