Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: merlight
Forum: Wish List 07/18/19, 01:05 PM
Replies: 7
Views: 10,153
Posted By merlight
I checked on PTS and GetZoneNameByIndex() returns...

I checked on PTS and GetZoneNameByIndex() returns a non-empty string for all indices 1 through 726, and empty string for 727 and up. Which is in line with how the word "index" is used in other parts...
Forum: Wish List 07/18/19, 07:06 AM
Replies: 7
Views: 10,153
Posted By merlight
ad § 1) would be useful indeed ad § 2) assuming...

ad § 1) would be useful indeed

ad § 2) assuming valid zone indices form contiguous sequence, you can quickly find max valid index by binary search without hardcoding some arbitrary limit
Showing results 1 to 2 of 2