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

One resolved member of a chain, in load order. More...

#include <wowlib/fs/mpq/mpq_chain.hpp>

Public Attributes

std::filesystem::path path
 The archive file or loose-dir root on disk.
bool isDirectory = false
 true => loose files, not a StormLib archive.
bool incremental = false
 true => a wow-update patch to attach, not open.
std::string prefix
 Incremental only: which update group the member came from ("base" or the locale code).

Detailed Description

One resolved member of a chain, in load order.

A member is served either by StormLib (a real archive file), as loose files under a directory of the archive's name — the client accepts either — or, for the Cata+ update tier, as an INCREMENTAL patch that attaches to the base archives of its Data directory instead of opening standalone.

Definition at line 61 of file mpq_chain.hpp.

Member Data Documentation

◆ incremental

bool wowlib::fs::detail::ChainMember::incremental = false

true => a wow-update patch to attach, not open.

Definition at line 64 of file mpq_chain.hpp.

◆ isDirectory

bool wowlib::fs::detail::ChainMember::isDirectory = false

true => loose files, not a StormLib archive.

Definition at line 63 of file mpq_chain.hpp.

◆ path

std::filesystem::path wowlib::fs::detail::ChainMember::path

The archive file or loose-dir root on disk.

Definition at line 62 of file mpq_chain.hpp.

◆ prefix

std::string wowlib::fs::detail::ChainMember::prefix

Incremental only: which update group the member came from ("base" or the locale code).

Informational — the attach lets StormLib detect the real in-archive prefix (retail updates use none).

Definition at line 65 of file mpq_chain.hpp.


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