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

Method resourceMax

source/game/StarStatCollection.cpp:124–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124Maybe<float> StatCollection::resourceMax(String const& resourceName) const {
125 return m_stats.resourceMaxValue(resourceName);
126}
127
128Maybe<float> StatCollection::resourcePercentage(String const& resourceName) const {
129 return m_stats.resourcePercentage(resourceName);

Callers 1

StatCollectionMethod · 0.45

Calls 1

resourceMaxValueMethod · 0.80

Tested by

no test coverage detected