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

MCNR codec: 145 XZY normal triples followed by 13 undeclared padding bytes (a near-constant client pattern preserved for the semantic round-trip). More...

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

Static Public Member Functions

template<typename Chunk>
static Result< void > read (Chunk &self, std::span< const std::byte > sub, const MapChunkReadCtx &)
template<typename Chunk>
static void write (const Chunk &self, FileBuffer &out, const MapChunkWriteCtx &)
template<typename Chunk>
static bool engaged (const Chunk &self, const MapChunkWriteCtx &)

Detailed Description

MCNR codec: 145 XZY normal triples followed by 13 undeclared padding bytes (a near-constant client pattern preserved for the semantic round-trip).

Definition at line 185 of file map_chunk.hpp.

Member Function Documentation

◆ engaged()

template<typename Chunk>
bool wowlib::formats::adt::detail::NormalCodec::engaged ( const Chunk & self,
const MapChunkWriteCtx &  )
inlinestatic

Definition at line 202 of file map_chunk.hpp.

◆ read()

template<typename Chunk>
Result< void > wowlib::formats::adt::detail::NormalCodec::read ( Chunk & self,
std::span< const std::byte > sub,
const MapChunkReadCtx &  )
inlinestatic

Definition at line 187 of file map_chunk.hpp.

References wowlib::formats::adt::detail::McvtCount.

◆ write()

template<typename Chunk>
void wowlib::formats::adt::detail::NormalCodec::write ( const Chunk & self,
FileBuffer & out,
const MapChunkWriteCtx &  )
inlinestatic

Definition at line 196 of file map_chunk.hpp.

References wowlib::formats::adt::detail::appendBytes().


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