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

Method nodeCount

source/game/StarObject.cpp:770–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

768}
769
770size_t Object::nodeCount(WireDirection direction) const {
771 if (direction == WireDirection::Input)
772 return m_inputNodes.size();
773 else
774 return m_outputNodes.size();
775}
776
777Vec2I Object::nodePosition(WireNode wireNode) const {
778 if (wireNode.direction == WireDirection::Input)

Callers 6

connectWireGroupMethod · 0.80
populateWorkingMethod · 0.80
loadNetworkMethod · 0.80
updateMethod · 0.80
renderImplMethod · 0.80
swingMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected