1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 08:40:34 +03:00

Suits: Comments about suit/weapon events not having instance ID

This commit is contained in:
Athanasius 2021-04-15 10:55:51 +01:00
parent d095e8b054
commit d9d36dd12b

View File

@ -870,12 +870,20 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
# We know we won't have data for this new one
pass
# `BuySuit` has no useful info as of 4.0.0.13
elif event_type == 'SellSuit':
# Remove from known suits
# As of Odyssey Alpha Phase 2, Hotfix 5 (4.0.0.13) this isn't possible as this event
# doesn't contain the specific suit ID as per CAPI `suits` dict.
pass
# `LoadoutEquipModule` has no instance-specific ID as of 4.0.0.13
# `BuyWeapon` has no instance-specific ID as of 4.0.0.13
# `SellWeapon` has no instance-specific ID as of 4.0.0.13
# `UpgradeWeapon` has no instance-specific ID as of 4.0.0.13
elif event_type == 'NavRoute':
# Added in ED 3.7 - multi-hop route details in NavRoute.json
with open(join(self.currentdir, 'NavRoute.json'), 'rb') as rf: # type: ignore