MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / getNumSlots

Method getNumSlots

eos/saveddata/fit.py:1272–1273  ·  view source on GitHub ↗
(self, type)

Source from the content-addressed store, hash-verified

1270 return int(totalSlots - slotsUsed)
1271
1272 def getNumSlots(self, type):
1273 return self.ship.getModifiedItemAttr(self.slots[type]) or 0
1274
1275 def getHardpointsFree(self, type):
1276 if type == FittingHardpoint.NONE:

Callers 4

calcSlotFactorMethod · 0.80
fitChangedMethod · 0.80
DoMethod · 0.80
fitsMethod · 0.80

Calls 1

getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected