Back to Home
ESO Function Data v101044
SetDepositKeybindDescriptor()
Function Aliases
No known aliases for this function.
Global Function Definitions
ingame/banking/gamepad/bankingcommon_gamepad.lua:606
--
function ZO_BankingCommon_Gamepad:SetDepositKeybindDescriptor(descriptor)
Local Function Definitions
No known local definitions for this function.
Function Calls
ingame/banking/gamepad/banking_gamepad.lua:563
--
self:SetDepositKeybindDescriptor(self.mainKeybindStripDescriptor)
ingame/inventory/gamepad/guildbank_gamepad.lua:626
--
self:SetDepositKeybindDescriptor( { alignment = KEYBIND_STRIP_ALIGN_LEFT, { keybind = "UI_SHORTCUT_PRIMARY", name = function() return GetString(SI_BANK_DEPOSIT_BIND) end, 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 end, callback = function() self:ConfirmDeposit() end }, self.switchActiveGuildKeybind, })