(self, stuff)
| 119 | super().__init__(fittingView, 1389) |
| 120 | |
| 121 | def _getValue(self, stuff): |
| 122 | if isinstance(stuff, Fit): |
| 123 | speed = stuff.ship.getModifiedItemAttr('maxVelocity') |
| 124 | elif isinstance(stuff, TargetProfile): |
| 125 | speed = stuff.maxVelocity |
| 126 | else: |
| 127 | speed = 0 |
| 128 | return speed, 'm/s' |
| 129 | |
| 130 | def _getFitTooltip(self): |
| 131 | return 'Maximum speed' |
nothing calls this directly
no test coverage detected