LibCooldown-Item-2.0

This project is abandoned and its default file will likely not work with the most recent version of World of Warcraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

Description

Register item cooldowns to more descriptive events.


Callbacks Fired

:LibCooldownInventoryItem_Start(itemID, itemName, startTime, duration, bagID, slotID)

Arguments

itemID:number - ItemID of triggered item
itemName:string - Name of triggered item
startTime:number - Time when cooldown started (as returned by GetTime())
duration:number - Duration of cooldown until finished
bagID:number - Bag ID as used by GetContainerItemCooldown(bagID, slotID)
slotID:number - Bag slot ID as used by GetContainerItemCooldown(bagID, slotID)

Notes

  • Fired whenever a cooldown of a (not equipped) item starts

:LibCooldownEquippedItem_Start(itemID, itemName, startTime, duration, slotID)

Arguments

itemID:number - ItemID of triggered item
itemName:string - Name of triggered item
startTime:number - Time when cooldown started (as returned by GetTime())
duration:number - Duration of cooldown until finished
slotID:number - Equipment slot as used by GetInventoryItemCooldown("player", slotID)

Notes

  • Fired whenever a cooldown of an (equipped) item starts

:LibCooldownInventoryItem_End(itemID, itemName, startTime, duration, bagID, slotID)

Arguments

itemID:number - ItemID of triggered item
itemName:string - Name of triggered item
startTime:number - Time when cooldown started (as returned by GetTime())
duration:number - Duration of cooldown until finished
bagID:number - Bag ID as used by GetContainerItemCooldown(bagID, slotID)
slotID:number - Bag slot ID as used by GetContainerItemCooldown(bagID, slotID)

Notes

  • Fired whenever a cooldown of an (not equipped) item ends

:LibCooldownEquippedItem_End(itemID, itemName, startTime, duration, slotID)

Arguments

itemID:number - ItemID of triggered item
itemName:string - Name of triggered item
startTime:number - Time when cooldown started (as returned by GetTime())
duration:number - Duration of cooldown until finished
slotID:number - Equipment slot as used by GetInventoryItemCooldown("player", slotID)

Notes

  • Fired whenever a cooldown of an (equipped) item ends


Notes

  • Callbacks are fired using CallbackHandler-1.0

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

WoW Retail

  • r11
    Oct 12, 2008
  • r10
    Oct 9, 2008