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

One chunk encounter in file order — the write path replays the journal to reproduce the original byte layout exactly. More...

#include <wowlib/formats/common/chunked_file.hpp>

Public Member Functions

bool operator== (const JournalEntry &) const =default

Public Attributes

std::uint32_t fourcc = 0
 The id as scanned.
std::int32_t member = -1
 Declaration index of the member the chunk was read into, or -1 for an unknown chunk.
std::uint32_t occurrence = 0
 Which occurrence of the member this was (repeated chunks), or the index into unknown for member == -1.

Detailed Description

One chunk encounter in file order — the write path replays the journal to reproduce the original byte layout exactly.

Definition at line 56 of file chunked_file.hpp.

Member Function Documentation

◆ operator==()

bool wowlib::formats::JournalEntry::operator== ( const JournalEntry & ) const
default

Member Data Documentation

◆ fourcc

std::uint32_t wowlib::formats::JournalEntry::fourcc = 0

The id as scanned.

Definition at line 57 of file chunked_file.hpp.

◆ member

std::int32_t wowlib::formats::JournalEntry::member = -1

Declaration index of the member the chunk was read into, or -1 for an unknown chunk.

Definition at line 61 of file chunked_file.hpp.

Referenced by wowlib::formats::wdl::detail::WDL< V >::resequencedJournal().

◆ occurrence

std::uint32_t wowlib::formats::JournalEntry::occurrence = 0

Which occurrence of the member this was (repeated chunks), or the index into unknown for member == -1.

Definition at line 65 of file chunked_file.hpp.


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