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

На главную


device.IsInUse( deviceId )

Используется ли устройство кем-либо в текущий момент.

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

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

-- параметры:
deviceId: ObjectId (not nil) - идентификатор устройства

-- возвращаемые значения:
boolean - используется ли устройство кем-либо в текущий момент

-- пример:
local isInUse = device.IsInUse( deviceId )

Search: "CategoryLuaApi" "CategoryDevice"

EnumTurnReason
EnumUsedev
EventCannonShotFinished
EventCannonShotPreparationStarted
EventCannonShotStarted
EventDeviceActiveActionChanged
EventDeviceChanged
EventDeviceCooldownFinished
EventDeviceCooldownsEnableChanged
EventDeviceCooldownStarted
EventDeviceDespawned
EventDeviceHealthChanged
EventDeviceOfflineChanged
EventDeviceOfflineReason
EventDevicesChanged
EventDeviceSpawned
EventDeviceZeroSpeed
EventNavigationScanerHubPveInfo
EventNavigationScanerHubPvpInfo
EventNavigationScanerHubStarted
EventNavigationScanerHubTrailsInfo
EventNavigatorFollowedChanged
EventShieldStrengthChanged
EventUsableDeviceDespawned
EventUsableDevicesChanged
EventUsableDeviceSpawned
FunctionAvatarGetActiveUsableDeviceInfo
FunctionDeviceCanUse
FunctionDeviceGetCannonTarget
FunctionDeviceGetCooldown
FunctionDeviceGetHealth
FunctionDeviceGetMass
FunctionDeviceGetScanerHubInfo
FunctionDeviceGetScanerPvEInfo
FunctionDeviceGetScanerPvPInfo
FunctionDeviceGetScanerTrailInfo
FunctionDeviceGetScanerTrails
FunctionDeviceGetShieldStrength
FunctionDeviceGetShipSlotInfo
FunctionDeviceGetTitle
FunctionDeviceGetTransport
FunctionDeviceGetUsableDeviceType
FunctionDeviceHasNavigatorFollowedMarker
FunctionDeviceIsInUse
FunctionDeviceIsOffline
FunctionDeviceIsScanerScanning
FunctionDeviceIsUsable
FunctionDeviceNavigatorZoomIn
FunctionDeviceNavigatorZoomOut
FunctionDeviceSetScanerDestinationDevice
FunctionDeviceSetScanerDestinationTrail
FunctionTransportGetAbordageCooldown
FunctionTransportGetAbordageInfo
FunctionTransportGetDevices


CategoryLuaApi CategoryFunction CategoryDevice

На главную