MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / ignoresPartMaximum

Method ignoresPartMaximum

source/game/StarDungeonGenerator.cpp:664–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662 }
663
664 bool Part::ignoresPartMaximum() const {
665 for (size_t i = 0; i < m_rules.size(); i++)
666 if (m_rules[i]->ignorePartMaximum())
667 return true;
668 return false;
669 }
670
671 bool Part::allowsPlacement(int currentPlacementCount) const {
672 for (size_t i = 0; i < m_rules.size(); i++)

Callers 1

buildDungeonMethod · 0.80

Calls 2

sizeMethod · 0.45
ignorePartMaximumMethod · 0.45

Tested by

no test coverage detected