View Single Post
04/08/17, 07:24 AM   #1
Letho
AddOn Author - Click to view addons
Join Date: Apr 2016
Posts: 238
GetFrameTimeSeconds, GetGameTimeMilliseconds

Hey guys, I was wondering in how far those two functions differ from each other except for returning different time formats (ms and s) and why they are not listed in the Wiki.

Can anybody help with those questions?

And from an coding elegance/performance PoV: which one should I use when manually checking on effect/buff/debuff durations?

The existance of both provide some inconsistency in my addons since GetAbilityDuration() will return values comparable against GameTimeMs while EVENT_EFFECT_CHANGED returns `endTime` in FrameTimeSeconds, of course I could convert them.

Last edited by Letho : 04/08/17 at 08:17 AM.
  Reply With Quote