Hi all
I am the author of a small addon Aardvark.
I am trying to find a way to identify those items in my bags that can be traded to other players in the same instance.
Right now my addon sells items listed on the player curated sell list.
The issue is that items that can be traded to other players in the same instance starts an addon breaking loop.
When the item is to be sold it brings up the confirmation that selling will make it non-tradable.
With items that have a refund cooldown I can filter them out so it will not sell until the time runs out; I test each item for a refund cooldown;
Lua Code:
local money, itemCount, refundSec = GetContainerItemPurchaseInfo(bag, slot)
I have been unable to find a similar function to test for the trade cooldown.
I would like to be able to identify and filter those items that are still on the trade cooldown.
It would also be helpful to have the confirmation button could be avoided and have the item sell even though it is still on trade cooldown.
Cheers