MCPcopy Create free account
hub / github.com/DFHack/dfhack / BuildingTypeKey

Class BuildingTypeKey

plugins/buildingplan/buildingtypekey.h:13–18  ·  view source on GitHub ↗

building type, subtype, custom

Source from the content-addressed store, hash-verified

11
12// building type, subtype, custom
13struct BuildingTypeKey : public std::tuple<df::building_type, int16_t, int32_t> {
14 BuildingTypeKey(df::building_type type, int16_t subtype, int32_t custom);
15 BuildingTypeKey(DFHack::color_ostream &out, const std::string & serialized);
16
17 std::string serialize() const;
18};
19
20template <>
21struct fmt::formatter<BuildingTypeKey> : fmt::formatter<std::string_view>

Callers 3

isPlannableBuildingFunction · 0.85
deserializeFunction · 0.85
getKeyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected