67 explicit_layer_type_ = std::nullopt;
81 return explicit_layer_type_;
101 [[nodiscard]] std::uint32_t
field(std::string_view field_name)
const
103 const auto it = fields_.find(field_name);
104 return it != fields_.end() ? it->second : 0;
111 void field(std::string_view field_name, std::uint32_t value)
113 fields_.insert_or_assign(std::string{field_name}, value);
116 [[nodiscard]]
const std::map<std::string, std::uint32_t, std::less<>> &
fields()
const
123 std::optional<LayerType> explicit_layer_type_{};
124 std::map<std::string, std::uint32_t, std::less<>> fields_{};
constexpr std::string_view field_attribute_7
constexpr std::string_view field_layer_type
constexpr std::string_view field_terrain
constexpr std::string_view field_attribute_5
constexpr std::string_view field_attribute_2
constexpr std::string_view field_behavior
constexpr std::string_view field_attribute_3
constexpr std::string_view field_encounter_type
LayerType
Specifies which layers of a metatile are used for rendering.