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

На главную


depositeBox.ChangeTypeByItem( inventorySlot )

Попытка модифицировать хранилище указанным предметом из инвентаря.

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

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

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

-- возвращаемые значения:
нет

-- пример:
if depositeBox.IsChangeTypeItem( 0 ) then
 depositeBox.ChangeTypeByItem( 0 )
end

Search: "CategoryLuaApi" "CategoryDepositeBox"

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


CategoryLuaApi CategoryFunction CategoryDepositeBox

На главную