Porytiles
Loading...
Searching...
No Matches
porytiles::AttributesCsvLoadResult Struct Reference

The result of loading an attributes CSV: the per-metatile attributes plus the per-role pin-column. More...

#include <attributes_csv_loader.hpp>

Collaboration diagram for porytiles::AttributesCsvLoadResult:
[legend]

Public Attributes

std::map< std::size_t, MetatileAttributeattributes
 
std::map< FieldRole, bool > active_pin_column_present
 

Detailed Description

The result of loading an attributes CSV: the per-metatile attributes plus the per-role pin-column.

attributes maps metatile id to its parsed attribute. active_pin_column_present has one entry per configured role pin: true when that role's active pin column was present in the CSV header, false when it was absent. A stale column matching a role's default name but not currently active does not count as present. The artifact reader turns these facts into each role's PriorPinColumnState on the loaded component, which the decompiler's round-trip merge then consumes.

Definition at line 29 of file attributes_csv_loader.hpp.

Member Data Documentation

◆ active_pin_column_present

std::map<FieldRole, bool> porytiles::AttributesCsvLoadResult::active_pin_column_present

Definition at line 31 of file attributes_csv_loader.hpp.

◆ attributes

std::map<std::size_t, MetatileAttribute> porytiles::AttributesCsvLoadResult::attributes

Definition at line 30 of file attributes_csv_loader.hpp.


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