Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ addScore
Method
addScore
src/OpenLoco/src/World/Station.cpp:161–164 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
159
}
160
161
void addScore(const uint8_t cargo, const int32_t value)
162
{
163
_score[cargo] += value;
164
}
165
166
uint32_t producedCargoTypes() const
167
{
Callers
1
doCalcAcceptedCargo
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected