Thread Tools Display Modes
04/07/14, 09:18 PM   #1
ingeniousclown
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 122
[implemented] GetItemInfo() equivalent for items in the guild store

I believe that the title is self-explanatory

I'd like to extend my Research Assistant to the guild store, but currently it is impossible.
 
04/07/14, 09:28 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 648
Why is it impossible?
 
04/07/14, 10:04 PM   #3
ingeniousclown
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 122
There are no API calls that return item information equivalent to GetItemInfo(bagId, slotIndex) for the guild store. All player bag slots have dataEntry.data.bagId/slotIndex, but there is no "bagId" for the trading house and, as far as I can tell, the slotIndex for each row is dynamic based on search criteria.

To be able to integrate RA to the guild store I actually need more information than just what GetItemInfo() returns. I need the following:
ItemTraitType
ItemType
EquipType
An equivalent function to CanItemBeSmithingTraitResearched(), but for the trading house.

Heck, I know this might be a stretch but it'd be kinda nice if the results were stored in a kind of temporary bag so we can call all the normal inventory functions on them.
 
04/07/14, 11:15 PM   #4
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 648
There you go, now that's a proper request.
 
04/07/14, 11:21 PM   #5
ingeniousclown
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 122
I didn't realize what you were doing until I thought about half an hour after my reply :P

Thanks, Seerah!
 
04/08/14, 10:53 AM   #6
ahostbr
 
ahostbr's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 3
I've been looking into this all day to try and make a Guild store filterer by string.

only info ive been able to come across is the "ZO_TradingHouse" events ... I believe with more research and testing we can grab all the necessary info to filter the results of the trading house there ...

Ive never made a lua addon before so im just scratching the surface with this though... Id love to help in anyway I can

source of my info is
http://wiki.esoui.com/Raw_globals_dump

*EDIT*
After further research the current api does contain away to grab the info
Code:
GetTradingHouseSearchResultItemInfo(luaindex index)

    Returns: textureName icon, string itemName, integer quality, integer stackCount, string sellerName, integer timeRemaining, integer purchasePrice
source is

http://wiki.esoui.com/API#Trading_House

Last edited by ahostbr : 04/10/14 at 10:34 AM. Reason: change in info
 

ESOUI » Developer Discussions » Wish List » [implemented] GetItemInfo() equivalent for items in the guild store


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