You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.2 KiB
28 lines
1.2 KiB
-- ========================================================================= --
|
|
-- SylingTracker --
|
|
-- https://www.curseforge.com/wow/addons/sylingtracker --
|
|
-- --
|
|
-- Repository: --
|
|
-- https://github.com/Skamer/SylingTracker --
|
|
-- --
|
|
-- ========================================================================= --
|
|
Syling "SylingTracker.AchievementUtils" ""
|
|
-- ========================================================================= --
|
|
namespace "SLT"
|
|
-- ========================================================================= --
|
|
GetTrackedAchievements = GetTrackedAchievements
|
|
|
|
class "Utils" (function(_ENV)
|
|
|
|
class "Achievement" (function(_ENV)
|
|
|
|
__Static__() function HasAchievements()
|
|
local achievements = GetTrackedAchievements()
|
|
if achievements ~= nil then
|
|
return true
|
|
else
|
|
return false
|
|
end
|
|
end
|
|
end)
|
|
end)
|
|
|