Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bwapi/bwapi
/ resetResources
Method
resetResources
bwapi/BWAPI/Source/BWAPI/PlayerImpl.cpp:305–311 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
303
self->isParticipating = isParticipating;
304
}
305
void PlayerImpl::resetResources()
306
{
307
_repairedMinerals = 0;
308
_repairedGas = 0;
309
_refundedMinerals = 0;
310
_refundedGas = 0;
311
}
312
};
Callers
1
onGameStart
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected