This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
component:trading [2017/04/22 02:24] gamax92 created |
component:trading [2018/10/01 23:56] 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. | ||
+ | - `getMerchantId():number` | ||
+ | Returns the id of the merchant that provides this trade. Trades can be grouped by the merchant offering them using this id. The id is created when you call getTrades(), but is consistent as long as the group of available merchants does not change between calls. | ||
---- | ---- | ||
{{page>component:contents&noheader&noeditbutton&nouser&nofooter}} | {{page>component:contents&noheader&noeditbutton&nouser&nofooter}} |