Peddler (Junk seller)

Peddler (Junk seller)

196k Downloads

API event for updated junk status (to support any bag addon wanting to add support)

plusmouse opened this issue ยท 3 comments

commented

I work on Baganator, and have attempted to add Peddler support based on the exposed APIs on classic.

This works, mostly, except when a user toggles the junk status of an item the junk icon doesn't update, Baganator/Baganator#75 - this is because I couldn't find an event/hook for when the junk status updates to cause the Baganator view to refresh with the updated data.

Can you add an event/callback/exposed function to hook so that Baganator can detect when the junk status of an item is updated?

Alternatively adding support for Baganator inside Peddler would work too (I can provide documentation of the APIs. My current implementation of support is found here: https://github.com/Baganator/Baganator/blob/main/API/Junk.lua#L5-L15

commented

Also, can you expose the same API on retail (or implement Baganator support) so that Peddler support works there too?