ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   Sleep timer (https://www.esoui.com/forums/showthread.php?t=411)

Aldazar 03/29/14 03:59 PM

Sleep timer
 
Hi, does anybody know if ESO or any library they provide includes a sleep timer that I can use?

Vuelhering 03/29/14 04:20 PM

Quote:

Originally Posted by Aldazar (Post 1972)
Hi, does anybody know if ESO or any library they provide includes a sleep timer that I can use?

I don't remember seeing a sleep timer, although you can make a simple addon that merely checks the time on updates and quickly returns if it's not time to fire yet. That won't add a lot of overhead to each frame.

ingeniousclown 03/29/14 07:52 PM

You could try the AceTimer library and use callbacks instead of sleeps.

http://www.esoui.com/downloads/info53-AceTimer.html

Aldazar 03/30/14 03:59 AM

Thanks for the replies so far. But the timer solution would need some bigger changes to how my addon works >.<
Does anybody know if I can use the socket lib?


All times are GMT -6. The time now is 03:26 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI