Question about cooldowns
Is there a function to get cooldown times for special items such as the jubilee cake cooldown for last time used to get tickets?
|
Edit: Oh there is an API function:
Code:
* GetCollectibleCooldownAndDuration(*integer* _collectibleId_) There is a return value "CollectibleUsageBlockReason" saying it's COLLECTIBLE_USAGE_BLOCK_REASON_ON_COOLDOWN via function: Code:
* GetCollectibleBlockReason(*integer* _collectibleId_) Code:
* IsCollectibleBlocked(*integer* _collectibleId_) Code:
* GetCollectibleLink(*integer* _collectibleId_, *[LinkStyle|#LinkStyle]* _linkStyle_) All of them found in the API txt files linked here, for the most current API version -> "API TXT Documentation" https://wiki.esoui.com/APIVersion#live_API_version |
Thank you for the reply.
However, not really what I was looking for. Situation example: You use the Jubilee cake for the first time after daily reset and a loot container opens up. Any other time you use it after that, until the next reset, there is no loot container. Somewhere there must be a time stamp stored telling the client/server you had previously used the cake during this reset. |
This is saved and checked at server side and reset by the server at 9am in the morning (or at least it was in the past at that time).
|
All times are GMT -6. The time now is 11:16 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI