Back to Home
ESO Function Data v100020
SetDepositKeybindDescriptor()
Function Aliases
No known aliases for this function.
Global Function Definitions
ingame/banking/gamepad/bankingcommon_gamepad.lua:310
--
function ZO_BankingCommon_Gamepad:SetDepositKeybindDescriptor(descriptor)
Local Function Definitions
No known local definitions for this function.
Function Calls
ingame/banking/gamepad/banking_gamepad.lua:355
--
self:SetDepositKeybindDescriptor(self.mainKeybindStripDescriptor)
ingame/inventory/gamepad/guildbank_gamepad.lua:485
--
self:SetDepositKeybindDescriptor( { alignment = KEYBIND_STRIP_ALIGN_LEFT, { keybind = "UI_SHORTCUT_PRIMARY", name = GetString(SI_BANK_DEPOSIT_BIND), enabled = function() return self:CanDeposit() end, visible = function() local currentDataType = GetCurrentDataType(self.depositList) if currentDataType == CURRENT_DATA_TYPE_GOLD_SELECTOR then return DoesGuildHavePrivilege(GetSelectedGuildBankId(), GUILD_PRIVILEGE_BANK_DEPOSIT) elseif currentDataType == CURRENT_DATA_TYPE_ITEM_DATA then return not self.loadingGuildBank and CanUseBank(GUILD_PERMISSION_BANK_DEPOSIT) and GetNumBagUsedSlots(BAG_BACKPACK) > 0 and DoesGuildHavePrivilege(GetSelectedGuildBankId(), GUILD_PRIVILEGE_BANK_DEPOSIT) end return false end, callback = function() self:ConfirmDeposit() end }, switchActiveGuildKeybind, })