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

Method essentialItem

source/game/StarPlayer.cpp:1288–1290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1286}
1287
1288ItemPtr Player::essentialItem(EssentialItem essentialItem) const {
1289 return m_inventory->essentialItem(essentialItem);
1290}
1291
1292bool Player::hasItem(ItemDescriptor const& descriptor, bool exactMatch) const {
1293 return m_inventory->hasItem(descriptor, exactMatch);

Callers 5

blockSwapMethod · 0.45
makePlayerCallbacksMethod · 0.45
updateMethod · 0.45
renderMainBarMethod · 0.45
overlayClickMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected