Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
component:trading [2017/04/22 02:24]
gamax92 created
component:trading [2018/10/01 11:16]
payonel
Line 21: Line 21:
 - `getOutput():​table`  ​ - `getOutput():​table`  ​
   Returns the item the merchant offers for this trade.   Returns the item the merchant offers for this trade.
 +- `getSortIndex():​number`  ​
 +  Returns a sort index of the merchant that provides this trade. Trades can be grouped by the merchant offering them using this sort index. The index is the sort order placement of a merchant in the list of available merchants offering trades within range. Because it is merely a sort index, it can change between calls to getTrades if merchants leave or enter the range, or any previous merchant stops offering any trades. ​
  
 ---- ----
  
 {{page>​component:​contents&​noheader&​noeditbutton&​nouser&​nofooter}} {{page>​component:​contents&​noheader&​noeditbutton&​nouser&​nofooter}}