WildStar:API SellItemToVendorById

From AddOn Studio
Jump to navigation Jump to search

UI API < SellItemToVendorById

Sells an item to a vendor.

SellItemToVendorById(itemId, number)

Examples[edit]

if item:GetItemQuality() == 1 then
    SellItemToVendorById(item:GetInventoryId(), item:GetStackCount())
end