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

На главную


astral.GetSectorEdgesById( astralSectorId )

Возвращает список идентификаторов всех секторов связанных с заданным сектором.

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

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

-- параметры:
sectorId: AstralSectorId - идентификатор сектора

-- возвращаемые значения:
table of AstralSectorId или nil - nil если нет информации; иначе список идентификаторов секторов (индексация начинается с 0), связанных с данным

-- пример:
local edges = astral.GetSectorEdgesById( currentSectorId )
for i, edgeSectorId in edges do
  local sectorInfo = astral.GetSectorInfo( edgeSectorId )
  if sectorInfo then
    local name = sectorInfo.name
  end
end

Search: "CategoryLuaApi" "CategoryAstralLua"

EventAstralHubChanged
EventAstralIslandChanged
EventAstralIslandTimeChanged
EventAstralObjectDespawned
EventAstralObjectEnabledChanged
EventAstralObjectSpawned
EventAstralPoisChanged
EventAstralSectorChanged
EventAstralWreckLootTaken
EventAstrolabeInfoChanged
EventAstrolabeSpellChanged
EventAstrolabeSpellEffect
EventIslandDeathLimitChanged
EventPlayerAstralUnlockChanged
EventScannedHubObjectsChanged
FunctionAstralAstrolabeJump
FunctionAstralGetAddonInfo
FunctionAstralGetAddons
FunctionAstralGetAddonSectors
FunctionAstralGetAllPOIs
FunctionAstralGetAllSectorsObsolete
FunctionAstralGetAllTLsObsolete
FunctionAstralGetAstrolabeDeniedPlayers
FunctionAstralGetAstrolabeInfo
FunctionAstralGetAstrolabeInfoEx
FunctionAstralGetAstrolabeTarget
FunctionAstralGetCurrentSector
FunctionAstralGetGroupUnlockLevel
FunctionAstralGetHubCenter
FunctionAstralGetHubRadius
FunctionAstralGetIslandCollapseTime
FunctionAstralGetIslandDeathLimit
FunctionAstralGetObjectInfo
FunctionAstralGetObjects
FunctionAstralGetPlayerUnlockLevel
FunctionAstralGetPOIInfo
FunctionAstralGetPOITradeInfo
FunctionAstralGetScannedObjects
FunctionAstralGetSectorAstrolabeInfo
FunctionAstralGetSectorDirectPOI
FunctionAstralGetSectorEdges
FunctionAstralGetSectorEdgesById
FunctionAstralGetSectorEdgesObsolete
FunctionAstralGetSectorInfo
FunctionAstralGetSectorInfoById
FunctionAstralGetSectorPOIs
FunctionAstralGetSectorRelatedQuests
FunctionAstralGetUnits
FunctionAstralIsSectorKnownForGroup
FunctionAstralIsSectorKnownForPlayer
FunctionAvatarGetQuestAstralUnlocks


CategoryLuaApi CategoryFunction CategoryAstralLua CategoryMWar

На главную