ESO Lua File v100010

ingame/actionbar/quickslotactionbutton.lua

[◄ back to folders ]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
QuickslotActionButton = ActionButton:Subclass()
function QuickslotActionButton:New(...)
    local newB = ActionButton.New(self, ...)
    newB.button.tooltip = ItemTooltip
    return newB
end
function QuickslotActionButton:GetSlot()
    local slotNum = GetCurrentQuickslot()
    return slotNum
end
function QuickslotActionButton:HandleRelease()
    if(self.itemQtyFailure) then
        PlaySound(SOUNDS.QUICKSLOT_USE_EMPTY)
    end
    ActionButton.HandleRelease(self)
end