LibCooldown-Item-2.0

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

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

You must login to post a comment. Don't have an account? Register to get one!