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

Function decode

library/include/modules/Items.h:76–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 bool decode(df::item *ptr);
75
76 template<class T> bool decode(T *ptr) {
77 return ptr ? decode(ptr->item_type, ptr->item_subtype) : decode(df::enums::item_type::NONE);
78 }
79
80 std::string getToken();
81 std::string toString();

Callers 9

Items.hFile · 0.70
ItemTypeInfoFunction · 0.70
decodeMethod · 0.50
decodeMethod · 0.50
findBuiltinMethod · 0.50
findInorganicMethod · 0.50
findPlantMethod · 0.50
findCreatureMethod · 0.50
findProductMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected