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

На главную


astral.GetAstrolabeDeniedPlayers()

Возвращает два списка имён игроков, находящихся в команде корабля, из-за которых нельзя использовать астролябию, так как у них нет альтернативной валюты или благосклонности покровителя.

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

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

-- возвращаемые значения:
table - таблица с полями:
  withoutCoins: table of WString - индексированный с 0 список имён игроков команды, у которых не хватает альтернативной валюты для прыжка
  withoutFairies: table of WString - индексированный с 0 список имён игроков команды, у которых покровитель не благосклонен

-- пример:
local players = astral.GetAstrolabeDeniedPlayers()
if players.withoutCoins then
  for i = 0, GetTableSize( players.withoutCoins ) - 1 do
    local name = players.withoutCoins[ i ]
  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
FunctionAstralGetAllSectorsObsolete
FunctionAstralGetAllTLsObsolete
FunctionAstralGetAstrolabeDeniedPlayers
FunctionAstralGetAstrolabeInfo
FunctionAstralGetAstrolabeInfoEx
FunctionAstralGetAstrolabeTarget
FunctionAstralGetCurrentSector
FunctionAstralGetHubCenter
FunctionAstralGetHubRadius
FunctionAstralGetIslandCollapseTime
FunctionAstralGetIslandDeathLimit
FunctionAstralGetObjectInfo
FunctionAstralGetObjects
FunctionAstralGetPlayerUnlockLevel
FunctionAstralGetPOIInfo
FunctionAstralGetPOITradeInfo
FunctionAstralGetScannedObjects
FunctionAstralGetSectorAstrolabeInfo
FunctionAstralGetSectorDirectPOI
FunctionAstralGetSectorEdges
FunctionAstralGetSectorEdgesById
FunctionAstralGetSectorEdgesObsolete
FunctionAstralGetSectorInfo
FunctionAstralGetSectorInfoById
FunctionAstralGetSectorPOIs
FunctionAstralGetSectorRelatedQuests
FunctionAstralGetUnits
FunctionAstralIsSectorKnownForGroup
FunctionAstralIsSectorKnownForPlayer

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

EnumCriticalMalfunctionType
EnumShipSide
EventAstrolabeInfoChanged
EventAvatarBindedTransportChanged
EventAvatarTransportChanged
EventReactorCountDown
EventReactorCountDownCancelled
EventShipDamageReceived
EventTransportAccelerationTargetChanged
EventTransportAngularVelocityChanged
EventTransportCriticalMalfunction
EventTransportDevicesChanged
EventTransportDirectionChanged
EventTransportEnergyChanged
EventTransportHorizontalVelocityChanged
EventTransportInsightChanged
EventTransportObservingFinished
EventTransportObservingStarted
EventTransportPosChanged
EventTransportsChanged
EventTransportShieldChanged
EventTransportShipInfoChanged
EventTransportVerticalVelocityChanged
FunctionAstralAstrolabeJump
FunctionAstralCheckJump
FunctionAstralGetAstrolabeDeniedPlayers
FunctionAvatarGetBindedTransport
FunctionAvatarGetObservedAstralUnit
FunctionAvatarGetObservedTransport
FunctionAvatarGetTransportList
FunctionDeviceGetNavigatorTargetChests
FunctionDeviceNavigatorGetTarget
FunctionDeviceNavigatorGetZoomedObject
FunctionDeviceNavigatorSetTarget
FunctionTransportCanDrawInterface
FunctionTransportGetAcceleratorNominalMass
FunctionTransportGetDevices
FunctionTransportGetDirection
FunctionTransportGetEnergy
FunctionTransportGetHealthMaximum
FunctionTransportGetInsight
FunctionTransportGetMass
FunctionTransportGetPosition
FunctionTransportGetShieldStrength
FunctionTransportGetShipInfo
FunctionTransportGetVelocities
FunctionUnitGetTransport


CategoryLuaApi CategoryFunction CategoryTransport CategoryAstralLua

На главную