Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Confirms a loot roll.
ConfirmLootRoll(rollID[ ,roll])
Arguments[]
- rollID
- number - As passed by the event. (The number increases with every roll you have in a party)
- roll
- number - Type of roll: (also passed by the event)
- 1 : Need roll
- 2 : Greed roll
- 3 : Disenchant roll
Example[]
local f = CreateFrame("Frame", "MyAddon") f:RegisterEvent("CONFIRM_LOOT_ROLL") f:SetScript("OnEvent",function(self,event,...) if event == "CONFIRM_LOOT_ROLL" then local rollID, roll = ... ConfirmLootRoll( rollID, roll ) end end)