Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: JIRA Issue macro params updated with additional server info

Lua/FFI function changes

type
breaking change
note
LuaGetComponentFactionName()removed - use FFI GetOwnerDetails()
LuaGetFactionDetails()removed - use FFI GetFactionDetails() / Lua GetLibraryEntry()
LuaGetRelationComponentStatus()removed - use FFI GetRelationStatus()
LuaGetRelationFactionStatus()removed - use FFI GetFactionRelationStatus()
LuaGetTradeShipList()changed - removed cargoplanned field, use FFI GetCargoSpaceUsedAfterShoppingList()
FFIint RelationStatus GetRelationStatus()changed - return value changed

ui.xml change

To add multi environment support for addons (see

JIRA
serverEgosoft JIRA
serverId9d4eeb41-d1c2-3d89-8ea6-0964f358c464
keyXRUIMOD-6
) we changed the format of the ui.xml file slightly.

Following describes how to convert the old format to the new format:

Code Block
titleui.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>
Code Block
titleui.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>