How are you guys posting Legion addons on curse?
View Single Post
05-20-16, 01:51 AM
An Aku'mai Servant
Join Date: Jan 2012
Originally Posted by
I just write my addon with logic inside that determines whether it is running a version that changes API usage, etc. so the same addon can be used in live and beta.
I also use this approach.
It's safer and as long as you consistently use the same detection variable throughout (I use a local 'isLegion' that is limited to addon-scope), it is easy to update everything once 7.0 is out to no longer support 6.x clients (just pull out all the code from those 'if' statements and trash the 'else' statements).
Assistant admin for MMO-Champion
WoW database file expert - ask me anything
View Public Profile
Send a private message to Simca
Visit Simca's homepage!
Find More Posts by Simca