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

На главную


depositeBox.IsItemEnabled( depositeSlot )

Возвращает признак, разрешены ли вообще операции с предметом - персонаж-владелец не умер и т.п.

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

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

-- параметры:
depositeSlot: number( int ) - индекс слота в хранилище [0..]

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

-- пример:
local isEnabled = depositeBox.IsItemEnabled( 0 )

Search: "CategoryLuaApi" "CategoryDepositeBox"

EventDepositeBoxChanged
EventDepositeBoxItemEffect
EventDepositeBoxSizeChanged
FunctionAvatarArrangeContainerItems
FunctionAvatarIsItemsStackable
FunctionDepositeBoxChangeTypeByItem
FunctionDepositeBoxGetDepositeBoxItemId
FunctionDepositeBoxGetItemId
FunctionDepositeBoxGetSlotCount
FunctionDepositeBoxIsChangeTypeItem
FunctionDepositeBoxIsChangeTypeItemById
FunctionDepositeBoxIsItemEnabled
FunctionDepositeBoxIsMoveModified
FunctionDepositeBoxMove
FunctionDepositeBoxPutItemIn
FunctionDepositeBoxTakeFrom


CategoryLuaApi CategoryFunction CategoryDepositeBox

На главную