ISXEQ2:vendor (Data Type)
From ISMods Wiki
Contents |
[edit]
ISXEQ2 information for ISXEQ2:vendor (Data Type) has moved
[edit]
Please see: http://eq2.isxgames.com/wiki for up-to-date content.
[edit]
Description
This DataType includes all of the data available to ISXEQ2 that is related to vendors within the game. For the purposes of ISXEQ2, a vendor is any actor that is capable of selling and/or buying items.
[edit]
Members
- int NumItemsForSale
- Brokers will always return the number of items on the current search page (ie, a maximum of '8')
- int CurrentSearchPage
- Brokers only
- int TotalSearchPages
- Brokers only
- bool IsBroker
- bool IsMerchant
- merchandise Merchant[# or <string>]
- This member returns a 'merchandise' object that the vendor is currently capable of selling based upon either the index of its location within the array or a substring of the item's name.
- consignment Broker[Index# or <string>]
- This member returns a 'consignment' object that the broker is currently capable of selling (on the current 'Search Page' only) based upon either the index of its location within the array or a substring of the item's name.
- merchandise Item[<Index# or string>]
- consignment Item[<Index# or string>]
- This member returns either a 'consignment' or 'merchandise' object that the broker or vendor is currently capable of selling (on the current 'Search Page' only, for broker) based upon an exact match of the item name or the index.
- For example, previously you would have used "echo ${Vendor.Merchant[candle].Price}" ... now, you can simply use "echo ${Vendor.Item[candle].Price}" ..and isxeq2 will automatically decide if what you have targetted is a merchant or a broker and act accordingly.
[edit]
Methods
- GotoSearchPage[#]
- Brokers only
[edit]
Returns
[edit]
Inherits
[edit]
