[Quest API] Add GetItemCooldown to return the time remaining on items… (#2811)

* [Quest API] Add GetItemCooldown to return the time remaining on items in seconds

* Change GetItemCooldown to uint32 for timers up to 130 years
This commit is contained in:
Natedog2012
2023-01-30 00:04:06 -06:00
committed by GitHub
parent 4d2418af9d
commit 66896a3121
5 changed files with 38 additions and 0 deletions
+1
View File
@@ -968,6 +968,7 @@ public:
int CountItem(uint32 item_id);
void ResetItemCooldown(uint32 item_id);
void SetItemCooldown(uint32 item_id, bool use_saved_timer = false, uint32 in_seconds = 1);
uint32 GetItemCooldown(uint32 item_id);
void RemoveItem(uint32 item_id, uint32 quantity = 1);
bool SwapItem(MoveItem_Struct* move_in);
void SwapItemResync(MoveItem_Struct* move_slots);