Lua/FFI function changes
type | breaking change | note |
---|---|---|
Lua | removed - use FFI GetOwnerDetails() | |
Lua | removed - use FFI GetFactionDetails() / Lua GetLibraryEntry() | |
Lua | removed - use FFI GetRelationStatus() | |
Lua | removed - use FFI GetFactionRelationStatus() | |
Lua | GetTradeShipList() | changed - removed cargoplanned field, use FFI GetCargoSpaceUsedAfterShoppingList() |
FFI | changed - return value changed |
ui.xml change
To add multi environment support for addons (see - XRUIMOD-6Getting issue details... STATUS ) we changed the format of the ui.xml file slightly.
Following describes how to convert the old format to the new format:
ui.xml format <= 3.50 Beta 2
<?xml version="1.0" encoding="UTF-8"?> <addon name="foo" viewtype="detailmonitor" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../ui/core/addon.xsd"> <file name="file1.lua" /> <file name="file2.lua" /> <dependency name="foo_dependency" /> <savedvariable name="foo_MyData" storage="userdata" /> </addon>
ui.xml format >= post 3.50 Beta 2
<?xml version="1.0" encoding="UTF-8"?> <addon name="foo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../ui/core/addon.xsd"> <environment type="detailmonitor"> <file name="file1.lua" /> <file name="file2.lua" /> <dependency name="foo_dependency" /> <savedvariable name="foo_MyData" storage="userdata" /> </environment> </addon>