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

Method resourceMax

source/game/StarStatSet.cpp:136–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136MVariant<String, float> StatSet::resourceMax(String const& resourceName) const {
137 return getResource(resourceName).max;
138}
139
140MVariant<String, float> StatSet::resourceDelta(String const& resourceName) const {
141 return getResource(resourceName).delta;

Callers 7

maxHealthMethod · 0.45
maxEnergyMethod · 0.45
maxBreathMethod · 0.45
maxHealthMethod · 0.45
maxHealthMethod · 0.45
makeNpcCallbacksMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected