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

PLUGINS.md: capi_is_horizons() now

This commit is contained in:
Athanasius 2021-10-18 12:33:11 +01:00
parent c97b539ac3
commit cf5806021e
No known key found for this signature in database
GPG Key ID: AE3E527847057C7D

View File

@ -659,13 +659,12 @@ New in version 5.0.1:
`Odyssey` boolean based on the presence of such a flag in the `LoadGame` `Odyssey` boolean based on the presence of such a flag in the `LoadGame`
event. Defaults to `False`, i.e. if no such key in the event. event. Defaults to `False`, i.e. if no such key in the event.
The previously undocumented`Horizons` boolean is similarly from `LoadGame`, The previously undocumented `Horizons` boolean is similarly from `LoadGame`,
but blindly retrieves the value rather than having a strict default. There's but blindly retrieves the value rather than having a strict default. There'd
be an exception if it wasn't there, and the value would be `None`. Note that be an exception if it wasn't there, and the value would be `None`. Note that
this is **NOT** the same as the return from this is **NOT** the same as the return from
[plugins/eddn.py:is_horizons()](./plugins/eddn.py). That function is necessary [plugins/eddn.py:capi_is_horizons()](./plugins/eddn.py). That function is
because CAPI data doesn't (didn't always?) have an indication of Horizons or necessary because CAPI data doesn't have a simple indication of Horizons-ness.
not.
New in version 5.0.3: New in version 5.0.3: