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