1#include "MapdataGeoObj.hh"
5MapdataGeoObj::MapdataGeoObj(
const SData *data) : m_rawData(data) {
11 m_id = stream.read_u16();
16 m_pathId = stream.read_s16();
18 for (
auto &setting : m_settings) {
19 setting = stream.read_u16();
22 m_presenceFlag = stream.read_u16();
25MapdataGeoObjAccessor::MapdataGeoObjAccessor(
const MapSectionHeader *header)
26 : MapdataAccessorBase<MapdataGeoObj, MapdataGeoObj::SData>(header) {
27 init(
reinterpret_cast<const MapdataGeoObj::SData *
>(m_sectionHeader + 1),
28 parse<u16>(m_sectionHeader->count));
31MapdataGeoObjAccessor::~MapdataGeoObjAccessor() =
default;
A stream of data stored in memory.
A stream of data, abstracted to allow for continuous seeking.
High-level handling for generic system operations, such as input reading, race configuration,...