>wowhelm_
~/forever/addon-api/function/C_Map.GetBestMapForUnit

C_Map.GetBestMapForUnit

documented function · MapUI
C_Map.GetBestMapForUnit(unitToken) : uiMapID

Only works for the player and party members.

──ARGUMENTS
unitToken
UnitToken
──RETURNS
uiMapID
number, optional
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.