Closed aldudko closed 4 years ago
In the past it relied on GetCurrentMapZoneIndex() before i switched over on to the texture names, as they are less likely to change. I am not sure on if the GetCurrentMapId() would be reliable if more zones are added.
There are several exception which need to be hardcoded when using GetMapTileTexture. For example, https://gitter.im/esoui/esoui?at=5dbc5027f26ea4729d368829 Although it doesn't affect LostTreasure right now, because there are no treasure or survey maps in such unconventionally named zones.
As for GetCurrentMapId:
In other words it looks pretty stable to me.
ESO is going to add a new chapter with new zones soon. What do you think about waiting for it so that I can confirm that nothing is broken?
Not relevant anymore
Using GetCurrentMapId should provide a cleaner way of finding a match between maps and LOST_TREASURE_DATA as GetCurrentMapId doesn't rely on .dds filenames.