MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / checkDroneControlRange

Function checkDroneControlRange

graphs/calc.py:32–37  ·  view source on GitHub ↗
(src, distance)

Source from the content-addressed store, hash-verified

30
31
32def checkDroneControlRange(src, distance):
33 if distance is None:
34 return True
35 if GraphSettings.getInstance().get('ignoreDCR'):
36 return True
37 return distance <= src.item.extraAttributes['droneControlRange']

Callers 11

_calculatePointMethod · 0.90
_calculatePointMethod · 0.90
_calculatePointMethod · 0.90
_calculatePointMethod · 0.90
_calculatePointMethod · 0.90
_calculatePointMethod · 0.90
_calculatePointMethod · 0.90
getApplicationPerKeyFunction · 0.90
getTackledSpeedFunction · 0.90
getSigRadiusMultFunction · 0.90
getApplicationPerKeyFunction · 0.90

Calls 2

getMethod · 0.45
getInstanceMethod · 0.45

Tested by

no test coverage detected