Compare commits

..

No commits in common. "bc48324e63ed901ac17c340c37a648b426e82751" and "113bc79d77777edaa5e7d4860a5de4eb9eb28f40" have entirely different histories.

3 changed files with 6 additions and 10 deletions

View File

@ -1,16 +1,12 @@
allow_defined = true
compat
max_line_length = false
std = {
read_globals = {
"CHAT_SYSTEM",
"EVENT_ACHIEVEMENT_UPDATED",
"EVENT_ADD_ON_LOADED",
"EVENT_MANAGER",
"LibStub"
"LINK_STYLE_BRACKET",
"zo_callLater",
"ZO_SavedVars",
"EVENT_MANAGER",
"CHAT_SYSTEM",
"ZO_SavedVars",
"LibStub"
}
}

View File

@ -7,7 +7,7 @@
-- Init
AchievementInfo.hijackedFirstLoad = false
function AchievementInfo.initialize(_, addOnName)
function AchievementInfo.initialize(eventCode, addOnName)
if (addOnName ~= AchievementInfo.name) then return end
--

View File

@ -6,7 +6,7 @@
-- Do the magic
function AchievementInfo.onAchievementUpdated(_, achId)
function AchievementInfo.onAchievementUpdated(eventCode, achId)
local output = ""
-- addOn enabled?