Пользовательские дополнения
На главную
astral.GetAstrolabeInfo()
Возвращает информацию об астролябии, если эта информация доступна и астролябию может использовать главный игрок (он на своем корабле и является капитаном).
-- библиотека:
astral
-- объявление:
function GetAstrolabeInfo()
-- параметры:
нет
-- возвращаемые значения:
table or nil - если информация доступна, то таблица с полями:
spellId: SpellId - идентификатор ресурса спелла астролябии
-- пример:
local astrolabeInfo = astral.GetAstrolabeInfo()
if astrolabeInfo and astrolabeInfo.spellId then
LogInfo( avatar.GetSpellInfo( astrolabeInfo.spellId )
end
Связанные страницы: "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
На главную