Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::data::DataIndexTable Class Referencefinal

#include <LegacyDataArchive.hpp>

Public Member Functions

std::optional< DataTag > find (std::uint32_t indexValue) const noexcept
 
std::span< const DataIndexEntry > entries () const noexcept
 

Static Public Member Functions

static std::expected< DataIndexTable, DataError > parse (std::span< const std::byte > bytes)
 

Static Public Attributes

static constexpr std::size_t PhysicalEntrySize = 6
 

Detailed Description

Definition at line 370 of file LegacyDataArchive.hpp.

Member Function Documentation

◆ entries()

std::span< const DataIndexEntry > monopoly::data::DataIndexTable::entries ( ) const
noexcept

Definition at line 1403 of file LegacyDataArchive.cpp.

◆ find()

std::optional< DataTag > monopoly::data::DataIndexTable::find ( std::uint32_t  indexValue) const
noexcept

Definition at line 1382 of file LegacyDataArchive.cpp.

◆ parse()

std::expected< DataIndexTable, DataError > monopoly::data::DataIndexTable::parse ( std::span< const std::byte >  bytes)
static

Definition at line 1322 of file LegacyDataArchive.cpp.

Member Data Documentation

◆ PhysicalEntrySize

constexpr std::size_t monopoly::data::DataIndexTable::PhysicalEntrySize = 6
staticconstexpr

Definition at line 373 of file LegacyDataArchive.hpp.


The documentation for this class was generated from the following files: