Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDungeons/OpenDungeons
/ decreaseGoldFee
Method
decreaseGoldFee
source/entities/Creature.h:434–439 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
432
{ return mGoldFee; }
433
434
void decreaseGoldFee(int32_t value)
435
{
436
mGoldFee -= value;
437
if(mGoldFee < 0)
438
mGoldFee = 0;
439
}
440
441
inline int32_t getGoldCarried() const
442
{ return mGoldCarried; }
Callers
1
handleGetFee
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected