WildStar:API SellItemToVendorById

From AddOn Studio
Revision as of 07:29, 9 August 2023 by Bear (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

UI API < SellItemToVendorById

Sells an item to a vendor.

SellItemToVendorById(itemId, number)

Examples

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