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

Method stat

source/game/StarStatCollection.cpp:58–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58float StatCollection::stat(String const& statName) const {
59 return m_stats.statEffectiveValue(statName);
60}
61
62bool StatCollection::statPositive(String const& statName) const {
63 return stat(statName) > 0.0f;

Callers

nothing calls this directly

Calls 1

statEffectiveValueMethod · 0.80

Tested by

no test coverage detected