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.
Facts
- Date created
- 06 May 2008
- Category
- Last update
- 09 Oct 2008
- Development stage
- Abandoned
- Language
- enUS
- License
- GNU Lesser General Public License version 2.1 (LGPLv2.1)
- Recent files
- A: r153 for 2.3.3 on 09 Oct 2008
- B: TouristLib-r72816.3 for 2.3.3 on 29 Sep 2008
- B: TouristLib-r72816.2 for 2.3.3 on 21 Jul 2008
- B: TouristLib-r72816.1 for 2.3.3 on 19 Jul 2008
- B: TouristLib-r72816 for 2.3.3 on 05 May 2008