Azeroth Pilot Reloaded

Azeroth Pilot Reloaded

2M Downloads

[FEATURE] - Adapt the addon for compatibility with classic

Neogeekmo opened this issue ยท 0 comments

commented

use this to detect the version
APR.Season = C_Seasons and C_Seasons.HasActiveSeason() and C_Seasons.GetActiveSeason() -- For classic

for the interface version
local gameVersion = select(4, GetBuildInfo())

and this kind of variable to use the available API
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or _G.GetAddOnMetadata