WoW-8.0-release1

Details

  • Filename
    LibTourist-3.0-WoW-8.0-release1.zip
  • Uploaded by
  • Uploaded
    Aug 8, 2018
  • Size
    78.13 KB
  • Downloads
    3,266
  • MD5
    e328c4cc672e0ca03ec1c039f2f64ab4

Supported WoW Retail Versions

  • 8.0.1

Changelog

API CHANGES SUMMARY:
--------------------

The following changes have been made to the API to support 8.0.1:

- TOC version set to 80000.

CHANGED FUNCTIONS:
- All functions that take a unique localized zone name as input, now also accept uiMapIDs. See list at the bottom.
- Tourist:GetBestZoneCoordinate - no longer needs parameters and returns an additional fourth value: uiMapID.
- Tourist:GetYardDistance - returns additional values: delta X and delta Y. Note: GetYardDistance only works if zone1 and zone2 are on the same continent.
- Tourist:GetMapContinentsAlt - now returns the new uiMapID as key in the return collection instead of the continent index that was used for SetMapZoom (which has been removed).
- Tourist:GetMapZonesAlt - now returns the new uiMapID as key in the return collection instead of the zone index that was used for SetMapZoom (which has been removed).
- Tourist:GetMapNameByIDAlt - now expects a uiMapID as parameter.
- Tourist:GetEntrancePortalLocation - now returns x and y as a value between 0 and 1 to match other functions returning or accepting coordinates.
- Tourist:GetUniqueZoneNameForLookup - continent ID parameter must be the uiMapID
- Tourist:GetUniqueEnglishZoneNameForLookup - continent ID parameter must be a uiMapID
- Tourist:GetTexture - as texture names are no longer used by C_Map, this function now returns the uiMapArtID, but only for the uiMapIDs known in the LibTourist zones collection (use Tourist:GetZoneMapID)
- Tourist:GetContinent - return value should now be localized

NEW FUNCTIONS:
- Tourist:GetContinentMapID(uiMapID) - uses the map hierarchy in C_Map to get the continent uiMapID for any uiMapID. It is called by GetMapNameByIDAlt to get the continent ID for GetUniqueZoneNameForLookup. This way GetMapNameByIDAlt can return a unique localized zone name for all uiMapIDs of a zone (a zone can have multiple uiMapIDs due to phases or floors).
- Tourist:GetMapIDLookupTable() - returns the lookup table with all uiMapIDs as key and the english zone name as value
- Tourist:GetContinentMapID(uiMapID) - returns the uiMapID of the continent for the given uiMapID. Searches up through the C_Map hierarchy until the continent is found.
- Tourist:IterateArgus() - Iterates through the unique localized names of all zones that have player levels defined and are on the Argus continent.
- Tourist:IterateZandalar() - Iterates through the unique localized names of all zones that have player levels defined and are on the Zandalar continent.
- Tourist:IterateKulTiras() - Iterates through the unique localized names of all zones that have player levels defined and are on the Kul'Tiras continent.
- Tourist:IsInArgus(zone) - Returns true if the zone is on the Argus continent.
- Tourist:IsInZandalar(zone) - Returns true if the zone is on the Zandalar continent.
- Tourist:IsInKulTiras(zone) - Returns true if the zone is on the Kul'Tiras continent.

REMOVED FUNCTIONS:
- Tourist:GetMapAreaIDByContinentZone
- Tourist:GetZoneMapIDFromTexture
- Tourist:GetZoneFromTexture
- Tourist:GetEnglishZoneFromTexture
- Tourist:GetZoneYardOffset

SUSPENDED FUNCTION:
- Tourist:GetFishingLevel: returns 0 for now

See the API Reference page for details.
--------------------------------------

The following functions can now take a uiMapID as parameter, in addition to the unique localized zone name as provided by LibTourist:

DoesZoneHaveComplexes
DoesZoneHaveInstances
GetBattlePetLevel
GetBattlePetLevelColor
GetBattlePetLevelString
GetComplex
GetComplexZone
GetContinent
GetEntrancePortalLocation
GetFactionColor
GetFishingLevel
GetInstanceAltGroupSize
GetInstanceGroupMaxSize
GetInstanceGroupMinSize
GetInstanceGroupSize
GetInstanceGroupSizeString
GetInstanceZone
GetLevel
GetLevelColor
GetLevelString
GetScaledZoneLevel
GetTexture
GetType
GetYardDistance
GetZoneYardSize
IsAlliance
IsArena
IsBattleground
IsCity
IsComplex
IsContested
IsContinent
IsFriendly
IsHorde
IsHostile
IsInArgus
IsInBrokenIsles
IsInDraenor
IsInEasternKingdoms
IsInKalimdor
IsInKulTiras
IsInNorthrend
IsInOutland
IsInPandaria
IsInstance
IsInTheMaelstrom
IsInZandalar
IsPvPZone
IsSanctuary
IsTransport
IsZone
IsZoneOrInstance
IterateBorderZones
IteratePath
IterateZoneComplexes
IterateZoneInstances
TransposeZoneCoordinate