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

На главную


device.IsUsable( deviceId )

Возвращает возможность принципиального использования устройства.

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

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

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

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

-- пример:
local isUsable = device.IsUsable( 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

На главную