|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
One .bone file: which bones get facial-pose offset matrices, and the matrices. More...
#include <wowlib/formats/m2/bone/bone.hpp>
Public Member Functions | |
| bool | operator== (const BoneFile &) const =default |
| Public Member Functions inherited from wowlib::formats::ChunkedFile< BoneFile > | |
| Result< void > | read (std::span< const std::byte > data) |
| Deserialize file bytes into this entity, replacing its contents. | |
| Result< FileBuffer > | write () const |
| Serialize this entity. | |
| ValidationReport | validate () const |
| Result< void > | ensureValid () const |
| Validate and raise on the first error instead of returning a report — the assert-style face of validate(). | |
| bool | operator== (const ChunkedFile &) const=default |
| Public Member Functions inherited from wowlib::formats::ChunkExtras | |
| bool | operator== (const ChunkExtras &) const =default |
Public Attributes | |
| BoneFilePrelude | prelude {} |
| The raw u32 prelude (version marker). | |
| std::vector< std::uint16_t > | boneIds |
| The affected bone ids (BIDA). | |
| std::vector< C44Matrix > | boneOffsetMatrices |
| The per-bone offset matrices (BOMT), same count as bone_ids. | |
| Public Attributes inherited from wowlib::formats::ChunkExtras | |
| std::vector< JournalEntry > | journal |
| std::vector< UnknownChunk > | unknown |
| std::vector< std::byte > | trailing |
Static Public Attributes | |
| static constexpr ClientVersion | Version = versions::Wod |
| static constexpr FourCCEndian | UnknownFourccEndian = FourCCEndian::Forward |
One .bone file: which bones get facial-pose offset matrices, and the matrices.
The layout is stable across every client that ships them, so the entity is not version-templated (the version constant satisfies the chunk framework; no chunk here is version-gated).
|
default |
| std::vector<std::uint16_t> wowlib::formats::m2::bone::BoneFile::boneIds |
| std::vector<C44Matrix> wowlib::formats::m2::bone::BoneFile::boneOffsetMatrices |
| BoneFilePrelude wowlib::formats::m2::bone::BoneFile::prelude {} |
|
staticconstexpr |
|
staticconstexpr |