Build a snapshot dict for whatever charge is currently loaded on mod.
(mod)
| 102 | |
| 103 | |
| 104 | def _snapshotForCurrentCharge(mod): |
| 105 | """Build a snapshot dict for whatever charge is currently loaded on mod.""" |
| 106 | spoolOptions = SpoolOptions(SpoolType.SPOOL_SCALE, eos.config.settings['globalDefaultSpoolupPercentage'], False) |
| 107 | dmgTyped = mod.getDps(spoolOptions=spoolOptions) |
| 108 | if mod.hardpoint == FittingHardpoint.TURRET: |
| 109 | return _snapshotTurret(mod, dmgTyped, mod.charge) |
| 110 | return _snapshotMissile(mod, dmgTyped, mod.charge) |
| 111 | |
| 112 | |
| 113 | def _collectWeaponCandidates(src): |
nothing calls this directly
no test coverage detected