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

Method getFreeLaboratories

src/Savegame/Base.cpp:773–776  ·  view source on GitHub ↗

* Return laboratories space not used by a ResearchProject * @return laboratories space not used by a ResearchProject */

Source from the content-addressed store, hash-verified

771 * @return laboratories space not used by a ResearchProject
772*/
773int Base::getFreeLaboratories () const
774{
775 return getAvailableLaboratories() - getUsedLaboratories();
776}
777
778/**
779 * Return workshop space not used by a Production

Callers 3

fillProjectListMethod · 0.80
setAssignedScientistMethod · 0.80
moreByValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected