Quantcast Pulling Character Information - ESOUI
Thread Tools Display Modes
01/17/18, 10:29 AM   #1
Ni Lucian
Join Date: Jan 2018
Posts: 7
Pulling Character Information

Does anybody know how to pull things like armor details, champion points/allocations, mundus stone etc..
  Reply With Quote
01/17/18, 01:28 PM   #2
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 503
From yourself or someone else?
  Reply With Quote
01/17/18, 02:22 PM   #3
Ni Lucian
Join Date: Jan 2018
Posts: 7
From oneself. The character using the addon. If you have information on pulling from someone else i'll take that as well.
  Reply With Quote
01/17/18, 03:51 PM   #4
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 503
Well your armor can be pulled via slot calls using BAG_WORN (it's like accessing your inventory, just with a different "bag"). Having Zgoo would help with a lot of the stats and that sort of thing:

zgoo /global then expand UnitData to see what functions return what on you.

For champion points, you'd need to loop through the lists for each type and check how many points are in the perks. Use find on the API page starting with "GetNumChampionDisciplines" and look at everything that immediately follows.

Last edited by Rhyono : 01/17/18 at 03:54 PM.
  Reply With Quote
01/18/18, 04:39 AM   #5
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,022
http://www.esoui.com/downloads/info9...erBuilder.html
__________________
Obsessive Compulsive Coder

My little french Guild: Cercle de l'Eveil
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Pulling Character Information

Thread Tools
Display Modes

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