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
Facts
- Date created
- 29 Sep 2008
- Category
- Last update
- 12 Oct 2008
- Development stage
- Abandoned
- Language
- deDE
- enUS
- License
- GNU General Public License version 3 (GPLv3)
- Recent files
- B: r11 for 2.4.3 on 12 Oct 2008
- A: r10 for 2.4.3 on 09 Oct 2008
- A: r9 for 2.4.3 on 03 Oct 2008
- B: LibCooldown-Item-2.0-r82176 for 2.4.3 on 29 Sep 2008
Authors
Relationships
- Embedded library
- CallbackHandler-1.0
- LibBabble-Zone-3.0
- LibSimpleTimer-1.0
- LibStub