View Single Post
12/23/16, 07:31 AM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
If you find something like ZO_Tradinghouse it is the class/object used to store the functions etc.
There should always (or at least in most cases) be an instance of this object stored in a variable like TRADING_HOUSE or TRADING_HOUSE_GAMEPAD which you are able to access ingame then.

Check the source code of eso, here:
http://www.esoui.com/downloads/info1...ourcecode.html
http://esodata.uesp.net/current/index.html
https://github.com/esoui/esoui/tree/master/esoui/ingame

In the files you'll be able to find the info about the clases / Objects and their globally accessibla variables names (most of the time the filenames like tradinghouse.lua got the globally accessible variables near the top or bottom of the file names):

Filename:
https://github.com/esoui/esoui/blob/...e_keyboard.lua

At the bottom:

Lua Code:
  1. --[[ Globals ]]--
  2.  
  3. function ZO_TradingHouse_OnInitialized(self)
  4.     TRADING_HOUSE = ZO_TradingHouseManager:New(self)
  5.     SYSTEMS:RegisterKeyboardObject(ZO_TRADING_HOUSE_SYSTEM_NAME, TRADING_HOUSE)
  6. end
  Reply With Quote