What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

NPC offer for selling items

kekefigure

New Member
Joined
Apr 21, 2015
Messages
4
Reaction score
0
Hi!

Is there any way to get the offer what the char get when selling items to npc?
 
bump, anyone?

Code:
foreach (var item in LokiPoe.InGameState.SellPanel.NpcOffer)

it gives you every item one by one. It has to be used in a delegate for the SellItemsCoroutine, so you can check if you have to accept the offer or not (true/false)
 
But how can i add my delegate to sellitemscoroutine?

You can't, it's supposed to be used to "replace" the actual sellitemscoroutine, so you have to code your own tasks that will replace the default one, and this one will use your delegate
 
Back
Top