5.19.10
This commit is contained in:
+27
-2
@@ -9,16 +9,25 @@ WeakAuras.halfWidth = WeakAuras.normalWidth / 2
|
||||
WeakAuras.doubleWidth = WeakAuras.normalWidth * 2
|
||||
|
||||
local versionStringFromToc = GetAddOnMetadata("WeakAuras", "Version")
|
||||
local versionString = "5.19.9 Beta"
|
||||
local versionString = "5.19.10 Beta"
|
||||
local buildTime = "20250425191700"
|
||||
local isAwesomeEnabled = C_NamePlate and C_NamePlate.GetNamePlateForUnit and true or false
|
||||
|
||||
local flavor
|
||||
if GetRealmName() == "Onyxia" or (GetRealmName() == "Blackrock [PvP only]" and GetExpansionLevel() == 1) then
|
||||
flavor = "TBC"
|
||||
elseif GetRealmName() == "Kezan" then
|
||||
flavor = "ClassicPlus"
|
||||
else
|
||||
flavor = "Wrath"
|
||||
end
|
||||
|
||||
WeakAuras.versionString = versionString
|
||||
WeakAuras.buildTime = buildTime
|
||||
WeakAuras.newFeatureString = "|TInterface\\OptionsFrame\\UI-OptionsFrame-NewFeatureIcon:0|t"
|
||||
WeakAuras.BuildInfo = select(4, GetBuildInfo())
|
||||
|
||||
function WeakAuras.isAwesomeEnabled()
|
||||
function WeakAuras.IsAwesomeEnabled()
|
||||
return isAwesomeEnabled or false
|
||||
end
|
||||
|
||||
@@ -26,6 +35,22 @@ function WeakAuras.IsCorrectVersion()
|
||||
return true
|
||||
end
|
||||
|
||||
function WeakAuras.IsWrath()
|
||||
return flavor == "Wrath"
|
||||
end
|
||||
|
||||
function WeakAuras.IsTBC()
|
||||
return flavor == "TBC"
|
||||
end
|
||||
|
||||
function WeakAuras.IsClassicPlus()
|
||||
return flavor == "ClassicPlus"
|
||||
end
|
||||
|
||||
function WeakAuras.IsClassicPlusOrTBC()
|
||||
return WeakAuras.IsClassicPlus() or WeakAuras.IsTBC()
|
||||
end
|
||||
|
||||
WeakAuras.prettyPrint = function(...)
|
||||
print("|cff9900ffWeakAuras:|r ", ...)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user