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

Class HandledDroneCargoList

eos/effectHandlerHelpers.py:215–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213
214
215class HandledDroneCargoList(HandledList):
216
217 def find(self, item):
218 for o in self:
219 if o.item == item:
220 yield o
221
222 def findFirst(self, item):
223 for o in self.find(item):
224 return o
225
226 def append(self, thing):
227 HandledList.append(self, thing)
228 if thing.isInvalid:
229 self.remove(thing)
230
231 def insert(self, idx, thing):
232 HandledList.insert(self, idx, thing)
233 if thing.isInvalid:
234 self.remove(thing)
235
236
237class HandledImplantList(HandledList):

Callers 1

__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected