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

Method availableCurrencies

source/game/StarPlayerInventory.cpp:628–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626}
627
628StringMap<uint64_t> PlayerInventory::availableCurrencies() const {
629 return m_currencies;
630}
631
632uint64_t PlayerInventory::currency(String const& currencyType) const {
633 return m_currencies.value(currencyType, 0);

Callers 6

makePlayerCallbacksMethod · 0.80
upgradeTableMethod · 0.80
updateCraftButtonsMethod · 0.80
consumeIngredientsMethod · 0.80
determineRecipesMethod · 0.80
maxCraftMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected