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

Everything the erased core needs to touch one column of a record: where it lives, what it is, and how its array elements stride. More...

#include <wowlib/db/record_bridge.hpp>

Public Attributes

std::uint32_t offset = 0
 Member byte offset inside Record.
std::uint32_t flagsOffset = 0
 LocStr only: byte offset of .flags.
std::uint16_t elemStride = 0
 Bytes between array elements.
AccessKind kind = AccessKind::U32
 The element's storage kind.

Detailed Description

Everything the erased core needs to touch one column of a record: where it lives, what it is, and how its array elements stride.

Definition at line 62 of file record_bridge.hpp.

Member Data Documentation

◆ elemStride

std::uint16_t wowlib::db::detail::ColumnAccess::elemStride = 0

Bytes between array elements.

Definition at line 65 of file record_bridge.hpp.

Referenced by wowlib::db::detail::columnAccessOf().

◆ flagsOffset

std::uint32_t wowlib::db::detail::ColumnAccess::flagsOffset = 0

LocStr only: byte offset of .flags.

Definition at line 64 of file record_bridge.hpp.

Referenced by wowlib::db::detail::columnAccessOf().

◆ kind

AccessKind wowlib::db::detail::ColumnAccess::kind = AccessKind::U32

The element's storage kind.

Definition at line 66 of file record_bridge.hpp.

Referenced by wowlib::db::detail::columnAccessOf().

◆ offset

std::uint32_t wowlib::db::detail::ColumnAccess::offset = 0

Member byte offset inside Record.

Definition at line 63 of file record_bridge.hpp.

Referenced by wowlib::db::detail::columnAccessOf().


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