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

На главную

## interaction.GetExchangeSlotCount()

Возвращает количество слотов обменного стола при торговле с игроком.

    -- библиотека
    interaction

    -- объявление
    function GetExchangeSlotCount()

    -- параметры
    нет

    -- возвращаемые значения
    number(int) - количество слотов обменного стола

    -- пример
    local exchangeTableSize = interaction.GetExchangeSlotCount()

#### Search: "CategoryLuaApi" "CategoryItemsExchange"

EnumExchangeResult
EventItemsExchangeDeclineIgnored
EventItemsExchangeError
EventItemsExchangeFinished
EventItemsExchangeInvited
EventItemsExchangeOfferFinalConfirmedChanged
EventItemsExchangeOfferItemsChanged
EventItemsExchangeOfferMoneyChanged
EventItemsExchangeOfferPrimaryConfirmedChanged
EventItemsExchangeSlotIsBusy
EventItemsExchangeStarted
EventItemsExchangeStateChanged
FunctionInteractionCancelExchange
FunctionInteractionGetExchangeInvited
FunctionInteractionGetExchangeInviter
FunctionInteractionGetExchangeSlotCount
FunctionInteractionHasExchange
FunctionInteractionInviteToExchange
FunctionInteractionIsAvatarExchangeInviter
FunctionInteractionIsExchangeInInvitation
FunctionInteractionIsExchangeInProgress
FunctionInteractionRemoveExchangeItem
ItemsExchangeState

CategoryLuaApi CategoryFunction CategoryInteraction CategoryItemsExchange

На главную