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

Function get_profname

plugins/manipulator.cpp:603–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601 return Translation::capitalize(ret);
602 }
603 string get_profname(UnitInfo *u)
604 { return Units::getProfessionName(u->unit); }
605 string get_goalname(UnitInfo *u)
606 { return Units::getGoalName(u->unit); }
607 string get_real_profname(UnitInfo *u)

Callers 3

get_real_profnameFunction · 0.85
set_profnameFunction · 0.85
save_from_unitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected