Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
TimerUtils is a timer system. It serves two main purposes:
1) Timer recycling - This will prevent you from having to constantly create and destroy timers. Instead, it will reuse timers over and over until it needs to create more to suit your needs.
2) Timer data attachment - When using timers, you will have a "callback" function. If you notice, you can't pass arguments into that function. (since code arguments cannot have arguments) Therefore, you have to use some sort of data storage and retrieve it in the callback function. If you use structs or arrays, you can use TimerUtils to "attach" the data to the timer and retrieve it in the callback function.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.