Lua API
On this page

VendorProfile

Inherits from

TODO

Fields:

BuyPrice number

the merchants buy rate

CurrencyAmount number

amount of currency player has

CurrencyId number

wcid of currency

CurrencyName string

name of currency

MaxValue number

the highest value of an item the merchant will buy

MinValue number

the lowest value of an item the merchant will buy

ObjectTypes ObjectType

the categories of items the merchant will buy

SellPrice number

the merchants sell rate

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string