gallexme / pokemongo-api

22 stars 8 forks source link

[Item] Recycle #13

Open hunterxyz opened 8 years ago

hunterxyz commented 8 years ago

Hi, it seems that the recycle function is not attached to the item object, I had to implement my own function to recycle the item by calling "Call" and by sending "[{request: 'RECYCLE_INVENTORY_ITEM', message: {item_id, count}}]" as parameter.

Poke.Call([{request: 'RECYCLE_INVENTORY_ITEM', message: {item_id, count}}])