WildStar:API SellItemToVendorById

From AddOn Studio
Revision as of 03:31, 9 August 2023 by Bear (talk | contribs) (Bear moved page //API SellItemToVendorById to API SellItemToVendorById without leaving a redirect)
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