GetSlotIcon - SFX-WoW/Masque GitHub Wiki
The GetSlotIcon method of Masque's API returns the SlotIcon texture currently assigned to a button.
-- Establish a reference to Masque.
local Masque = LibStub("Masque", true)
-- Get the SlotIcon texture.
local SlotIcon = Masque:GetSlotIcon(Button){SlotIcon} = {Masque}:GetSlotIcon({Button})| Parameter | Type | Required | Description |
|---|---|---|---|
Button |
table | Yes | The button object to retrieve the SlotIcon texture from. |
| Return | Type | Description |
|---|---|---|
SlotIcon |
table | The SlotIcon texture object assigned to Button. |
10.0.0 100000
- Method added.