View Single Post
04-25-16, 01:47 PM   #12
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Nevcairiel View Post
The lineId was not very reliable.
Splitting a string at a pre-determined deliminator isnt actually an expensive operation, so complaining about resource costs isnt really worthwhile. The alternative probably is that the game applies this split, so nothing saved.



All the UNIT_SPELLCAST_ events have changed to this layout.
I recently wrote a castbar addon, and i havn't run into any issues with the lineID method. And everything works perfectly.
Well it's not that expensive, i just don't see whats the point storing everything in a big string instead of proper values. Specially on something that gets called bazillion times.

Last edited by Resike : 04-25-16 at 01:58 PM.