World of Warcraft Forever API · C_Loot.md, for your AI
C_Loot
2 functions, 37 events, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
duration = C_Loot.GetLootRollDuration(rollID)
Arguments
Returns
duration | number may be nil | |
|---|
isLegacyLootModeEnabled = C_Loot.IsLegacyLootModeEnabled()
Returns
isLegacyLootModeEnabled | bool | |
|---|
Events
typeIdentifier | cstring | |
|---|
itemLink | cstring | |
|---|
quantity | number | |
|---|
specID | number | |
|---|
sex | number | |
|---|
personalLootToast | bool | |
|---|
currencyID | number may be nil | |
|---|
isSecondaryResult | bool | |
|---|
corrupted | bool | |
|---|
rollID | number | |
|---|
rollType | number | |
|---|
rollID | number | |
|---|
rollType | number | |
|---|
confirmReason | cstring | |
|---|
encounterID | number | |
|---|
itemID | number | |
|---|
itemLink | cstring | |
|---|
quantity | number | |
|---|
itemName | cstring | |
|---|
fileName | cstring | |
|---|
itemID | number | |
|---|
quantity | number | |
|---|
bagSlot | luaIndex | |
|---|
iconFileID | number | |
|---|
isLegacyLootModeEnabled | bool | |
|---|
itemTooltip | cstring | |
|---|
lootHandle | number | |
|---|
itemLink | cstring | |
|---|
rollQuantity | number | |
|---|
rollType | number | |
|---|
roll | number | |
|---|
upgraded | bool | |
|---|
autoLoot | bool | |
|---|
isFromItem | bool | |
|---|
rollID | number | |
|---|
roll | number | |
|---|
isWinning | bool | |
|---|
typeIdentifier | cstring | |
|---|
itemLink | cstring | |
|---|
quantity | number | |
|---|
questID | number | |
|---|
currencyId | number | |
|---|
quantity | number | |
|---|
questID | number | |
|---|
itemLink | cstring | |
|---|
quantity | number | |
|---|
typeIdentifier | cstring | |
|---|
itemLink | cstring | |
|---|
quantity | number | |
|---|
specID | number | |
|---|
sex | number | |
|---|
personalLootToast | bool | |
|---|
toastMethod | number | |
|---|
lessAwesome | bool | |
|---|
upgraded | bool | |
|---|
corrupted | bool | |
|---|
itemLink | cstring | |
|---|
quantity | number | |
|---|
specID | number | |
|---|
sex | number | |
|---|
baseQuality | number | |
|---|
personalLootToast | bool | |
|---|
lessAwesome | bool | |
|---|
typeIdentifier | cstring | |
|---|
itemLink | cstring | |
|---|
quantity | number | |
|---|
specID | number | |
|---|
sex | number | |
|---|
personalLootToast | bool | |
|---|
lessAwesome | bool | |
|---|
typeIdentifier | cstring | |
|---|
itemLink | cstring | |
|---|
quantity | number | |
|---|
specID | number | |
|---|
sex | number | |
|---|
personalLootToast | bool | |
|---|
lessAwesome | bool | |
|---|
rollID | number | |
|---|
rollTime | number | |
|---|
lootHandle | number may be nil | |
|---|