v0.13.8

C_Loot

namespaceavailable in: camelot

Status in wowlua

2 functions: 0 implemented, 0 recorded, 2 guessed. 37 events, 7 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
GetLootRollDurationReturns how long a loot roll lasts. · by wowlua
(rollID: number): number?
guessed
IsLegacyLootModeEnabledReturns true if legacy loot mode is enabled by entering an instance at at least eleven levels above the intended content. For example, raids are designed for level 60 characters, so legacy loot mode would be enabled for level 71 or higher characters. Boss encounters defeated in legacy loot mode will drop loot acting as if the maximum amount of characters are in the instance and can drop items from the full loot pool, not just loot that is in the character's loot specialization.
(): boolean
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
AZERITE_EMPOWERED_ITEM_LOOTEDitemLink: stringnot implemented
BONUS_ROLL_ACTIVATEno payloadnot implemented
BONUS_ROLL_DEACTIVATEno payloadnot implemented
BONUS_ROLL_FAILEDno payloadnot implemented
BONUS_ROLL_RESULTtypeIdentifier: string, itemLink: string, quantity: number, specID: number, sex: number, personalLootToast: boolean, currencyID: number?, isSecondaryResult: boolean, corrupted: booleannot implemented
BONUS_ROLL_STARTEDno payloadnot implemented
CANCEL_ALL_LOOT_ROLLSno payloadimplemented
CANCEL_LOOT_ROLLrollID: numbernot implemented
CONFIRM_DISENCHANT_ROLLrollID: number, rollType: numbernot implemented
CONFIRM_LOOT_ROLLrollID: number, rollType: number, confirmReason: stringnot implemented
ENCOUNTER_LOOT_RECEIVEDencounterID: number, itemID: number, itemLink: string, quantity: number, itemName: string, fileName: stringnot implemented
GARRISON_MISSION_BONUS_ROLL_LOOTitemID: number, quantity: numbernot implemented
ITEM_PUSHbagSlot: number, iconFileID: numberimplemented
LEGACY_LOOT_RULES_CHANGEDisLegacyLootModeEnabled: booleannot implemented
LOOT_BIND_CONFIRMlootSlot: numbernot implemented
LOOT_CLOSEDno payloadimplemented
LOOT_ITEM_AVAILABLEitemTooltip: string, lootHandle: numbernot implemented
LOOT_ITEM_ROLL_WONitemLink: string, rollQuantity: number, rollType: number, roll: number, upgraded: booleannot implemented
LOOT_OPENEDautoLoot: boolean, isFromItem: booleanimplemented
LOOT_READYautoloot: booleanimplemented
LOOT_ROLLS_COMPLETElootHandle: numbernot implemented
LOOT_SLOT_CHANGEDlootSlot: numbernot implemented
LOOT_SLOT_CLEAREDlootSlot: numberimplemented
MAIN_SPEC_NEED_ROLLrollID: number, roll: number, isWinning: booleannot implemented
OPEN_MASTER_LOOT_LISTno payloadnot implemented
PET_BATTLE_LOOT_RECEIVEDtypeIdentifier: string, itemLink: string, quantity: numbernot implemented
PLAYER_LOOT_SPEC_UPDATEDno payloadnot implemented
QUEST_CURRENCY_LOOT_RECEIVEDquestID: number, currencyId: number, quantity: numbernot implemented
QUEST_LOOT_RECEIVEDquestID: number, itemLink: string, quantity: numberimplemented
SHOW_LOOT_TOASTtypeIdentifier: string, itemLink: string, quantity: number, specID: number, sex: number, personalLootToast: boolean, toastMethod: number, lessAwesome: boolean, upgraded: boolean, corrupted: booleannot implemented
SHOW_LOOT_TOAST_LEGENDARY_LOOTEDitemLink: stringnot implemented
SHOW_LOOT_TOAST_UPGRADEitemLink: string, quantity: number, specID: number, sex: number, baseQuality: number, personalLootToast: boolean, lessAwesome: booleannot implemented
SHOW_PVP_FACTION_LOOT_TOASTtypeIdentifier: string, itemLink: string, quantity: number, specID: number, sex: number, personalLootToast: boolean, lessAwesome: booleannot implemented
SHOW_RATED_PVP_REWARD_TOASTtypeIdentifier: string, itemLink: string, quantity: number, specID: number, sex: number, personalLootToast: boolean, lessAwesome: booleannot implemented
START_LOOT_ROLLrollID: number, rollTime: number, lootHandle: number?not implemented
TRIAL_CAP_REACHED_MONEYno payloadnot implemented
UPDATE_MASTER_LOOT_LISTno payloadnot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("AZERITE_EMPOWERED_ITEM_LOOTED").

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Loot system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.