v0.13.7

C_Map.GetMapLevels

functionrecordedavailable in: camelot

Returns the suggested player and battle pet levels for a map.

signaturewowlua
function C_Map.GetMapLevels(    uiMapID: number): (number?, number?, number?, number?)

Parameters

nametypedescription
uiMapIDnumberUiMapID

Returns

#nametypedescription
1playerMinLevelnumber?
2playerMaxLevelnumber?
3petMinLevelnumber?Default: 0.
4petMaxLevelnumber?Default: 0.

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

recordedThe answer was recorded from the real client and is played back for the same call. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (MapUI system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.