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

Method currency

source/game/StarPlayer.cpp:1599–1601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1597}
1598
1599uint64_t Player::currency(String const& currencyType) const {
1600 return m_inventory->currency(currencyType);
1601}
1602
1603float Player::health() const {
1604 return m_statusController->resource("health");

Callers 10

reviveMethod · 0.45
makePlayerCallbacksMethod · 0.45
entityCurrencyMethod · 0.45
updateMethod · 0.45
setupWidgetMethod · 0.45
setupTooltipMethod · 0.45
updateMethod · 0.45
setupWidgetMethod · 0.45
updateBuyTotalMethod · 0.45
maxBuyCountMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected