Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API ConfirmLootRoll

Last wiki revision 2022-07-21

Confirms a loot roll. ConfirmLootRoll(rollID[ ,roll])

  • rollID: - As passed by the event. (The number increases with every roll you have in a party)
  • roll: - Type of roll: (also passed by the event)
  • 1 : Need roll
  • 2 : Greed roll
  • 3 : Disenchant roll

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)

Source

https://warcraft.wiki.gg/wiki/API_ConfirmLootRoll · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.