MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / insert

Method insert

eos/effectHandlerHelpers.py:250–259  ·  view source on GitHub ↗
(self, idx, implant)

Source from the content-addressed store, hash-verified

248 HandledList.append(self, implant)
249
250 def insert(self, idx, implant):
251 if implant.isInvalid:
252 HandledList.insert(self, idx, implant)
253 self.remove(implant)
254 return
255 if self.__slotCheck(implant):
256 HandledList.insert(self, idx, implant)
257 self.remove(implant)
258 return
259 HandledList.insert(self, idx, implant)
260
261 def makeRoom(self, implant):
262 # if needed, remove booster that was occupying slot

Callers

nothing calls this directly

Calls 3

__slotCheckMethod · 0.95
insertMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected