Thread Tools Display Modes
06/03/15, 07:09 AM   #1
Argusus
AddOn Author - Click to view addons
Join Date: Sep 2014
Posts: 120
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 ?
  Reply With Quote
06/03/15, 10:45 AM   #2
Halja
 
Halja's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 111
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?
  Reply With Quote
06/03/15, 11:10 AM   #3
Argusus
AddOn Author - Click to view addons
Join Date: Sep 2014
Posts: 120
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.
  Reply With Quote
06/03/15, 11:20 AM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,963
If it is not sent with the event you could read it from the guild store histories somehow.
  Reply With Quote
06/03/15, 11:22 AM   #5
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
i guess he want catch even if you buy items anywhere not only from your 5 guilds
  Reply With Quote
06/03/15, 11:29 AM   #6
Argusus
AddOn Author - Click to view addons
Join Date: Sep 2014
Posts: 120
Perhaps, I can combine this with guild store searching events and see if I can get to the item details from there..
  Reply With Quote
06/03/15, 11:30 AM   #7
Argusus
AddOn Author - Click to view addons
Join Date: Sep 2014
Posts: 120
Originally Posted by QuadroTony View Post
i guess he want catch even if you buy items anywhere not only from your 5 guilds
Correct, I'm just looking for any guild store purchases.
  Reply With Quote
06/04/15, 08:13 AM   #8
Argusus
AddOn Author - Click to view addons
Join Date: Sep 2014
Posts: 120
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.
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Guild store item purchase


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off