[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. |
Why is it impossible?
|
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. |
There you go, now that's a proper request. ;)
|
I didn't realize what you were doing until I thought about half an hour after my reply :P
Thanks, Seerah! |
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) http://wiki.esoui.com/API#Trading_House |
Well, the search result for the current page is stored:
lua Code:
Not really more info. But where is the mouseover tooltip stored? That shows more info. |
Quote:
|
I know this is old, but GetTradingHouseSearchResultItemLink is an undocumented function that is what you want.
|
Quote:
|
All times are GMT -6. The time now is 01:56 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI