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

Method BuildingTypeKey

plugins/buildingplan/buildingtypekey.cpp:17–18  ·  view source on GitHub ↗

building type, subtype, custom

Source from the content-addressed store, hash-verified

15
16// building type, subtype, custom
17BuildingTypeKey::BuildingTypeKey(df::building_type type, int16_t subtype, int32_t custom)
18 : tuple(type, subtype, custom) { }
19
20static BuildingTypeKey deserialize(color_ostream &out, const std::string &serialized) {
21 vector<string> key_parts;

Callers

nothing calls this directly

Calls 1

deserializeFunction · 0.85

Tested by

no test coverage detected