Пользовательские дополнения

На главную


astral.GetAddons()

Возвращает список идентификаторов (индексирован с 1) всех аддонов в астрале в порядке их сложности.

-- библиотека:
astral

-- объявление:
function GetAddons()

-- параметры:
нет

-- возвращаемые значения:
table of ObjectId - список идентификаторов аддонов

-- пример:
local addons = astral.GetAddons()
for i, objectId in ipairs( addons ) do
  local addonInfo = astral.GetAddonInfo( objectId )
  if addonInfo then
    local name = addonInfo.name
  end
end

Связанные страницы: "CategoryLuaApi" "CategoryAstralLua"

EnumFailType
EventAstralHubChanged
EventAstralIslandChanged
EventAstralIslandTimeChanged
EventAstralObjectEnabledChanged
EventAstralPoisChanged
EventAstralSectorChanged
EventAstralSectorCheckJumpResult
EventAstralWreckLootTaken
EventAstrolabeInfoChanged
EventAstrolabeSpellChanged
EventAstrolabeSpellEffect
EventIslandDeathLimitChanged
EventPlayerAstralUnlockChanged
EventScannedHubObjectsChanged
FunctionAstralAstrolabeJump
FunctionAstralCheckJump
FunctionAstralGetAddonInfo
FunctionAstralGetAddons
FunctionAstralGetAddonSectors
FunctionAstralGetAllPOIs
FunctionAstralGetAstrolabeDeniedPlayers
FunctionAstralGetAstrolabeInfo
FunctionAstralGetAstrolabeInfoEx
FunctionAstralGetAstrolabeTarget
FunctionAstralGetCurrentSector
FunctionAstralGetHubCenter
FunctionAstralGetHubRadius
FunctionAstralGetIslandCollapseTime
FunctionAstralGetIslandDeathLimit
FunctionAstralGetObjectInfo
FunctionAstralGetObjects
FunctionAstralGetPlayerUnlockLevel
FunctionAstralGetPOIInfo
FunctionAstralGetPOITradeInfo
FunctionAstralGetScannedObjects
FunctionAstralGetSectorAstrolabeInfo
FunctionAstralGetSectorDirectPOI
FunctionAstralGetSectorEdges
FunctionAstralGetSectorInfo
FunctionAstralGetSectorInfoById
FunctionAstralGetSectorPOIs
FunctionAstralGetSectorRelatedQuests
FunctionAstralGetUnits
FunctionAstralIsInHub
FunctionAstralIsSectorKnownForGroup
FunctionAstralIsSectorKnownForPlayer


CategoryLuaApi CategoryFunction CategoryAstralLua

На главную