Method Global:HasVendorItem [-] [+]

Checks if vendor has an Item.

Synopsis

hasVendorItem = HasVendorItem( entry, item )

hasVendorItem = HasVendorItem( entry, item, extendedcost )

Arguments

number entry

Creature entry Id.

Valid numbers: integers from 0 to 4,294,967,295.

number item

Item entry Id.

Valid numbers: integers from 0 to 4,294,967,295.

number extendedcost (0)

(optional) unique cost of an Item, such as conquest points for example.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

boolean hasVendorItem
See method description.

Generated on
© 2010 - 2024 Eluna Lua Engine