View Single Post
08/26/17, 10:15 PM   #9
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 409
There's EVENT_QUEST_COMPLETE (number eventCode, string questName, number level, number previousExperience, number currentExperience, number championPoints, number questType, number instanceDisplayType) that you can add a handler to to update when a quest completes, if you're keeping an internal list of completed quests. Alternatively, you can just build the quest list each time it's opened, but that might lag the game for players with a lot of completed quests.

I believe the garbage collection is all automatic, but you might be able to clear it by setting all references of it to nil.
  Reply With Quote