Guild store item purchase
I have been looking at the Api on wiki, but I'm not seeing how I can register for a purchase from a guild store vendor. If possible, I'm looking for a way to track a guild store purchases item details. Does anyone have any idea ?
|
Are you looking to hook into the event?
EVENT_TRADING_HOUSE_CONFIRM_ITEM_PURCHASE (integer eventCode, integer pendingPurchaseIndex) Has the items index value. You should be able to respond to that? |
It does look like that will be part of the solution. I guess next issue to solve is how to get to the actual item details from the item purchase index.. I guess I'll have to trial and error this.
|
If it is not sent with the event you could read it from the guild store histories somehow.
|
i guess he want catch even if you buy items anywhere not only from your 5 guilds
|
Perhaps, I can combine this with guild store searching events and see if I can get to the item details from there..
|
Quote:
|
Hey guys, just an update. I have a working solution and I will post the code after I get it completed for my own use. Hopefully I'll save someone else some time.
|
All times are GMT -6. The time now is 05:57 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI