Пользовательские дополнения
На главную
cartographer.GetMarkerInfo( markerId )
Возвращает описание типа маркера, которым помечаются перманентные объекты на интерфейсной карте.
-- система:
UIState - расширенная информация, GameState - базовая информация
-- библиотека:
cartographer
-- объявление:
function GetMarkerInfo( markerId )
-- параметры:
markerId: InterfaceMapMarkerId - идентификатор ресурса маркера
-- возвращаемые значения
table or nil - если такой тип маркера найден, то таблица с полями:
name: WString - название типа маркера
description: WString - описание типа маркера
priority: number (integer) - приоритет такого маркера. Используется, если для одного объекта обнаружено несколько типов маркеров. Минимальный приоритет 0.
--{ часть таблицы, реализованная только для UI
image: TextureId - идентификатор текстуры иконки типа маркера
--}
Пример:
local markers = cartographer.GetMapMarkers( zonesMapId )
for i, markerId in markers do
local markerInfo = cartographer.GetMarkerInfo( markerId )
local markerObjects = cartographer.GetMapMarkerObjects( zonesMapId, markerId )
end
Search: "CategoryLuaApi" "CategoryCartographer"
CategoryCartographer
EventAvatarClientZoneChanged
EventAvatarMapModifiersChanged
EventAvatarZoneChanged
EventNavigateEnabledChanged
EventNavigatorObjectReached
EventSosFinished
EventSosStarted
FunctionCartographerCanNavigateToPoint
FunctionCartographerGetCurrentMap
FunctionCartographerGetCurrentMapModifiers
FunctionCartographerGetCurrentZone
FunctionCartographerGetCurrentZoneAttributes
FunctionCartographerGetMapBlockInfo
FunctionCartographerGetMapBlocks
FunctionCartographerGetMapMarkerObjects
FunctionCartographerGetMapMarkers
FunctionCartographerGetMapModifierInfo
FunctionCartographerGetMapModifierValuedObject
FunctionCartographerGetMarkerInfo
FunctionCartographerGetObjectGeodata
FunctionCartographerGetQuestGeodata
FunctionCartographerGetQuestObjectiveGeodata
FunctionCartographerGetSosInfo
FunctionCartographerGetSosObjects
FunctionCartographerGetZonesMapId
FunctionCartographerGetZonesMapInfo
FunctionCartographerGetZonesMapQuests
FunctionCartographerIsFinalQuestCompleted
FunctionCartographerNavigateToObject
FunctionCartographerNavigateToPoint
FunctionCartographerNavigateToRule
FunctionRulesGetZonesMaps
FunctionUnitGetZonesMapId
Geodata
MapModifierId
CategoryLuaApi
CategoryFunction
CategoryCartographer
На главную