[open] new globals
simple wishes:
- MAX_ABILITY_ID - MAX_ITEM_ID - MAX_SET_ID done: - - MAX_ZONE_ID (sirinsidiator, marlonbrando) thanks :) |
Great idea! MAX_ZONE_ID would also be cool. :D
|
Quote:
|
well done! we got MAX_PET_UNIT_TAGS at least :) thanks
|
These globals are a great idea :D
|
GetNumZones() will return the number of zones you can iterate zoneIndex over.
|
Oh nice. I somehow missed that function getting added. :D
|
are there any "hidden" or recently added function too for the other ones? :)
|
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.
|
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:
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 |
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.
|
All times are GMT -6. The time now is 10:51 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI