View Single Post
10/09/22, 10:23 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,063
Maybe this is the one function that the keybind calls? Check for the "Search" keybind what it does and what function it calls!
A good way to find it is to check the SI_* string constants via e.g. merTrochbug updated addon, type /tbug and switch to the Strings tab, the search for trading house or anything like the text shown at the trading house search starter keybind (e.g. "search" or "Start search") and in the results for anything like SI_TRADING_HOUSE* or similar.

Some of the SI constants can be found here
https://raw.githubusercontent.com/es...tedstrings.lua
too.

-> "Start Search", -- SI_TRADING_HOUSE_DO_SEARCH
looks promising!

If you have found the SI_* string constant you can search the esoui source code for it
https://github.com/esoui/esoui/searc...OUSE_DO_SEARCH
to find where the keybind might be defined, and that way you will find the callback function called by that keybind, which should be the "start the search now" function.

https://github.com/esoui/esoui/blob/...board.lua#L113

Code:
TRADING_HOUSE_SEARCH:DoSearch()

Last edited by Baertram : 10/09/22 at 10:34 AM.
  Reply With Quote