RoadMap
Globals
MAX_SKILL_MAP_EFFECT_COUNT
integer
Classes
Class: RoadMap
A
RoadMapwidget represents a minimap, capable of showing NPCs, pings, and other map-related elements.
Method: InitMapData
(method) RoadMap:InitMapData()
Initializes map data. Requires
Map:ReloadAllInfo.
Method: SetRoadMapNpc
(method) RoadMap:SetRoadMapNpc(isShow: boolean)
Shows or hides NPCs on the RoadMap.
@param
isShow—trueto show NPCs,falseto hide. (default:false)
Method: SetMapSize
(method) RoadMap:SetMapSize(radioValue: number)
Sets the size of the RoadMap.
@param
radioValue— The size value for the map.
Method: IsPingMode
(method) RoadMap:IsPingMode()
-> pingMode: boolean
Checks if the RoadMap is in ping mode.
@return
pingMode—trueif ping mode is active,falseotherwise. (default:false)
Method: ShowLeaderPing
(method) RoadMap:ShowLeaderPing(isShow: boolean)
Shows or hides the leader ping on the RoadMap.
@param
isShow—trueto show the leader ping,falseto hide.