Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenApoc/OpenApoc
/ getWeight
Method
getWeight
game/state/shared/aequipment.cpp:254–257 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
252
}
253
254
int AEquipment::getWeight() const
255
{
256
return type->weight + ((payloadType && ammo > 0) ? payloadType->weight : 0);
257
}
258
259
int AEquipment::getFireCost(WeaponAimingMode fireMode)
260
{
Callers
1
updateSpeed
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected