MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getUsedQuarters

Method getUsedQuarters

src/Savegame/Base.cpp:533–536  ·  view source on GitHub ↗

* Returns the amount of living quarters used up * by personnel in the base. * @return Living space. */

Source from the content-addressed store, hash-verified

531 * @return Living space.
532 */
533int Base::getUsedQuarters() const
534{
535 return getTotalSoldiers() + getTotalScientists() + getTotalEngineers();
536}
537
538/**
539 * Returns the total amount of living quarters

Callers 4

inUseMethod · 0.80
initMethod · 0.80
increaseByValueMethod · 0.80
increaseByValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected