WildStar:API SellItemToVendorById

From AddOn Studio
Jump to navigation Jump to search

Template:API SellItemToVendorById/uiapi Sells an item to a vendor.

SellItemToVendorById(itemId, number)

Examples

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