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

На главную

## hangar.GetSkinInfo( skinId )

Выдаёт информацию о скине корпуса корабля.

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

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

    -- параметры:
    skinId : ShipSkinId - идентификатор скина корпуса корабля

    -- возвращаемые значения -
    table or nil - если skinId имеет правильный тип, то таблица с полями:
      name: WString - название скина (локализованое)
      description: WString - описание скина (локализованое)
      image: TextureId (UIState only) - иконка

    -- пример:
    local skins = hangar.GetAvailableSkins()
    if skins and skins[0] then
      local skinInfo = hangar.GetSkinInfo( skins[0] )
    end

См. также hangar.GetActiveShipSkin(), hangar.GetAvailableSkins()

#### Search: "CategoryLuaApi" "CategoryHangar"

EnumShipInfoMarker
EventHangarActiveHullChanged
EventHangarActiveShipChanged
EventHangarActiveShipHullsChanged
EventHangarActiveShipSkinsChanged
EventHangarActiveSkinChanged
EventHangarDevicesReceived
EventHangarProgressReceived
EventHangarRepairProgressReceived
EventHangarRepairQuestion
EventHangarShipsChanged
EventHangarSlotDevicesReceived
EventHangarSpellChanged
EventHangarSpellEffect
EventShipCustomizationChanged
EventShipCustomizationFinished
EventShipCustomizationStarted
EventTransportRenameReply
EventTransportRenameReplyResult
FunctionHangarApplyCustomization
FunctionHangarCanCustomize
FunctionHangarCanLendShip
FunctionHangarCanRemoveDevice
FunctionHangarChangeSlotCustomization
FunctionHangarGetActiveShip
FunctionHangarGetActiveShipHull
FunctionHangarGetActiveShipSkin
FunctionHangarGetAllowedDeviceTypes
FunctionHangarGetAvailableHulls
FunctionHangarGetAvailableSkins
FunctionHangarGetCustomizationCost
FunctionHangarGetCustomizationCurrency
FunctionHangarGetCustomizationSlotDevices
FunctionHangarGetCustomizationSlotInfo
FunctionHangarGetCustomizationSlots
FunctionHangarGetDeviceInfo
FunctionHangarGetDevices
FunctionHangarGetHullInfo
FunctionHangarGetLendShipSpellId
FunctionHangarGetProgress
FunctionHangarGetRandomName
FunctionHangarGetRepairProgress
FunctionHangarGetReturnLendedShipSpellId
FunctionHangarGetShipInfo
FunctionHangarGetShips
FunctionHangarGetSkinInfo
FunctionHangarGetSlotDevices
FunctionHangarGetSummonShipSpellId
FunctionHangarGetSwitchShipMasterHullSpellId
FunctionHangarGetSwitchShipSkinSpellId
FunctionHangarGetTakeAwaySpellId
FunctionHangarGetUnsummonShipSpellId
FunctionHangarLendShip
FunctionHangarPreviewPurchasedDevice
FunctionHangarPurchaseDevice
FunctionHangarRemoveDevice
FunctionHangarRemoveDeviceFromHangar
FunctionHangarRename
FunctionHangarRepairReply
FunctionHangarReplaceDevice
FunctionHangarResetDevicePreview
FunctionHangarRevertCustomization
FunctionHangarSummonShip
FunctionHangarSwitchShipMasterHull
FunctionHangarSwitchShipSkin
FunctionHangarTakeAwayShip
FunctionHangarUnsummonShip
ShipSkinId
VisualShipId

CategoryLuaApi CategoryFunction CategoryHangar

На главную