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

Stored form of offsetAfter (offset entities): the trait-base member's positional layout position — right after the named own member of the entity. More...

#include <wowlib/formats/common/annotations.hpp>

Public Member Functions

constexpr std::string_view view () const

Public Attributes

const char * name

Detailed Description

Stored form of offsetAfter (offset entities): the trait-base member's positional layout position — right after the named own member of the entity.

The name is interned via define_static_string (annotations must be structural; std::string_view is not).

Definition at line 103 of file annotations.hpp.

Member Function Documentation

◆ view()

std::string_view wowlib::formats::detail::OffsetAfterSpec::view ( ) const
inlineconstexpr

Definition at line 106 of file annotations.hpp.

References name.

Member Data Documentation

◆ name

const char* wowlib::formats::detail::OffsetAfterSpec::name

Definition at line 104 of file annotations.hpp.

Referenced by view().


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