Thread Tools Display Modes
04/19/19, 04:22 PM   #1
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 312
[open] new globals

simple wishes:
- MAX_ABILITY_ID
- MAX_ITEM_ID
- MAX_SET_ID


done:
- MAX_PLAYER_PET -> MAX_PET_UNIT_TAGS
- MAX_ZONE_ID (sirinsidiator, marlonbrando)


thanks

Last edited by Scootworks : 07/02/20 at 09:30 PM.
  Reply With Quote
04/20/19, 02:10 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,567
Great idea! MAX_ZONE_ID would also be cool.
  Reply With Quote
04/20/19, 03:24 PM   #3
marlonbrando
AddOn Author - Click to view addons
Join Date: Dec 2015
Posts: 17
Originally Posted by sirinsidiator View Post
Great idea! MAX_ZONE_ID would also be cool.
Ditto, for all of the suggestions.
  Reply With Quote
03/27/20, 02:54 PM   #4
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 312
well done! we got MAX_PET_UNIT_TAGS at least thanks
  Reply With Quote
03/28/20, 08:31 AM   #5
Keldor
 
Keldor's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2015
Posts: 101
These globals are a great idea
  Reply With Quote
03/30/20, 11:21 AM   #6
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 171
GetNumZones() will return the number of zones you can iterate zoneIndex over.
  Reply With Quote
03/30/20, 12:37 PM   #7
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,567
Oh nice. I somehow missed that function getting added.
  Reply With Quote
07/02/20, 09:31 PM   #8
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 312
are there any "hidden" or recently added function too for the other ones?
  Reply With Quote
07/06/20, 12:57 PM   #9
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 171
Unfortunately no. Zone happened to already have an iterating system available that let me easily expose the max to you. The other 3 we don't have any such system at the ready.
  Reply With Quote
11/11/20, 10:31 AM   #10
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
With the new set item collections, is a GetNumSets() function possible now or do we need to "iterate" the setIds via GetNextItemSetCollectionId() until it returns 0/nil ?

Edit:
An answer from ZOs:
There is no index one could use to build that function but the following data will return the number of given "reconstructable" setIds and is build before addons are loaded:

Lua Code:
  1. local numSetIds = NonContiguousCount(ITEM_SET_COLLECTIONS_DATA_MANAGER.itemSetCollections)

But this will only provide the number of "reconstructable" sets available (excluding craftable ones, and other sets), not the real "highest set number in the game"!

For a total set number and data you are currently able to use the library: LibSets

Last edited by Baertram : 11/12/20 at 04:48 PM.
  Reply With Quote
11/12/20, 04:30 PM   #11
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 171
And to be very specific, that only tells you how many reconstructable item sets there are, not all sets. Most notably, It doesn't account for crafted sets.
  Reply With Quote

ESOUI » Developer Discussions » Wish List » [open] new globals

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