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

Method hasItem

source/game/StarPlayer.cpp:1292–1294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1290}
1291
1292bool Player::hasItem(ItemDescriptor const& descriptor, bool exactMatch) const {
1293 return m_inventory->hasItem(descriptor, exactMatch);
1294}
1295
1296uint64_t Player::hasCountOfItem(ItemDescriptor const& descriptor, bool exactMatch) const {
1297 return m_inventory->hasCountOfItem(descriptor, exactMatch);

Callers 5

canStartMethod · 0.45
itemConfigMethod · 0.45
makePlayerCallbacksMethod · 0.45
determineRecipesMethod · 0.45
buildItemListMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected