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

Method getMiningYPS

eos/saveddata/module.py:415–422  ·  view source on GitHub ↗
(self, ignoreState=False)

Source from the content-addressed store, hash-verified

413 self.__itemModifiedAttributes.clear()
414
415 def getMiningYPS(self, ignoreState=False):
416 if self.isEmpty:
417 return 0
418 if not ignoreState and self.state < FittingModuleState.ACTIVE:
419 return 0
420 if self.__miningYield is None:
421 self.__miningYield, self.__miningDrain = self.__calculateMining()
422 return self.__miningYield
423
424 def getMiningDPS(self, ignoreState=False):
425 if self.isEmpty:

Callers

nothing calls this directly

Calls 1

__calculateMiningMethod · 0.95

Tested by

no test coverage detected