wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::wmo::group::detail::WMOGroup< V > Struct Template Reference

One WMO group file for one client version: the format version (MVER) and the MOGP container holding the group's geometry. More...

#include <wowlib/formats/wmo/group/group.hpp>

Inheritance diagram for wowlib::formats::wmo::group::detail::WMOGroup< V >:

Public Attributes

std::uint32_t mver = WmoVersionV17
WMOGroupBody< V > body {}
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 = V

Additional Inherited Members

Public Member Functions inherited from wowlib::formats::ChunkedFile< WMOGroup< V > >
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

Detailed Description

template<ClientVersion V>
struct wowlib::formats::wmo::group::detail::WMOGroup< V >

One WMO group file for one client version: the format version (MVER) and the MOGP container holding the group's geometry.

Template Parameters
Vthe client version this layout targets.
See also
https://wowdev.wiki/WMO

Definition at line 718 of file group.hpp.

Member Data Documentation

◆ body

Definition at line 741 of file group.hpp.

◆ mver

Definition at line 732 of file group.hpp.

◆ Version

template<ClientVersion V>
ClientVersion wowlib::formats::wmo::group::detail::WMOGroup< V >::Version = V
staticconstexpr

Definition at line 726 of file group.hpp.


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