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

Method modifyResource

source/game/StarStatCollection.cpp:86–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void StatCollection::modifyResource(String const& resourceName, float amount) {
87 m_stats.modifyResourceValue(resourceName, amount);
88}
89
90float StatCollection::giveResource(String const& resourceName, float amount) {
91 return m_stats.giveResourceValue(resourceName, amount);

Callers

nothing calls this directly

Calls 1

modifyResourceValueMethod · 0.80

Tested by

no test coverage detected