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

Method resourceMaxValue

source/game/StarStatSet.cpp:188–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188Maybe<float> StatSet::resourceMaxValue(String const& resourceName) const {
189 return getResource(resourceName).maxValue;
190}
191
192Maybe<float> StatSet::resourcePercentage(String const& resourceName) const {
193 auto const& resource = getResource(resourceName);

Callers 1

resourceMaxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected