Main(zhCN)
A library to provide information about zones and instances.
Handy features:
Level: "Tirisfal Glades" -> 1, 10
Level Color: "The Barrens" -> anywhere from gray to green to yellow to orange to red, depending on your level.
Check if a zone is: a zone, an instance, a battleground, alliance, horde, friendly, hostile, or contested
Iterate through all zones that are: zones, instances, battlegrounds, alliance, horde, friendly, hostile, or contested
Iterate through instances of a zone: "Tirisfal Glades" -> "Scarlet Monastery"
Iterate through recommended zones/levels - will recommend zones based on your level.
Users:
TO INSTALL: Put the TouristLib folder into
\World of Warcraft\Interface\AddOns\
Developers:
Place the TouristLib.lua file into your AddOn's folder, then add TouristLib.lua to the .toc file.
Then, to access the library, in your code, write `local tourist = TouristLib:GetInstance("1.0")`.
From that point on, you can access TouristLib's functions.
If you find _any_ bugs, feel free to submit them at
http://ckknight.wowinterface.com/portal.php?id=54&a=listbugs
If you want to request any features, feel free to submit your ideas at
http://ckknight.wowinterface.com/portal.php?id=54&a=listfeatures
Comments