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

Method wireToolInUse

source/game/StarPlayer.cpp:471–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469}
470
471bool Player::wireToolInUse() const {
472 return (bool)as<WireTool>(m_tools->primaryHandItem());
473}
474
475void Player::setWireConnector(WireConnector* wireConnector) const {
476 if (auto wireTool = as<WireTool>(m_tools->primaryHandItem()))

Callers 1

updateMethod · 0.80

Calls 1

primaryHandItemMethod · 0.45

Tested by

no test coverage detected