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

#include <wowlib/formats/wmo/root/chunks/doodad.hpp>

Public Member Functions

std::string_view name () const
 The informational set name.

Public Attributes

std::array< char, 20 > nameBytes {}
 The raw fixed-size name field; read through name().
std::uint32_t startIndex = 0
 First doodad instance in MODD.
std::uint32_t count = 0
 Number of doodad instances in the set.
std::array< char, 4 > pad {}
 Alignment padding; zero in client files.

Detailed Description

Definition at line 20 of file doodad.hpp.

Member Function Documentation

◆ name()

std::string_view wowlib::formats::wmo::root::chunks::SMODoodadSet::name ( ) const
inlinenodiscard

The informational set name.

Definition at line 35 of file doodad.hpp.

References nameBytes.

Member Data Documentation

◆ count

std::uint32_t wowlib::formats::wmo::root::chunks::SMODoodadSet::count = 0

Number of doodad instances in the set.

Definition at line 28 of file doodad.hpp.

◆ nameBytes

std::array<char, 20> wowlib::formats::wmo::root::chunks::SMODoodadSet::nameBytes {}

The raw fixed-size name field; read through name().

Definition at line 22 of file doodad.hpp.

Referenced by name().

◆ pad

std::array<char, 4> wowlib::formats::wmo::root::chunks::SMODoodadSet::pad {}

Alignment padding; zero in client files.

Definition at line 31 of file doodad.hpp.

◆ startIndex

std::uint32_t wowlib::formats::wmo::root::chunks::SMODoodadSet::startIndex = 0

First doodad instance in MODD.

Definition at line 25 of file doodad.hpp.


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