|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
The per-format round-trip drivers behind Auditor::roundtrip. More...
#include <wowlib/audit/detail.hpp>
Static Public Member Functions | |
| static RoundtripReport | wmo (fs::FileSystem &fs, const std::string &path, ClientVersion version) |
| Byte-perfect round-trip of one root WMO and all its group files (GFID-located on Legion+, name-derived before). | |
| static RoundtripReport | m2 (fs::FileSystem &fs, const std::string &path, ClientVersion version) |
| Stability round-trip of one model: the assembly read (satellites baked in), then write -> parse -> write-again compares of the body (external .anim buffers included), the skel blocks and every skin. | |
| static RoundtripReport | adt (fs::FileSystem &fs, const std::string &path, ClientVersion version) |
| Stability round-trip of one terrain tile (monolithic pre-Cata, split Cata+), deriving the map's alpha format from its WDT per call. | |
| static RoundtripReport | wdt (fs::FileSystem &fs, const std::string &path, ClientVersion version) |
| Byte-perfect round-trip of one main WDT file. | |
| static RoundtripReport | wdl (fs::FileSystem &fs, const std::string &path, ClientVersion version) |
| Byte-perfect round-trip of one WDL file. | |
| static RoundtripReport | blp (fs::FileSystem &fs, const std::string &path) |
| Byte-perfect round-trip of one BLP texture (the format is version-stable, so no version dispatch). | |
The per-format round-trip drivers behind Auditor::roundtrip.
One static member per format; each is defined in its own translation unit (roundtrip_<format>.cpp) so the per-version entity matrices compile in parallel. Every driver dispatches the runtime version itself and answers skipped:unsupported-version for clients its format does not instantiate.
Definition at line 214 of file detail.hpp.
|
static |
Stability round-trip of one terrain tile (monolithic pre-Cata, split Cata+), deriving the map's alpha format from its WDT per call.
| fs | the client filesystem. |
| path | the canonical root .adt path. |
| version | the client version. |
Definition at line 182 of file roundtrip_adt.cpp.
References wowlib::formats::adt::AdtVersions, wowlib::builds::Cata, wowlib::audit::detail::guarded(), wowlib::audit::detail::skipped(), wowlib::audit::detail::unrecognizedVersion(), wowlib::audit::detail::versionSupported(), and wowlib::audit::detail::withVersion().
Referenced by wowlib::audit::Auditor::roundtrip().
|
static |
Byte-perfect round-trip of one BLP texture (the format is version-stable, so no version dispatch).
| fs | the client filesystem. |
| path | the canonical .blp path. |
Definition at line 76 of file roundtrip_blp.cpp.
References wowlib::audit::detail::guarded().
Referenced by wowlib::audit::Auditor::roundtrip().
|
static |
Stability round-trip of one model: the assembly read (satellites baked in), then write -> parse -> write-again compares of the body (external .anim buffers included), the skel blocks and every skin.
| fs | the client filesystem. |
| path | the canonical .m2 path. |
| version | the client version. |
Definition at line 159 of file roundtrip_m2.cpp.
References wowlib::audit::detail::guarded(), wowlib::formats::m2::M2Versions, wowlib::audit::detail::skipped(), wowlib::audit::detail::unrecognizedVersion(), wowlib::audit::detail::versionSupported(), and wowlib::audit::detail::withVersion().
Referenced by wowlib::audit::Auditor::roundtrip().
|
static |
Byte-perfect round-trip of one WDL file.
| fs | the client filesystem. |
| path | the canonical .wdl path. |
| version | the client version. |
Definition at line 81 of file roundtrip_wdt_wdl.cpp.
References wowlib::audit::detail::guarded(), wowlib::audit::detail::skipped(), wowlib::audit::detail::unrecognizedVersion(), wowlib::audit::detail::versionSupported(), wowlib::formats::wdl::WdlVersions, and wowlib::audit::detail::withVersion().
Referenced by wowlib::audit::Auditor::roundtrip().
|
static |
Byte-perfect round-trip of one main WDT file.
| fs | the client filesystem. |
| path | the canonical .wdt path. |
| version | the client version. |
Definition at line 70 of file roundtrip_wdt_wdl.cpp.
References wowlib::audit::detail::guarded(), wowlib::audit::detail::skipped(), wowlib::audit::detail::unrecognizedVersion(), wowlib::audit::detail::versionSupported(), wowlib::formats::wdt::WdtVersions, and wowlib::audit::detail::withVersion().
Referenced by wowlib::audit::Auditor::roundtrip().
|
static |
Byte-perfect round-trip of one root WMO and all its group files (GFID-located on Legion+, name-derived before).
| fs | the client filesystem. |
| path | the canonical root .wmo path. |
| version | the client version. |
Definition at line 76 of file roundtrip_wmo.cpp.
References wowlib::audit::detail::guarded(), wowlib::audit::detail::skipped(), wowlib::audit::detail::unrecognizedVersion(), wowlib::audit::detail::versionSupported(), wowlib::audit::detail::withVersion(), and wowlib::formats::wmo::WmoVersions.
Referenced by wowlib::audit::Auditor::roundtrip().