(self, ignoreState=False)
| 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: |
nothing calls this directly
no test coverage detected