A result type that maintains a chainable sequence of errors for debugging and error reporting.
Abstract interface for providing two-way metatile terrain type mappings.
virtual ChainableResult< std::uint8_t > lookup(const std::string &terrain_name) const =0
Looks up the numeric value for a terrain type constant name.
virtual ~TerrainTypeMapProvider()=default
virtual ChainableResult< std::string > lookup(std::uint8_t terrain_value) const =0
Looks up the terrain type constant name for a numeric value.